From 5fed2b65c6fb17358661b638d6a6c8ccb90aaff4 Mon Sep 17 00:00:00 2001
From: Miri
Date: Thu, 17 Oct 2019 11:11:01 +0300
Subject: [PATCH 001/469] Add securityAutomations resource (renamed from
playbookConfigurations)
---
.../DeleteSecurityAutomation_example.json | 12 +
...curityAutomationResourceGroup_example.json | 68 ++
...urityAutomationsResourceGroup_example.json | 71 ++
...curityAutomationsSubscription_example.json | 70 ++
.../PatchSecurityAutomation_example.json | 122 ++++
.../PutSecurityAutomation_example.json | 176 +++++
.../ValidateSecurityAutomation_example.json | 72 ++
.../securityAutomations.json | 618 ++++++++++++++++++
8 files changed, 1209 insertions(+)
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/DeleteSecurityAutomation_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PatchSecurityAutomation_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PutSecurityAutomation_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/ValidateSecurityAutomation_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/DeleteSecurityAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/DeleteSecurityAutomation_example.json
new file mode 100644
index 000000000000..cadbe633d9e1
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/DeleteSecurityAutomation_example.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "myRg",
+ "securityAutomationName": "mySecurityAutomationName"
+ },
+ "responses": {
+ "204": {
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json
new file mode 100644
index 000000000000..9b518eac049b
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "resourceGroupName": "exampleResourceGroup",
+ "securityAutomationName": "exampleSecurityAutomation"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/securityAutomations",
+ "location": "Central US",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "(This value contains a secret and will not be retrieved)"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "(This value contains a secret and will not be retrieved)"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json
new file mode 100644
index 000000000000..5f09426552c5
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "resourceGroupName": "exampleResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/securityAutomations",
+ "location": "Central US",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri1.com"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri2.com"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json
new file mode 100644
index 000000000000..fd70542d5ef6
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/securityAutomations",
+ "location": "Central US",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri1.com"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri2.com"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PatchSecurityAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PatchSecurityAutomation_example.json
new file mode 100644
index 000000000000..55a4a8bd7e7a
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PatchSecurityAutomation_example.json
@@ -0,0 +1,122 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "securityAutomationName": "exampleSecurityAutomation",
+ "resourceGroupName": "exampleResourceGroup",
+ "SecurityAutomation": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/securityAutomations",
+ "location": "Central US",
+ "tags": {
+ "ScenarioName" : "ExampleScenario"
+ },
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri1.com"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri2.com"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/securityAutomations",
+ "location": "Central US",
+ "tags": {
+ "ScenarioName" : "ExampleScenario"
+ },
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "(This value contains a secret and will not be retrieved)"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "(This value contains a secret and will not be retrieved)"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PutSecurityAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PutSecurityAutomation_example.json
new file mode 100644
index 000000000000..a02738ffe2c6
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PutSecurityAutomation_example.json
@@ -0,0 +1,176 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "SecurityAutomationName": "exampleSecurityAutomation",
+ "resourceGroupName": "exampleResourceGroup",
+ "SecurityAutomation": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/SecurityAutomations",
+ "location": "Central US",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri1.com"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri2.com"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/SecurityAutomations",
+ "location": "Central US",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "(This value contains a secret and will not be retrieved)"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "(This value contains a secret and will not be retrieved)"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/SecurityAutomations",
+ "location": "Central US",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "(This value contains a secret and will not be retrieved)"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "(This value contains a secret and will not be retrieved)"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/ValidateSecurityAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/ValidateSecurityAutomation_example.json
new file mode 100644
index 000000000000..c1d186f18d88
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/ValidateSecurityAutomation_example.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "securityAutomationName": "exampleSecurityAutomation",
+ "resourceGroupName": "exampleResourceGroup",
+ "SecurityAutomation": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
+ "name": "exampleSecurityAutomation",
+ "type": "Microsoft.Security/securityAutomations",
+ "location": "Central US",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": true,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
+ },
+ {
+ "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "AscAssessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "string",
+ "expectedValue": "customAssessment",
+ "operator": "EqualsIgnoreCase"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri1.com"
+ },
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri2.com"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isValid": true,
+ "message": ""
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json
new file mode 100644
index 000000000000..90d5ffa5f595
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json
@@ -0,0 +1,618 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Security Center",
+ "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
+ "version": "2019-01-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": ["https"],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
+ "security": [{
+ "azure_auth": ["user_impersonation"]
+ }],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityAutomations": {
+ "get": {
+ "x-ms-examples": {
+ "Get security automations of subscription": {
+ "$ref": "./examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json"
+ }
+ },
+ "tags": ["SecurityAutomations"],
+ "description": "Get all security automations in a subscription.",
+ "operationId": "SecurityAutomations_List",
+ "parameters": [{
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAutomationList"
+ }
+ },
+ "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/securityAutomations": {
+ "get": {
+ "x-ms-examples": {
+ "Get security automations of a single resource group": {
+ "$ref": "./examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json"
+ }
+ },
+ "tags": ["SecurityAutomations"],
+ "description": "Get all security automations in a resource group.",
+ "operationId": "SecurityAutomations_ListByResourceGroup",
+ "parameters": [{
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAutomationList"
+ }
+ },
+ "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/securityAutomations/{securityAutomationName}": {
+ "get": {
+ "x-ms-examples": {
+ "Get a single security automation details": {
+ "$ref": "./examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json"
+ }
+ },
+ "tags": ["SecurityAutomations"],
+ "description": "Get the details of a security automation.",
+ "operationId": "SecurityAutomations_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/SecurityAutomationName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAutomation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Create or update a single security automation": {
+ "$ref": "./examples/SecurityAutomations/PutSecurityAutomation_example.json"
+ }
+ },
+ "tags": ["SecurityAutomations"],
+ "description": "Create or update a security automation. If a security automation is already created and a subsequent create request is issued with different properties, the security automation properties will be updated.",
+ "operationId": "SecurityAutomations_CreateOrUpdate",
+ "parameters": [{
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SecurityAutomationName"
+ },
+ {
+ "$ref": "#/parameters/SecurityAutomationInBody"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAutomation"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/SecurityAutomation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "x-ms-examples": {
+ "Create or update a single security automation": {
+ "$ref": "./examples/SecurityAutomations/PatchSecurityAutomation_example.json"
+ }
+ },
+ "tags": ["SecurityAutomations"],
+ "description": "Patch an existing security automation. Supports only Tags",
+ "operationId": "SecurityAutomations_Patch",
+ "parameters": [{
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SecurityAutomationName"
+ },
+ {
+ "$ref": "#/parameters/SecurityAutomationInBody"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAutomation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Delete a single security automation": {
+ "$ref": "./examples/SecurityAutomations/DeleteSecurityAutomation_example.json"
+ }
+ },
+ "tags": ["SecurityAutomations"],
+ "operationId": "SecurityAutomations_Delete",
+ "description": "Delete a security automation.",
+ "parameters": [{
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SecurityAutomationName"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityAutomations/{securityAutomationName}/validate": {
+ "post": {
+ "x-ms-examples": {
+ "Validate the security automation model before create or update": {
+ "$ref": "./examples/SecurityAutomations/ValidateSecurityAutomation_example.json"
+ }
+ },
+ "tags": ["SecurityAutomations"],
+ "description": "Validate the security automation model before create or update. Any validation errors are returned to the client.",
+ "operationId": "SecurityAutomations_Validate",
+ "parameters": [{
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SecurityAutomationName"
+ },
+ {
+ "$ref": "#/parameters/SecurityAutomationInBody"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAutomationValidationStatus"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "SecurityAutomationList": {
+ "description": "List of security automations response.",
+ "required": ["value"],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "The list of security automations under the given scope.",
+ "items": {
+ "$ref": "#/definitions/SecurityAutomation"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page."
+ }
+ }
+ },
+ "SecurityAutomation": {
+ "type": "object",
+ "description": "The security automation resource.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Security automation data",
+ "$ref": "#/definitions/SecurityAutomationProperties"
+ }
+ },
+ "allOf": [{
+ "$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
+ }]
+ },
+ "SecurityAutomationProperties": {
+ "type": "object",
+ "description": "The security automation data.",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The security automation description."
+ },
+ "isEnabled": {
+ "type": "boolean",
+ "description": "Indicates whether the security automation is enabled."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The metadata of the security automation resource.",
+ "$ref": "#/definitions/SecurityAutomationMetadata"
+ },
+ "scopes": {
+ "type": "array",
+ "description": "A collection of the subscription's resources scopes on which the security automations logic is applied.",
+ "items": {
+ "$ref": "#/definitions/SecurityAutomationScope"
+ }
+ },
+ "sources": {
+ "type": "array",
+ "description": "A collection of the source event types which evaluate the security automation set of rules.",
+ "items": {
+ "$ref": "#/definitions/SecurityAutomationSource"
+ }
+ },
+ "actions": {
+ "type": "array",
+ "description": "A collection of the actions which are triggered if all the configured rule set evaluation is true.",
+ "items": {
+ "$ref": "#/definitions/SecurityAutomationAction"
+ }
+ }
+ }
+ },
+ "SecurityAutomationMetadata": {
+ "type": "object",
+ "description": "The metadata of the security automation resource.",
+ "properties": {
+ "createdDateTimeUtc": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The security automation creation date."
+ },
+ "createdBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The AAD object ID of the entity that created the security automation."
+ },
+ "lastUpdatedDateTimeUtc": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The security automation last updated date."
+ },
+ "lastUpdatedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The AAD object ID of the entity that last updated the security automation."
+ }
+ }
+ },
+ "SecurityAutomationSource": {
+ "type": "object",
+ "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and recommended tasks.",
+ "properties": {
+ "eventSource": {
+ "type": "string",
+ "description": "A valid event source type."
+ },
+ "ruleSets": {
+ "type": "array",
+ "description": "A set of rules which evaluate upon event interception.",
+ "items": {
+ "$ref": "#/definitions/SecurityAutomationRuleSet"
+ }
+ }
+ }
+ },
+ "SecurityAutomationScope": {
+ "type": "object",
+ "description": "The subscription's resources scope",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The resources scope description."
+ },
+ "scopePath": {
+ "type": "string",
+ "description": "The resources scope path."
+ }
+ }
+ },
+ "SecurityAutomationAction": {
+ "type": "object",
+ "description": "The action that should be triggered.",
+ "discriminator": "actionType",
+ "properties": {
+ "actionType": {
+ "type": "string",
+ "description": "type of action that will be triggered by the SecurityAutomation",
+ "enum": ["LogicApp", "EventHub", "SecurityEmail"],
+ "x-ms-enum": {
+ "name": "ActionType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "LogicApp"
+ },
+ {
+ "value": "EventHub"
+ },
+ {
+ "value": "SecurityEmail"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "SecurityAutomationActionLogicApp": {
+ "type": "object",
+ "description": "The logic app action that should be triggered.",
+ "x-ms-discriminator-value": "LogicApp",
+ "allOf": [{
+ "$ref": "#/definitions/SecurityAutomationAction"
+ }],
+ "properties": {
+ "logicAppResourceId": {
+ "type": "string",
+ "description": "The triggered resource id."
+ },
+ "uri": {
+ "type": "string",
+ "description": "The uri that should be triggered by an Http GET request.",
+ "format": "uri"
+ }
+ }
+ },
+ "SecurityAutomationActionEventHub": {
+ "type": "object",
+ "description": "The event hub action that should be triggered.",
+ "x-ms-discriminator-value": "EventHub",
+ "allOf": [{
+ "$ref": "#/definitions/SecurityAutomationAction"
+ }],
+ "properties": {
+ "eventHubResourceId": {
+ "type": "string",
+ "description": "The event hub resource id."
+ },
+ "connectionString": {
+ "type": "string",
+ "description": "The event hub connection string(the primary or secondary key)."
+ }
+ }
+ },
+ "SecurityAutomationActionSecurityEmail": {
+ "type": "object",
+ "description": "The Security Email action that should be triggered.",
+ "x-ms-discriminator-value": "SecurityEmail",
+ "allOf": [{
+ "$ref": "#/definitions/SecurityAutomationAction"
+ }],
+ "properties": {
+ "subscriptionRbacRoles": {
+ "type": "array",
+ "description": "A list of RBAC roles of the subscription for the email to be sent to.",
+ "items": {
+ "type":"string",
+ "enum":[
+ "AccountAdmin",
+ "ServiceAdmin",
+ "Owner",
+ "Contributor"
+ ]
+ }
+ },
+ "emailAddresses": {
+ "type": "array",
+ "description": "A list of email addresses for the email to be sent to.",
+ "items": {
+ "type": "string",
+ "format": "email"
+ }
+ }
+ }
+ },
+ "SecurityAutomationRuleSet": {
+ "type": "object",
+ "description": "A rule set which evaluates all its rules upon an event interception.",
+ "properties": {
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityAutomationTriggeringRule"
+ }
+ }
+ }
+ },
+ "SecurityAutomationTriggeringRule": {
+ "type": "object",
+ "description": "A logic rule which evaluates upon event interception. The rule is configured by comparing the specified expected value, in an expected property within the event model, by the specified operator.",
+ "properties": {
+ "propertyJPath": {
+ "type": "string",
+ "description": "The JPath of the entity model property that should be checked."
+ },
+ "propertyType": {
+ "type": "string",
+ "description": "The data type of the compared operands.",
+ "enum": [
+ "string",
+ "integer",
+ "number",
+ "boolean"
+ ]
+ },
+ "expectedValue": {
+ "type": "string",
+ "description": "The expected value."
+ },
+ "operator": {
+ "type": "string",
+ "description": "A valid comparer operator to use.",
+ "enum": [
+ "Equals",
+ "EqualsIgnoreCase",
+ "GreaterThan",
+ "GreaterThanOrEqualTo",
+ "LesserThan",
+ "LesserThanOrEqualTo",
+ "NotEquals",
+ "NotEqualsIgnoreCase",
+ "Contains",
+ "StartsWith",
+ "EndsWith"
+ ]
+ }
+ }
+ },
+ "SecurityAutomationValidationStatus": {
+ "type": "object",
+ "description": "The security automation model state property bag.",
+ "properties": {
+ "isValid": {
+ "type": "boolean",
+ "description": "Indicates whether the model is valid or not."
+ },
+ "message": {
+ "type": "string",
+ "description": "The validation message."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SecurityAutomationName": {
+ "name": "securityAutomationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The security automation name.",
+ "x-ms-parameter-location": "method"
+ },
+ "SecurityAutomationInBody": {
+ "name": "SecurityAutomation",
+ "in": "body",
+ "required": true,
+ "description": "The security automation resource",
+ "schema": {
+ "$ref": "#/definitions/SecurityAutomation"
+ }
+ }
+ }
+}
From bedbb135a0d36fbe121489d8758d25d6ee39092c Mon Sep 17 00:00:00 2001
From: Miri
Date: Thu, 17 Oct 2019 14:47:54 +0300
Subject: [PATCH 002/469] add trackedResource to common types
---
.../resource-manager/common/v1/types.json | 44 +++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/specification/security/resource-manager/common/v1/types.json b/specification/security/resource-manager/common/v1/types.json
index 6afed51f7d77..bfe1d2c58dd9 100644
--- a/specification/security/resource-manager/common/v1/types.json
+++ b/specification/security/resource-manager/common/v1/types.json
@@ -57,6 +57,50 @@
},
"x-ms-azure-resource": true
},
+ "TrackedResource": {
+ "type": "object",
+ "description": "Describes an Azure tracked resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "$ref": "#/definitions/Location"
+ },
+ {
+ "$ref": "#/definitions/Kind"
+ },
+ {
+ "$ref": "#/definitions/ETag"
+ },
+ {
+ "$ref": "#/definitions/Tags"
+ }
+ ]
+ },
+ "ETag": {
+ "type": "object",
+ "description": "Entity tag is used for comparing two or more entities from the same requested resource. ETags may be returned for individual resources, and then sent via If-Match / If-None-Match headers for concurrency control. ",
+ "properties": {
+ "etag": {
+ "type": "string",
+ "description": "Entity tag is used for comparing two or more entities from the same requested resource. ETags may be returned for individual resources, and then sent via If-Match / If-None-Match headers for concurrency control. "
+ }
+ }
+ },
+ "Tags": {
+ "type": "object",
+ "description": "A list of key value pairs that describe the resource.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "description": "A list of key value pairs that describe the resource.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
"Kind": {
"type": "object",
"description": "Describes an Azure resource with kind",
From 6f8863bde4e4d77194c438f03e3145304bc1acbf Mon Sep 17 00:00:00 2001
From: Miri
Date: Thu, 17 Oct 2019 15:16:16 +0300
Subject: [PATCH 003/469] remove patch operation
---
.../PatchSecurityAutomation_example.json | 122 ------------------
.../securityAutomations.json | 40 ------
2 files changed, 162 deletions(-)
delete mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PatchSecurityAutomation_example.json
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PatchSecurityAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PatchSecurityAutomation_example.json
deleted file mode 100644
index 55a4a8bd7e7a..000000000000
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PatchSecurityAutomation_example.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
- "securityAutomationName": "exampleSecurityAutomation",
- "resourceGroupName": "exampleResourceGroup",
- "SecurityAutomation": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
- "type": "Microsoft.Security/securityAutomations",
- "location": "Central US",
- "tags": {
- "ScenarioName" : "ExampleScenario"
- },
- "properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
- "isEnabled": true,
- "scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
- {
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
- }
- ],
- "sources": [
- {
- "eventSource": "AscAssessments",
- "ruleSets": [
- {
- "rules": [
- {
- "propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
- "expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
- }
- ]
- }
- ]
- }
- ],
- "actions": [
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
- "actionType": "LogicApp",
- "uri": "https://exampleTriggerUri1.com"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "https://exampleTriggerUri2.com"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
- "type": "Microsoft.Security/securityAutomations",
- "location": "Central US",
- "tags": {
- "ScenarioName" : "ExampleScenario"
- },
- "properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
- "isEnabled": true,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
- "scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
- {
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
- }
- ],
- "sources": [
- {
- "eventSource": "AscAssessments",
- "ruleSets": [
- {
- "rules": [
- {
- "propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
- "expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
- }
- ]
- }
- ]
- }
- ],
- "actions": [
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
- "actionType": "LogicApp",
- "uri": "(This value contains a secret and will not be retrieved)"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "(This value contains a secret and will not be retrieved)"
- }
- ]
- }
- }
- }
- }
-}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json
index 90d5ffa5f595..41bc7824e36d 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json
@@ -183,46 +183,6 @@
}
}
},
- "patch": {
- "x-ms-examples": {
- "Create or update a single security automation": {
- "$ref": "./examples/SecurityAutomations/PatchSecurityAutomation_example.json"
- }
- },
- "tags": ["SecurityAutomations"],
- "description": "Patch an existing security automation. Supports only Tags",
- "operationId": "SecurityAutomations_Patch",
- "parameters": [{
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SecurityAutomationName"
- },
- {
- "$ref": "#/parameters/SecurityAutomationInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAutomation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
"delete": {
"x-ms-examples": {
"Delete a single security automation": {
From a3a8e5adac5d9ba4827b6aa45f3a9bc2dd3a166f Mon Sep 17 00:00:00 2001
From: Miri
Date: Tue, 22 Oct 2019 18:14:46 +0300
Subject: [PATCH 004/469] rename securityAutomations to automations
---
...urityAutomations.json => automations.json} | 130 +++++++++---------
.../DeleteAutomation_example.json} | 2 +-
.../GetAutomationResourceGroup_example.json} | 8 +-
.../GetAutomationsResourceGroup_example.json} | 6 +-
.../GetAutomationsSubscription_example.json} | 6 +-
.../PutAutomation_example.json} | 18 +--
.../ValidateAutomation_example.json} | 8 +-
7 files changed, 89 insertions(+), 89 deletions(-)
rename specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/{securityAutomations.json => automations.json} (81%)
rename specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/{SecurityAutomations/DeleteSecurityAutomation_example.json => Automations/DeleteAutomation_example.json} (78%)
rename specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/{SecurityAutomations/GetSecurityAutomationResourceGroup_example.json => Automations/GetAutomationResourceGroup_example.json} (92%)
rename specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/{SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json => Automations/GetAutomationsResourceGroup_example.json} (94%)
rename specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/{SecurityAutomations/GetSecurityAutomationsSubscription_example.json => Automations/GetAutomationsSubscription_example.json} (94%)
rename specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/{SecurityAutomations/PutSecurityAutomation_example.json => Automations/PutAutomation_example.json} (94%)
rename specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/{SecurityAutomations/ValidateSecurityAutomation_example.json => Automations/ValidateAutomation_example.json} (92%)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
similarity index 81%
rename from specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json
rename to specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index 41bc7824e36d..e597bea2ec68 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/securityAutomations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -24,16 +24,16 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityAutomations": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Security/automations": {
"get": {
"x-ms-examples": {
"Get security automations of subscription": {
- "$ref": "./examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json"
+ "$ref": "./examples/Automations/GetAutomationsSubscription_example.json"
}
},
- "tags": ["SecurityAutomations"],
+ "tags": ["Automations"],
"description": "Get all security automations in a subscription.",
- "operationId": "SecurityAutomations_List",
+ "operationId": "Automations_List",
"parameters": [{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
@@ -45,7 +45,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SecurityAutomationList"
+ "$ref": "#/definitions/AutomationList"
}
},
"default": {
@@ -60,16 +60,16 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityAutomations": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations": {
"get": {
"x-ms-examples": {
"Get security automations of a single resource group": {
- "$ref": "./examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json"
+ "$ref": "./examples/Automations/GetAutomationsResourceGroup_example.json"
}
},
- "tags": ["SecurityAutomations"],
+ "tags": ["Automations"],
"description": "Get all security automations in a resource group.",
- "operationId": "SecurityAutomations_ListByResourceGroup",
+ "operationId": "Automations_ListByResourceGroup",
"parameters": [{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
@@ -84,7 +84,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SecurityAutomationList"
+ "$ref": "#/definitions/AutomationList"
}
},
"default": {
@@ -99,16 +99,16 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityAutomations/{securityAutomationName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}": {
"get": {
"x-ms-examples": {
"Get a single security automation details": {
- "$ref": "./examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json"
+ "$ref": "./examples/Automations/GetAutomationResourceGroup_example.json"
}
},
- "tags": ["SecurityAutomations"],
+ "tags": ["Automations"],
"description": "Get the details of a security automation.",
- "operationId": "SecurityAutomations_Get",
+ "operationId": "Automations_Get",
"parameters": [{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
@@ -119,14 +119,14 @@
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
},
{
- "$ref": "#/parameters/SecurityAutomationName"
+ "$ref": "#/parameters/AutomationName"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SecurityAutomation"
+ "$ref": "#/definitions/Automation"
}
},
"default": {
@@ -140,12 +140,12 @@
"put": {
"x-ms-examples": {
"Create or update a single security automation": {
- "$ref": "./examples/SecurityAutomations/PutSecurityAutomation_example.json"
+ "$ref": "./examples/Automations/PutAutomation_example.json"
}
},
- "tags": ["SecurityAutomations"],
+ "tags": ["Automations"],
"description": "Create or update a security automation. If a security automation is already created and a subsequent create request is issued with different properties, the security automation properties will be updated.",
- "operationId": "SecurityAutomations_CreateOrUpdate",
+ "operationId": "Automations_CreateOrUpdate",
"parameters": [{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
@@ -156,23 +156,23 @@
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
},
{
- "$ref": "#/parameters/SecurityAutomationName"
+ "$ref": "#/parameters/AutomationName"
},
{
- "$ref": "#/parameters/SecurityAutomationInBody"
+ "$ref": "#/parameters/AutomationInBody"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SecurityAutomation"
+ "$ref": "#/definitions/Automation"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/SecurityAutomation"
+ "$ref": "#/definitions/Automation"
}
},
"default": {
@@ -186,11 +186,11 @@
"delete": {
"x-ms-examples": {
"Delete a single security automation": {
- "$ref": "./examples/SecurityAutomations/DeleteSecurityAutomation_example.json"
+ "$ref": "./examples/Automations/DeleteAutomation_example.json"
}
},
- "tags": ["SecurityAutomations"],
- "operationId": "SecurityAutomations_Delete",
+ "tags": ["Automations"],
+ "operationId": "Automations_Delete",
"description": "Delete a security automation.",
"parameters": [{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
@@ -202,7 +202,7 @@
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
},
{
- "$ref": "#/parameters/SecurityAutomationName"
+ "$ref": "#/parameters/AutomationName"
}
],
"responses": {
@@ -218,16 +218,16 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityAutomations/{securityAutomationName}/validate": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}/validate": {
"post": {
"x-ms-examples": {
"Validate the security automation model before create or update": {
- "$ref": "./examples/SecurityAutomations/ValidateSecurityAutomation_example.json"
+ "$ref": "./examples/Automations/ValidateAutomation_example.json"
}
},
- "tags": ["SecurityAutomations"],
+ "tags": ["Automations"],
"description": "Validate the security automation model before create or update. Any validation errors are returned to the client.",
- "operationId": "SecurityAutomations_Validate",
+ "operationId": "Automations_Validate",
"parameters": [{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
@@ -238,17 +238,17 @@
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
},
{
- "$ref": "#/parameters/SecurityAutomationName"
+ "$ref": "#/parameters/AutomationName"
},
{
- "$ref": "#/parameters/SecurityAutomationInBody"
+ "$ref": "#/parameters/AutomationInBody"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SecurityAutomationValidationStatus"
+ "$ref": "#/definitions/AutomationValidationStatus"
}
},
"default": {
@@ -262,7 +262,7 @@
}
},
"definitions": {
- "SecurityAutomationList": {
+ "AutomationList": {
"description": "List of security automations response.",
"required": ["value"],
"properties": {
@@ -270,7 +270,7 @@
"type": "array",
"description": "The list of security automations under the given scope.",
"items": {
- "$ref": "#/definitions/SecurityAutomation"
+ "$ref": "#/definitions/Automation"
}
},
"nextLink": {
@@ -280,21 +280,21 @@
}
}
},
- "SecurityAutomation": {
+ "Automation": {
"type": "object",
"description": "The security automation resource.",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"description": "Security automation data",
- "$ref": "#/definitions/SecurityAutomationProperties"
+ "$ref": "#/definitions/AutomationProperties"
}
},
"allOf": [{
"$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
}]
},
- "SecurityAutomationProperties": {
+ "AutomationProperties": {
"type": "object",
"description": "The security automation data.",
"properties": {
@@ -309,32 +309,32 @@
"metadata": {
"type": "object",
"description": "The metadata of the security automation resource.",
- "$ref": "#/definitions/SecurityAutomationMetadata"
+ "$ref": "#/definitions/AutomationMetadata"
},
"scopes": {
"type": "array",
"description": "A collection of the subscription's resources scopes on which the security automations logic is applied.",
"items": {
- "$ref": "#/definitions/SecurityAutomationScope"
+ "$ref": "#/definitions/AutomationScope"
}
},
"sources": {
"type": "array",
"description": "A collection of the source event types which evaluate the security automation set of rules.",
"items": {
- "$ref": "#/definitions/SecurityAutomationSource"
+ "$ref": "#/definitions/AutomationSource"
}
},
"actions": {
"type": "array",
"description": "A collection of the actions which are triggered if all the configured rule set evaluation is true.",
"items": {
- "$ref": "#/definitions/SecurityAutomationAction"
+ "$ref": "#/definitions/AutomationAction"
}
}
}
},
- "SecurityAutomationMetadata": {
+ "AutomationMetadata": {
"type": "object",
"description": "The metadata of the security automation resource.",
"properties": {
@@ -362,9 +362,9 @@
}
}
},
- "SecurityAutomationSource": {
+ "AutomationSource": {
"type": "object",
- "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and recommended tasks.",
+ "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments.",
"properties": {
"eventSource": {
"type": "string",
@@ -374,12 +374,12 @@
"type": "array",
"description": "A set of rules which evaluate upon event interception.",
"items": {
- "$ref": "#/definitions/SecurityAutomationRuleSet"
+ "$ref": "#/definitions/AutomationRuleSet"
}
}
}
},
- "SecurityAutomationScope": {
+ "AutomationScope": {
"type": "object",
"description": "The subscription's resources scope",
"properties": {
@@ -393,14 +393,14 @@
}
}
},
- "SecurityAutomationAction": {
+ "AutomationAction": {
"type": "object",
"description": "The action that should be triggered.",
"discriminator": "actionType",
"properties": {
"actionType": {
"type": "string",
- "description": "type of action that will be triggered by the SecurityAutomation",
+ "description": "type of action that will be triggered by the Automation",
"enum": ["LogicApp", "EventHub", "SecurityEmail"],
"x-ms-enum": {
"name": "ActionType",
@@ -420,12 +420,12 @@
}
}
},
- "SecurityAutomationActionLogicApp": {
+ "AutomationActionLogicApp": {
"type": "object",
"description": "The logic app action that should be triggered.",
"x-ms-discriminator-value": "LogicApp",
"allOf": [{
- "$ref": "#/definitions/SecurityAutomationAction"
+ "$ref": "#/definitions/AutomationAction"
}],
"properties": {
"logicAppResourceId": {
@@ -439,12 +439,12 @@
}
}
},
- "SecurityAutomationActionEventHub": {
+ "AutomationActionEventHub": {
"type": "object",
"description": "The event hub action that should be triggered.",
"x-ms-discriminator-value": "EventHub",
"allOf": [{
- "$ref": "#/definitions/SecurityAutomationAction"
+ "$ref": "#/definitions/AutomationAction"
}],
"properties": {
"eventHubResourceId": {
@@ -457,12 +457,12 @@
}
}
},
- "SecurityAutomationActionSecurityEmail": {
+ "AutomationActionSecurityEmail": {
"type": "object",
"description": "The Security Email action that should be triggered.",
"x-ms-discriminator-value": "SecurityEmail",
"allOf": [{
- "$ref": "#/definitions/SecurityAutomationAction"
+ "$ref": "#/definitions/AutomationAction"
}],
"properties": {
"subscriptionRbacRoles": {
@@ -488,19 +488,19 @@
}
}
},
- "SecurityAutomationRuleSet": {
+ "AutomationRuleSet": {
"type": "object",
"description": "A rule set which evaluates all its rules upon an event interception.",
"properties": {
"rules": {
"type": "array",
"items": {
- "$ref": "#/definitions/SecurityAutomationTriggeringRule"
+ "$ref": "#/definitions/AutomationTriggeringRule"
}
}
}
},
- "SecurityAutomationTriggeringRule": {
+ "AutomationTriggeringRule": {
"type": "object",
"description": "A logic rule which evaluates upon event interception. The rule is configured by comparing the specified expected value, in an expected property within the event model, by the specified operator.",
"properties": {
@@ -541,7 +541,7 @@
}
}
},
- "SecurityAutomationValidationStatus": {
+ "AutomationValidationStatus": {
"type": "object",
"description": "The security automation model state property bag.",
"properties": {
@@ -557,21 +557,21 @@
}
},
"parameters": {
- "SecurityAutomationName": {
- "name": "securityAutomationName",
+ "AutomationName": {
+ "name": "automationName",
"in": "path",
"required": true,
"type": "string",
"description": "The security automation name.",
"x-ms-parameter-location": "method"
},
- "SecurityAutomationInBody": {
- "name": "SecurityAutomation",
+ "AutomationInBody": {
+ "name": "Automation",
"in": "body",
"required": true,
"description": "The security automation resource",
"schema": {
- "$ref": "#/definitions/SecurityAutomation"
+ "$ref": "#/definitions/Automation"
}
}
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/DeleteSecurityAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/DeleteAutomation_example.json
similarity index 78%
rename from specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/DeleteSecurityAutomation_example.json
rename to specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/DeleteAutomation_example.json
index cadbe633d9e1..f99509fb8fc8 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/DeleteSecurityAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/DeleteAutomation_example.json
@@ -3,7 +3,7 @@
"api-version": "2019-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "myRg",
- "securityAutomationName": "mySecurityAutomationName"
+ "automationName": "myAutomationName"
},
"responses": {
"204": {
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
similarity index 92%
rename from specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json
rename to specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
index 9b518eac049b..eb83084cefb0 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
@@ -3,14 +3,14 @@
"api-version": "2019-01-01-preview",
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
"resourceGroupName": "exampleResourceGroup",
- "securityAutomationName": "exampleSecurityAutomation"
+ "automationName": "exampleAutomation"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
- "type": "Microsoft.Security/securityAutomations",
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "name": "exampleAutomation",
+ "type": "Microsoft.Security/automations",
"location": "Central US",
"tags": {},
"properties": {
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
similarity index 94%
rename from specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json
rename to specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
index 5f09426552c5..2a3a8d636816 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
@@ -9,9 +9,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
- "type": "Microsoft.Security/securityAutomations",
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "name": "exampleAutomation",
+ "type": "Microsoft.Security/automations",
"location": "Central US",
"tags": {},
"properties": {
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
similarity index 94%
rename from specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json
rename to specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
index fd70542d5ef6..b4daee417656 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/GetSecurityAutomationsSubscription_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
@@ -8,9 +8,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
- "type": "Microsoft.Security/securityAutomations",
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "name": "exampleAutomation",
+ "type": "Microsoft.Security/automations",
"location": "Central US",
"tags": {},
"properties": {
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PutSecurityAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
similarity index 94%
rename from specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PutSecurityAutomation_example.json
rename to specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
index a02738ffe2c6..a7be5f654fab 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/PutSecurityAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
@@ -2,12 +2,12 @@
"parameters": {
"api-version": "2019-01-01-preview",
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
- "SecurityAutomationName": "exampleSecurityAutomation",
+ "SecurityAutomationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
"SecurityAutomation": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
- "type": "Microsoft.Security/SecurityAutomations",
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "name": "exampleAutomation",
+ "type": "Microsoft.Security/automations",
"location": "Central US",
"tags": {},
"properties": {
@@ -58,9 +58,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
- "type": "Microsoft.Security/SecurityAutomations",
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "name": "exampleAutomation",
+ "type": "Microsoft.Security/automations",
"location": "Central US",
"tags": {},
"properties": {
@@ -116,8 +116,8 @@
},
"201": {
"body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleAutomation",
+ "name": "exampleAutomation",
"type": "Microsoft.Security/SecurityAutomations",
"location": "Central US",
"tags": {},
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/ValidateSecurityAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
similarity index 92%
rename from specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/ValidateSecurityAutomation_example.json
rename to specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
index c1d186f18d88..7b352f5becd3 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SecurityAutomations/ValidateSecurityAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
@@ -2,12 +2,12 @@
"parameters": {
"api-version": "2019-01-01-preview",
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
- "securityAutomationName": "exampleSecurityAutomation",
+ "automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
"SecurityAutomation": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityAutomations/exampleSecurityAutomation",
- "name": "exampleSecurityAutomation",
- "type": "Microsoft.Security/securityAutomations",
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "name": "exampleAutomation",
+ "type": "Microsoft.Security/automations",
"location": "Central US",
"tags": {},
"properties": {
From 3785fcd890facc52b91f33d97927887d1f13709b Mon Sep 17 00:00:00 2001
From: Miri
Date: Tue, 22 Oct 2019 18:36:01 +0300
Subject: [PATCH 005/469] add missing references to readme.md
---
specification/security/resource-manager/readme.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index add89d61fde1..08d733fb5d76 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -55,6 +55,7 @@ These settings apply only when `--tag=package-composite-v1` is specified on the
``` yaml $(tag) == 'package-composite-v1'
input-file:
+- Microsoft.Security/preview/2019-01-01-preview/automations.json
- Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/preview/2017-08-01-preview/pricings.json
@@ -89,6 +90,7 @@ These settings apply only when `--tag=package-composite-v2` is specified on the
``` yaml $(tag) == 'package-composite-v2'
input-file:
+- Microsoft.Security/preview/2019-01-01-preview/automations.json
- Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/stable/2018-06-01/pricings.json
@@ -150,6 +152,7 @@ input-file:
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
+- Microsoft.Security/preview/2019-01-01-preview/automations.json
# Needed when there is more than one input file
override-info:
@@ -324,6 +327,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
- $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
From b7f7224f44b079424a93869eea2a865f8a798cde Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 23 Oct 2019 09:06:02 +0300
Subject: [PATCH 006/469] fix properties names, add x-ms-enum to all enums
---
.../2019-01-01-preview/automations.json | 87 +++++++++++++++++--
.../Automations/PutAutomation_example.json | 4 +-
.../ValidateAutomation_example.json | 2 +-
3 files changed, 84 insertions(+), 9 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index e597bea2ec68..f981889a4dc5 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -313,7 +313,7 @@
},
"scopes": {
"type": "array",
- "description": "A collection of the subscription's resources scopes on which the security automations logic is applied.",
+ "description": "A collection of the subscription's resources scopes on which the security automations logic is applied.",
"items": {
"$ref": "#/definitions/AutomationScope"
}
@@ -469,13 +469,31 @@
"type": "array",
"description": "A list of RBAC roles of the subscription for the email to be sent to.",
"items": {
- "type":"string",
- "enum":[
+ "type": "string",
+ "enum": [
"AccountAdmin",
"ServiceAdmin",
"Owner",
"Contributor"
- ]
+ ],
+ "x-ms-enum": {
+ "name": "SubscriptionRbacRoles",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "AccountAdmin"
+ },
+ {
+ "value": "ServiceAdmin"
+ },
+ {
+ "value": "Owner"
+ },
+ {
+ "value": "Contributor"
+ }
+ ]
+ }
}
},
"emailAddresses": {
@@ -516,7 +534,25 @@
"integer",
"number",
"boolean"
- ]
+ ],
+ "x-ms-enum": {
+ "name": "PropertyType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "string"
+ },
+ {
+ "value": "integer"
+ },
+ {
+ "value": "number"
+ },
+ {
+ "value": "boolean"
+ }
+ ]
+ }
},
"expectedValue": {
"type": "string",
@@ -537,7 +573,46 @@
"Contains",
"StartsWith",
"EndsWith"
- ]
+ ],
+ "x-ms-enum": {
+ "name": "Operator",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Equals"
+ },
+ {
+ "value": "EqualsIgnoreCase"
+ },
+ {
+ "value": "GreaterThan"
+ },
+ {
+ "value": "GreaterThanOrEqualTo"
+ },
+ {
+ "value": "LesserThan"
+ },
+ {
+ "value": "LesserThanOrEqualTo"
+ },
+ {
+ "value": "NotEquals"
+ },
+ {
+ "value": "NotEqualsIgnoreCase"
+ },
+ {
+ "value": "Contains"
+ },
+ {
+ "value": "StartsWith"
+ },
+ {
+ "value": "EndsWith"
+ }
+ ]
+ }
}
}
},
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
index a7be5f654fab..9c65a4a7967f 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
@@ -2,9 +2,9 @@
"parameters": {
"api-version": "2019-01-01-preview",
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
- "SecurityAutomationName": "exampleAutomation",
+ "automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
- "SecurityAutomation": {
+ "Automation": {
"id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
index 7b352f5becd3..143e592917aa 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
@@ -4,7 +4,7 @@
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
"automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
- "SecurityAutomation": {
+ "Automation": {
"id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
From 3963d64d4ee711c3cc439d6a6c2b52878cdf3699 Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 23 Oct 2019 10:59:35 +0300
Subject: [PATCH 007/469] add "x-ms-parameter-location": "method" to
"AutomationInBody" parameters definition remove "format": "uri", "format":
"email"
---
.../preview/2019-01-01-preview/automations.json | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index f981889a4dc5..85a70749005b 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -434,8 +434,7 @@
},
"uri": {
"type": "string",
- "description": "The uri that should be triggered by an Http GET request.",
- "format": "uri"
+ "description": "The uri that should be triggered by an Http GET request."
}
}
},
@@ -500,8 +499,7 @@
"type": "array",
"description": "A list of email addresses for the email to be sent to.",
"items": {
- "type": "string",
- "format": "email"
+ "type": "string"
}
}
}
@@ -647,7 +645,8 @@
"description": "The security automation resource",
"schema": {
"$ref": "#/definitions/Automation"
- }
+ },
+ "x-ms-parameter-location": "method"
}
}
}
From 20081dddd27379de01a403ff489736074f6469b5 Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 23 Oct 2019 11:51:18 +0300
Subject: [PATCH 008/469] get back the "uri" and "email" formats, and exclude
the ValidFormats checker from those two properties
---
.../preview/2019-01-01-preview/automations.json | 6 ++++--
specification/security/resource-manager/readme.md | 8 ++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index 85a70749005b..2109ccc0b469 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -434,7 +434,8 @@
},
"uri": {
"type": "string",
- "description": "The uri that should be triggered by an Http GET request."
+ "description": "The uri that should be triggered by an Http GET request.",
+ "format": "uri"
}
}
},
@@ -499,7 +500,8 @@
"type": "array",
"description": "A list of email addresses for the email to be sent to.",
"items": {
- "type": "string"
+ "type": "string",
+ "format": "email"
}
}
}
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index 08d733fb5d76..bbb1a29b3de8 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -28,6 +28,14 @@ directive:
from: securityContacts.json
where: $.definitions.SecurityContactProperties.properties.email.format
reason: email format is allowed
+ - suppress: ValidFormats
+ from: automations.json
+ where: $.definitions.AutomationActionSecurityEmail.properties.emailAddresses.items.format
+ reason: email format is allowed
+ - suppress: ValidFormats
+ from: automations.json
+ where: $.definitions.AutomationActionLogicApp.properties.uri.format
+ reason: uri format is allowed
- suppress: PageableOperation
from: iotSecuritySolutionAnalytics.json
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels"].get'
From 5ac2ce420943f182a52b63ff68b1babf6316ba3b Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 23 Oct 2019 17:35:32 +0300
Subject: [PATCH 009/469] add Workspace action definition
---
.../2019-01-01-preview/automations.json | 65 ++++++++++++++-----
1 file changed, 48 insertions(+), 17 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index 2109ccc0b469..6b5416069c4d 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -264,7 +264,7 @@
"definitions": {
"AutomationList": {
"description": "List of security automations response.",
- "required": ["value"],
+ "required": [ "value" ],
"properties": {
"value": {
"type": "array",
@@ -290,9 +290,11 @@
"$ref": "#/definitions/AutomationProperties"
}
},
- "allOf": [{
- "$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
- }]
+ "allOf": [
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
+ }
+ ]
},
"AutomationProperties": {
"type": "object",
@@ -401,7 +403,7 @@
"actionType": {
"type": "string",
"description": "type of action that will be triggered by the Automation",
- "enum": ["LogicApp", "EventHub", "SecurityEmail"],
+ "enum": [ "LogicApp", "EventHub", "SecurityEmail", "Workspace" ],
"x-ms-enum": {
"name": "ActionType",
"modelAsString": true,
@@ -414,6 +416,9 @@
},
{
"value": "SecurityEmail"
+ },
+ {
+ "value": "Workspace"
}
]
}
@@ -424,9 +429,11 @@
"type": "object",
"description": "The logic app action that should be triggered.",
"x-ms-discriminator-value": "LogicApp",
- "allOf": [{
- "$ref": "#/definitions/AutomationAction"
- }],
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutomationAction"
+ }
+ ],
"properties": {
"logicAppResourceId": {
"type": "string",
@@ -443,9 +450,11 @@
"type": "object",
"description": "The event hub action that should be triggered.",
"x-ms-discriminator-value": "EventHub",
- "allOf": [{
- "$ref": "#/definitions/AutomationAction"
- }],
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutomationAction"
+ }
+ ],
"properties": {
"eventHubResourceId": {
"type": "string",
@@ -461,13 +470,15 @@
"type": "object",
"description": "The Security Email action that should be triggered.",
"x-ms-discriminator-value": "SecurityEmail",
- "allOf": [{
- "$ref": "#/definitions/AutomationAction"
- }],
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutomationAction"
+ }
+ ],
"properties": {
"subscriptionRbacRoles": {
"type": "array",
- "description": "A list of RBAC roles of the subscription for the email to be sent to.",
+ "description": "A list of allowed RBAC roles of the subscription for the email to be sent to.",
"items": {
"type": "string",
"enum": [
@@ -494,11 +505,11 @@
}
]
}
- }
+ }
},
"emailAddresses": {
"type": "array",
- "description": "A list of email addresses for the email to be sent to.",
+ "description": "A list of email addresses that should receive the event data.",
"items": {
"type": "string",
"format": "email"
@@ -506,6 +517,26 @@
}
}
},
+ "AutomationActionWorkspace": {
+ "type": "object",
+ "description": "The log analytics workspace action that should be triggered.",
+ "x-ms-discriminator-value": "Workspace",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutomationAction"
+ }
+ ],
+ "properties": {
+ "workspaceResourceId": {
+ "type": "string",
+ "description": "The log analytics workspace resource id."
+ },
+ "workspaceId": {
+ "type": "string",
+ "description": "The log analytics id in a GUID format."
+ }
+ }
+ },
"AutomationRuleSet": {
"type": "object",
"description": "A rule set which evaluates all its rules upon an event interception.",
From 3f715246c5dde11265c9a13d77a18490a4880735 Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 23 Oct 2019 18:23:54 +0300
Subject: [PATCH 010/469] add eventSource types enum (as string), change texts,
make all enums Pascal case, align examples
---
.../2019-01-01-preview/automations.json | 37 +++++++++++++------
.../GetAutomationResourceGroup_example.json | 6 +--
.../GetAutomationsResourceGroup_example.json | 6 +--
.../GetAutomationsSubscription_example.json | 8 ++--
.../Automations/PutAutomation_example.json | 24 ++++++------
.../ValidateAutomation_example.json | 13 +++----
6 files changed, 51 insertions(+), 43 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index 6b5416069c4d..f70c52373f49 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -329,7 +329,7 @@
},
"actions": {
"type": "array",
- "description": "A collection of the actions which are triggered if all the configured rule set evaluation is true.",
+ "description": "A collection of the actions which are triggered if all the configured rules evaluations, within a ruleset, are true.",
"items": {
"$ref": "#/definitions/AutomationAction"
}
@@ -370,7 +370,20 @@
"properties": {
"eventSource": {
"type": "string",
- "description": "A valid event source type."
+ "description": "A valid event source type.",
+ "enum": [ "Assessments", "Alerts" ],
+ "x-ms-enum": {
+ "name": "EventSource",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Assessments"
+ },
+ {
+ "value": "Alerts"
+ }
+ ]
+ }
},
"ruleSets": {
"type": "array",
@@ -402,7 +415,7 @@
"properties": {
"actionType": {
"type": "string",
- "description": "type of action that will be triggered by the Automation",
+ "description": "The type of the action that will be triggered by the Automation",
"enum": [ "LogicApp", "EventHub", "SecurityEmail", "Workspace" ],
"x-ms-enum": {
"name": "ActionType",
@@ -478,7 +491,7 @@
"properties": {
"subscriptionRbacRoles": {
"type": "array",
- "description": "A list of allowed RBAC roles of the subscription for the email to be sent to.",
+ "description": "A list of RBAC roles which indicate the relevant users that will receive the event data via email.",
"items": {
"type": "string",
"enum": [
@@ -561,26 +574,26 @@
"type": "string",
"description": "The data type of the compared operands.",
"enum": [
- "string",
- "integer",
- "number",
- "boolean"
+ "String",
+ "Integer",
+ "Number",
+ "Boolean"
],
"x-ms-enum": {
"name": "PropertyType",
"modelAsString": true,
"values": [
{
- "value": "string"
+ "value": "String"
},
{
- "value": "integer"
+ "value": "Integer"
},
{
- "value": "number"
+ "value": "Number"
},
{
- "value": "boolean"
+ "value": "Boolean"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
index eb83084cefb0..104f73aa1e58 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
@@ -28,19 +28,19 @@
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
},
{
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
}
],
"sources": [
{
- "eventSource": "AscAssessments",
+ "eventSource": "Assessments",
"ruleSets": [
{
"rules": [
{
"propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
+ "propertyType": "String",
"expectedValue": "customAssessment",
"operator": "EqualsIgnoreCase"
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
index 2a3a8d636816..73d42b9f625c 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
@@ -29,19 +29,19 @@
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
},
{
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
}
],
"sources": [
{
- "eventSource": "AscAssessments",
+ "eventSource": "Assessments",
"ruleSets": [
{
"rules": [
{
"propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
+ "propertyType": "String",
"expectedValue": "customAssessment",
"operator": "EqualsIgnoreCase"
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
index b4daee417656..d9964654cc01 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
@@ -11,7 +11,7 @@
"id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
- "location": "Central US",
+ "location": "Central US",
"tags": {},
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
@@ -28,19 +28,19 @@
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
},
{
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
}
],
"sources": [
{
- "eventSource": "AscAssessments",
+ "eventSource": "Assessments",
"ruleSets": [
{
"rules": [
{
"propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
+ "propertyType": "String",
"expectedValue": "customAssessment",
"operator": "EqualsIgnoreCase"
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
index 9c65a4a7967f..fa00acd9d928 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
@@ -4,10 +4,7 @@
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
"automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
- "Automation": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
- "name": "exampleAutomation",
- "type": "Microsoft.Security/automations",
+ "Automation": {
"location": "Central US",
"tags": {},
"properties": {
@@ -19,19 +16,19 @@
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
},
{
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
}
],
"sources": [
{
- "eventSource": "AscAssessments",
+ "eventSource": "Assessments",
"ruleSets": [
{
"rules": [
{
"propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
+ "propertyType": "String",
"expectedValue": "customAssessment",
"operator": "EqualsIgnoreCase"
}
@@ -78,19 +75,19 @@
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
},
{
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
}
],
"sources": [
{
- "eventSource": "AscAssessments",
+ "eventSource": "Assessments",
"ruleSets": [
{
"rules": [
{
"propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
+ "propertyType": "String",
"expectedValue": "customAssessment",
"operator": "EqualsIgnoreCase"
}
@@ -120,6 +117,7 @@
"name": "exampleAutomation",
"type": "Microsoft.Security/SecurityAutomations",
"location": "Central US",
+ "kind": "",
"tags": {},
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
@@ -136,19 +134,19 @@
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
},
{
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
}
],
"sources": [
{
- "eventSource": "AscAssessments",
+ "eventSource": "Assessments",
"ruleSets": [
{
"rules": [
{
"propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
+ "propertyType": "String",
"expectedValue": "customAssessment",
"operator": "EqualsIgnoreCase"
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
index 143e592917aa..129cdb922b6a 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
@@ -4,10 +4,7 @@
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
"automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
- "Automation": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
- "name": "exampleAutomation",
- "type": "Microsoft.Security/automations",
+ "Automation": {
"location": "Central US",
"tags": {},
"properties": {
@@ -25,19 +22,19 @@
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
},
{
- "description": "A description that help to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
}
],
"sources": [
{
- "eventSource": "AscAssessments",
+ "eventSource": "Assessments",
"ruleSets": [
{
"rules": [
{
"propertyJPath": "$.Entity.AssessmentType",
- "propertyType": "string",
+ "propertyType": "String",
"expectedValue": "customAssessment",
"operator": "EqualsIgnoreCase"
}
@@ -65,7 +62,7 @@
"200": {
"body": {
"isValid": true,
- "message": ""
+ "message": "Validation Successful"
}
}
}
From 54457eeef46062ae568f3016872618584f363dd1 Mon Sep 17 00:00:00 2001
From: Miri
Date: Thu, 24 Oct 2019 15:13:49 +0300
Subject: [PATCH 011/469] fix comments after PM feedback
---
.../2019-01-01-preview/automations.json | 48 ++++++++-----------
1 file changed, 20 insertions(+), 28 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index f70c52373f49..621bd861eadc 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -298,7 +298,7 @@
},
"AutomationProperties": {
"type": "object",
- "description": "The security automation data.",
+ "description": "A set of properties that defines the behavior of the automation configuration. To learn more about the supported security events data models schemas � please visit https://aka.ms/ASCAutomationSchemas.",
"properties": {
"description": {
"type": "string",
@@ -315,7 +315,7 @@
},
"scopes": {
"type": "array",
- "description": "A collection of the subscription's resources scopes on which the security automations logic is applied.",
+ "description": "A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.",
"items": {
"$ref": "#/definitions/AutomationScope"
}
@@ -329,7 +329,7 @@
},
"actions": {
"type": "array",
- "description": "A collection of the actions which are triggered if all the configured rules evaluations, within a ruleset, are true.",
+ "description": "A collection of the actions which are triggered if all the configured rules evaluations, within at least one ruleset, are true.",
"items": {
"$ref": "#/definitions/AutomationAction"
}
@@ -366,7 +366,7 @@
},
"AutomationSource": {
"type": "object",
- "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments.",
+ "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas � please visit https://aka.ms/ASCAutomationSchemas.",
"properties": {
"eventSource": {
"type": "string",
@@ -387,7 +387,7 @@
},
"ruleSets": {
"type": "array",
- "description": "A set of rules which evaluate upon event interception.",
+ "description": "A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical �or�).",
"items": {
"$ref": "#/definitions/AutomationRuleSet"
}
@@ -396,7 +396,7 @@
},
"AutomationScope": {
"type": "object",
- "description": "The subscription's resources scope",
+ "description": "A single automation scope.",
"properties": {
"description": {
"type": "string",
@@ -404,7 +404,7 @@
},
"scopePath": {
"type": "string",
- "description": "The resources scope path."
+ "description": "The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs)."
}
}
},
@@ -450,18 +450,18 @@
"properties": {
"logicAppResourceId": {
"type": "string",
- "description": "The triggered resource id."
+ "description": "The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App"
},
"uri": {
"type": "string",
- "description": "The uri that should be triggered by an Http GET request.",
+ "description": "The Logic App trigger URI endpoint.",
"format": "uri"
}
}
},
"AutomationActionEventHub": {
"type": "object",
- "description": "The event hub action that should be triggered.",
+ "description": "The target Event Hub to which event data will be exported.",
"x-ms-discriminator-value": "EventHub",
"allOf": [
{
@@ -471,17 +471,17 @@
"properties": {
"eventHubResourceId": {
"type": "string",
- "description": "The event hub resource id."
+ "description": "The Event Hub Azure Resource ID."
},
"connectionString": {
"type": "string",
- "description": "The event hub connection string(the primary or secondary key)."
+ "description": "The Event Hub connection string."
}
}
},
"AutomationActionSecurityEmail": {
"type": "object",
- "description": "The Security Email action that should be triggered.",
+ "description": "An action that triggers sending of Security emails. Emails can be sent to users with specific roles on the subscription (for example, subscription owners) or to user-provided emails.",
"x-ms-discriminator-value": "SecurityEmail",
"allOf": [
{
@@ -491,7 +491,7 @@
"properties": {
"subscriptionRbacRoles": {
"type": "array",
- "description": "A list of RBAC roles which indicate the relevant users that will receive the event data via email.",
+ "description": "A list of user roles which indicate the relevant users that will receive the event data via email.",
"items": {
"type": "string",
"enum": [
@@ -532,7 +532,7 @@
},
"AutomationActionWorkspace": {
"type": "object",
- "description": "The log analytics workspace action that should be triggered.",
+ "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace.",
"x-ms-discriminator-value": "Workspace",
"allOf": [
{
@@ -542,17 +542,17 @@
"properties": {
"workspaceResourceId": {
"type": "string",
- "description": "The log analytics workspace resource id."
+ "description": "The fully qualified Log Analytics Workspace Azure Resource ID."
},
"workspaceId": {
"type": "string",
- "description": "The log analytics id in a GUID format."
+ "description": "The Log Analytics Workspace ID in a GUID format."
}
}
},
"AutomationRuleSet": {
"type": "object",
- "description": "A rule set which evaluates all its rules upon an event interception.",
+ "description": "A rule set which evaluates all its rules upon an event interception. Only when all the included rules in the rule set will be evaluated as 'true', will the event trigger the defined actions.",
"properties": {
"rules": {
"type": "array",
@@ -564,7 +564,7 @@
},
"AutomationTriggeringRule": {
"type": "object",
- "description": "A logic rule which evaluates upon event interception. The rule is configured by comparing the specified expected value, in an expected property within the event model, by the specified operator.",
+ "description": "A rule which is evaluated upon event interception. The rule is configured by comparing a specific value from the event model to an expected value. This comparison is done by using one of the supported operators set.",
"properties": {
"propertyJPath": {
"type": "string",
@@ -572,7 +572,7 @@
},
"propertyType": {
"type": "string",
- "description": "The data type of the compared operands.",
+ "description": "The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]",
"enum": [
"String",
"Integer",
@@ -607,13 +607,11 @@
"description": "A valid comparer operator to use.",
"enum": [
"Equals",
- "EqualsIgnoreCase",
"GreaterThan",
"GreaterThanOrEqualTo",
"LesserThan",
"LesserThanOrEqualTo",
"NotEquals",
- "NotEqualsIgnoreCase",
"Contains",
"StartsWith",
"EndsWith"
@@ -625,9 +623,6 @@
{
"value": "Equals"
},
- {
- "value": "EqualsIgnoreCase"
- },
{
"value": "GreaterThan"
},
@@ -643,9 +638,6 @@
{
"value": "NotEquals"
},
- {
- "value": "NotEqualsIgnoreCase"
- },
{
"value": "Contains"
},
From 8f3e54a4cff716cbe0bda338eaf836b5fe622eee Mon Sep 17 00:00:00 2001
From: Miri
Date: Sun, 27 Oct 2019 14:09:18 +0200
Subject: [PATCH 012/469] fix according to PR comments, remove unsupported
operators from examples files (remove EqualsIgnoreCase)
---
.../preview/2019-01-01-preview/automations.json | 10 +++++-----
.../GetAutomationResourceGroup_example.json | 5 +++--
.../GetAutomationsResourceGroup_example.json | 3 ++-
.../GetAutomationsSubscription_example.json | 5 +++--
.../examples/Automations/PutAutomation_example.json | 12 +++++++-----
.../Automations/ValidateAutomation_example.json | 2 +-
6 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index 621bd861eadc..e54acf89f7bf 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -298,7 +298,7 @@
},
"AutomationProperties": {
"type": "object",
- "description": "A set of properties that defines the behavior of the automation configuration. To learn more about the supported security events data models schemas � please visit https://aka.ms/ASCAutomationSchemas.",
+ "description": "A set of properties that defines the behavior of the automation configuration. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.",
"properties": {
"description": {
"type": "string",
@@ -366,7 +366,7 @@
},
"AutomationSource": {
"type": "object",
- "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas � please visit https://aka.ms/ASCAutomationSchemas.",
+ "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.",
"properties": {
"eventSource": {
"type": "string",
@@ -387,7 +387,7 @@
},
"ruleSets": {
"type": "array",
- "description": "A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical �or�).",
+ "description": "A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').",
"items": {
"$ref": "#/definitions/AutomationRuleSet"
}
@@ -454,7 +454,7 @@
},
"uri": {
"type": "string",
- "description": "The Logic App trigger URI endpoint.",
+ "description": "The Logic App trigger URI endpoint (it will not be returned in GET).",
"format": "uri"
}
}
@@ -475,7 +475,7 @@
},
"connectionString": {
"type": "string",
- "description": "The Event Hub connection string."
+ "description": "The Event Hub connection string (it will not be returned in GET)."
}
}
},
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
index 104f73aa1e58..6109d9457ef0 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
@@ -11,8 +11,9 @@
"id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
+ "etag": "etag value",
"location": "Central US",
- "tags": {},
+ "tags": {},
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": true,
@@ -42,7 +43,7 @@
"propertyJPath": "$.Entity.AssessmentType",
"propertyType": "String",
"expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
+ "operator": "Equals"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
index 73d42b9f625c..832e0307d95f 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
@@ -12,6 +12,7 @@
"id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
+ "etag": "etag value",
"location": "Central US",
"tags": {},
"properties": {
@@ -43,7 +44,7 @@
"propertyJPath": "$.Entity.AssessmentType",
"propertyType": "String",
"expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
+ "operator": "Equals"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
index d9964654cc01..2b542d89d44d 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
@@ -11,7 +11,8 @@
"id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
- "location": "Central US",
+ "etag": "etag value",
+ "location": "Central US",
"tags": {},
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
@@ -42,7 +43,7 @@
"propertyJPath": "$.Entity.AssessmentType",
"propertyType": "String",
"expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
+ "operator": "Equals"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
index fa00acd9d928..a0571cfce84f 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
@@ -4,8 +4,9 @@
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
"automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
- "Automation": {
+ "Automation": {
"location": "Central US",
+ "etag": "etag value (must be supplied for update)",
"tags": {},
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
@@ -30,7 +31,7 @@
"propertyJPath": "$.Entity.AssessmentType",
"propertyType": "String",
"expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
+ "operator": "Equals"
}
]
}
@@ -59,6 +60,7 @@
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
"location": "Central US",
+ "etag": "new etag value",
"tags": {},
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
@@ -89,7 +91,7 @@
"propertyJPath": "$.Entity.AssessmentType",
"propertyType": "String",
"expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
+ "operator": "Equals"
}
]
}
@@ -117,7 +119,7 @@
"name": "exampleAutomation",
"type": "Microsoft.Security/SecurityAutomations",
"location": "Central US",
- "kind": "",
+ "etag": "new etag value",
"tags": {},
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
@@ -148,7 +150,7 @@
"propertyJPath": "$.Entity.AssessmentType",
"propertyType": "String",
"expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
+ "operator": "Equals"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
index 129cdb922b6a..de3777b7a2fd 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
@@ -36,7 +36,7 @@
"propertyJPath": "$.Entity.AssessmentType",
"propertyType": "String",
"expectedValue": "customAssessment",
- "operator": "EqualsIgnoreCase"
+ "operator": "Equals"
}
]
}
From 60b3ee322dc4ffdbb0b3902eb8ddc7ed43f91a81 Mon Sep 17 00:00:00 2001
From: Miri
Date: Sun, 17 Nov 2019 18:12:32 +0200
Subject: [PATCH 013/469] remove secrets from responses, simplify examples,
format files
---
.../2019-01-01-preview/automations.json | 104 ++++++++++++++----
.../GetAutomationResourceGroup_example.json | 12 +-
.../GetAutomationsResourceGroup_example.json | 12 +-
.../GetAutomationsSubscription_example.json | 12 +-
.../Automations/PutAutomation_example.json | 33 +-----
.../ValidateAutomation_example.json | 11 +-
6 files changed, 87 insertions(+), 97 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index e54acf89f7bf..57a3451b1921 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -6,12 +6,14 @@
"version": "2019-01-01-preview"
},
"host": "management.azure.com",
- "schemes": ["https"],
- "consumes": ["application/json"],
- "produces": ["application/json"],
- "security": [{
- "azure_auth": ["user_impersonation"]
- }],
+ "schemes": [ "https" ],
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "security": [
+ {
+ "azure_auth": [ "user_impersonation" ]
+ }
+ ],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
@@ -31,10 +33,11 @@
"$ref": "./examples/Automations/GetAutomationsSubscription_example.json"
}
},
- "tags": ["Automations"],
+ "tags": [ "Automations" ],
"description": "Get all security automations in a subscription.",
"operationId": "Automations_List",
- "parameters": [{
+ "parameters": [
+ {
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
@@ -67,10 +70,11 @@
"$ref": "./examples/Automations/GetAutomationsResourceGroup_example.json"
}
},
- "tags": ["Automations"],
+ "tags": [ "Automations" ],
"description": "Get all security automations in a resource group.",
"operationId": "Automations_ListByResourceGroup",
- "parameters": [{
+ "parameters": [
+ {
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
@@ -106,10 +110,11 @@
"$ref": "./examples/Automations/GetAutomationResourceGroup_example.json"
}
},
- "tags": ["Automations"],
+ "tags": [ "Automations" ],
"description": "Get the details of a security automation.",
"operationId": "Automations_Get",
- "parameters": [{
+ "parameters": [
+ {
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
@@ -143,10 +148,11 @@
"$ref": "./examples/Automations/PutAutomation_example.json"
}
},
- "tags": ["Automations"],
+ "tags": [ "Automations" ],
"description": "Create or update a security automation. If a security automation is already created and a subsequent create request is issued with different properties, the security automation properties will be updated.",
"operationId": "Automations_CreateOrUpdate",
- "parameters": [{
+ "parameters": [
+ {
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
@@ -189,10 +195,11 @@
"$ref": "./examples/Automations/DeleteAutomation_example.json"
}
},
- "tags": ["Automations"],
+ "tags": [ "Automations" ],
"operationId": "Automations_Delete",
"description": "Delete a security automation.",
- "parameters": [{
+ "parameters": [
+ {
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
@@ -225,10 +232,11 @@
"$ref": "./examples/Automations/ValidateAutomation_example.json"
}
},
- "tags": ["Automations"],
+ "tags": [ "Automations" ],
"description": "Validate the security automation model before create or update. Any validation errors are returned to the client.",
"operationId": "Automations_Validate",
- "parameters": [{
+ "parameters": [
+ {
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
@@ -451,14 +459,36 @@
"logicAppResourceId": {
"type": "string",
"description": "The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App"
- },
+ }
+ }
+ },
+ "AutomationActionLogicAppInput": {
+ "type": "object",
+ "description": "The logic app action that should be triggered.",
+ "x-ms-discriminator-value": "LogicApp",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutomationActionLogicApp"
+ }
+ ],
+ "properties": {
"uri": {
"type": "string",
- "description": "The Logic App trigger URI endpoint (it will not be returned in GET).",
+ "description": "The Logic App trigger URI endpoint.",
"format": "uri"
}
}
},
+ "AutomationActionLogicAppOutput": {
+ "type": "object",
+ "description": "The logic app action that should be triggered.",
+ "x-ms-discriminator-value": "LogicApp",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutomationActionLogicApp"
+ }
+ ]
+ },
"AutomationActionEventHub": {
"type": "object",
"description": "The target Event Hub to which event data will be exported.",
@@ -471,11 +501,39 @@
"properties": {
"eventHubResourceId": {
"type": "string",
- "description": "The Event Hub Azure Resource ID."
- },
+ "description": "The target Event Hub Azure Resource ID."
+ }
+ }
+ },
+ "AutomationActionEventHubInput": {
+ "type": "object",
+ "description": "The target Event Hub to which event data will be exported.",
+ "x-ms-discriminator-value": "EventHub",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutomationActionEventHub"
+ }
+ ],
+ "properties": {
"connectionString": {
"type": "string",
- "description": "The Event Hub connection string (it will not be returned in GET)."
+ "description": "The traget Event Hub connection string"
+ }
+ }
+ },
+ "AutomationActionEventHubOutput": {
+ "type": "object",
+ "description": "The target Event Hub to which event data will be exported.",
+ "x-ms-discriminator-value": "EventHub",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutomationActionEventHub"
+ }
+ ],
+ "properties": {
+ "sasPolicyName": {
+ "type": "string",
+ "description": "The target Event Hub SAS policy name."
}
}
},
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
index 6109d9457ef0..ce82129f96ae 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
@@ -24,10 +24,6 @@
"lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
},
"scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
@@ -53,13 +49,7 @@
"actions": [
{
"logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
- "actionType": "LogicApp",
- "uri": "(This value contains a secret and will not be retrieved)"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "(This value contains a secret and will not be retrieved)"
+ "actionType": "LogicApp"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
index 832e0307d95f..5bfad1958985 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
@@ -25,10 +25,6 @@
"lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
},
"scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
@@ -54,13 +50,7 @@
"actions": [
{
"logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
- "actionType": "LogicApp",
- "uri": "https://exampleTriggerUri1.com"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "https://exampleTriggerUri2.com"
+ "actionType": "LogicApp"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
index 2b542d89d44d..93b95b64d9ab 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
@@ -24,10 +24,6 @@
"lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
},
"scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
@@ -53,13 +49,7 @@
"actions": [
{
"logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
- "actionType": "LogicApp",
- "uri": "https://exampleTriggerUri1.com"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "https://exampleTriggerUri2.com"
+ "actionType": "LogicApp"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
index a0571cfce84f..4b5dc66b0fd2 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
@@ -12,10 +12,6 @@
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": true,
"scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
@@ -43,11 +39,6 @@
"logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
"actionType": "LogicApp",
"uri": "https://exampleTriggerUri1.com"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "https://exampleTriggerUri2.com"
}
]
}
@@ -72,10 +63,6 @@
"lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
},
"scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
@@ -101,13 +88,7 @@
"actions": [
{
"logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
- "actionType": "LogicApp",
- "uri": "(This value contains a secret and will not be retrieved)"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "(This value contains a secret and will not be retrieved)"
+ "actionType": "LogicApp"
}
]
}
@@ -131,10 +112,6 @@
"lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
},
"scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
@@ -160,13 +137,7 @@
"actions": [
{
"logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
- "actionType": "LogicApp",
- "uri": "(This value contains a secret and will not be retrieved)"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "(This value contains a secret and will not be retrieved)"
+ "actionType": "LogicApp"
}
]
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
index de3777b7a2fd..29da866c9437 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
@@ -4,7 +4,7 @@
"subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
"automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
- "Automation": {
+ "Automation": {
"location": "Central US",
"tags": {},
"properties": {
@@ -17,10 +17,6 @@
"lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
},
"scopes": [
- {
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26"
- },
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
"scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
@@ -48,11 +44,6 @@
"logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
"actionType": "LogicApp",
"uri": "https://exampleTriggerUri1.com"
- },
- {
- "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest2",
- "actionType": "LogicApp",
- "uri": "https://exampleTriggerUri2.com"
}
]
}
From 4de25ce9c3cc7207f5fea2f55d446e548f36dc27 Mon Sep 17 00:00:00 2001
From: Miri
Date: Tue, 19 Nov 2019 15:11:32 +0200
Subject: [PATCH 014/469] whitelist automations for SpellCheck tool, fix typo
mistakes
---
custom-words.txt | 1 +
.../preview/2019-01-01-preview/automations.json | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/custom-words.txt b/custom-words.txt
index a396d98544d2..06db5e3c4bfc 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -124,6 +124,7 @@ autogenerate
autogenerated
Autogrow
autokey
+automations
autopatching
autopool
autorest
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index 57a3451b1921..a586b26ae68a 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -337,7 +337,7 @@
},
"actions": {
"type": "array",
- "description": "A collection of the actions which are triggered if all the configured rules evaluations, within at least one ruleset, are true.",
+ "description": "A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.",
"items": {
"$ref": "#/definitions/AutomationAction"
}
@@ -517,7 +517,7 @@
"properties": {
"connectionString": {
"type": "string",
- "description": "The traget Event Hub connection string"
+ "description": "The target Event Hub connection string"
}
}
},
From 43e851a764b40d34b59eccf7ab8cb9e7ff1bf56a Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 20 Nov 2019 18:10:49 +0200
Subject: [PATCH 015/469] add "required": true, update the model name in the
suppression rules in readme, run prettier
---
.../2019-01-01-preview/automations.json | 65 ++++++++++++++-----
.../Automations/DeleteAutomation_example.json | 3 +-
.../security/resource-manager/readme.md | 2 +-
3 files changed, 50 insertions(+), 20 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index a586b26ae68a..ad2de91cad1d 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -6,12 +6,20 @@
"version": "2019-01-01-preview"
},
"host": "management.azure.com",
- "schemes": [ "https" ],
- "consumes": [ "application/json" ],
- "produces": [ "application/json" ],
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
"security": [
{
- "azure_auth": [ "user_impersonation" ]
+ "azure_auth": [
+ "user_impersonation"
+ ]
}
],
"securityDefinitions": {
@@ -33,7 +41,9 @@
"$ref": "./examples/Automations/GetAutomationsSubscription_example.json"
}
},
- "tags": [ "Automations" ],
+ "tags": [
+ "Automations"
+ ],
"description": "Get all security automations in a subscription.",
"operationId": "Automations_List",
"parameters": [
@@ -70,7 +80,9 @@
"$ref": "./examples/Automations/GetAutomationsResourceGroup_example.json"
}
},
- "tags": [ "Automations" ],
+ "tags": [
+ "Automations"
+ ],
"description": "Get all security automations in a resource group.",
"operationId": "Automations_ListByResourceGroup",
"parameters": [
@@ -110,7 +122,9 @@
"$ref": "./examples/Automations/GetAutomationResourceGroup_example.json"
}
},
- "tags": [ "Automations" ],
+ "tags": [
+ "Automations"
+ ],
"description": "Get the details of a security automation.",
"operationId": "Automations_Get",
"parameters": [
@@ -148,7 +162,9 @@
"$ref": "./examples/Automations/PutAutomation_example.json"
}
},
- "tags": [ "Automations" ],
+ "tags": [
+ "Automations"
+ ],
"description": "Create or update a security automation. If a security automation is already created and a subsequent create request is issued with different properties, the security automation properties will be updated.",
"operationId": "Automations_CreateOrUpdate",
"parameters": [
@@ -195,7 +211,9 @@
"$ref": "./examples/Automations/DeleteAutomation_example.json"
}
},
- "tags": [ "Automations" ],
+ "tags": [
+ "Automations"
+ ],
"operationId": "Automations_Delete",
"description": "Delete a security automation.",
"parameters": [
@@ -232,7 +250,9 @@
"$ref": "./examples/Automations/ValidateAutomation_example.json"
}
},
- "tags": [ "Automations" ],
+ "tags": [
+ "Automations"
+ ],
"description": "Validate the security automation model before create or update. Any validation errors are returned to the client.",
"operationId": "Automations_Validate",
"parameters": [
@@ -269,10 +289,12 @@
}
}
},
- "definitions": {
+ "IoTSecuritySolutionModel\"definitions\"": {
"AutomationList": {
"description": "List of security automations response.",
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "array",
@@ -379,7 +401,10 @@
"eventSource": {
"type": "string",
"description": "A valid event source type.",
- "enum": [ "Assessments", "Alerts" ],
+ "enum": [
+ "Assessments",
+ "Alerts"
+ ],
"x-ms-enum": {
"name": "EventSource",
"modelAsString": true,
@@ -420,11 +445,17 @@
"type": "object",
"description": "The action that should be triggered.",
"discriminator": "actionType",
+ "required": true,
"properties": {
"actionType": {
"type": "string",
"description": "The type of the action that will be triggered by the Automation",
- "enum": [ "LogicApp", "EventHub", "SecurityEmail", "Workspace" ],
+ "enum": [
+ "LogicApp",
+ "EventHub",
+ "SecurityEmail",
+ "Workspace"
+ ],
"x-ms-enum": {
"name": "ActionType",
"modelAsString": true,
@@ -471,7 +502,7 @@
"$ref": "#/definitions/AutomationActionLogicApp"
}
],
- "properties": {
+ "properties": {
"uri": {
"type": "string",
"description": "The Logic App trigger URI endpoint.",
@@ -487,7 +518,7 @@
{
"$ref": "#/definitions/AutomationActionLogicApp"
}
- ]
+ ]
},
"AutomationActionEventHub": {
"type": "object",
@@ -590,7 +621,7 @@
},
"AutomationActionWorkspace": {
"type": "object",
- "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace.",
+ "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace.",
"x-ms-discriminator-value": "Workspace",
"allOf": [
{
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/DeleteAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/DeleteAutomation_example.json
index f99509fb8fc8..50bddc04473a 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/DeleteAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/DeleteAutomation_example.json
@@ -6,7 +6,6 @@
"automationName": "myAutomationName"
},
"responses": {
- "204": {
- }
+ "204": {}
}
}
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index bbb1a29b3de8..b9c74a227166 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -34,7 +34,7 @@ directive:
reason: email format is allowed
- suppress: ValidFormats
from: automations.json
- where: $.definitions.AutomationActionLogicApp.properties.uri.format
+ where: $.definitions.AutomationActionLogicAppInput.properties.uri.format
reason: uri format is allowed
- suppress: PageableOperation
from: iotSecuritySolutionAnalytics.json
From 0e0c5bb2be99d2e66cff11645e361a85c978bf0b Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 20 Nov 2019 21:37:09 +0200
Subject: [PATCH 016/469] fix jibrish and copy paste mistake
---
.../preview/2019-01-01-preview/automations.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index ad2de91cad1d..ec43699c73e9 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -289,7 +289,7 @@
}
}
},
- "IoTSecuritySolutionModel\"definitions\"": {
+ "definitions": {
"AutomationList": {
"description": "List of security automations response.",
"required": [
@@ -621,7 +621,7 @@
},
"AutomationActionWorkspace": {
"type": "object",
- "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace.",
+ "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace.",
"x-ms-discriminator-value": "Workspace",
"allOf": [
{
From 69ff4776e555d8b23eac583dea247bb123e07bee Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 20 Nov 2019 21:45:55 +0200
Subject: [PATCH 017/469] remove required from AutomationAction
---
.../preview/2019-01-01-preview/automations.json | 1 -
1 file changed, 1 deletion(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index ec43699c73e9..a70daee1d2b4 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -445,7 +445,6 @@
"type": "object",
"description": "The action that should be triggered.",
"discriminator": "actionType",
- "required": true,
"properties": {
"actionType": {
"type": "string",
From 95a3484f5f1498130b2195ca2e073bea5c752d33 Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 20 Nov 2019 21:51:59 +0200
Subject: [PATCH 018/469] discriminator must be a required property
---
.../preview/2019-01-01-preview/automations.json | 3 +++
1 file changed, 3 insertions(+)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index a70daee1d2b4..21054f2e7e79 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -445,6 +445,9 @@
"type": "object",
"description": "The action that should be triggered.",
"discriminator": "actionType",
+ "required": [
+ "actionType"
+ ],
"properties": {
"actionType": {
"type": "string",
From 4d4fbeac50b492a2e85afe2f8659b7b99b2f459e Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 27 Nov 2019 09:06:49 +0200
Subject: [PATCH 019/469] refine comments and descriptions, add examples
---
.../2019-01-01-preview/automations.json | 37 +++----
.../PutDisableAutomation_example.json | 98 +++++++++++++++++++
2 files changed, 118 insertions(+), 17 deletions(-)
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index 21054f2e7e79..b0df30b20544 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -37,14 +37,14 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.Security/automations": {
"get": {
"x-ms-examples": {
- "Get security automations of subscription": {
+ "List all security automations of a specified subscription": {
"$ref": "./examples/Automations/GetAutomationsSubscription_example.json"
}
},
"tags": [
"Automations"
],
- "description": "Get all security automations in a subscription.",
+ "description": "Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.",
"operationId": "Automations_List",
"parameters": [
{
@@ -62,7 +62,7 @@
}
},
"default": {
- "description": "Error response describing why the operation failed.",
+ "description": "Error response that describes why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
@@ -76,14 +76,14 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations": {
"get": {
"x-ms-examples": {
- "Get security automations of a single resource group": {
+ "List all security automations of a specified resource group": {
"$ref": "./examples/Automations/GetAutomationsResourceGroup_example.json"
}
},
"tags": [
"Automations"
],
- "description": "Get all security automations in a resource group.",
+ "description": "Lists all the security automations in the specified resource group. Use the 'nextLink' property in the response to get the next page of security automations for the specified resource group.",
"operationId": "Automations_ListByResourceGroup",
"parameters": [
{
@@ -104,7 +104,7 @@
}
},
"default": {
- "description": "Error response describing why the operation failed.",
+ "description": "Error response that describes why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
@@ -118,14 +118,14 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}": {
"get": {
"x-ms-examples": {
- "Get a single security automation details": {
+ "Retrieve a security automation": {
"$ref": "./examples/Automations/GetAutomationResourceGroup_example.json"
}
},
"tags": [
"Automations"
],
- "description": "Get the details of a security automation.",
+ "description": "Retrieves information about the model of a security automation.",
"operationId": "Automations_Get",
"parameters": [
{
@@ -149,7 +149,7 @@
}
},
"default": {
- "description": "Error response describing why the operation failed.",
+ "description": "Error response that describes why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
@@ -158,14 +158,17 @@
},
"put": {
"x-ms-examples": {
- "Create or update a single security automation": {
+ "Create or update a security automation": {
"$ref": "./examples/Automations/PutAutomation_example.json"
+ },
+ "Disable or enable a security automation": {
+ "$ref": "./examples/Automations/PutDisableAutomation_example.json"
}
},
"tags": [
"Automations"
],
- "description": "Create or update a security automation. If a security automation is already created and a subsequent create request is issued with different properties, the security automation properties will be updated.",
+ "description": "Creates or updates a security automation. If a security automation is already created and a subsequent request is issued for the same automation id, then it will be updated.",
"operationId": "Automations_CreateOrUpdate",
"parameters": [
{
@@ -198,7 +201,7 @@
}
},
"default": {
- "description": "Error response describing why the operation failed.",
+ "description": "Error response that describes why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
@@ -207,7 +210,7 @@
},
"delete": {
"x-ms-examples": {
- "Delete a single security automation": {
+ "Delete a security automation": {
"$ref": "./examples/Automations/DeleteAutomation_example.json"
}
},
@@ -215,7 +218,7 @@
"Automations"
],
"operationId": "Automations_Delete",
- "description": "Delete a security automation.",
+ "description": "Deletes a security automation.",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
@@ -235,7 +238,7 @@
"description": "NoContent"
},
"default": {
- "description": "Error response describing why the operation failed.",
+ "description": "Error response that describes why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
@@ -253,7 +256,7 @@
"tags": [
"Automations"
],
- "description": "Validate the security automation model before create or update. Any validation errors are returned to the client.",
+ "description": "Validates the security automation model before create or update. Any validation errors are returned to the client.",
"operationId": "Automations_Validate",
"parameters": [
{
@@ -280,7 +283,7 @@
}
},
"default": {
- "description": "Error response describing why the operation failed.",
+ "description": "Error response that describes why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
new file mode 100644
index 000000000000..d1ad823a57bd
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "automationName": "exampleAutomation",
+ "resourceGroupName": "exampleResourceGroup",
+ "Automation": {
+ "location": "Central US",
+ "etag": "etag value (must be supplied for update)",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": false,
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "Assessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "String",
+ "expectedValue": "customAssessment",
+ "operator": "Equals"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp",
+ "uri": "https://exampleTriggerUri1.com"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "name": "exampleAutomation",
+ "type": "Microsoft.Security/automations",
+ "location": "Central US",
+ "etag": "new etag value",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": false,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "Assessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "String",
+ "expectedValue": "customAssessment",
+ "operator": "Equals"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
From d60f499e03bb9885af195f530efd5d77f156b20c Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 27 Nov 2019 09:22:30 +0200
Subject: [PATCH 020/469] add the 201 response to the example
---
.../PutDisableAutomation_example.json | 49 +++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
index d1ad823a57bd..ab918869b977 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
@@ -93,6 +93,55 @@
]
}
}
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleAutomation",
+ "name": "exampleAutomation",
+ "type": "Microsoft.Security/SecurityAutomations",
+ "location": "Central US",
+ "etag": "new etag value",
+ "tags": {},
+ "properties": {
+ "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "isEnabled": false,
+ "metadata": {
+ "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
+ "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
+ "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
+ "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
+ },
+ "scopes": [
+ {
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
+ "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ }
+ ],
+ "sources": [
+ {
+ "eventSource": "Assessments",
+ "ruleSets": [
+ {
+ "rules": [
+ {
+ "propertyJPath": "$.Entity.AssessmentType",
+ "propertyType": "String",
+ "expectedValue": "customAssessment",
+ "operator": "Equals"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "logicAppResourceId": "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1",
+ "actionType": "LogicApp"
+ }
+ ]
+ }
+ }
}
}
}
From 23dde5fee13b39df07dd2dc43ad44d32408508cb Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 27 Nov 2019 12:06:24 +0200
Subject: [PATCH 021/469] last alignment of the model to the actual resource
model
---
.../preview/2019-01-01-preview/automations.json | 4 ----
1 file changed, 4 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index b0df30b20544..f40daa84c043 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -637,10 +637,6 @@
"workspaceResourceId": {
"type": "string",
"description": "The fully qualified Log Analytics Workspace Azure Resource ID."
- },
- "workspaceId": {
- "type": "string",
- "description": "The Log Analytics Workspace ID in a GUID format."
}
}
},
From 10d46b9f23e7367d9e63682b24c8a65513f436f4 Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 27 Nov 2019 15:13:48 +0200
Subject: [PATCH 022/469] align the model, remove the supress rule
---
.../2019-01-01-preview/automations.json | 55 -------------------
.../security/resource-manager/readme.md | 4 --
2 files changed, 59 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index f40daa84c043..ef918b5598df 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -458,7 +458,6 @@
"enum": [
"LogicApp",
"EventHub",
- "SecurityEmail",
"Workspace"
],
"x-ms-enum": {
@@ -471,9 +470,6 @@
{
"value": "EventHub"
},
- {
- "value": "SecurityEmail"
- },
{
"value": "Workspace"
}
@@ -573,57 +569,6 @@
}
}
},
- "AutomationActionSecurityEmail": {
- "type": "object",
- "description": "An action that triggers sending of Security emails. Emails can be sent to users with specific roles on the subscription (for example, subscription owners) or to user-provided emails.",
- "x-ms-discriminator-value": "SecurityEmail",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationAction"
- }
- ],
- "properties": {
- "subscriptionRbacRoles": {
- "type": "array",
- "description": "A list of user roles which indicate the relevant users that will receive the event data via email.",
- "items": {
- "type": "string",
- "enum": [
- "AccountAdmin",
- "ServiceAdmin",
- "Owner",
- "Contributor"
- ],
- "x-ms-enum": {
- "name": "SubscriptionRbacRoles",
- "modelAsString": true,
- "values": [
- {
- "value": "AccountAdmin"
- },
- {
- "value": "ServiceAdmin"
- },
- {
- "value": "Owner"
- },
- {
- "value": "Contributor"
- }
- ]
- }
- }
- },
- "emailAddresses": {
- "type": "array",
- "description": "A list of email addresses that should receive the event data.",
- "items": {
- "type": "string",
- "format": "email"
- }
- }
- }
- },
"AutomationActionWorkspace": {
"type": "object",
"description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace.",
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index b9c74a227166..360d406cca9b 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -28,10 +28,6 @@ directive:
from: securityContacts.json
where: $.definitions.SecurityContactProperties.properties.email.format
reason: email format is allowed
- - suppress: ValidFormats
- from: automations.json
- where: $.definitions.AutomationActionSecurityEmail.properties.emailAddresses.items.format
- reason: email format is allowed
- suppress: ValidFormats
from: automations.json
where: $.definitions.AutomationActionLogicAppInput.properties.uri.format
From d2d1e3f6b53e1d6ebdf2416d79475d068e9c3ffa Mon Sep 17 00:00:00 2001
From: Miri
Date: Wed, 27 Nov 2019 17:19:11 +0200
Subject: [PATCH 023/469] refine description of the etag
---
specification/security/resource-manager/common/v1/types.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/security/resource-manager/common/v1/types.json b/specification/security/resource-manager/common/v1/types.json
index bfe1d2c58dd9..876690153551 100644
--- a/specification/security/resource-manager/common/v1/types.json
+++ b/specification/security/resource-manager/common/v1/types.json
@@ -80,11 +80,11 @@
},
"ETag": {
"type": "object",
- "description": "Entity tag is used for comparing two or more entities from the same requested resource. ETags may be returned for individual resources, and then sent via If-Match / If-None-Match headers for concurrency control. ",
+ "description": "Entity tag is used for comparing two or more entities from the same requested resource.",
"properties": {
"etag": {
"type": "string",
- "description": "Entity tag is used for comparing two or more entities from the same requested resource. ETags may be returned for individual resources, and then sent via If-Match / If-None-Match headers for concurrency control. "
+ "description": "Entity tag is used for comparing two or more entities from the same requested resource."
}
}
},
From afdfd93ec57b031e4b5a18681707ab7cbee29263 Mon Sep 17 00:00:00 2001
From: bizarreWizard
Date: Sun, 1 Dec 2019 18:11:13 -0800
Subject: [PATCH 024/469] Fix response structure (#7790)
* Fix response structure
* Add new properties and fix CI
* Remove unrelated properties
* Remove unrelated properties
* revert unrelated change
---
.../stable/2019-08-01/cosmos-db.json | 306 ++++++++++++------
...CosmosDBCassandraKeyspaceCreateUpdate.json | 4 +-
.../CosmosDBCassandraKeyspaceGet.json | 10 +-
.../CosmosDBCassandraKeyspaceList.json | 4 +-
.../CosmosDBCassandraTableCreateUpdate.json | 42 +--
.../examples/CosmosDBCassandraTableGet.json | 50 +--
.../examples/CosmosDBCassandraTableList.json | 42 +--
.../CosmosDBGremlinDatabaseCreateUpdate.json | 10 +-
.../examples/CosmosDBGremlinDatabaseGet.json | 10 +-
.../examples/CosmosDBGremlinDatabaseList.json | 10 +-
.../CosmosDBGremlinGraphCreateUpdate.json | 94 +++---
.../examples/CosmosDBGremlinGraphGet.json | 94 +++---
.../examples/CosmosDBGremlinGraphList.json | 94 +++---
...CosmosDBMongoDBCollectionCreateUpdate.json | 30 +-
.../CosmosDBMongoDBCollectionGet.json | 40 +--
.../CosmosDBMongoDBCollectionList.json | 30 +-
.../CosmosDBMongoDBDatabaseCreateUpdate.json | 4 +-
.../examples/CosmosDBMongoDBDatabaseGet.json | 10 +-
.../examples/CosmosDBMongoDBDatabaseList.json | 4 +-
.../CosmosDBSqlContainerCreateUpdate.json | 94 +++---
.../examples/CosmosDBSqlContainerGet.json | 94 +++---
.../examples/CosmosDBSqlContainerList.json | 94 +++---
.../CosmosDBSqlDatabaseCreateUpdate.json | 10 +-
.../examples/CosmosDBSqlDatabaseGet.json | 14 +-
.../examples/CosmosDBSqlDatabaseList.json | 14 +-
...osmosDBSqlStoredProcedureCreateUpdate.json | 12 +-
.../CosmosDBSqlStoredProcedureGet.json | 12 +-
.../CosmosDBSqlStoredProcedureList.json | 12 +-
.../CosmosDBSqlTriggerCreateUpdate.json | 16 +-
.../examples/CosmosDBSqlTriggerGet.json | 16 +-
.../examples/CosmosDBSqlTriggerList.json | 16 +-
...sDBSqlUserDefinedFunctionCreateUpdate.json | 12 +-
.../CosmosDBSqlUserDefinedFunctionGet.json | 12 +-
.../CosmosDBSqlUserDefinedFunctionList.json | 12 +-
.../examples/CosmosDBTableCreateUpdate.json | 4 +-
.../2019-08-01/examples/CosmosDBTableGet.json | 10 +-
.../examples/CosmosDBTableList.json | 4 +-
37 files changed, 769 insertions(+), 577 deletions(-)
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
index c077727e8d99..5ae9710112a5 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
@@ -4592,23 +4592,27 @@
"description": "The properties of an Azure Cosmos DB SQL database",
"type": "object",
"properties": {
- "_colls": {
- "type": "string",
- "description": "A system generated property that specified the addressable path of the collections resource."
- },
- "_users": {
- "type": "string",
- "description": "A system generated property that specifies the addressable path of the users resource."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/SqlDatabaseResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "resource": {
+ "properties": {
+ "_colls": {
+ "type": "string",
+ "description": "A system generated property that specified the addressable path of the collections resource."
+ },
+ "_users": {
+ "type": "string",
+ "description": "A system generated property that specifies the addressable path of the users resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlDatabaseResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"SqlContainerGetResults": {
"description": "An Azure Cosmos DB container.",
@@ -4629,14 +4633,18 @@
"SqlContainerGetProperties": {
"description": "The properties of an Azure Cosmos DB container",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/SqlContainerResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlContainerResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"SqlStoredProcedureGetResults": {
"description": "An Azure Cosmos DB storedProcedure.",
@@ -4657,14 +4665,18 @@
"SqlStoredProcedureGetProperties": {
"description": "The properties of an Azure Cosmos DB StoredProcedure",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/SqlStoredProcedureResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlStoredProcedureResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"SqlUserDefinedFunctionGetResults": {
"description": "An Azure Cosmos DB userDefinedFunction.",
@@ -4685,14 +4697,18 @@
"SqlUserDefinedFunctionGetProperties": {
"description": "The properties of an Azure Cosmos DB userDefinedFunction",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/SqlUserDefinedFunctionResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlUserDefinedFunctionResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"SqlTriggerGetResults": {
"description": "An Azure Cosmos DB trigger.",
@@ -4713,14 +4729,18 @@
"SqlTriggerGetProperties": {
"description": "The properties of an Azure Cosmos DB trigger",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/SqlTriggerResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlTriggerResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"MongoDBDatabaseGetResults": {
"description": "An Azure Cosmos DB MongoDB database.",
@@ -4741,14 +4761,18 @@
"MongoDBDatabaseGetProperties": {
"description": "The properties of an Azure Cosmos DB MongoDB database",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/MongoDBDatabaseResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/MongoDBDatabaseResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"MongoDBCollectionGetResults": {
"description": "An Azure Cosmos DB MongoDB collection.",
@@ -4769,14 +4793,18 @@
"MongoDBCollectionGetProperties": {
"description": "The properties of an Azure Cosmos DB MongoDB collection",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/MongoDBCollectionResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/MongoDBCollectionResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"TableGetResults": {
"description": "An Azure Cosmos DB Table.",
@@ -4797,14 +4825,18 @@
"TableGetProperties": {
"description": "The properties of an Azure Cosmos Table",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/TableResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/TableResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"CassandraKeyspaceGetResults": {
"description": "An Azure Cosmos DB Cassandra keyspace.",
@@ -4825,14 +4857,18 @@
"CassandraKeyspaceGetProperties": {
"description": "The properties of an Azure Cosmos DB Cassandra keyspace",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/CassandraKeyspaceResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/CassandraKeyspaceResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"CassandraTableGetResults": {
"description": "An Azure Cosmos DB Cassandra table.",
@@ -4853,14 +4889,18 @@
"CassandraTableGetProperties": {
"description": "The properties of an Azure Cosmos DB Cassandra table",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/CassandraTableResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/CassandraTableResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"GremlinDatabaseGetResults": {
"description": "An Azure Cosmos DB Gremlin database.",
@@ -4881,14 +4921,18 @@
"GremlinDatabaseGetProperties": {
"description": "The properties of an Azure Cosmos DB SQL database",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/GremlinDatabaseResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/GremlinDatabaseResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"GremlinGraphGetResults": {
"description": "An Azure Cosmos DB Gremlin graph.",
@@ -4909,14 +4953,18 @@
"GremlinGraphGetProperties": {
"description": "The properties of an Azure Cosmos DB Gremlin graph",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/GremlinGraphResource"
- },
- {
- "$ref": "#/definitions/ExtendedResourceProperties"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/GremlinGraphResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"ConsistencyPolicy": {
"type": "object",
@@ -5904,6 +5952,20 @@
"items": {
"$ref": "#/definitions/ExcludedPath"
}
+ },
+ "compositeIndexes": {
+ "description": "List of composite path list",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CompositePathList"
+ }
+ },
+ "spatialIndexes": {
+ "description": "List of spatial specifics",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SpatialSpec"
+ }
}
}
},
@@ -5974,6 +6036,64 @@
}
}
},
+ "CompositePathList": {
+ "description": "List of composite path",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CompositePath"
+ }
+ },
+ "CompositePath": {
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)"
+ },
+ "order": {
+ "description": "Sort order for composite paths.",
+ "type": "string",
+ "enum": [
+ "Ascending",
+ "Descending"
+ ],
+ "x-ms-enum": {
+ "name": "CompositePathSortOrder",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SpatialSpec": {
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)"
+ },
+ "types": {
+ "description": "List of path's spatial type",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SpatialType"
+ }
+ }
+ }
+ },
+ "SpatialType": {
+ "description": "Indicates the spatial type of index.",
+ "type": "string",
+ "enum": [
+ "Point",
+ "LineString",
+ "Polygon",
+ "MultiPolygon"
+ ],
+ "x-ms-enum": {
+ "name": "SpatialType",
+ "modelAsString": true
+ }
+ },
"ContainerPartitionKey": {
"type": "object",
"description": "The configuration of the partition key to be used for partitioning data into multiple partitions",
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
index 4edfd440123f..302249ebd5ae 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
@@ -25,7 +25,9 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "keyspaceName"
+ "resource": {
+ "id": "keyspaceName"
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceGet.json
index 913aa9213f39..174acf4782a2 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceGet.json
@@ -15,10 +15,12 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "keyspaceName",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "keyspaceName",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceList.json
index 7e076a9ed3b5..13792614f42f 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceList.json
@@ -16,7 +16,9 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "keyspaceName"
+ "resource": {
+ "id": "keyspaceName"
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableCreateUpdate.json
index 55031406eaf4..743a381bcc37 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableCreateUpdate.json
@@ -46,26 +46,28 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "tableName",
- "defaultTtl": 100,
- "schema": {
- "columns": [
- {
- "name": "columnA",
- "type": "Ascii"
- }
- ],
- "partitionKeys": [
- {
- "name": "columnA"
- }
- ],
- "clusterKeys": [
- {
- "name": "columnA",
- "orderBy": "Asc"
- }
- ]
+ "resource": {
+ "id": "tableName",
+ "defaultTtl": 100,
+ "schema": {
+ "columns": [
+ {
+ "name": "columnA",
+ "type": "Ascii"
+ }
+ ],
+ "partitionKeys": [
+ {
+ "name": "columnA"
+ }
+ ],
+ "clusterKeys": [
+ {
+ "name": "columnA",
+ "orderBy": "Asc"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableGet.json
index d7c280325a93..4420a030a94d 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableGet.json
@@ -16,30 +16,32 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "tableName",
- "defaultTtl": 100,
- "schema": {
- "columns": [
- {
- "name": "columnA",
- "type": "Ascii"
- }
- ],
- "partitionKeys": [
- {
- "name": "columnA"
- }
- ],
- "clusterKeys": [
- {
- "name": "columnA",
- "orderBy": "Asc"
- }
- ]
- },
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "tableName",
+ "defaultTtl": 100,
+ "schema": {
+ "columns": [
+ {
+ "name": "columnA",
+ "type": "Ascii"
+ }
+ ],
+ "partitionKeys": [
+ {
+ "name": "columnA"
+ }
+ ],
+ "clusterKeys": [
+ {
+ "name": "columnA",
+ "orderBy": "Asc"
+ }
+ ]
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableList.json
index 3c5c486e7a78..e5e042aface6 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableList.json
@@ -17,26 +17,28 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "tableName",
- "defaultTtl": 100,
- "schema": {
- "columns": [
- {
- "name": "columnA",
- "type": "Ascii"
- }
- ],
- "partitionKeys": [
- {
- "name": "columnA"
- }
- ],
- "clusterKeys": [
- {
- "name": "columnA",
- "orderBy": "Asc"
- }
- ]
+ "resource": {
+ "id": "tableName",
+ "defaultTtl": 100,
+ "schema": {
+ "columns": [
+ {
+ "name": "columnA",
+ "type": "Ascii"
+ }
+ ],
+ "partitionKeys": [
+ {
+ "name": "columnA"
+ }
+ ],
+ "clusterKeys": [
+ {
+ "name": "columnA",
+ "orderBy": "Asc"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseCreateUpdate.json
index e6172ea1ba7d..3df32017cdb9 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseCreateUpdate.json
@@ -25,10 +25,12 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "databaseName",
- "_rid": "CqNBAA==",
- "_ts": 1449602962,
- "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseGet.json
index bb04140eab3b..be78978c5251 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseGet.json
@@ -15,10 +15,12 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "databaseName",
- "_rid": "CqNBAA==",
- "_ts": 1449602962,
- "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseList.json
index f664c1ca1de6..7883198c7b44 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseList.json
@@ -16,10 +16,12 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "databaseName",
- "_rid": "CqNBAA==",
- "_ts": 1449602962,
- "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphCreateUpdate.json
index a7a026f0df99..97605235662c 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphCreateUpdate.json
@@ -68,52 +68,54 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "graphName",
- "indexingPolicy": {
- "indexingMode": "Consistent",
- "automatic": true,
- "includedPaths": [
- {
- "path": "/*",
- "indexes": [
- {
- "kind": "Range",
- "dataType": "String",
- "precision": -1
- },
- {
- "kind": "Range",
- "dataType": "Number",
- "precision": -1
- }
- ]
- }
- ],
- "excludedPaths": []
- },
- "partitionKey": {
- "paths": [
- "/AccountNumber"
- ],
- "kind": "Hash"
- },
- "defaultTtl": 100,
- "uniqueKeyPolicy": {
- "uniqueKeys": [
- {
- "paths": [
- "/testPath"
- ]
- }
- ]
- },
- "conflictResolutionPolicy": {
- "mode": "LastWriterWins",
- "conflictResolutionPath": "/path"
- },
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "graphName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphGet.json
index 37dc59a19be6..286e66857d87 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphGet.json
@@ -14,52 +14,54 @@
"name": "graphName",
"type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs",
"properties": {
- "id": "graphName",
- "indexingPolicy": {
- "indexingMode": "Consistent",
- "automatic": true,
- "includedPaths": [
- {
- "path": "/*",
- "indexes": [
- {
- "kind": "Range",
- "dataType": "String",
- "precision": -1
- },
- {
- "kind": "Range",
- "dataType": "Number",
- "precision": -1
- }
- ]
- }
- ],
- "excludedPaths": []
- },
- "partitionKey": {
- "paths": [
- "/AccountNumber"
- ],
- "kind": "Hash"
- },
- "defaultTtl": 100,
- "uniqueKeyPolicy": {
- "uniqueKeys": [
- {
- "paths": [
- "/testPath"
- ]
- }
- ]
- },
- "conflictResolutionPolicy": {
- "mode": "LastWriterWins",
- "conflictResolutionPath": "/path"
- },
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "graphName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphList.json
index 58848564a518..5e77051820b7 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphList.json
@@ -15,52 +15,54 @@
"name": "testgrf",
"type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs",
"properties": {
- "id": "testgrf",
- "indexingPolicy": {
- "indexingMode": "Consistent",
- "automatic": true,
- "includedPaths": [
- {
- "path": "/*",
- "indexes": [
- {
- "kind": "Range",
- "dataType": "String",
- "precision": -1
- },
- {
- "kind": "Range",
- "dataType": "Number",
- "precision": -1
- }
- ]
- }
- ],
- "excludedPaths": []
- },
- "partitionKey": {
- "paths": [
- "/AccountNumber"
- ],
- "kind": "Hash"
- },
- "defaultTtl": 100,
- "uniqueKeyPolicy": {
- "uniqueKeys": [
- {
- "paths": [
- "/testPath"
- ]
- }
- ]
- },
- "conflictResolutionPolicy": {
- "mode": "LastWriterWins",
- "conflictResolutionPath": "/path"
- },
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "testgrf",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionCreateUpdate.json
index 51fe1f57deab..ec3e14f53670 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionCreateUpdate.json
@@ -42,22 +42,24 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "collectionName",
- "indexes": [
- {
- "key": {
- "keys": [
- "testKey"
- ]
- },
- "options": {
- "expireAfterSeconds": 100,
- "unique": true
+ "resource": {
+ "id": "collectionName",
+ "indexes": [
+ {
+ "key": {
+ "keys": [
+ "testKey"
+ ]
+ },
+ "options": {
+ "expireAfterSeconds": 100,
+ "unique": true
+ }
}
+ ],
+ "shardKey": {
+ "testKey": "Hash"
}
- ],
- "shardKey": {
- "testKey": "Hash"
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionGet.json
index e97dc527ea55..ca59ac7cad01 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionGet.json
@@ -16,26 +16,28 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "testcoll",
- "indexes": [
- {
- "key": {
- "keys": [
- "testKey"
- ]
- },
- "options": {
- "expireAfterSeconds": 100,
- "unique": true
+ "resource": {
+ "id": "testcoll",
+ "indexes": [
+ {
+ "key": {
+ "keys": [
+ "testKey"
+ ]
+ },
+ "options": {
+ "expireAfterSeconds": 100,
+ "unique": true
+ }
}
- }
- ],
- "shardKey": {
- "testKey": "Hash"
- },
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ ],
+ "shardKey": {
+ "testKey": "Hash"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionList.json
index 866ec8bf9b49..605e0cff01aa 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionList.json
@@ -17,22 +17,24 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "testcoll",
- "indexes": [
- {
- "key": {
- "keys": [
- "testKey"
- ]
- },
- "options": {
- "expireAfterSeconds": 100,
- "unique": true
+ "resource": {
+ "id": "testcoll",
+ "indexes": [
+ {
+ "key": {
+ "keys": [
+ "testKey"
+ ]
+ },
+ "options": {
+ "expireAfterSeconds": 100,
+ "unique": true
+ }
}
+ ],
+ "shardKey": {
+ "testKey": "Hash"
}
- ],
- "shardKey": {
- "testKey": "Hash"
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseCreateUpdate.json
index 054c0c8a06e0..6ba3532767ae 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseCreateUpdate.json
@@ -25,7 +25,9 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "updatedDatabaseName"
+ "resource": {
+ "id": "updatedDatabaseName"
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseGet.json
index a2be091adc94..9d288c3763d5 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseGet.json
@@ -15,10 +15,12 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "databaseName",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "databaseName",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseList.json
index c26c84e9e400..ee2a41097e9a 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseList.json
@@ -16,7 +16,9 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "databaseName"
+ "resource": {
+ "id": "databaseName"
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerCreateUpdate.json
index 9cae1d332f38..bbfec44079c8 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerCreateUpdate.json
@@ -68,52 +68,54 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "containerName",
- "indexingPolicy": {
- "indexingMode": "Consistent",
- "automatic": true,
- "includedPaths": [
- {
- "path": "/*",
- "indexes": [
- {
- "kind": "Range",
- "dataType": "String",
- "precision": -1
- },
- {
- "kind": "Range",
- "dataType": "Number",
- "precision": -1
- }
- ]
- }
- ],
- "excludedPaths": []
- },
- "partitionKey": {
- "paths": [
- "/AccountNumber"
- ],
- "kind": "Hash"
- },
- "defaultTtl": 100,
- "uniqueKeyPolicy": {
- "uniqueKeys": [
- {
- "paths": [
- "/testPath"
- ]
- }
- ]
- },
- "conflictResolutionPolicy": {
- "mode": "LastWriterWins",
- "conflictResolutionPath": "/path"
- },
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "containerName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerGet.json
index a635e39ba446..d526e8f7b127 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerGet.json
@@ -16,52 +16,54 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "containerName",
- "indexingPolicy": {
- "indexingMode": "Consistent",
- "automatic": true,
- "includedPaths": [
- {
- "path": "/*",
- "indexes": [
- {
- "kind": "Range",
- "dataType": "String",
- "precision": -1
- },
- {
- "kind": "Range",
- "dataType": "Number",
- "precision": -1
- }
- ]
- }
- ],
- "excludedPaths": []
- },
- "partitionKey": {
- "paths": [
- "/AccountNumber"
- ],
- "kind": "Hash"
- },
- "defaultTtl": 100,
- "uniqueKeyPolicy": {
- "uniqueKeys": [
- {
- "paths": [
- "/testPath"
- ]
- }
- ]
- },
- "conflictResolutionPolicy": {
- "mode": "LastWriterWins",
- "conflictResolutionPath": "/path"
- },
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "containerName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerList.json
index c6d1bbb3b00d..98e029969bc7 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerList.json
@@ -17,52 +17,54 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "testctn",
- "indexingPolicy": {
- "indexingMode": "Consistent",
- "automatic": true,
- "includedPaths": [
- {
- "path": "/*",
- "indexes": [
- {
- "kind": "Range",
- "dataType": "String",
- "precision": -1
- },
- {
- "kind": "Range",
- "dataType": "Number",
- "precision": -1
- }
- ]
- }
- ],
- "excludedPaths": []
- },
- "partitionKey": {
- "paths": [
- "/AccountNumber"
- ],
- "kind": "Hash"
- },
- "defaultTtl": 100,
- "uniqueKeyPolicy": {
- "uniqueKeys": [
- {
- "paths": [
- "/testPath"
- ]
- }
- ]
- },
- "conflictResolutionPolicy": {
- "mode": "LastWriterWins",
- "conflictResolutionPath": "/path"
- },
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "testctn",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseCreateUpdate.json
index 0410791fdefe..831919b77c6f 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseCreateUpdate.json
@@ -25,10 +25,12 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "databaseName",
- "_rid": "CqNBAA==",
- "_ts": 1449602962,
- "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json
index a6d860f2e7c9..b331bb10ff41 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json
@@ -15,12 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "databaseName",
- "_rid": "CqNBAA==",
- "_ts": 1449602962,
- "_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
- "_colls": "colls/",
- "_users": "users/"
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
+ "_colls": "colls/",
+ "_users": "users/"
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json
index 47848359f50a..6ea0774d5dbd 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json
@@ -16,12 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "databaseName",
- "_rid": "CqNBAA==",
- "_ts": 1449602962,
- "_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
- "_colls": "colls/",
- "_users": "users/"
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
+ "_colls": "colls/",
+ "_users": "users/"
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureCreateUpdate.json
index d47ade2afa30..a97cba57cc85 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureCreateUpdate.json
@@ -24,11 +24,13 @@
"name": "storedProcedureName",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlStoredProcedures",
"properties": {
- "id": "storedProcedureName",
- "body": "body",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "storedProcedureName",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureGet.json
index 5f1ed2c32bb4..2807db3fc8e6 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureGet.json
@@ -15,11 +15,13 @@
"name": "storedProcedureName",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlStoredProcedures",
"properties": {
- "id": "storedProcedureName",
- "body": "body",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "storedProcedureName",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureList.json
index aa1ee46c80c1..e3de033ec0c2 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlStoredProcedureList.json
@@ -16,11 +16,13 @@
"name": "testctn",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlStoredProcedures",
"properties": {
- "id": "testctn",
- "body": "body",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "testctn",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerCreateUpdate.json
index 6b8597658595..aeb488076b3b 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerCreateUpdate.json
@@ -26,13 +26,15 @@
"name": "triggerName",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlTriggers",
"properties": {
- "id": "triggerName",
- "body": "body",
- "triggerType": "triggerType",
- "triggerOperation": "triggerOperation",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "triggerName",
+ "body": "body",
+ "triggerType": "triggerType",
+ "triggerOperation": "triggerOperation",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerGet.json
index 2d3763200ef5..2e8936db5d64 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerGet.json
@@ -15,13 +15,15 @@
"name": "triggerName",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlTriggers",
"properties": {
- "id": "triggerName",
- "body": "body",
- "triggerType": "triggerType",
- "triggerOperation": "triggerOperation",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "triggerName",
+ "body": "body",
+ "triggerType": "triggerType",
+ "triggerOperation": "triggerOperation",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerList.json
index eb8bdac950a8..f44fc8c1cee8 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlTriggerList.json
@@ -16,13 +16,15 @@
"name": "testctn",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlTriggers",
"properties": {
- "id": "testctn",
- "body": "body",
- "triggerType": "triggerType",
- "triggerOperation": "triggerOperation",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "testctn",
+ "body": "body",
+ "triggerType": "triggerType",
+ "triggerOperation": "triggerOperation",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json
index 83560d89911a..92e87a555057 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json
@@ -24,11 +24,13 @@
"name": "userDefinedFunctionName",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlUserDefinedFunctions",
"properties": {
- "id": "userDefinedFunctionName",
- "body": "body",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "userDefinedFunctionName",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionGet.json
index 72ae737f8d97..efb53293dd17 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionGet.json
@@ -15,11 +15,13 @@
"name": "userDefinedFunctionName",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlUserDefinedFunctions",
"properties": {
- "id": "userDefinedFunctionName",
- "body": "body",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "userDefinedFunctionName",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionList.json
index 9f11aeb4bbb5..0cb4ced989f4 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlUserDefinedFunctionList.json
@@ -16,11 +16,13 @@
"name": "testctn",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlUserDefinedFunctions",
"properties": {
- "id": "testctn",
- "body": "body",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "testctn",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableCreateUpdate.json
index 016aaffbf69b..5de5b8d2ba77 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableCreateUpdate.json
@@ -24,7 +24,9 @@
"type": "Microsoft.DocumentDB/databaseAccounts/tables",
"location": "West US",
"properties": {
- "id": "tableName"
+ "resource": {
+ "id": "tableName"
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableGet.json
index ea9c4ba7f7f6..b9130ace6f04 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableGet.json
@@ -15,10 +15,12 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "tableName",
- "_rid": "PD5DALigDgw=",
- "_ts": 1459200611,
- "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ "resource": {
+ "id": "tableName",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableList.json
index caecd45cf3d2..04fee06feea4 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableList.json
@@ -16,7 +16,9 @@
"location": "West US",
"tags": {},
"properties": {
- "id": "tableName"
+ "resource": {
+ "id": "tableName"
+ }
}
}
]
From 742ad9c17b62ac133115c2f0c18cba884fa4c532 Mon Sep 17 00:00:00 2001
From: aqche <39076898+aqche@users.noreply.github.com>
Date: Sun, 1 Dec 2019 20:46:52 -0600
Subject: [PATCH 025/469] Support MySQL ServerVersion 8.0 (#7864)
* support mysql ServerVersion 8.0
* add support for mysql ServerVersion 8.0 in 2017-12-01-preview
---
.../Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json | 3 ++-
.../Microsoft.DBforMySQL/stable/2017-12-01/mysql.json | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
index 51251474b5b6..787296b53572 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
@@ -1497,7 +1497,8 @@
"description": "The version of a server.",
"enum": [
"5.6",
- "5.7"
+ "5.7",
+ "8.0"
],
"x-ms-enum": {
"name": "ServerVersion",
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json
index 21a4680cb4ed..236e154aed59 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json
@@ -1301,7 +1301,8 @@
"description": "The version of a server.",
"enum": [
"5.6",
- "5.7"
+ "5.7",
+ "8.0"
],
"x-ms-enum": {
"name": "ServerVersion",
From f3a680656d89264d67173902bf76eb449c516d5c Mon Sep 17 00:00:00 2001
From: Chuang <54572251+xccc-msft@users.noreply.github.com>
Date: Sun, 1 Dec 2019 21:10:42 -0800
Subject: [PATCH 026/469] MediaServices: update to specify autorest.java
version (#7843)
---
specification/mediaservices/resource-manager/readme.md | 2 --
1 file changed, 2 deletions(-)
diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md
index 194edb2dc65e..f21dde020c01 100644
--- a/specification/mediaservices/resource-manager/readme.md
+++ b/specification/mediaservices/resource-manager/readme.md
@@ -130,8 +130,6 @@ swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- autorest_options:
- use: "@microsoft.azure/autorest.java@2.1.90"
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
From 348ffa473befffe1dedd9e4a472da9a83b22088f Mon Sep 17 00:00:00 2001
From: jeffj6123
Date: Mon, 2 Dec 2019 10:11:27 -0800
Subject: [PATCH 027/469] Swagger specification for Service Fabric runtime
version 7.0 (#7828)
* added 7.0
* updated read me s.
* fixed word typos.
* updated propery custom-words.txt
* prettyfied and removed some of the example files.
---
custom-words.txt | 2 +
.../7.0/examples/BackupPartition-1.json | 12 +
.../7.0/examples/BackupPartition-2.json | 18 +
.../7.0/examples/BackupPartition-3.json | 19 +
.../7.0/examples/CreateApplication-1.json | 15 +
.../7.0/examples/CreateBackupPolicy-1.json | 34 +
.../7.0/examples/CreateBackupPolicy-2.json | 31 +
.../stable/7.0/examples/CreateName-1.json | 13 +
.../stable/7.0/examples/CreateService-1.json | 21 +
.../stable/7.0/examples/CreateService-2.json | 23 +
.../stable/7.0/examples/CreateService-3.json | 47 +
.../stable/7.0/examples/CreateService-4.json | 46 +
.../7.0/examples/DeleteBackupPolicy.json | 11 +
.../examples/DisableApplicationBackup.json | 14 +
.../7.0/examples/DisablePartitionBackup.json | 14 +
.../7.0/examples/DisableServiceBackup.json | 14 +
.../7.0/examples/EnableApplicationBackup.json | 14 +
.../7.0/examples/EnablePartitionBackup.json | 14 +
.../7.0/examples/EnableServiceBackup.json | 14 +
.../GetAllEntitiesBackedUpByPolicy-1.json | 27 +
.../GetAllEntitiesBackedUpByPolicy-2.json | 24 +
...tApplicationBackupConfigurationInfo-1.json | 39 +
...tApplicationBackupConfigurationInfo-2.json | 31 +
.../examples/GetApplicationBackupList-1.json | 108 +
.../examples/GetApplicationBackupList-2.json | 63 +
.../examples/GetApplicationBackupList-3.json | 63 +
.../examples/GetApplicationBackupList-4.json | 64 +
.../7.0/examples/GetApplicationEventList.json | 27 +
.../examples/GetApplicationInfoByName-1.json | 24 +
.../examples/GetApplicationInfoList-1.json | 38 +
.../examples/GetApplicationInfoList-2.json | 29 +
.../GetApplicationTypeInfoList-1.json | 85 +
.../GetApplicationTypeInfoList-2.json | 49 +
.../GetApplicationTypeInfoList-3.json | 60 +
.../examples/GetApplicationsEventList.json | 36 +
.../7.0/examples/GetBackupPolicyByName.json | 36 +
.../7.0/examples/GetBackupPolicyList-1.json | 63 +
.../7.0/examples/GetBackupPolicyList-2.json | 42 +
.../GetBackupsFromBackupLocation-1.json | 73 +
.../GetBackupsFromBackupLocation-2.json | 74 +
.../stable/7.0/examples/GetChaosEvents.json | 62 +
.../7.0/examples/GetClusterEventList.json | 55 +
.../7.0/examples/GetClusterVersion-1.json | 15 +
.../GetContainerLogsDeployedOnNode-1.json | 19 +
.../GetContainerLogsDeployedOnNode-2.json | 20 +
.../GetContainerLogsDeployedOnNode-3.json | 20 +
.../7.0/examples/GetCorrelatedEventList.json | 31 +
.../examples/GetDataLossProgress-Running.json | 18 +
.../7.0/examples/GetDataLossProgress.json | 25 +
.../GetDeployedApplicationInfoByName-1.json | 26 +
.../GetDeployedApplicationInfoList-1.json | 39 +
.../GetDeployedApplicationInfoList-2.json | 29 +
.../GetDeployedApplicationInfoList-3.json | 49 +
.../7.0/examples/GetFaultOperationList.json | 51 +
.../7.0/examples/GetImageStoreContent.json | 91 +
.../7.0/examples/GetImageStoreInfo.json | 36 +
.../stable/7.0/examples/GetNodeEventList.json | 32 +
.../stable/7.0/examples/GetNodeInfo-1.json | 41 +
.../7.0/examples/GetNodeInfoList-1.json | 72 +
.../7.0/examples/GetNodeInfoList-2.json | 99 +
.../stable/7.0/examples/GetNodeInfoList.json | 152 +
.../GetNodeTransitionProgress-Running.json | 17 +
.../examples/GetNodeTransitionProgress.json | 24 +
.../7.0/examples/GetNodesEventList.json | 46 +
.../GetPartitionBackupConfigurationInfo.json | 24 +
.../examples/GetPartitionBackupList-1.json | 64 +
.../examples/GetPartitionBackupList-2.json | 41 +
.../examples/GetPartitionBackupList-3.json | 63 +
.../examples/GetPartitionBackupList-4.json | 42 +
.../examples/GetPartitionBackupProgress.json | 25 +
.../7.0/examples/GetPartitionEventList.json | 37 +
.../examples/GetPartitionRestartProgress.json | 25 +
.../examples/GetPartitionRestoreProgress.json | 23 +
.../7.0/examples/GetPartitionsEventList.json | 56 +
.../7.0/examples/GetPropertyInfo-1.json | 29 +
.../7.0/examples/GetPropertyInfoList-1.json | 41 +
.../7.0/examples/GetPropertyInfoList-2.json | 56 +
.../7.0/examples/GetPropertyInfoList-3.json | 36 +
.../GetQuorumLossProgress-Running.json | 18 +
.../7.0/examples/GetQuorumLossProgress.json | 25 +
.../7.0/examples/GetReplicaEventList.json | 35 +
.../7.0/examples/GetReplicasEventList.json | 51 +
.../GetServiceBackupConfigurationInfo-1.json | 40 +
.../GetServiceBackupConfigurationInfo-2.json | 31 +
.../7.0/examples/GetServiceBackupList-1.json | 108 +
.../7.0/examples/GetServiceBackupList-2.json | 63 +
.../7.0/examples/GetServiceBackupList-3.json | 63 +
.../7.0/examples/GetServiceBackupList-4.json | 64 +
.../7.0/examples/GetServiceEventList.json | 34 +
.../examples/GetServiceTypeInfoByName-1.json | 36 +
.../examples/GetServiceTypeInfoList-1.json | 36 +
.../7.0/examples/GetServicesEventList.json | 50 +
.../7.0/examples/GetSubNameInfoList-1.json | 21 +
.../7.0/examples/GetSubNameInfoList-2.json | 27 +
.../7.0/examples/GetSubNameInfoList-3.json | 23 +
.../7.0/examples/GetUploadSessionById.json | 33 +
.../7.0/examples/GetUploadSessionByPath.json | 49 +
.../7.0/examples/InvokeContainerApi.json | 27 +
.../7.0/examples/InvokeContainerApi_Post.json | 29 +
.../stable/7.0/examples/PutProperty-1.json | 25 +
.../stable/7.0/examples/PutProperty-2.json | 19 +
.../Replicas/CodePackages/get_logs.json | 18 +
.../Applications/Services/Replicas/get.json | 57 +
.../Applications/Services/Replicas/list.json | 105 +
.../Resources/Applications/Services/get.json | 51 +
.../Resources/Applications/Services/list.json | 56 +
.../Applications/create_update.autoscale.json | 102 +
.../Resources/Applications/create_update.json | 139 +
.../Resources/Applications/delete.json | 13 +
.../examples/Resources/Applications/get.json | 39 +
.../Resources/Applications/get_upgrade.json | 30 +
.../examples/Resources/Applications/list.json | 44 +
.../Resources/Gateways/create_update.json | 193 +
.../examples/Resources/Gateways/delete.json | 13 +
.../7.0/examples/Resources/Gateways/get.json | 72 +
.../7.0/examples/Resources/Gateways/list.json | 77 +
.../Resources/Networks/create_update.json | 41 +
.../examples/Resources/Networks/delete.json | 13 +
.../7.0/examples/Resources/Networks/get.json | 21 +
.../7.0/examples/Resources/Networks/list.json | 26 +
.../Resources/Secrets/create_update.json | 41 +
.../examples/Resources/Secrets/delete.json | 13 +
.../7.0/examples/Resources/Secrets/get.json | 21 +
.../7.0/examples/Resources/Secrets/list.json | 35 +
.../Resources/Secrets/values/create.json | 34 +
.../Resources/Secrets/values/delete.json | 14 +
.../Resources/Secrets/values/get.json | 19 +
.../Resources/Secrets/values/list.json | 29 +
.../Resources/Secrets/values/list_value.json | 16 +
.../Resources/Volumes/create_update.json | 52 +
.../examples/Resources/Volumes/delete.json | 13 +
.../7.0/examples/Resources/Volumes/get.json | 25 +
.../7.0/examples/Resources/Volumes/list.json | 30 +
.../stable/7.0/examples/RestorePartition.json | 20 +
.../7.0/examples/ResumeApplicationBackup.json | 11 +
.../7.0/examples/ResumePartitionBackup.json | 11 +
.../7.0/examples/ResumeServiceBackup.json | 11 +
.../StartClusterConfigurationUpgrade-1.json | 40 +
.../7.0/examples/SubmitPropertyBatch-1.json | 71 +
.../examples/SuspendApplicationBackup.json | 11 +
.../7.0/examples/SuspendPartitionBackup.json | 11 +
.../7.0/examples/SuspendServiceBackup.json | 11 +
.../7.0/examples/UpdateBackupPolicy.json | 35 +
.../stable/7.0/examples/UpdateService-1.json | 34 +
.../stable/7.0/examples/UpdateService-2.json | 17 +
.../stable/7.0/servicefabric.json | 28399 ++++++++++++++++
.../servicefabric/data-plane/readme.go.md | 9 +
.../servicefabric/data-plane/readme.md | 13 +-
.../servicefabric/data-plane/readme.python.md | 2 +-
149 files changed, 34124 insertions(+), 3 deletions(-)
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateApplication-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateBackupPolicy-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateBackupPolicy-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateName-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-4.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DeleteBackupPolicy.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisableApplicationBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisablePartitionBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisableServiceBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnableApplicationBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnablePartitionBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnableServiceBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetAllEntitiesBackedUpByPolicy-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetAllEntitiesBackedUpByPolicy-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupConfigurationInfo-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupConfigurationInfo-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-4.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoByName-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationsEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyByName.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupsFromBackupLocation-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupsFromBackupLocation-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetChaosEvents.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetClusterEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetClusterVersion-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetCorrelatedEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDataLossProgress-Running.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDataLossProgress.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoByName-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetFaultOperationList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetImageStoreContent.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetImageStoreInfo.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfo-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeTransitionProgress-Running.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeTransitionProgress.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodesEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupConfigurationInfo.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-4.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupProgress.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionRestartProgress.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionRestoreProgress.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionsEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfo-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetQuorumLossProgress-Running.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetQuorumLossProgress.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetReplicaEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetReplicasEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupConfigurationInfo-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupConfigurationInfo-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-4.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceTypeInfoByName-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceTypeInfoList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServicesEventList.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-3.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetUploadSessionById.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetUploadSessionByPath.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/InvokeContainerApi.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/InvokeContainerApi_Post.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/PutProperty-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/PutProperty-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/get.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/list.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/get.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/list.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/create_update.autoscale.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/create_update.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/delete.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/get.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/get_upgrade.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/list.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/create_update.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/delete.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/get.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/list.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/create_update.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/delete.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/get.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/list.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/create_update.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/delete.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/get.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/list.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/create.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/delete.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/get.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/list.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/list_value.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/create_update.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/delete.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/get.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/list.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/RestorePartition.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumeApplicationBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumePartitionBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumeServiceBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/StartClusterConfigurationUpgrade-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SubmitPropertyBatch-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendApplicationBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendPartitionBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendServiceBackup.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateBackupPolicy.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateService-1.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateService-2.json
create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/servicefabric.json
diff --git a/custom-words.txt b/custom-words.txt
index 06db5e3c4bfc..09e853e3ba17 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1222,6 +1222,7 @@ REVOKEACE
rgname
rhel
Rolledback
+Rollforward
rollouts
rolloverdetails
rootfs
@@ -1299,6 +1300,7 @@ SETOWNER
SETPERMISSION
setsas
setvpnclientipsecparameters
+sfhealthid
sfpkg
sharded
sharedkey
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-1.json
new file mode 100644
index 000000000000..2a7638588821
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-1.json
@@ -0,0 +1,12 @@
+{
+ "operationId": "BackupPartition",
+ "description": "This example shows how to trigger backup of a partition now, which is already configured for periodic backups. The newly created backup will be saved at the same location where the periodic backups are being saved.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "BackupPartitionDescription": {}
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-2.json
new file mode 100644
index 000000000000..9aa037a4d490
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-2.json
@@ -0,0 +1,18 @@
+{
+ "operationId": "BackupPartition",
+ "description": "This example shows how to trigger backup of a partition now, and save the backup to a specific Azure blob storage account.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "BackupPartitionDescription": {
+ "BackupStorage": {
+ "StorageKind": "AzureBlobStore",
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=",
+ "ContainerName": "BackupContainer"
+ }
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-3.json
new file mode 100644
index 000000000000..3d9ef05b08e4
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/BackupPartition-3.json
@@ -0,0 +1,19 @@
+{
+ "operationId": "BackupPartition",
+ "description": "This example shows how to trigger backup of a partition now, and save the backup to a specific file share accessible from all cluster nodes.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "BackupPartitionDescription": {
+ "BackupStorage": {
+ "StorageKind": "FileShare",
+ "Path": "\\\\myshare\\backupshare",
+ "PrimaryUserName": "mydomain\\backupaccount",
+ "PrimaryPassword": "abcd1234"
+ }
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateApplication-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateApplication-1.json
new file mode 100644
index 000000000000..815b59ce3e50
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateApplication-1.json
@@ -0,0 +1,15 @@
+{
+ "operationId": "CreateApplication",
+ "description": "This example shows how to create a Service Fabric application without overriding any application parameter values.",
+ "parameters": {
+ "api-version": "6.0",
+ "ApplicationDescription": {
+ "Name": "fabric:/samples/CalcApp",
+ "TypeVersion": "1.0",
+ "TypeName": "CalculatorApp"
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateBackupPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateBackupPolicy-1.json
new file mode 100644
index 000000000000..a2bb056ee6d0
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateBackupPolicy-1.json
@@ -0,0 +1,34 @@
+{
+ "operationId": "CreateBackupPolicy",
+ "description": "This example shows how to create a backup policy which takes backup twice everyday at 9 AM and 5 PM UTC which shall get deleted after 3 months, with Azure blob store as the backup location.",
+ "parameters": {
+ "api-version": "6.4",
+ "BackupPolicyDescription": {
+ "Name": "DailyAzureBackupPolicy",
+ "AutoRestoreOnDataLoss": false,
+ "MaxIncrementalBackups": 3,
+ "Schedule": {
+ "ScheduleKind": "TimeBased",
+ "ScheduleFrequencyType": "Daily",
+ "RunTimes": [
+ "0001-01-01T09:00:00Z",
+ "0001-01-01T17:00:00Z"
+ ]
+ },
+ "Storage": {
+ "StorageKind": "AzureBlobStore",
+ "FriendlyName": "Azure_storagesample",
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=",
+ "ContainerName": "BackupContainer"
+ },
+ "RetentionPolicy": {
+ "RetentionPolicyType": "Basic",
+ "MinimumNumberOfBackups": 20,
+ "RetentionDuration": "P3M"
+ }
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateBackupPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateBackupPolicy-2.json
new file mode 100644
index 000000000000..f688def9e59e
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateBackupPolicy-2.json
@@ -0,0 +1,31 @@
+{
+ "operationId": "CreateBackupPolicy",
+ "description": "This example shows how to create a backup policy which takes backup every 10 minutes which shall get deleted after 20 days, with file share as the backup location.",
+ "parameters": {
+ "api-version": "6.4",
+ "BackupPolicyDescription": {
+ "Name": "FileShare10MinBackupPolicy",
+ "AutoRestoreOnDataLoss": false,
+ "MaxIncrementalBackups": 3,
+ "Schedule": {
+ "ScheduleKind": "FrequencyBased",
+ "Interval": "PT10M"
+ },
+ "Storage": {
+ "StorageKind": "FileShare",
+ "FriendlyName": "FileShare_myshare",
+ "Path": "\\\\myshare\\backupshare",
+ "PrimaryUserName": "backupaccount",
+ "PrimaryPassword": "abcd1234"
+ },
+ "RetentionPolicy": {
+ "RetentionPolicyType": "Basic",
+ "MinimumNumberOfBackups": 20,
+ "RetentionDuration": "P20D"
+ }
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateName-1.json
new file mode 100644
index 000000000000..39588770e334
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateName-1.json
@@ -0,0 +1,13 @@
+{
+ "operationId": "CreateName",
+ "description": "This example shows how to create a new Service Fabric name. The name can be created under an existing name that represents an appliction or a service or under a completely new name.",
+ "parameters": {
+ "api-version": "6.0",
+ "NameDescription": {
+ "Name": "fabric:/samples/CalculatorApp/CalculatorService/Name-1"
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-1.json
new file mode 100644
index 000000000000..a969c12cd8a9
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-1.json
@@ -0,0 +1,21 @@
+{
+ "operationId": "CreateService",
+ "description": "This example shows how to create a basic stateless Service Fabric service.",
+ "parameters": {
+ "applicationId": "test",
+ "api-version": "6.0",
+ "ServiceDescription": {
+ "ServiceKind": "Stateless",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
+ "ServiceTypeName": "StatelessFrontendService",
+ "PartitionDescription": {
+ "PartitionScheme": "Singleton"
+ },
+ "InstanceCount": 4
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-2.json
new file mode 100644
index 000000000000..bc7ada6bb8be
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-2.json
@@ -0,0 +1,23 @@
+{
+ "operationId": "CreateService",
+ "description": "This example shows how to create a basic stateful Service Fabric service.",
+ "parameters": {
+ "applicationId": "test",
+ "api-version": "6.0",
+ "ServiceDescription": {
+ "ServiceKind": "Stateful",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
+ "ServiceTypeName": "StatefulBackendService",
+ "PartitionDescription": {
+ "PartitionScheme": "Singleton"
+ },
+ "TargetReplicaSetSize": 3,
+ "MinReplicaSetSize": 2,
+ "HasPersistedState": false
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-3.json
new file mode 100644
index 000000000000..1d12712e405e
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-3.json
@@ -0,0 +1,47 @@
+{
+ "operationId": "CreateService",
+ "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.",
+ "parameters": {
+ "applicationId": "test",
+ "api-version": "6.0",
+ "ServiceDescription": {
+ "ServiceKind": "Stateless",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
+ "ServiceTypeName": "StatelessFrontendService",
+ "InitializationData": [],
+ "PartitionDescription": {
+ "PartitionScheme": "Singleton"
+ },
+ "InstanceCount": 2,
+ "PlacementConstraints": "Color==Blue",
+ "CorrelationScheme": [],
+ "ServiceLoadMetrics": [],
+ "ServicePlacementPolicies": [],
+ "DefaultMoveCost": "Low",
+ "IsDefaultMoveCostSpecified": true,
+ "ServicePackageActivationMode": "ExclusiveProcess",
+ "ServiceDnsName": "test1.test",
+ "ScalingPolicies": [
+ {
+ "ScalingTrigger": {
+ "Kind": "AveragePartitionLoad",
+ "MetricName": "servicefabric:/_CpuCores",
+ "LowerLoadThreshold": 0.300000,
+ "UpperLoadThreshold": 0.800000,
+ "ScaleIntervalInSeconds": 600
+ },
+ "ScalingMechanism": {
+ "Kind": "PartitionInstanceCount",
+ "MinInstanceCount": 1,
+ "MaxInstanceCount": 6,
+ "ScaleIncrement": 2
+ }
+ }
+ ]
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-4.json
new file mode 100644
index 000000000000..46f7beb2ade5
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/CreateService-4.json
@@ -0,0 +1,46 @@
+{
+ "operationId": "CreateService",
+ "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.",
+ "parameters": {
+ "applicationId": "test",
+ "api-version": "6.0",
+ "ServiceDescription": {
+ "ServiceKind": "Stateful",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
+ "ServiceTypeName": "StatefulBackendService",
+ "InitializationData": [],
+ "PartitionDescription": {
+ "PartitionScheme": "NamedPartitionSchemeDescription",
+ "Count": 1,
+ "Names": [
+ "0"
+ ]
+ },
+ "TargetReplicaSetSize": 3,
+ "MinReplicaSetSize": 2,
+ "HasPersistedState": true,
+ "ServicePackageActivationMode": "ExclusiveProcess",
+ "ScalingPolicies": [
+ {
+ "ScalingTrigger": {
+ "Kind": "AverageServiceLoad",
+ "MetricName": "servicefabric:/_MemoryInMB",
+ "LowerLoadThreshold": 500,
+ "UpperLoadThreshold": 900,
+ "ScaleIntervalInSeconds": 600
+ },
+ "ScalingMechanism": {
+ "Kind": "AddRemoveIncrementalNamedPartition",
+ "MinPartitionCount": 1,
+ "MaxPartitionCount": 3,
+ "ScaleIncrement": 1
+ }
+ }
+ ]
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DeleteBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DeleteBackupPolicy.json
new file mode 100644
index 000000000000..d4796b5ede08
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DeleteBackupPolicy.json
@@ -0,0 +1,11 @@
+{
+ "operationId": "DeleteBackupPolicy",
+ "description": "This example shows how to delete an existing backup policy which is currently not associated with any backup entity.",
+ "parameters": {
+ "api-version": "6.4",
+ "backupPolicyName": "SampleBackupPolicy"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisableApplicationBackup.json
new file mode 100644
index 000000000000..964fdaa8c3f3
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisableApplicationBackup.json
@@ -0,0 +1,14 @@
+{
+ "operationId": "DisableApplicationBackup",
+ "description": "This example shows how to disable periodic backup for a stateful application which was previously enabled.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp",
+ "DisableBackupDescription": {
+ "CleanBackup": true
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisablePartitionBackup.json
new file mode 100644
index 000000000000..1f6cc6b32ed3
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisablePartitionBackup.json
@@ -0,0 +1,14 @@
+{
+ "operationId": "DisablePartitionBackup",
+ "description": "This example shows how to disable periodic backup for a stateful partition which was previously enabled.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "DisableBackupDescription": {
+ "CleanBackup": false
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisableServiceBackup.json
new file mode 100644
index 000000000000..14ca9acf4e25
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/DisableServiceBackup.json
@@ -0,0 +1,14 @@
+{
+ "operationId": "DisableServiceBackup",
+ "description": "This example shows how to disable periodic backup for a stateful service which was previously enabled.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService",
+ "DisableBackupDescription": {
+ "CleanBackup": true
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnableApplicationBackup.json
new file mode 100644
index 000000000000..b0e24cd35f67
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnableApplicationBackup.json
@@ -0,0 +1,14 @@
+{
+ "operationId": "EnableApplicationBackup",
+ "description": "This example shows how to enable periodic backup for a stateful application.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp",
+ "EnableBackupDescription": {
+ "BackupPolicyName": "DailyAzureBackupPolicy"
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnablePartitionBackup.json
new file mode 100644
index 000000000000..739bd06ce60e
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnablePartitionBackup.json
@@ -0,0 +1,14 @@
+{
+ "operationId": "EnablePartitionBackup",
+ "description": "This example shows how to enable periodic backup for a stateful partition.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "EnableBackupDescription": {
+ "BackupPolicyName": "DailyAzureBackupPolicy"
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnableServiceBackup.json
new file mode 100644
index 000000000000..0fe38fd714bc
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/EnableServiceBackup.json
@@ -0,0 +1,14 @@
+{
+ "operationId": "EnableServiceBackup",
+ "description": "This example shows how to enable periodic backup for a stateful service.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService",
+ "EnableBackupDescription": {
+ "BackupPolicyName": "DailyAzureBackupPolicy"
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetAllEntitiesBackedUpByPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetAllEntitiesBackedUpByPolicy-1.json
new file mode 100644
index 000000000000..9f4e37d7fdf9
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetAllEntitiesBackedUpByPolicy-1.json
@@ -0,0 +1,27 @@
+{
+ "operationId": "GetAllEntitiesBackedUpByPolicy",
+ "description": "This example shows how to get list of backup entities that are currently associated with a backup policy. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.4",
+ "backupPolicyName": "DailyAzureBackupPolicy",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/DemoApp",
+ "Items": [
+ {
+ "EntityKind": "Application",
+ "ApplicationName": "fabric:/CalcApp"
+ },
+ {
+ "EntityKind": "Application",
+ "ApplicationName": "fabric:/DemoApp"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetAllEntitiesBackedUpByPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetAllEntitiesBackedUpByPolicy-2.json
new file mode 100644
index 000000000000..18f3467fc9ed
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetAllEntitiesBackedUpByPolicy-2.json
@@ -0,0 +1,24 @@
+{
+ "operationId": "GetAllEntitiesBackedUpByPolicy",
+ "description": "This example shows how to get list of backup entities that are currently associated with a backup policy. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.4",
+ "backupPolicyName": "DailyAzureBackupPolicy",
+ "MaxResults": 2,
+ "ContinuationToken": "fabric:/DemoApp"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "EntityKind": "Service",
+ "ServiceName": "fabric:/VotingApp/VotingActorService"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupConfigurationInfo-1.json
new file mode 100644
index 000000000000..3d396dbf082d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupConfigurationInfo-1.json
@@ -0,0 +1,39 @@
+{
+ "operationId": "GetApplicationBackupConfigurationInfo",
+ "description": "This example shows how to get list of backup configuration for this application and entities (services and partitions) under this application. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/CalcApp/CalcService",
+ "Items": [
+ {
+ "Kind": "Application",
+ "PolicyName": "BackupPolicy1",
+ "PolicyInheritedFrom": "Application",
+ "ApplicationName": "fabric:/CalcApp",
+ "SuspensionInfo": {
+ "IsSuspended": false,
+ "SuspensionInheritedFrom": "Invalid"
+ }
+ },
+ {
+ "Kind": "Service",
+ "PolicyName": "BackupPolicy2",
+ "PolicyInheritedFrom": "Service",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "SuspensionInfo": {
+ "IsSuspended": false,
+ "SuspensionInheritedFrom": "Invalid"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupConfigurationInfo-2.json
new file mode 100644
index 000000000000..1ca86bee1983
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupConfigurationInfo-2.json
@@ -0,0 +1,31 @@
+{
+ "operationId": "GetApplicationBackupConfigurationInfo",
+ "description": "This example shows how to get list of backup configuration for this application and entities (services and partitions) under this application. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp",
+ "MaxResults": 2,
+ "ContinuationToken": "fabric:/CalcApp/CalcService"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Kind": "Partition",
+ "PolicyName": "BackupPolicy2",
+ "PolicyInheritedFrom": "Service",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "SuspensionInfo": {
+ "IsSuspended": true,
+ "SuspensionInheritedFrom": "Partition"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-1.json
new file mode 100644
index 000000000000..bc89f402c6bd
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-1.json
@@ -0,0 +1,108 @@
+{
+ "operationId": "GetApplicationBackupList",
+ "description": "This example shows how to get list of application backups within a time range.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp",
+ "StartDateTimeFilter": "2018-01-01T00:00:00Z",
+ "EndDateTimeFilter": "2018-01-01T23:59:59Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip",
+ "BackupType": "Full",
+ "ServiceManifestVersion": "1.0.0",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "261",
+ "CreationTimeUtc": "2018-01-01T09:00:55Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "ServiceManifestVersion": "1.0.0",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "161",
+ "CreationTimeUtc": "2018-01-01T09:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "ServiceManifestVersion": "1.0.0",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "246",
+ "CreationTimeUtc": "2018-01-01T17:00:34Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-2.json
new file mode 100644
index 000000000000..adb11bc306b8
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-2.json
@@ -0,0 +1,63 @@
+{
+ "operationId": "GetApplicationBackupList",
+ "description": "This example shows how to get the latest backup for each partition within an application.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp",
+ "Latest": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "ServiceManifestVersion": "1.0.0",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "246",
+ "CreationTimeUtc": "2018-01-01T17:00:34Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-3.json
new file mode 100644
index 000000000000..189ba7d18cbf
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-3.json
@@ -0,0 +1,63 @@
+{
+ "operationId": "GetApplicationBackupList",
+ "description": "This example shows how to get list of application backups. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "Items": [
+ {
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "261",
+ "CreationTimeUtc": "2018-01-01T09:00:55Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-4.json
new file mode 100644
index 000000000000..537af235a0e2
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationBackupList-4.json
@@ -0,0 +1,64 @@
+{
+ "operationId": "GetApplicationBackupList",
+ "description": "This example shows how to get list of application backups. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp",
+ "MaxResults": 2,
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "161",
+ "CreationTimeUtc": "2018-01-01T09:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "246",
+ "CreationTimeUtc": "2018-01-01T17:00:34Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationEventList.json
new file mode 100644
index 000000000000..32bca288ae42
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationEventList.json
@@ -0,0 +1,27 @@
+{
+ "operationId": "GetApplicationEventList",
+ "description": "This example shows how to get all application-related events during a certain time window.",
+ "parameters": {
+ "applicationId": "app1",
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "ApplicationCreated",
+ "ApplicationTypeName": "App1Type",
+ "ApplicationTypeVersion": "1.0.1",
+ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription",
+ "ApplicationId": "app1",
+ "EventInstanceId": "8a7a0c42-67ca-4cd3-9160-edcdb822db10",
+ "TimeStamp": "2018-04-03T20:21:23.5774199Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoByName-1.json
new file mode 100644
index 000000000000..6d9746679571
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoByName-1.json
@@ -0,0 +1,24 @@
+{
+ "operationId": "GetApplicationInfo",
+ "description": "This example shows how to get information about an application using it's identifier. If the application is found, information about it is returned with 200 status code. If the application is not found, empty content is returned with 204 status code.",
+ "parameters": {
+ "api-version": "6.0",
+ "applicationId": "samples~CalculatorApp"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Id": "samples~CalculatorApp",
+ "Name": "fabric:/samples/CalculatorApp",
+ "TypeName": "CalculatorApp",
+ "TypeVersion": "1.0",
+ "Status": "Ready",
+ "Parameters": [],
+ "HealthState": "Ok",
+ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoList-1.json
new file mode 100644
index 000000000000..2ca46b64e3a4
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoList-1.json
@@ -0,0 +1,38 @@
+{
+ "operationId": "GetApplicationInfoList",
+ "description": "This example shows how to get information about applications on the cluster. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.1",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/samples/PQueueApp1",
+ "Items": [
+ {
+ "Id": "samples~CalculatorApp",
+ "Name": "fabric:/samples/CalculatorApp",
+ "TypeName": "CalculatorApp",
+ "TypeVersion": "1.0",
+ "Status": "Ready",
+ "Parameters": [],
+ "HealthState": "Ok",
+ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription"
+ },
+ {
+ "Id": "samples~PQueueApp1",
+ "Name": "fabric:/samples/PQueueApp1",
+ "TypeName": "PersistentQueueApp",
+ "TypeVersion": "1.0",
+ "Status": "Ready",
+ "Parameters": [],
+ "HealthState": "Ok",
+ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoList-2.json
new file mode 100644
index 000000000000..c0755d26e14b
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationInfoList-2.json
@@ -0,0 +1,29 @@
+{
+ "operationId": "GetApplicationInfoList",
+ "description": "This example shows how to page through the information about applications on the cluster using the ContinuationToken parameter. The value of this parameter is provided from the previous query, in this case the example shown above. The response contains the remaining one result and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.1",
+ "MaxResults": 2,
+ "ContinuationToken": "fabric:/samples/PQueueApp1"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Id": "samples~VQueueApp1",
+ "Name": "fabric:/samples/VQueueApp1",
+ "TypeName": "VolatileQueueApp",
+ "TypeVersion": "1.0",
+ "Status": "Ready",
+ "Parameters": [],
+ "HealthState": "Ok",
+ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-1.json
new file mode 100644
index 000000000000..bcb6a4e5e3b7
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-1.json
@@ -0,0 +1,85 @@
+{
+ "operationId": "GetApplicationTypeInfoList",
+ "description": "This example shows how to get information about application types that are provisioned or being provisioned in the cluster. The number of results in a page are limited to maximum of five using MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.0",
+ "MaxResults": 5
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "PersistentQueueApp+2.0",
+ "Items": [
+ {
+ "Name": "CalculatorApp",
+ "Version": "1.0",
+ "DefaultParameterList": [
+ {
+ "Key": "ServiceInstanceCount",
+ "Value": "3"
+ }
+ ],
+ "Status": "Available"
+ },
+ {
+ "Name": "CalculatorApp",
+ "Version": "2.0",
+ "DefaultParameterList": [
+ {
+ "Key": "ServiceInstanceCount",
+ "Value": "3"
+ }
+ ],
+ "Status": "Available"
+ },
+ {
+ "Name": "GatewayApp",
+ "Version": "1.0",
+ "DefaultParameterList": [
+ {
+ "Key": "GatewayPort",
+ "Value": "8505"
+ },
+ {
+ "Key": "ServiceInstanceCount",
+ "Value": "1000"
+ }
+ ],
+ "Status": "Available"
+ },
+ {
+ "Name": "PersistentQueueApp",
+ "Version": "1.0",
+ "DefaultParameterList": [
+ {
+ "Key": "MinReplicaSetSize",
+ "Value": "2"
+ },
+ {
+ "Key": "TargetReplicaSetSize",
+ "Value": "3"
+ }
+ ],
+ "Status": "Available"
+ },
+ {
+ "Name": "PersistentQueueApp",
+ "Version": "2.0",
+ "DefaultParameterList": [
+ {
+ "Key": "MinReplicaSetSize",
+ "Value": "2"
+ },
+ {
+ "Key": "TargetReplicaSetSize",
+ "Value": "3"
+ }
+ ],
+ "Status": "Available"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-2.json
new file mode 100644
index 000000000000..a7c38cdedbe7
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-2.json
@@ -0,0 +1,49 @@
+{
+ "operationId": "GetApplicationTypeInfoList",
+ "description": "This example shows how to page through the information about application types that are provisioned or being provisioned in the cluster using ContinuationToken parameter. The value of this parameter is provided from the previous query, in this case the example shown above. The response contains the remaining two results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.0",
+ "MaxResults": 5,
+ "ContinuationToken": "PersistentQueueApp+2.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Name": "VolatileQueueApp",
+ "Version": "1.0",
+ "DefaultParameterList": [
+ {
+ "Key": "MinReplicaSetSize",
+ "Value": "2"
+ },
+ {
+ "Key": "TargetReplicaSetSize",
+ "Value": "3"
+ }
+ ],
+ "Status": "Available"
+ },
+ {
+ "Name": "VolatileQueueApp",
+ "Version": "2.0",
+ "DefaultParameterList": [
+ {
+ "Key": "MinReplicaSetSize",
+ "Value": "2"
+ },
+ {
+ "Key": "TargetReplicaSetSize",
+ "Value": "3"
+ }
+ ],
+ "Status": "Available"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-3.json
new file mode 100644
index 000000000000..473565e56c6d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationTypeInfoList-3.json
@@ -0,0 +1,60 @@
+{
+ "operationId": "GetApplicationTypeInfoList",
+ "description": "This example shows how to exclude application parameter in the result when getting the information about application types that are provisioned or being provisioned in the cluster.",
+ "parameters": {
+ "api-version": "6.0",
+ "ExcludeApplicationParameters": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Name": "CalculatorApp",
+ "Version": "1.0",
+ "DefaultParameterList": [],
+ "Status": "Available"
+ },
+ {
+ "Name": "CalculatorApp",
+ "Version": "2.0",
+ "DefaultParameterList": [],
+ "Status": "Available"
+ },
+ {
+ "Name": "GatewayApp",
+ "Version": "1.0",
+ "DefaultParameterList": [],
+ "Status": "Available"
+ },
+ {
+ "Name": "PersistentQueueApp",
+ "Version": "1.0",
+ "DefaultParameterList": [],
+ "Status": "Available"
+ },
+ {
+ "Name": "PersistentQueueApp",
+ "Version": "2.0",
+ "DefaultParameterList": [],
+ "Status": "Available"
+ },
+ {
+ "Name": "VolatileQueueApp",
+ "Version": "1.0",
+ "DefaultParameterList": [],
+ "Status": "Available"
+ },
+ {
+ "Name": "VolatileQueueApp",
+ "Version": "2.0",
+ "DefaultParameterList": [],
+ "Status": "Available"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationsEventList.json
new file mode 100644
index 000000000000..fa65ec159120
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetApplicationsEventList.json
@@ -0,0 +1,36 @@
+{
+ "operationId": "GetApplicationsEventList",
+ "description": "This example shows how to get all applications-related events during a certain time window.",
+ "parameters": {
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "ApplicationCreated",
+ "ApplicationTypeName": "App1Type",
+ "ApplicationTypeVersion": "1.0.1",
+ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription",
+ "ApplicationId": "app1",
+ "EventInstanceId": "8a7a0c42-67ca-4cd3-9160-edcdb822db10",
+ "TimeStamp": "2018-04-03T20:21:23.5774199Z",
+ "HasCorrelatedEvents": false
+ },
+ {
+ "Kind": "ApplicationCreated",
+ "ApplicationTypeName": "App2Type",
+ "ApplicationTypeVersion": "4.0.1",
+ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription",
+ "ApplicationId": "app2",
+ "EventInstanceId": "d50574bc-6a31-4945-8275-7639bec7a0b3",
+ "TimeStamp": "2018-04-03T20:21:59.74842Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyByName.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyByName.json
new file mode 100644
index 000000000000..411b836109b2
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyByName.json
@@ -0,0 +1,36 @@
+{
+ "operationId": "GetBackupPolicyByName",
+ "description": "This example shows how to query a backup policy by name.",
+ "parameters": {
+ "api-version": "6.4",
+ "backupPolicyName": "DailyAzureBackupPolicy"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Name": "DailyAzureBackupPolicy",
+ "AutoRestoreOnDataLoss": false,
+ "MaxIncrementalBackups": 3,
+ "Schedule": {
+ "ScheduleKind": "TimeBased",
+ "ScheduleFrequencyType": "Daily",
+ "RunTimes": [
+ "0001-01-01T09:00:00Z",
+ "0001-01-01T17:00:00Z"
+ ]
+ },
+ "Storage": {
+ "StorageKind": "AzureBlobStore",
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=",
+ "ContainerName": "BackupContainer"
+ },
+ "RetentionPolicy": {
+ "RetentionPolicyType": "Basic",
+ "MinimumNumberOfBackups": 20,
+ "RetentionDuration": "P20D"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyList-1.json
new file mode 100644
index 000000000000..d4ac30f0658a
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyList-1.json
@@ -0,0 +1,63 @@
+{
+ "operationId": "GetBackupPolicyList",
+ "description": "This example shows how to get list of backup policies. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.4",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "FileShare10MinBackupPolicy",
+ "Items": [
+ {
+ "Name": "DailyAzureBackupPolicy",
+ "AutoRestoreOnDataLoss": false,
+ "MaxIncrementalBackups": 3,
+ "Schedule": {
+ "ScheduleKind": "TimeBased",
+ "ScheduleFrequencyType": "Daily",
+ "RunTimes": [
+ "0001-01-01T09:00:00Z",
+ "0001-01-01T17:00:00Z"
+ ]
+ },
+ "Storage": {
+ "StorageKind": "AzureBlobStore",
+ "FriendlyName": "Azure_storagesample",
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=",
+ "ContainerName": "BackupContainer"
+ },
+ "RetentionPolicy": {
+ "RetentionPolicyType": "Basic",
+ "MinimumNumberOfBackups": 30,
+ "RetentionDuration": "P29D"
+ }
+ },
+ {
+ "Name": "FileShare10MinBackupPolicy",
+ "AutoRestoreOnDataLoss": false,
+ "MaxIncrementalBackups": 3,
+ "Schedule": {
+ "ScheduleKind": "FrequencyBased",
+ "Interval": "PT10M"
+ },
+ "Storage": {
+ "StorageKind": "FileShare",
+ "FriendlyName": "FileShare_myshare",
+ "Path": "\\\\myshare\\backupshare",
+ "PrimaryUserName": "backupaccount",
+ "PrimaryPassword": "****"
+ },
+ "RetentionPolicy": {
+ "RetentionPolicyType": "Basic",
+ "MinimumNumberOfBackups": 20,
+ "RetentionDuration": "P20D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyList-2.json
new file mode 100644
index 000000000000..ad0e9a860ae4
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupPolicyList-2.json
@@ -0,0 +1,42 @@
+{
+ "operationId": "GetBackupPolicyList",
+ "description": "This example shows how to get list of backup policies. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.4",
+ "MaxResults": 2,
+ "ContinuationToken": "FileShare10MinBackupPolicy"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "AutoRestoreOnDataLoss": false,
+ "Name": "SampleBackupPolicy",
+ "MaxIncrementalBackups": 5,
+ "Schedule": {
+ "ScheduleKind": "FrequencyBased",
+ "Interval": "PT4H5M"
+ },
+ "Storage": {
+ "Path": "\\\\myshare\\BackupStore",
+ "PrimaryUserName": "myuser1",
+ "PrimaryPassword": "****",
+ "SecondaryUserName": "myuser2",
+ "SecondaryPassword": "****",
+ "StorageKind": "FileShare",
+ "FriendlyName": ""
+ },
+ "RetentionPolicy": {
+ "RetentionPolicyType": "Basic",
+ "MinimumNumberOfBackups": 0,
+ "RetentionDuration": "P20D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupsFromBackupLocation-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupsFromBackupLocation-1.json
new file mode 100644
index 000000000000..6925de02aeb5
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupsFromBackupLocation-1.json
@@ -0,0 +1,73 @@
+{
+ "operationId": "GetBackupsFromBackupLocation",
+ "description": "This example shows how to get list of application backups from a specified backup location. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.4",
+ "MaxResults": 2,
+ "GetBackupByStorageQueryDescription": {
+ "Storage": {
+ "StorageKind": "AzureBlobStore",
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=",
+ "ContainerName": "BackupContainer"
+ },
+ "BackupEntity": {
+ "EntityKind": "Application",
+ "ApplicationName": "fabric:/CalcApp"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "Items": [
+ {
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "261",
+ "CreationTimeUtc": "2018-01-01T09:00:55Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupsFromBackupLocation-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupsFromBackupLocation-2.json
new file mode 100644
index 000000000000..190f318797ab
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetBackupsFromBackupLocation-2.json
@@ -0,0 +1,74 @@
+{
+ "operationId": "GetBackupsFromBackupLocation",
+ "description": "This example shows how to get list of application backups. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.4",
+ "MaxResults": 2,
+ "GetBackupByStorageQueryDescription": {
+ "Storage": {
+ "StorageKind": "AzureBlobStore",
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=",
+ "ContainerName": "BackupContainer"
+ },
+ "BackupEntity": {
+ "EntityKind": "Application",
+ "ApplicationName": "fabric:/CalcApp"
+ }
+ },
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "161",
+ "CreationTimeUtc": "2018-01-01T09:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "246",
+ "CreationTimeUtc": "2018-01-01T17:00:34Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetChaosEvents.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetChaosEvents.json
new file mode 100644
index 000000000000..4e5d7bb0b4e3
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetChaosEvents.json
@@ -0,0 +1,62 @@
+{
+ "operationId": "GetChaosEvents",
+ "description": "This example shows how to get Chaos events in a single response message without the need for paging through ContinuationToken parameter.",
+ "parameters": {
+ "api-version": "6.2",
+ "StartTimeUtc": "0",
+ "EndTimeUtc": "3155378975999999999"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "History": [
+ {
+ "ChaosEvent": {
+ "Kind": "Started",
+ "TimeStampUtc": "2017-04-14T04:27:19.049Z",
+ "ChaosParameters": {
+ "MaxClusterStabilizationTimeoutInSeconds": 30,
+ "MaxConcurrentFaults": 3,
+ "WaitTimeBetweenIterationsInSeconds": 10,
+ "WaitTimeBetweenFaultsInSeconds": 1,
+ "TimeToRunInSeconds": "3600",
+ "EnableMoveReplicaFaults": true,
+ "ClusterHealthPolicy": {
+ "ConsiderWarningAsError": true,
+ "MaxPercentUnhealthyNodes": 0,
+ "MaxPercentUnhealthyApplications": 10,
+ "ApplicationTypeHealthPolicyMap": [
+ {
+ "Key": "myapp",
+ "Value": 3
+ }
+ ]
+ },
+ "Context": {
+ "Map": {
+ "k1": "v1",
+ "k2": "v2",
+ "k3": "v5"
+ }
+ }
+ }
+ }
+ },
+ {
+ "ChaosEvent": {
+ "Kind": "ExecutingFaults",
+ "TimeStampUtc": "2017-04-14T04:27:20.667Z",
+ "Faults": [
+ "ActionType: RestartReplica, ServiceUri: fabric:/TestApp1/PersistServ_6R_1, PartitionId: 6a91b09a-bd76-45da-afaa-ed0fd9bfe7d2, ReplicaId: 131366172775684622",
+ "ActionType: CodePackageRestart, NodeName: N0050, ApplicationName: fabric:/TestApp1, ServiceManifestName: SP1, ServiceManifestName: , CodePackageName: CP1.",
+ "ActionType: RestartReplica, ServiceUri: fabric:/TestApp1/PersistServ_6R_3, PartitionId: baa3a51e-5c42-435e-89d3-6e97b2164661, ReplicaId: 131366172988968762"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetClusterEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetClusterEventList.json
new file mode 100644
index 000000000000..3a122bb8aec0
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetClusterEventList.json
@@ -0,0 +1,55 @@
+{
+ "operationId": "GetClusterEventList",
+ "description": "This example shows how to get all cluster-related events during a certain time window.",
+ "parameters": {
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "ClusterUpgradeStarted",
+ "CurrentClusterVersion": "0.0.0.0:",
+ "TargetClusterVersion": "6.2:1.0",
+ "UpgradeType": "Rolling",
+ "RollingUpgradeMode": "UnmonitoredAuto",
+ "FailureAction": "Manual",
+ "EventInstanceId": "090add3c-8f56-4d35-8d57-a855745b6064",
+ "TimeStamp": "2018-04-03T20:18:59.4313064Z",
+ "HasCorrelatedEvents": false
+ },
+ {
+ "Kind": "ClusterUpgradeDomainCompleted",
+ "TargetClusterVersion": "6.2:1.0",
+ "UpgradeState": "RollingForward",
+ "UpgradeDomains": "(0 1 2)",
+ "UpgradeDomainElapsedTimeInMs": 78.5288,
+ "EventInstanceId": "090add3c-8f56-4d35-8d57-a855745b6064",
+ "TimeStamp": "2018-04-03T20:19:59.5729953Z",
+ "HasCorrelatedEvents": false
+ },
+ {
+ "Kind": "ClusterUpgradeDomainCompleted",
+ "TargetClusterVersion": "6.2:1.0",
+ "UpgradeState": "RollingForward",
+ "UpgradeDomains": "(3 4)",
+ "UpgradeDomainElapsedTimeInMs": 0.0,
+ "EventInstanceId": "090add3c-8f56-4d35-8d57-a855745b6064",
+ "TimeStamp": "2018-04-03T20:20:59.6271949Z",
+ "HasCorrelatedEvents": false
+ },
+ {
+ "Kind": "ClusterUpgradeCompleted",
+ "TargetClusterVersion": "6.2:1.0",
+ "OverallUpgradeElapsedTimeInMs": 120196.5212,
+ "EventInstanceId": "090add3c-8f56-4d35-8d57-a855745b6064",
+ "TimeStamp": "2018-04-03T20:20:59.8134457Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetClusterVersion-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetClusterVersion-1.json
new file mode 100644
index 000000000000..fd3b6fbf55b8
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetClusterVersion-1.json
@@ -0,0 +1,15 @@
+{
+ "operationId": "GetClusterVersion",
+ "description": "This example retrieves the current (or lowest version during upgrade) cluster version.",
+ "parameters": {
+ "api-version": "6.4"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Version": "6.4.514.9494"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-1.json
new file mode 100644
index 000000000000..1be29fb8e6ef
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-1.json
@@ -0,0 +1,19 @@
+{
+ "operationId": "GetContainerLogsDeployedOnNode",
+ "description": "This example shows how to get container logs for container deployed on a Service Fabric node for the given code package.",
+ "parameters": {
+ "api-version": "6.2",
+ "nodeName": "_Node_0",
+ "applicationId": "SimpleHttpServerApp",
+ "ServiceManifestName": "SimpleHttpServerSvcPkg",
+ "CodePackageName": "Code"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Content": "HTTP Server started listening on port 8080\r\n"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-2.json
new file mode 100644
index 000000000000..9f1025363561
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-2.json
@@ -0,0 +1,20 @@
+{
+ "operationId": "GetContainerLogsDeployedOnNode",
+ "description": "This example shows how to get last 10 lines of container logs for container deployed on a Service Fabric node for the given code package.",
+ "parameters": {
+ "api-version": "6.2",
+ "nodeName": "_Node_0",
+ "applicationId": "SimpleHttpServerApp",
+ "ServiceManifestName": "SimpleHttpServerSvcPkg",
+ "CodePackageName": "Code",
+ "Tail": "10"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Content": "UTC Time Now: 04/02/2018 22:06:31\r\nUTC Time Now: 04/02/2018 22:06:32\r\nUTC Time Now: 04/02/2018 22:06:33\r\nUTC Time Now: 04/02/2018 22:06:344\r\nUTC Time Now: 04/02/2018 22:06:35\r\nUTC Time Now: 04/02/2018 22:06:36\r\nUTC Time Now: 04/02/2018 22:06:37\r\nUTC Time Now: 04/02/2018 22:06:38\r\nUTC Time Now: 04/02/2018 22:06:39\r\nUTC Time Now: 04/02/2018 22:06:40\r\n"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-3.json
new file mode 100644
index 000000000000..2ca6cad4f774
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetContainerLogsDeployedOnNode-3.json
@@ -0,0 +1,20 @@
+{
+ "operationId": "GetContainerLogsDeployedOnNode",
+ "description": "This example shows how to get container logs of previous dead container on a Service Fabric node for the given code package.",
+ "parameters": {
+ "api-version": "6.2",
+ "nodeName": "_Node_0",
+ "applicationId": "SimpleHttpServerApp",
+ "ServiceManifestName": "SimpleHttpServerSvcPkg",
+ "CodePackageName": "Code",
+ "Previous": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Content": "Exception encountered: System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).\r\n\tat System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetCorrelatedEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetCorrelatedEventList.json
new file mode 100644
index 000000000000..7e271b230d90
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetCorrelatedEventList.json
@@ -0,0 +1,31 @@
+{
+ "operationId": "GetCorrelatedEventList",
+ "description": "This example shows how to get all correlated events for a given eventInstanceId.",
+ "parameters": {
+ "eventInstanceId": "e00fa5b7-f747-40dd-9e09-f5a031e96de4",
+ "api-version": "6.4"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "PartitionPrimaryMoveAnalysis",
+ "WhenMoveCompleted": "2018-04-03T20:06:55.966073Z",
+ "PreviousNode": "node3(b9d52c016a15a8f57673d3b8041e2d35)",
+ "CurrentNode": "node1(cf68563e16a44f808e86197a9cf83de5)",
+ "MoveReason": "ApplicationHostDown",
+ "RelevantTraces": "",
+ "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89",
+ "EventInstanceId": "59dde2bc-a833-412e-a56d-8f6ada0c7963",
+ "TimeStamp": "2018-04-03T20:07:55.966073Z",
+ "HasCorrelatedEvents": true,
+ "Metadata": {
+ "Delay": "00:00:20",
+ "Duration": "00:01:59"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDataLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDataLossProgress-Running.json
new file mode 100644
index 000000000000..90590fff4f2f
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDataLossProgress-Running.json
@@ -0,0 +1,18 @@
+{
+ "operationId": "GetDataLossProgress",
+ "description": "This shows an example of output when a data loss operation is in a Running State. If the State has a value of Running, only the State field will have a value.",
+ "parameters": {
+ "serviceId": "fabric:/myapp/myservice",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "OperationId": "7216486c-1ee9-4b00-99b2-92b26fcb07f5",
+ "api-version": "6.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "State": "Running"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDataLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDataLossProgress.json
new file mode 100644
index 000000000000..89d341f05c26
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDataLossProgress.json
@@ -0,0 +1,25 @@
+{
+ "operationId": "GetDataLossProgress",
+ "description": "This shows an example of possible output when GetDataLossProgress has reached a State of Completed. If the State has a value of Running, only the State field will have a value.",
+ "parameters": {
+ "serviceId": "fabric:/myapp/myservice",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "OperationId": "7216486c-1ee9-4b00-99b2-92b26fcb07f5",
+ "api-version": "6.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "State": "Completed",
+ "InvokeDataLossResult": {
+ "ErrorCode": 0,
+ "SelectedPartition": {
+ "ServiceName": "fabric:/myapp/myservice",
+ "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoByName-1.json
new file mode 100644
index 000000000000..8552057cbe2f
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoByName-1.json
@@ -0,0 +1,26 @@
+{
+ "operationId": "GetDeployedApplicationInfoList",
+ "description": "This example shows how to get information about an application deployed on a specified node by using an application identifier. If the application is found it's information is returned with 200 status code. An empty response with status code 204 is returned, if the specified application is not deployed on the node.",
+ "parameters": {
+ "api-version": "6.1",
+ "nodeName": "_Node_0",
+ "applicationId": "samples~CalculatorApp",
+ "IncludeHealthState": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Id": "samples~CalculatorApp",
+ "Name": "fabric:/samples/CalculatorApp",
+ "TypeName": "CalculatorApp",
+ "Status": "Active",
+ "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_1\\CalculatorApp_App0\\work",
+ "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_1\\CalculatorApp_App0\\log",
+ "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_1\\CalculatorApp_App0\\temp",
+ "HealthState": "Ok"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-1.json
new file mode 100644
index 000000000000..c19d4e2a841c
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-1.json
@@ -0,0 +1,39 @@
+{
+ "operationId": "GetDeployedApplicationInfoList",
+ "description": "This example shows how to specify the number of applications returned by the query when getting information about applications deployed on a specific node. The number of results in a page are limited to maximum of 2 using the MaxResult parameter. Health state is not requested in this example, so the returned health state will be Unknown.",
+ "parameters": {
+ "api-version": "6.1",
+ "nodeName": "_Node_0",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/samples/PQueueApp1",
+ "Items": [
+ {
+ "Id": "samples~CalculatorApp",
+ "Name": "fabric:/samples/CalculatorApp",
+ "TypeName": "CalculatorApp",
+ "Status": "Active",
+ "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\work",
+ "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\log",
+ "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\temp",
+ "HealthState": "Unknown"
+ },
+ {
+ "Id": "samples~PQueueApp1",
+ "Name": "fabric:/samples/PQueueApp1",
+ "TypeName": "PersistentQueueApp",
+ "Status": "Active",
+ "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\work",
+ "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\log",
+ "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\temp",
+ "HealthState": "Unknown"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-2.json
new file mode 100644
index 000000000000..7f6320e69e6d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-2.json
@@ -0,0 +1,29 @@
+{
+ "operationId": "GetDeployedApplicationInfoListByName",
+ "description": "This example demonstrates the paging functionality available when getting information about applications deployed on a specific node. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.1",
+ "nodeName": "_Node_0",
+ "ContinuationToken": "fabric:/samples/PQueueApp1"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Id": "samples~VQueueApp1",
+ "Name": "fabric:/samples/VQueueApp1",
+ "TypeName": "VolatileQueueApp",
+ "Status": "Active",
+ "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work",
+ "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log",
+ "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp",
+ "HealthState": "Unknown"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-3.json
new file mode 100644
index 000000000000..01cad866d3c1
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetDeployedApplicationInfoList-3.json
@@ -0,0 +1,49 @@
+{
+ "operationId": "GetDeployedApplicationInfoList",
+ "description": "This example shows how to include the health state of each deployed application when getting information about applications deployed on a specific node.",
+ "parameters": {
+ "api-version": "6.1",
+ "nodeName": "_Node_0",
+ "IncludeHealthState": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Id": "samples~CalculatorApp",
+ "Name": "fabric:/samples/CalculatorApp",
+ "TypeName": "CalculatorApp",
+ "Status": "Active",
+ "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\work",
+ "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\log",
+ "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\temp",
+ "HealthState": "Ok"
+ },
+ {
+ "Id": "samples~PQueueApp1",
+ "Name": "fabric:/samples/PQueueApp1",
+ "TypeName": "PersistentQueueApp",
+ "Status": "Active",
+ "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\work",
+ "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\log",
+ "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\temp",
+ "HealthState": "Ok"
+ },
+ {
+ "Id": "samples~VQueueApp1",
+ "Name": "fabric:/samples/VQueueApp1",
+ "TypeName": "VolatileQueueApp",
+ "Status": "Active",
+ "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work",
+ "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log",
+ "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp",
+ "HealthState": "Ok"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetFaultOperationList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetFaultOperationList.json
new file mode 100644
index 000000000000..c7194dad614a
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetFaultOperationList.json
@@ -0,0 +1,51 @@
+{
+ "operationId": "GetFaultOperationList",
+ "description": "This shows an example of possible output for GetFaultOperationList",
+ "parameters": {
+ "TypeFilter": "0xFF",
+ "StateFilter": "0xFF",
+ "api-version": "6.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "OperationId": "00000000-0000-0000-0000-000000000010",
+ "State": "Completed",
+ "Type": "PartitionDataLoss"
+ },
+ {
+ "OperationId": "00000000-0000-0000-0000-000000000020",
+ "State": "Completed",
+ "Type": "PartitionQuorumLoss"
+ },
+ {
+ "OperationId": "00000000-0000-0000-0000-000000000030",
+ "State": "Completed",
+ "Type": "PartitionRestart"
+ },
+ {
+ "OperationId": "00000000-0000-0000-0000-000000000500",
+ "State": "Faulted",
+ "Type": "NodeTransition"
+ },
+ {
+ "OperationId": "00000000-0000-0000-0000-000000000700",
+ "State": "Completed",
+ "Type": "NodeTransition"
+ },
+ {
+ "OperationId": "00000000-0000-0000-0000-000000000710",
+ "State": "Completed",
+ "Type": "NodeTransition"
+ },
+ {
+ "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a",
+ "State": "Completed",
+ "Type": "PartitionRestart"
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetImageStoreContent.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetImageStoreContent.json
new file mode 100644
index 000000000000..7e912c407a79
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetImageStoreContent.json
@@ -0,0 +1,91 @@
+{
+ "operationId": "GetImageStoreContent",
+ "description": "This example shows how to get image store content under the given relative path.",
+ "parameters": {
+ "api-version": "6.2",
+ "contentPath": "Store\\CalcServiceApp"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "StoreFiles": [
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\ApplicationManifest.2.0.xml",
+ "FileVersion": {
+ "EpochDataLossNumber": "131510254310497004",
+ "VersionNumber": "23",
+ "EpochConfigurationNumber": "25769803776"
+ },
+ "FileSize": "897",
+ "ModifiedDate": "2017-09-28T17:44:22.609Z"
+ },
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Code.2.0.checksum",
+ "FileVersion": {
+ "EpochDataLossNumber": "131510254310497004",
+ "VersionNumber": "25",
+ "EpochConfigurationNumber": "25769803776"
+ },
+ "FileSize": "66",
+ "ModifiedDate": "2017-09-28T17:44:22.468Z"
+ },
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Config.1.0.checksum",
+ "FileVersion": {
+ "EpochDataLossNumber": "131510254310497004",
+ "VersionNumber": "26",
+ "EpochConfigurationNumber": "25769803776"
+ },
+ "FileSize": "66",
+ "ModifiedDate": "2017-09-28T17:44:22.468Z"
+ },
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Data.2.0.checksum",
+ "FileVersion": {
+ "EpochDataLossNumber": "131510254310497004",
+ "VersionNumber": "27",
+ "EpochConfigurationNumber": "25769803776"
+ },
+ "FileSize": "66",
+ "ModifiedDate": "2017-09-28T17:44:22.468Z"
+ },
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Manifest.2.0.xml",
+ "FileVersion": {
+ "EpochDataLossNumber": "131510254310497004",
+ "VersionNumber": "19",
+ "EpochConfigurationNumber": "25769803776"
+ },
+ "FileSize": "744",
+ "ModifiedDate": "2017-09-28T17:44:22.578Z"
+ },
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Manifest.2.0.xml.checksum",
+ "FileVersion": {
+ "EpochDataLossNumber": "131510254310497004",
+ "VersionNumber": "24",
+ "EpochConfigurationNumber": "25769803776"
+ },
+ "FileSize": "66",
+ "ModifiedDate": "2017-09-28T17:44:22.484Z"
+ }
+ ],
+ "StoreFolders": [
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Code.2.0",
+ "FileCount": "2"
+ },
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Config.1.0",
+ "FileCount": "2"
+ },
+ {
+ "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Data.2.0",
+ "FileCount": "2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetImageStoreInfo.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetImageStoreInfo.json
new file mode 100644
index 000000000000..e4360622b5fd
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetImageStoreInfo.json
@@ -0,0 +1,36 @@
+{
+ "operationId": "GetImageStoreInfo",
+ "description": "This example shows how to get ImageStore information.",
+ "parameters": {
+ "api-version": "6.5"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "DiskInfo": {
+ "Capacity": "500090007552",
+ "AvailableSpace": "228851900416"
+ },
+ "UsedByMetadata": {
+ "UsedSpace": "23093248",
+ "FileCount": 6
+ },
+ "UsedByStaging": {
+ "UsedSpace": "6291456",
+ "FileCount": 9
+ },
+ "UsedByCopy": {
+ "UsedSpace": "4194304",
+ "FileCount": 2
+ },
+ "UsedByRegister": {
+ "UsedSpace": "4194304",
+ "FileCount": 3
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeEventList.json
new file mode 100644
index 000000000000..4368ae718d58
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeEventList.json
@@ -0,0 +1,32 @@
+{
+ "operationId": "GetNodeEventList",
+ "description": "This example shows how to get all node-related events during a certain time window.",
+ "parameters": {
+ "nodeName": "node1",
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "NodeOpenSucceeded",
+ "NodeInstance": 131672596159209215,
+ "NodeId": "ba001a8bb353543e646be031afb10f1e",
+ "UpgradeDomain": "0",
+ "FaultDomain": "fd:/0",
+ "IpAddressOrFQDN": "100.78.240.56",
+ "Hostname": "RD0003FF5089AA",
+ "IsSeedNode": false,
+ "NodeVersion": "6.2:1.0",
+ "NodeName": "node1",
+ "EventInstanceId": "ecbce04a-a42b-4b70-a800-dfc6bc4f9b89",
+ "TimeStamp": "2018-04-03T20:06:55.966073Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfo-1.json
new file mode 100644
index 000000000000..24b8cfac97f7
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfo-1.json
@@ -0,0 +1,41 @@
+{
+ "operationId": "GetNodeInfo",
+ "description": "This example shows how to get information about an node using it's identifier. If the node is found, information about it is returned with 200 status code. If the node is not found, empty content is returned with 204 status code.",
+ "parameters": {
+ "api-version": "6.0",
+ "nodeName": "_Node_1"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Name": "_testnode_0",
+ "IpAddressOrFQDN": "10.0.0.4",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "18688",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "0",
+ "FaultDomain": "fd:/0",
+ "Id": {
+ "Id": "2acb9f55540659b1c95f27cc128ab326"
+ },
+ "InstanceId": "131738240209152398",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T19:33:52.944Z",
+ "NodeDownAt": "2018-06-18T19:33:39.514Z"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList-1.json
new file mode 100644
index 000000000000..c494bff622c5
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList-1.json
@@ -0,0 +1,72 @@
+{
+ "operationId": "GetNodeInfoList",
+ "description": "This example shows how to get information about the nodes in the cluster when the number of results returned is limited by the MaxResults parameter.",
+ "parameters": {
+ "api-version": "6.3",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "2acb9f55540659b1c95f27cc128ab326",
+ "Items": [
+ {
+ "Name": "_testnode_1",
+ "IpAddressOrFQDN": "10.0.0.5",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "102016",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "1",
+ "FaultDomain": "fd:/1",
+ "Id": {
+ "Id": "ebd986a1134b3643a8117fb41b259bf"
+ },
+ "InstanceId": "131738274982501335",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T20:31:39.842Z",
+ "NodeDownAt": "2018-06-18T20:31:37.374Z"
+ },
+ {
+ "Name": "_testnode_0",
+ "IpAddressOrFQDN": "10.0.0.4",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "105483",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "0",
+ "FaultDomain": "fd:/0",
+ "Id": {
+ "Id": "2acb9f55540659b1c95f27cc128ab326"
+ },
+ "InstanceId": "131738240209152398",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T19:33:52.944Z",
+ "NodeDownAt": "2018-06-18T19:33:39.514Z"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList-2.json
new file mode 100644
index 000000000000..79bbd1bf1af7
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList-2.json
@@ -0,0 +1,99 @@
+{
+ "operationId": "GetNodeInfoList",
+ "description": "This example shows how to get information about nodes in the cluster which appear on a sequential page, by using the ContinuationToken parameter.",
+ "parameters": {
+ "api-version": "6.3",
+ "ContinuationToken": "2acb9f55540659b1c95f27cc128ab326"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Name": "_Node_4",
+ "IpAddressOrFQDN": "10.0.0.8",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "101547",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "4",
+ "FaultDomain": "fd:/4",
+ "Id": {
+ "Id": "ba9383d728221add7fa996bf67b757fb"
+ },
+ "InstanceId": "131737415865259763",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-17T20:40:07.378Z",
+ "NodeDownAt": "2018-06-17T20:33:11.877Z"
+ },
+ {
+ "Name": "_Node_3",
+ "IpAddressOrFQDN": "10.0.0.7",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "15615",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "3",
+ "FaultDomain": "fd:/3",
+ "Id": {
+ "Id": "d6a18a0935a3e39aeae2a049eb97255d"
+ },
+ "InstanceId": "131738275300526952",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T20:32:18.884Z",
+ "NodeDownAt": "2018-06-18T20:31:59.128Z"
+ },
+ {
+ "Name": "_Node_2",
+ "IpAddressOrFQDN": "10.0.0.6",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "19819",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "2",
+ "FaultDomain": "fd:/2",
+ "Id": {
+ "Id": "f2af91e5e9c8254dedb75b1424a9e3fc"
+ },
+ "InstanceId": "131738233282843485",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T19:22:15.272Z",
+ "NodeDownAt": "2018-06-18T19:22:02.740Z"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList.json
new file mode 100644
index 000000000000..d38a618440a9
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeInfoList.json
@@ -0,0 +1,152 @@
+{
+ "operationId": "GetNodeInfoList",
+ "description": "This example shows how to get information about all the nodes in the cluster when the information fits in a single response message without the need for paging through ContinuationToken parameter.",
+ "parameters": {
+ "api-version": "6.3"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Name": "_Node_1",
+ "IpAddressOrFQDN": "10.0.0.5",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "15275",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "1",
+ "FaultDomain": "fd:/1",
+ "Id": {
+ "Id": "ebd986a1134b3643a8117fb41b259bf"
+ },
+ "InstanceId": "131738274982501335",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T20:31:39.842Z",
+ "NodeDownAt": "2018-06-18T20:31:37.374Z"
+ },
+ {
+ "Name": "_Node_0",
+ "IpAddressOrFQDN": "10.0.0.4",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "18742",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "0",
+ "FaultDomain": "fd:/0",
+ "Id": {
+ "Id": "2acb9f55540659b1c95f27cc128ab326"
+ },
+ "InstanceId": "131738240209152398",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T19:33:52.944Z",
+ "NodeDownAt": "2018-06-18T19:33:39.514Z"
+ },
+ {
+ "Name": "_Node_4",
+ "IpAddressOrFQDN": "10.0.0.8",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "101168",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "4",
+ "FaultDomain": "fd:/4",
+ "Id": {
+ "Id": "ba9383d728221add7fa996bf67b757fb"
+ },
+ "InstanceId": "131737415865259763",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-17T20:40:07.378Z",
+ "NodeDownAt": "2018-06-17T20:33:11.877Z"
+ },
+ {
+ "Name": "_Node_3",
+ "IpAddressOrFQDN": "10.0.0.7",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "15236",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "3",
+ "FaultDomain": "fd:/3",
+ "Id": {
+ "Id": "d6a18a0935a3e39aeae2a049eb97255d"
+ },
+ "InstanceId": "131738275300526952",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T20:32:18.884Z",
+ "NodeDownAt": "2018-06-18T20:31:59.128Z"
+ },
+ {
+ "Name": "_Node_2",
+ "IpAddressOrFQDN": "10.0.0.6",
+ "Type": "testnode",
+ "CodeVersion": "6.3.139.9494",
+ "ConfigVersion": "5",
+ "NodeStatus": "Up",
+ "NodeUpTimeInSeconds": "19440",
+ "HealthState": "Ok",
+ "IsSeedNode": true,
+ "UpgradeDomain": "2",
+ "FaultDomain": "fd:/2",
+ "Id": {
+ "Id": "f2af91e5e9c8254dedb75b1424a9e3fc"
+ },
+ "InstanceId": "131738233282843485",
+ "NodeDeactivationInfo": {
+ "NodeDeactivationIntent": "Invalid",
+ "NodeDeactivationStatus": "None",
+ "NodeDeactivationTask": [],
+ "PendingSafetyChecks": []
+ },
+ "IsStopped": false,
+ "NodeDownTimeInSeconds": "0",
+ "NodeUpAt": "2018-06-18T19:22:15.272Z",
+ "NodeDownAt": "2018-06-18T19:22:02.740Z"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeTransitionProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeTransitionProgress-Running.json
new file mode 100644
index 000000000000..62ad5c37ec58
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeTransitionProgress-Running.json
@@ -0,0 +1,17 @@
+{
+ "operationId": "GetNodeTransitionProgress",
+ "description": "This shows an example of output when GetTransitionProgress has a State of Running.",
+ "parameters": {
+ "nodeName": "N0060",
+ "OperationId": "ed903556-acf1-489c-9f33-b484c31f9087",
+ "api-version": "6.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "State": "Running"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeTransitionProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeTransitionProgress.json
new file mode 100644
index 000000000000..474ab826b8df
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodeTransitionProgress.json
@@ -0,0 +1,24 @@
+{
+ "operationId": "GetNodeTransitionProgress",
+ "description": "This shows an example of possible output when GetTransitionProgress has reached a State of Completed. If the State has a value of Running, only the State field will have a value.",
+ "parameters": {
+ "nodeName": "N0060",
+ "OperationId": "a9c24269-88e9-4812-b4ad-a0bf2b724ad4",
+ "api-version": "6.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "State": "Completed",
+ "NodeTransitionResult": {
+ "ErrorCode": 0,
+ "NodeResult": {
+ "NodeName": "N0060",
+ "NodeInstanceId": "131366982707950527"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodesEventList.json
new file mode 100644
index 000000000000..7aed70b97f31
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetNodesEventList.json
@@ -0,0 +1,46 @@
+{
+ "operationId": "GetNodesEventList",
+ "description": "This example shows how to get all nodes-related events during a certain time window.",
+ "parameters": {
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "NodeOpenSucceeded",
+ "NodeInstance": 131672596159209215,
+ "NodeId": "ba001a8bb353543e646be031afb10f1e",
+ "UpgradeDomain": "0",
+ "FaultDomain": "fd:/0",
+ "IpAddressOrFQDN": "100.78.240.56",
+ "Hostname": "RD0003FF5089AA",
+ "IsSeedNode": false,
+ "NodeVersion": "6.2:1.0",
+ "NodeName": "node1",
+ "EventInstanceId": "ecbce04a-a42b-4b70-a800-dfc6bc4f9b89",
+ "TimeStamp": "2018-04-03T20:06:55.966073Z",
+ "HasCorrelatedEvents": false
+ },
+ {
+ "Kind": "NodeOpenSucceeded",
+ "NodeInstance": 131672596186027906,
+ "NodeId": "ba03ef91259835c54d674889849a7cee",
+ "UpgradeDomain": "3",
+ "FaultDomain": "fd:/3",
+ "IpAddressOrFQDN": "100.72.76.122",
+ "Hostname": "RD0003FF6047A8",
+ "IsSeedNode": false,
+ "NodeVersion": "6.2:1.0",
+ "NodeName": "node2",
+ "EventInstanceId": "67730c48-752c-4209-bf28-3c121555a4c0",
+ "TimeStamp": "2018-04-03T20:06:58.6357365Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupConfigurationInfo.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupConfigurationInfo.json
new file mode 100644
index 000000000000..dd97740de85f
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupConfigurationInfo.json
@@ -0,0 +1,24 @@
+{
+ "operationId": "GetPartitionBackupConfigurationInfo",
+ "description": "This example shows how to get backup configuration for a partition.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Kind": "Partition",
+ "PolicyName": "BackupPolicy2",
+ "PolicyInheritedFrom": "Service",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "SuspensionInfo": {
+ "IsSuspended": true,
+ "SuspensionInheritedFrom": "Partition"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-1.json
new file mode 100644
index 000000000000..2c5fb63a2bc3
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-1.json
@@ -0,0 +1,64 @@
+{
+ "operationId": "GetPartitionBackupList",
+ "description": "This example shows how to get list of partition backups within a time range.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "StartDateTimeFilter": "2018-01-01T00:00:00Z",
+ "EndDateTimeFilter": "2018-01-01T23:59:59Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "261",
+ "CreationTimeUtc": "2018-01-01T09:00:55Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-2.json
new file mode 100644
index 000000000000..cc627b382457
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-2.json
@@ -0,0 +1,41 @@
+{
+ "operationId": "GetPartitionBackupList",
+ "description": "This example shows how to get the latest backup for the specified partition.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "Latest": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "be06a49c-be67-4eb1-a602-b983605be862",
+ "BackupChainId": "be06a49c-be67-4eb1-a602-b983605be862",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-02 08.59.53.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "639",
+ "CreationTimeUtc": "2018-01-02T08:59:53Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-3.json
new file mode 100644
index 000000000000..2cddad80321f
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-3.json
@@ -0,0 +1,63 @@
+{
+ "operationId": "GetPartitionBackupList",
+ "description": "This example shows how to get list of partition backups. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "Items": [
+ {
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "261",
+ "CreationTimeUtc": "2018-01-01T09:00:55Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-4.json
new file mode 100644
index 000000000000..c73aaece09c8
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupList-4.json
@@ -0,0 +1,42 @@
+{
+ "operationId": "GetPartitionBackupList",
+ "description": "This example shows how to get list of partition backups. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "MaxResults": 2,
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "be06a49c-be67-4eb1-a602-b983605be862",
+ "BackupChainId": "be06a49c-be67-4eb1-a602-b983605be862",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-02 08.59.53.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "639",
+ "CreationTimeUtc": "2018-01-02T08:59:53Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupProgress.json
new file mode 100644
index 000000000000..9d0df23312a6
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionBackupProgress.json
@@ -0,0 +1,25 @@
+{
+ "operationId": "GetPartitionBackupProgress",
+ "description": "This shows an example of possible output when GetPartitionBackupProgress has reached a BackupState of Success. If the BackupState has a value of BackupInProgress, only the BackupState field will have a value.",
+ "parameters": {
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "api-version": "6.4"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "BackupState": "Success",
+ "TimeStampUtc": "2018-01-01T09:00:55Z",
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "261",
+ "FailureError": null
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionEventList.json
new file mode 100644
index 000000000000..bbfca06712e9
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionEventList.json
@@ -0,0 +1,37 @@
+{
+ "operationId": "GetPartitionEventList",
+ "description": "This example shows how to get all partition-related events during a certain time window.",
+ "parameters": {
+ "partitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89",
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "PartitionReconfigured",
+ "NodeName": "node1",
+ "NodeInstanceId": "ba001a8bb353543e646be031afb10f1e",
+ "ServiceType": "Svc1Type",
+ "CcEpochDataLossVersion": 131672604833413107,
+ "CcEpochConfigVersion": 8589934595,
+ "ReconfigType": "Other",
+ "Result": "Completed",
+ "Phase0DurationMs": 0.0,
+ "Phase1DurationMs": 0.0,
+ "Phase2DurationMs": 203.1935,
+ "Phase3DurationMs": 0.0262,
+ "Phase4DurationMs": 628.8527,
+ "TotalDurationMs": 832.0724,
+ "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89",
+ "EventInstanceId": "e00fa5b7-f747-40dd-9e09-f5a031e96de4",
+ "TimeStamp": "2018-04-03T20:21:47.3778996Z",
+ "HasCorrelatedEvents": true
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionRestartProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionRestartProgress.json
new file mode 100644
index 000000000000..074289b470a2
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionRestartProgress.json
@@ -0,0 +1,25 @@
+{
+ "operationId": "GetPartitionRestartProgress",
+ "description": "This shows an example of possible output when GetPartitionRestartProgress has reached a State of Completed. If the State has a value of Running, only the State field will have a value.",
+ "parameters": {
+ "serviceId": "fabric:/myapp/myservice",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "OperationId": "6eb7f0d3-49ca-4cb1-81b7-ac2d56b5c5d1",
+ "api-version": "6.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "State": "Completed",
+ "RestartPartitionResult": {
+ "ErrorCode": 0,
+ "SelectedPartition": {
+ "ServiceName": "fabric:/myapp/myservice",
+ "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionRestoreProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionRestoreProgress.json
new file mode 100644
index 000000000000..da52d1a100b9
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionRestoreProgress.json
@@ -0,0 +1,23 @@
+{
+ "operationId": "GetPartitionRestoreProgress",
+ "description": "This shows an example of possible output when GetPartitionRestoreProgress has reached a RestoreState of Success. If the RestoreState has a value of RestoreInProgress, only the RestoreState field will have a value.",
+ "parameters": {
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "api-version": "6.4"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "RestoreState": "Success",
+ "TimeStampUtc": "2018-01-01T09:00:55Z",
+ "RestoredEpoch": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "RestoredLsn": "261",
+ "FailureError": null
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionsEventList.json
new file mode 100644
index 000000000000..e49c5e402b00
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPartitionsEventList.json
@@ -0,0 +1,56 @@
+{
+ "operationId": "GetPartitionsEventList",
+ "description": "This example shows how to get all partitions-related events during a certain time window.",
+ "parameters": {
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "PartitionReconfigured",
+ "NodeName": "node1",
+ "NodeInstanceId": "ba001a8bb353543e646be031afb10f1e",
+ "ServiceType": "Svc1Type",
+ "CcEpochDataLossVersion": 131672604833413107,
+ "CcEpochConfigVersion": 8589934595,
+ "ReconfigType": "Other",
+ "Result": "Completed",
+ "Phase0DurationMs": 0.0,
+ "Phase1DurationMs": 0.0,
+ "Phase2DurationMs": 203.1935,
+ "Phase3DurationMs": 0.0262,
+ "Phase4DurationMs": 628.8527,
+ "TotalDurationMs": 832.0724,
+ "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89",
+ "EventInstanceId": "e00fa5b7-f747-40dd-9e09-f5a031e96de4",
+ "TimeStamp": "2018-04-03T20:21:47.3778996Z",
+ "HasCorrelatedEvents": true
+ },
+ {
+ "Kind": "PartitionReconfigured",
+ "NodeName": "node2",
+ "NodeInstanceId": "ba0459d257b028296deba8bd5add33cb",
+ "ServiceType": "Svc1Type",
+ "CcEpochDataLossVersion": 131672604833413107,
+ "CcEpochConfigVersion": 8589934596,
+ "ReconfigType": "Other",
+ "Result": "Completed",
+ "Phase0DurationMs": 0.0,
+ "Phase1DurationMs": 0.0,
+ "Phase2DurationMs": 205.667,
+ "Phase3DurationMs": 407.7781,
+ "Phase4DurationMs": 630.0935,
+ "TotalDurationMs": 1243.5386,
+ "PartitionId": "e12acfb3-2a43-4a1a-a252-aa5388ef1aec",
+ "EventInstanceId": "9aeb234a-16ef-4e8a-974e-26c60d6f2b86",
+ "TimeStamp": "2018-04-03T20:21:49.5155104Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfo-1.json
new file mode 100644
index 000000000000..ca5def4be2fb
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfo-1.json
@@ -0,0 +1,29 @@
+{
+ "operationId": "GetPropertyInfo",
+ "description": "This example shows how to get a Service Fabric property under a given name.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples/apps",
+ "PropertyName": "AppData"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Name": "CalculatorAppData",
+ "Value": {
+ "Kind": "String",
+ "Data": "1+2=3"
+ },
+ "Metadata": {
+ "TypeId": "String",
+ "CustomTypeId": "EquationType",
+ "Parent": "fabric:/samples/apps",
+ "SizeInBytes": 12,
+ "LastModifiedUtcTimestamp": "2017-07-17T04:27:19.049Z",
+ "SequenceNumber": "12"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-1.json
new file mode 100644
index 000000000000..5729c6a4e4a2
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-1.json
@@ -0,0 +1,41 @@
+{
+ "operationId": "GetPropertyInfoList",
+ "description": "This example shows how to get all Service Fabric properties under a given name.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples/apps"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "PersistentQueueAppData$131439231986491349",
+ "IsConsistent": true,
+ "Properties": [
+ {
+ "Name": "CalculatorAppData",
+ "Metadata": {
+ "TypeId": "Int64",
+ "CustomTypeId": "",
+ "Parent": "fabric:/samples/apps",
+ "SizeInBytes": 5,
+ "LastModifiedUtcTimestamp": "2017-07-17T04:27:19.049Z",
+ "SequenceNumber": "10"
+ }
+ },
+ {
+ "Name": "PersistentQueueAppData",
+ "Metadata": {
+ "TypeId": "Binary",
+ "CustomTypeId": "InitializationDataType",
+ "Parent": "fabric:/samples/apps",
+ "SizeInBytes": 5,
+ "LastModifiedUtcTimestamp": "2017-07-17T04:36:19.049Z",
+ "SequenceNumber": "12"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-2.json
new file mode 100644
index 000000000000..6a172f23f09a
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-2.json
@@ -0,0 +1,56 @@
+{
+ "operationId": "GetPropertyInfoList",
+ "description": "This example shows how to get all Service Fabric properties and their values under a given name.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples/apps",
+ "IncludeValues": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "PersistentQueueAppData$131439231986491349",
+ "IsConsistent": true,
+ "Properties": [
+ {
+ "Name": "CalculatorAppData",
+ "Value": {
+ "Kind": "Int64",
+ "Data": "4534"
+ },
+ "Metadata": {
+ "TypeId": "Int64",
+ "CustomTypeId": "",
+ "Parent": "fabric:/samples/apps",
+ "SizeInBytes": 8,
+ "LastModifiedUtcTimestamp": "2017-07-17T04:27:19.049Z",
+ "SequenceNumber": "10"
+ }
+ },
+ {
+ "Name": "PersistentQueueAppData",
+ "Value": {
+ "Kind": "Binary",
+ "Data": [
+ 6,
+ 7,
+ 8,
+ 9,
+ 10
+ ]
+ },
+ "Metadata": {
+ "TypeId": "Binary",
+ "CustomTypeId": "InitializationDataType",
+ "Parent": "fabric:/samples/apps",
+ "SizeInBytes": 5,
+ "LastModifiedUtcTimestamp": "2017-07-17T04:36:19.049Z",
+ "SequenceNumber": "12"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-3.json
new file mode 100644
index 000000000000..ce12465b6ce6
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetPropertyInfoList-3.json
@@ -0,0 +1,36 @@
+{
+ "operationId": "GetPropertyInfoList",
+ "description": "This example shows how to page through the information about properties under a given Service Fabric name using ContinuationToken parameter. The value of this parameter is provided from the previous query, in this case the example shown above. The response contains the remaining two results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples/apps",
+ "IncludeValues": true,
+ "ContinuationToken": "PersistentQueueAppData$131439231986491349"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "IsConsistent": true,
+ "Properties": [
+ {
+ "Name": "VolatileQueueAppData",
+ "Value": {
+ "Kind": "Double",
+ "Data": 67.89
+ },
+ "Metadata": {
+ "TypeId": "Double",
+ "CustomTypeId": "",
+ "Parent": "fabric:/samples/apps",
+ "SizeInBytes": 8,
+ "LastModifiedUtcTimestamp": "2017-07-17T04:01:19.049Z",
+ "SequenceNumber": "8"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetQuorumLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetQuorumLossProgress-Running.json
new file mode 100644
index 000000000000..203fb157db03
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetQuorumLossProgress-Running.json
@@ -0,0 +1,18 @@
+{
+ "operationId": "GetQuorumLossProgress",
+ "description": "This shows an example of possible output when GetQuorumLossProgress has a State of Running. If the State has a value of Running, only the State field will have a value.",
+ "parameters": {
+ "serviceId": "fabric:/myapp/myservice",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "OperationId": "81fbaee7-4f49-44bb-a350-4cb2b51dbf26",
+ "api-version": "6.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "State": "Running"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetQuorumLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetQuorumLossProgress.json
new file mode 100644
index 000000000000..c86fd0d2b31d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetQuorumLossProgress.json
@@ -0,0 +1,25 @@
+{
+ "operationId": "GetQuorumLossProgress",
+ "description": "This shows an example of possible output when GetQuorumLossProgress has reached a State of Completed. If the State has a value of Running, only the State field will have a value.",
+ "parameters": {
+ "serviceId": "fabric:/myapp/myservice",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "OperationId": "81fbaee7-4f49-44bb-a350-4cb2b51dbf26",
+ "api-version": "6.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "State": "Completed",
+ "InvokeQuorumLossResult": {
+ "ErrorCode": 0,
+ "SelectedPartition": {
+ "ServiceName": "fabric:/myapp/myservice",
+ "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetReplicaEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetReplicaEventList.json
new file mode 100644
index 000000000000..a3b517117bac
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetReplicaEventList.json
@@ -0,0 +1,35 @@
+{
+ "operationId": "GetPartitionReplicaEventList",
+ "description": "This example shows how to get all replica-related events during a certain time window.",
+ "parameters": {
+ "partitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89",
+ "replicaId": 131672608994209130,
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "StatefulReplicaNewHealthReport",
+ "ReplicaInstanceId": 131672608994209130,
+ "SourceId": "TestSource",
+ "Property": "",
+ "HealthState": "Error",
+ "TimeToLiveMs": 922337203685477,
+ "SequenceNumber": 131672654189677787,
+ "Description": "",
+ "RemoveWhenExpired": false,
+ "SourceUtcTimestamp": "2018-04-03T21:43:38Z",
+ "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89",
+ "ReplicaId": 131672608994209130,
+ "EventInstanceId": "b2684da3-df81-4add-8baa-201f73e9195d",
+ "TimeStamp": "2018-04-03T21:43:38.8904013Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetReplicasEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetReplicasEventList.json
new file mode 100644
index 000000000000..1d2e9212dfcc
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetReplicasEventList.json
@@ -0,0 +1,51 @@
+{
+ "operationId": "GetPartitionReplicasEventList",
+ "description": "This example shows how to get all replicas-related events during a certain time window.",
+ "parameters": {
+ "partitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89",
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "StatefulReplicaNewHealthReport",
+ "ReplicaInstanceId": 131672608994209130,
+ "SourceId": "TestSource",
+ "Property": "",
+ "HealthState": "Error",
+ "TimeToLiveMs": 922337203685477,
+ "SequenceNumber": 131672654189677787,
+ "Description": "",
+ "RemoveWhenExpired": false,
+ "SourceUtcTimestamp": "2018-04-03T21:43:38Z",
+ "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89",
+ "ReplicaId": 131672608994209130,
+ "EventInstanceId": "b2684da3-df81-4add-8baa-201f73e9195d",
+ "TimeStamp": "2018-04-03T21:43:38.8904013Z",
+ "HasCorrelatedEvents": false
+ },
+ {
+ "Kind": "StatefulReplicaNewHealthReport",
+ "ReplicaInstanceId": 177872608994339550,
+ "SourceId": "TestSource",
+ "Property": "",
+ "HealthState": "Error",
+ "TimeToLiveMs": 922337203685477,
+ "SequenceNumber": 131672654189677788,
+ "Description": "",
+ "RemoveWhenExpired": false,
+ "SourceUtcTimestamp": "2018-04-03T21:44:38Z",
+ "PartitionId": "f549f3b3-08c2-4ec4-adb4-415e024cb0ef",
+ "ReplicaId": 177872608994339550,
+ "EventInstanceId": "4a8851d8-35a3-4618-b4ac-03ffa191c350",
+ "TimeStamp": "2018-04-03T21:44:38.8904013Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupConfigurationInfo-1.json
new file mode 100644
index 000000000000..ab37c65b803f
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupConfigurationInfo-1.json
@@ -0,0 +1,40 @@
+{
+ "operationId": "GetServiceBackupConfigurationInfo",
+ "description": "This example shows how to get list of backup configuration for this service and partitions under this service. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "Items": [
+ {
+ "Kind": "Service",
+ "PolicyName": "BackupPolicy1",
+ "PolicyInheritedFrom": "Application",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "SuspensionInfo": {
+ "IsSuspended": false,
+ "SuspensionInheritedFrom": "Invalid"
+ }
+ },
+ {
+ "Kind": "Partition",
+ "PolicyName": "BackupPolicy2",
+ "PolicyInheritedFrom": "Partition",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "SuspensionInfo": {
+ "IsSuspended": false,
+ "SuspensionInheritedFrom": "Invalid"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupConfigurationInfo-2.json
new file mode 100644
index 000000000000..76e7e948550d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupConfigurationInfo-2.json
@@ -0,0 +1,31 @@
+{
+ "operationId": "GetServiceBackupConfigurationInfo",
+ "description": "This example shows how to get list of backup configuration for this service and partitions under this service. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService",
+ "MaxResults": 2,
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "Kind": "Partition",
+ "PolicyName": "BackupPolicy1",
+ "PolicyInheritedFrom": "Application",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionId": "7216486c-1ee9-4b00-99b2-92b26fcb07f6",
+ "SuspensionInfo": {
+ "IsSuspended": true,
+ "SuspensionInheritedFrom": "Partition"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-1.json
new file mode 100644
index 000000000000..b561b1b20f84
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-1.json
@@ -0,0 +1,108 @@
+{
+ "operationId": "GetServiceBackupList",
+ "description": "This example shows how to get list of service backups within a time range.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService",
+ "StartDateTimeFilter": "2018-01-01T00:00:00Z",
+ "EndDateTimeFilter": "2018-01-01T23:59:59Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "261",
+ "CreationTimeUtc": "2018-01-01T09:00:55Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "161",
+ "CreationTimeUtc": "2018-01-01T09:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "246",
+ "CreationTimeUtc": "2018-01-01T17:00:34Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-2.json
new file mode 100644
index 000000000000..df570db76649
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-2.json
@@ -0,0 +1,63 @@
+{
+ "operationId": "GetServiceBackupList",
+ "description": "This example shows how to get the latest backup for each partition within a service.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService",
+ "Latest": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "246",
+ "CreationTimeUtc": "2018-01-01T17:00:34Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-3.json
new file mode 100644
index 000000000000..5b162231a889
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-3.json
@@ -0,0 +1,63 @@
+{
+ "operationId": "GetServiceBackupList",
+ "description": "This example shows how to get list of service backups. The number of results in a page are limited to maximum of two using the MaxResult parameter.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService",
+ "MaxResults": 2
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "Items": [
+ {
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "261",
+ "CreationTimeUtc": "2018-01-01T09:00:55Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd",
+ "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "446",
+ "CreationTimeUtc": "2018-01-01T17:01:02Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-4.json
new file mode 100644
index 000000000000..7420d61aca49
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceBackupList-4.json
@@ -0,0 +1,64 @@
+{
+ "operationId": "GetServiceBackupList",
+ "description": "This example shows how to get list of service backups. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService",
+ "MaxResults": 2,
+ "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip",
+ "BackupType": "Full",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "161",
+ "CreationTimeUtc": "2018-01-01T09:01:02Z",
+ "FailureError": null
+ },
+ {
+ "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc",
+ "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014",
+ "ApplicationName": "fabric:/CalcApp",
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceName": "fabric:/CalcApp/CalcService",
+ "PartitionInformation": {
+ "LowKey": "-9223372036854775808",
+ "HighKey": "9223372036854775807",
+ "ServicePartitionKind": "Int64Range",
+ "Id": "81645ec7-d260-4c59-9533-8f129bde8e83"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip",
+ "BackupType": "Incremental",
+ "EpochOfLastBackupRecord": {
+ "DataLossVersion": "131462452931584510",
+ "ConfigurationVersion": "8589934592"
+ },
+ "LsnOfLastBackupRecord": "246",
+ "CreationTimeUtc": "2018-01-01T17:00:34Z",
+ "FailureError": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceEventList.json
new file mode 100644
index 000000000000..fdaa115873cd
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceEventList.json
@@ -0,0 +1,34 @@
+{
+ "operationId": "GetServiceEventList",
+ "description": "This example shows how to get all service-related events during a certain time window.",
+ "parameters": {
+ "serviceId": "app1~svc1",
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "ServiceCreated",
+ "ServiceTypeName": "Svc1Type",
+ "ApplicationName": "fabric:/app1",
+ "ApplicationTypeName": "App1Type",
+ "ServiceInstance": 131672605579916062,
+ "IsStateful": true,
+ "PartitionCount": 2,
+ "TargetReplicaSetSize": 3,
+ "MinReplicaSetSize": 2,
+ "ServicePackageVersion": "1.0:1.0",
+ "PartitionId": "bd936249-183d-4e29-94ab-2e198e4e2e87",
+ "ServiceId": "app1/svc1",
+ "EventInstanceId": "8ba26506-4a93-4b8c-ae14-29a2841b3003",
+ "TimeStamp": "2018-04-03T20:22:38.0560496Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceTypeInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceTypeInfoByName-1.json
new file mode 100644
index 000000000000..4340954856fe
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceTypeInfoByName-1.json
@@ -0,0 +1,36 @@
+{
+ "operationId": "GetServiceTypeInfoByName",
+ "description": "This example shows how to get information about a specific service type. A 204 response is returned if the specified service type is not found in the cluster.",
+ "parameters": {
+ "api-version": "6.0",
+ "applicationTypeName": "Application2Type",
+ "ApplicationTypeVersion": "1.0.0",
+ "serviceTypeName": "Actor1ActorServiceType"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ServiceTypeDescription": {
+ "IsStateful": true,
+ "ServiceTypeName": "Actor1ActorServiceType",
+ "PlacementConstraints": "",
+ "HasPersistedState": true,
+ "Kind": "Stateful",
+ "Extensions": [
+ {
+ "Key": "__GeneratedServiceType__",
+ "Value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n "
+ }
+ ],
+ "LoadMetrics": [],
+ "ServicePlacementPolicies": []
+ },
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceManifestName": "Actor1Pkg",
+ "IsServiceGroup": false
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceTypeInfoList-1.json
new file mode 100644
index 000000000000..a4481bfa08c0
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServiceTypeInfoList-1.json
@@ -0,0 +1,36 @@
+{
+ "operationId": "GetServiceTypeInfoList",
+ "description": "This example shows how to get information about service types that are supported by a provisioned application type in a Service Fabric cluster.",
+ "parameters": {
+ "api-version": "6.0",
+ "applicationTypeName": "Application2Type",
+ "ApplicationTypeVersion": "1.0.0"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "ServiceTypeDescription": {
+ "IsStateful": true,
+ "ServiceTypeName": "Actor1ActorServiceType",
+ "PlacementConstraints": "",
+ "HasPersistedState": true,
+ "Kind": "Stateful",
+ "Extensions": [
+ {
+ "Key": "__GeneratedServiceType__",
+ "Value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n "
+ }
+ ],
+ "LoadMetrics": [],
+ "ServicePlacementPolicies": []
+ },
+ "ServiceManifestVersion": "1.0.0",
+ "ServiceManifestName": "Actor1Pkg",
+ "IsServiceGroup": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServicesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServicesEventList.json
new file mode 100644
index 000000000000..2d5863180a5a
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetServicesEventList.json
@@ -0,0 +1,50 @@
+{
+ "operationId": "GetServicesEventList",
+ "description": "This example shows how to get all services-related events during a certain time window.",
+ "parameters": {
+ "api-version": "6.4",
+ "StartTimeUtc": "2018-04-03T18:00:00Z",
+ "EndTimeUtc": "2018-04-04T18:00:00Z"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "Kind": "ServiceCreated",
+ "ServiceTypeName": "Svc1Type",
+ "ApplicationName": "fabric:/app1",
+ "ApplicationTypeName": "App1Type",
+ "ServiceInstance": 131672605579916062,
+ "IsStateful": true,
+ "PartitionCount": 2,
+ "TargetReplicaSetSize": 3,
+ "MinReplicaSetSize": 2,
+ "ServicePackageVersion": "1.0:1.0",
+ "PartitionId": "bd936249-183d-4e29-94ab-2e198e4e2e87",
+ "ServiceId": "app1/svc1",
+ "EventInstanceId": "8ba26506-4a93-4b8c-ae14-29a2841b3003",
+ "TimeStamp": "2018-04-03T20:22:38.0560496Z",
+ "HasCorrelatedEvents": false
+ },
+ {
+ "Kind": "ServiceCreated",
+ "ServiceTypeName": "Svc2Type",
+ "ApplicationName": "fabric:/app1",
+ "ApplicationTypeName": "App1Type",
+ "ServiceInstance": 131672605579916062,
+ "IsStateful": true,
+ "PartitionCount": 2,
+ "TargetReplicaSetSize": 3,
+ "MinReplicaSetSize": 2,
+ "ServicePackageVersion": "1.0:1.0",
+ "PartitionId": "87413d64-0134-4b23-a439-c2692c4e3ec3",
+ "ServiceId": "app1/svc2",
+ "EventInstanceId": "03246d3b-77f5-4ca2-b065-7b8671711318",
+ "TimeStamp": "2018-04-03T20:22:38.056197Z",
+ "HasCorrelatedEvents": false
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-1.json
new file mode 100644
index 000000000000..282319140d86
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-1.json
@@ -0,0 +1,21 @@
+{
+ "operationId": "GetSubNameInfoList",
+ "description": "This example shows how to get information about all sub names of a given Service Fabric name.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "IsConsistent": true,
+ "SubNames": [
+ "fabric:/samples/CalculatorApp",
+ "fabric:/samples/mynames"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-2.json
new file mode 100644
index 000000000000..15391854f370
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-2.json
@@ -0,0 +1,27 @@
+{
+ "operationId": "GetSubNameInfoList",
+ "description": "This example shows how to recursively get information about all child sub names of a given Service Fabric name.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples",
+ "Recursive": true
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "IsConsistent": true,
+ "SubNames": [
+ "fabric:/samples/apps",
+ "fabric:/samples/data",
+ "fabric:/samples/CalculatorApp",
+ "fabric:/samples/CalculatorApp/CalculatorService",
+ "fabric:/samples/CalculatorApp/CalculatorService/Name-1",
+ "fabric:/samples/CalculatorApp/CalculatorService/Name-2",
+ "fabric:/samples/mynames/name-1"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-3.json
new file mode 100644
index 000000000000..bf07c9c58bc4
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetSubNameInfoList-3.json
@@ -0,0 +1,23 @@
+{
+ "operationId": "GetSubNameInfoList",
+ "description": "This example shows how to page through the information about sub names under a given Service Fabric name using ContinuationToken parameter. The value of this parameter is provided from the previous query, in this case the example shown above. The response contains the remaining two results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples",
+ "Recursive": true,
+ "ContinuationToken": "fabric:/samples/apps/PersistentQueueApp$131439231986491349"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "IsConsistent": true,
+ "SubNames": [
+ "fabric:/samples/apps/VolatileQueueApp",
+ "fabric:/samples/apps/NotepadApp"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetUploadSessionById.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetUploadSessionById.json
new file mode 100644
index 000000000000..c565a13cfcbc
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetUploadSessionById.json
@@ -0,0 +1,33 @@
+{
+ "operationId": "GetImageStoreUploadSessionById",
+ "description": "This example shows how to get image store upload session by a given ID.",
+ "parameters": {
+ "api-version": "6.0",
+ "session-id": "4a2340e8-d8d8-497c-95fe-cdaa1052f33b"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "UploadSessions": [
+ {
+ "StoreRelativePath": "SwaggerTest\\Common.dll",
+ "SessionId": "4a2340e8-d8d8-497c-95fe-cdaa1052f33b",
+ "FileSize": "2097152",
+ "ModifiedDate": "2017-09-28T17:06:37.260Z",
+ "ExpectedRanges": [
+ {
+ "StartPosition": "0",
+ "EndPosition": "402128"
+ },
+ {
+ "StartPosition": "730105",
+ "EndPosition": "2097151"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetUploadSessionByPath.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetUploadSessionByPath.json
new file mode 100644
index 000000000000..8dc66b6d107d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/GetUploadSessionByPath.json
@@ -0,0 +1,49 @@
+{
+ "operationId": "GetImageStoreUploadSessionByPath",
+ "description": "This example shows how to get image store upload session by a given relative path.",
+ "parameters": {
+ "api-version": "6.0",
+ "contentPath": "SwaggerTest\\Common.dll"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "UploadSessions": [
+ {
+ "StoreRelativePath": "SwaggerTest\\Common.dll",
+ "SessionId": "2032ac6c-a348-4594-86da-dab0f2bb1ae1",
+ "FileSize": "2097152",
+ "ModifiedDate": "2017-09-28T17:28:11.627Z",
+ "ExpectedRanges": [
+ {
+ "StartPosition": "0",
+ "EndPosition": "207615"
+ },
+ {
+ "StartPosition": "626977",
+ "EndPosition": "2097151"
+ }
+ ]
+ },
+ {
+ "StoreRelativePath": "SwaggerTest\\Common.dll",
+ "SessionId": "fb2da2b2-7cb4-45d2-a2e6-c4888d205bc5",
+ "FileSize": "2097152",
+ "ModifiedDate": "2017-09-28T17:28:11.643Z",
+ "ExpectedRanges": [
+ {
+ "StartPosition": "0",
+ "EndPosition": "616947"
+ },
+ {
+ "StartPosition": "1087529",
+ "EndPosition": "2097151"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/InvokeContainerApi.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/InvokeContainerApi.json
new file mode 100644
index 000000000000..bfe285758eec
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/InvokeContainerApi.json
@@ -0,0 +1,27 @@
+{
+ "operationId": "InvokeContainerApi",
+ "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.",
+ "parameters": {
+ "api-version": "6.2",
+ "nodeName": "Node01",
+ "applicationId": "samples/winnodejs",
+ "ServiceManifestName": "NodeServicePackage",
+ "CodePackageName": "NodeService.Code",
+ "CodePackageInstanceId": "131668159770315380",
+ "ContainerApiRequestBody": {
+ "UriPath": "/containers/{id}/logs?stdout=true&stderr=true"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContainerApiResult": {
+ "Status": 200,
+ "Content-Type": "text/plain; charset=utf-8",
+ "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/InvokeContainerApi_Post.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/InvokeContainerApi_Post.json
new file mode 100644
index 000000000000..0042fd341de0
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/InvokeContainerApi_Post.json
@@ -0,0 +1,29 @@
+{
+ "operationId": "InvokeContainerApi",
+ "description": "This example shows how to call container API with HTTP POST for a code package deployed on a node.",
+ "parameters": {
+ "api-version": "6.2",
+ "nodeName": "N0020",
+ "applicationId": "samples/nodejs1",
+ "ServiceManifestName": "NodeOnSF",
+ "CodePackageName": "Code",
+ "CodePackageInstanceId": "131673596679688285",
+ "ContainerApiRequestBody": {
+ "HttpVerb": "POST",
+ "UriPath": "/containers/{id}/update",
+ "Body": "{ \"CpuShares\": 512}"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContainerApiResult": {
+ "Status": 200,
+ "Content-Type": "application/json",
+ "Body": "{\"Warnings\":null}\n"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/PutProperty-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/PutProperty-1.json
new file mode 100644
index 000000000000..8eee209e7c7b
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/PutProperty-1.json
@@ -0,0 +1,25 @@
+{
+ "operationId": "PutProperty",
+ "description": "This example shows how to create or update a Service Fabric property under a given name.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples/apps/CalculatorApp",
+ "PropertyDescription": {
+ "PropertyName": "AppData",
+ "Value": {
+ "Kind": "Binary",
+ "Data": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/PutProperty-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/PutProperty-2.json
new file mode 100644
index 000000000000..5db6a9ad77f7
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/PutProperty-2.json
@@ -0,0 +1,19 @@
+{
+ "operationId": "PutProperty",
+ "description": "This example shows how to create or update a Service Fabric property under a given name with a custom type.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples/apps/CalculatorApp",
+ "PropertyDescription": {
+ "PropertyName": "AppData",
+ "Value": {
+ "Kind": "String",
+ "Data": "1+2=3"
+ },
+ "CustomTypeId": "EquationType"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json
new file mode 100644
index 000000000000..5f17ef376d9d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json
@@ -0,0 +1,18 @@
+{
+ "operationId": "MeshCodePackage_GetContainerLogs",
+ "description": "This example shows how to get logs from the container of service replica. If the container exists, the logs are returned with an OK (200) status code, otherwise an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sbzDocApp",
+ "serviceResourceName": "sbzDocService",
+ "replicaName": "0",
+ "codePackageName": "sbzDocCode"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "Content": " * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)\n * Downloading style https://assets-cdn.github.com/assets/frameworks-8f281eb0a8d2308ceb36e714ba3c3aec.css\n * Downloading style https://assets-cdn.github.com/assets/github-a698da0d53574b056d3c79ac732d4a70.css\n * Downloading style https://assets-cdn.github.com/assets/site-83dc1f7ebc9c7461fe1eab799b56c4c4.css\n * Cached all downloads in /root/.grip/cache-4.5.2\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET / HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET /__/grip/asset/frameworks-8f281eb0a8d2308ceb36e714ba3c3aec.css HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET /__/grip/asset/site-83dc1f7ebc9c7461fe1eab799b56c4c4.css HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET /__/grip/asset/github-a698da0d53574b056d3c79ac732d4a70.css HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET /__/grip/static/octicons/octicons.css HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:03] \"GET /__/grip/static/octicons/octicons.woff2?ef21c39f0ca9b1b5116e5eb7ac5eabe6 HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:03] \"GET /__/grip/static/favicon.ico HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:05] \"GET /seabreeze-index.md HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:09] \"GET /seabreeze-api-application_get.md HTTP/1.1\" 200 -\n"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/get.json
new file mode 100644
index 000000000000..bb373e90c328
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/get.json
@@ -0,0 +1,57 @@
+{
+ "operationId": "MeshServiceReplica_Get",
+ "description": "This example shows how to get information about given replica of a service. If the replica exists, its description is returned along with an OK (200) status code. If the replica does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication",
+ "serviceResourceName": "helloWorldService",
+ "replicaName": "0"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "osType": "Linux",
+ "codePackages": [
+ {
+ "name": "helloWorldCode",
+ "image": "seabreeze/sbz-helloworld:1.0-alpine",
+ "endpoints": [
+ {
+ "name": "helloWorldListener",
+ "port": 80
+ }
+ ],
+ "resources": {
+ "requests": {
+ "memoryInGB": 1,
+ "cpu": 1
+ }
+ },
+ "instanceView": {
+ "restartCount": 1,
+ "currentState": {
+ "state": "Running",
+ "exitCode": "0"
+ },
+ "previousState": {
+ "state": "NotSpecified",
+ "exitCode": "0"
+ }
+ }
+ }
+ ],
+ "networkRefs": [
+ {
+ "name": "sampleNetwork",
+ "endpointRefs": [
+ {
+ "name": "helloWorldListener"
+ }
+ ]
+ }
+ ],
+ "replicaName": "0"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/list.json
new file mode 100644
index 000000000000..1fe9b30fb836
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/Replicas/list.json
@@ -0,0 +1,105 @@
+{
+ "operationId": "MeshServiceReplica_List",
+ "description": "This example shows how to list replicas of a service resources for a given application.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication",
+ "serviceResourceName": "helloWorldService"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "osType": "Linux",
+ "codePackages": [
+ {
+ "name": "helloWorldCode",
+ "image": "seabreeze/sbz-helloworld:1.0-alpine",
+ "endpoints": [
+ {
+ "name": "helloWorldListener",
+ "port": 80
+ }
+ ],
+ "resources": {
+ "requests": {
+ "memoryInGB": 1,
+ "cpu": 1
+ }
+ },
+ "instanceView": {
+ "restartCount": 1,
+ "currentState": {
+ "state": "Running",
+ "exitCode": "0"
+ },
+ "previousState": {
+ "state": "NotSpecified",
+ "exitCode": "0"
+ }
+ }
+ }
+ ],
+ "networkRefs": [
+ {
+ "name": "sampleNetwork",
+ "endpointRefs": [
+ {
+ "name": "helloWorldListener"
+ }
+ ]
+ }
+ ],
+ "replicaName": "0"
+ },
+ {
+ "osType": "Linux",
+ "codePackages": [
+ {
+ "name": "helloWorldCode",
+ "image": "seabreeze/sbz-helloworld:1.0-alpine",
+ "endpoints": [
+ {
+ "name": "helloWorldListener",
+ "port": 80
+ }
+ ],
+ "resources": {
+ "requests": {
+ "memoryInGB": 1,
+ "cpu": 1
+ }
+ },
+ "instanceView": {
+ "restartCount": 1,
+ "currentState": {
+ "state": "Running",
+ "exitCode": "0"
+ },
+ "previousState": {
+ "state": "NotSpecified",
+ "exitCode": "0"
+ }
+ }
+ }
+ ],
+ "networkRefs": [
+ {
+ "name": "sampleNetwork",
+ "endpointRefs": [
+ {
+ "name": "helloWorldListener"
+ }
+ ]
+ }
+ ],
+ "replicaName": "1"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/get.json
new file mode 100644
index 000000000000..45224d3a66f8
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/get.json
@@ -0,0 +1,51 @@
+{
+ "operationId": "MeshService_Get",
+ "description": "This example shows how to get a service resource for a given application. If the service resource exists, its description is returned along with an OK (200) status code. If the service resource does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication",
+ "serviceResourceName": "helloWorldService"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "helloWorldService",
+ "properties": {
+ "osType": "Linux",
+ "codePackages": [
+ {
+ "name": "helloWorldCode",
+ "image": "seabreeze/sbz-helloworld:1.0-alpine",
+ "endpoints": [
+ {
+ "name": "helloWorldListener",
+ "port": 80
+ }
+ ],
+ "resources": {
+ "requests": {
+ "memoryInGB": 1,
+ "cpu": 1
+ }
+ }
+ }
+ ],
+ "networkRefs": [
+ {
+ "name": "sampleNetwork",
+ "endpointRefs": [
+ {
+ "name": "helloWorldListener"
+ }
+ ]
+ }
+ ],
+ "description": "SeaBreeze Hello World Service.",
+ "replicaCount": 1,
+ "healthState": "Ok",
+ "status": "Ready"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/list.json
new file mode 100644
index 000000000000..3df5e396c764
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/Services/list.json
@@ -0,0 +1,56 @@
+{
+ "operationId": "MeshService_List",
+ "description": "This example shows how to list all service resources for a given application.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "name": "helloWorldService",
+ "properties": {
+ "osType": "Linux",
+ "codePackages": [
+ {
+ "name": "helloWorldCode",
+ "image": "seabreeze/sbz-helloworld:1.0-alpine",
+ "endpoints": [
+ {
+ "name": "helloWorldListener",
+ "port": 80
+ }
+ ],
+ "resources": {
+ "requests": {
+ "memoryInGB": 1,
+ "cpu": 1
+ }
+ }
+ }
+ ],
+ "networkRefs": [
+ {
+ "name": "sampleNetwork",
+ "endpointRefs": [
+ {
+ "name": "helloWorldListener"
+ }
+ ]
+ }
+ ],
+ "description": "SeaBreeze Hello World Service.",
+ "replicaCount": 1,
+ "healthState": "Ok",
+ "status": "Ready"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/create_update.autoscale.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/create_update.autoscale.json
new file mode 100644
index 000000000000..0724c6866414
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/create_update.autoscale.json
@@ -0,0 +1,102 @@
+{
+ "operationId": "MeshApplication_CreateOrUpdate",
+ "description": "This example shows how to create or update a application resource with services that autoscale based on the policies.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication",
+ "applicationResourceDescription": {
+ "name": "sampleApplication",
+ "properties": {
+ "description": "Service Fabric Mesh sample application.",
+ "services": [
+ {
+ "name": "helloWorldService",
+ "properties": {
+ "description": "SeaBreeze Hello World Service.",
+ "osType": "linux",
+ "codePackages": [
+ {
+ "name": "helloWorldCode",
+ "image": "seabreeze/sbz-helloworld:1.0-alpine",
+ "endpoints": [
+ {
+ "name": "helloWorldListener",
+ "port": 80
+ }
+ ],
+ "resources": {
+ "requests": {
+ "memoryInGB": 1,
+ "cpu": 1
+ }
+ }
+ }
+ ],
+ "replicaCount": 1,
+ "autoScalingPolicies": [
+ {
+ "name": "MyAutoScaleRule",
+ "trigger": {
+ "kind": "AverageLoad",
+ "metric": {
+ "kind": "Resource",
+ "name": "cpu"
+ },
+ "lowerLoadThreshold": 0.3,
+ "upperLoadThreshold": 0.8,
+ "scaleIntervalInSeconds": 3600
+ },
+ "mechanism": {
+ "kind": "AddRemoveReplica",
+ "minCount": 1,
+ "maxCount": 4,
+ "scaleIncrement": 1
+ }
+ }
+ ],
+ "networkRefs": [
+ {
+ "name": "sampleNetwork",
+ "endpointRefs": [
+ {
+ "name": "helloWorldListener"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleApplication",
+ "properties": {
+ "description": "Service Fabric Mesh sample application.",
+ "serviceNames": [
+ "helloWorldService"
+ ],
+ "healthState": "Ok",
+ "status": "Ready"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "sampleApplication",
+ "properties": {
+ "description": "Service Fabric Mesh sample application.",
+ "serviceNames": [
+ "helloWorldService"
+ ],
+ "healthState": "Unknown",
+ "status": "Creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/create_update.json
new file mode 100644
index 000000000000..0314b476a55a
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/create_update.json
@@ -0,0 +1,139 @@
+{
+ "operationId": "MeshApplication_CreateOrUpdate",
+ "description": "This example shows how to create or update a application resource.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication",
+ "applicationResourceDescription": {
+ "name": "sampleApplication",
+ "properties": {
+ "description": "Service Fabric Mesh sample application.",
+ "services": [
+ {
+ "name": "helloWorldService",
+ "identityRefs": [
+ {
+ "name": "ServiceIdentity1",
+ "identityRef": "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1"
+ },
+ {
+ "name": "ServiceIdentity2",
+ "identityRef": "SystemAssigned"
+ }
+ ],
+ "properties": {
+ "description": "SeaBreeze Hello World Service.",
+ "osType": "linux",
+ "codePackages": [
+ {
+ "name": "helloWorldCode",
+ "image": "seabreeze/sbz-helloworld:1.0-alpine",
+ "endpoints": [
+ {
+ "name": "helloWorldListener",
+ "port": 80
+ }
+ ],
+ "resources": {
+ "requests": {
+ "memoryInGB": 1,
+ "cpu": 1
+ }
+ }
+ }
+ ],
+ "replicaCount": 1,
+ "networkRefs": [
+ {
+ "name": "sampleNetwork",
+ "endpointRefs": [
+ {
+ "name": "helloWorldListener"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "tokenServiceEndpoint": "http://tokenservice",
+ "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567",
+ "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C",
+ "userAssignedIdentities": {
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": {
+ "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4",
+ "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8"
+ },
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": {
+ "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1",
+ "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleApplication",
+ "properties": {
+ "description": "Service Fabric Mesh sample application.",
+ "serviceNames": [
+ "helloWorldService"
+ ],
+ "healthState": "Ok",
+ "status": "Ready"
+ },
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "tokenServiceEndpoint": "http://tokenservice",
+ "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567",
+ "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C",
+ "userAssignedIdentities": {
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": {
+ "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4",
+ "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8"
+ },
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": {
+ "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1",
+ "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0"
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "sampleApplication",
+ "properties": {
+ "description": "Service Fabric Mesh sample application.",
+ "serviceNames": [
+ "helloWorldService"
+ ],
+ "healthState": "Unknown",
+ "status": "Creating"
+ },
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "tokenServiceEndpoint": "http://tokenservice",
+ "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567",
+ "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C",
+ "userAssignedIdentities": {
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": {
+ "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4",
+ "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8"
+ },
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": {
+ "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1",
+ "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0"
+ }
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/delete.json
new file mode 100644
index 000000000000..b51511b0865d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/delete.json
@@ -0,0 +1,13 @@
+{
+ "operationId": "MeshApplication_Delete",
+ "description": "This example shows how to delete an existing application resource. If the application resource exists and is deleted successfully, an empty response with 200 status code is returned. If the application resource does not exist, an empty response with 204 status code is returned.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/get.json
new file mode 100644
index 000000000000..208ccd280bbd
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/get.json
@@ -0,0 +1,39 @@
+{
+ "operationId": "MeshApplication_Get",
+ "description": "This example shows how to get a application resource. If the application resource exists, its description is returned along with an OK (200) status code. If the application resource does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleApplication",
+ "properties": {
+ "description": "Service Fabric Mesh sample application.",
+ "serviceNames": [
+ "helloWorldService"
+ ],
+ "healthState": "Ok",
+ "status": "Ready"
+ },
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "tokenServiceEndpoint": "http://tokenservice",
+ "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567",
+ "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C",
+ "userAssignedIdentities": {
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": {
+ "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4",
+ "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8"
+ },
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": {
+ "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1",
+ "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/get_upgrade.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/get_upgrade.json
new file mode 100644
index 000000000000..61be95fa11b7
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/get_upgrade.json
@@ -0,0 +1,30 @@
+{
+ "operationId": "MeshApplication_GetUpgradeProgress",
+ "description": "This example shows how to get a application resource upgrade. If the application resource exists, its description is returned along with an OK (200) status code. If the application resource does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "applicationResourceName": "sampleApplication"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "Name": "sampleApplication",
+ "TargetApplicationTypeVersion": "v1",
+ "StartTimestampUtc": "0001-01-01T00:00:00.000Z",
+ "UpgradeState": "RollingForward",
+ "PercentCompleted": "0",
+ "ServiceUpgradeProgress": [
+ {
+ "ServiceName": "helloWorldService",
+ "CompletedReplicaCount": "0",
+ "PendingReplicaCount": "3"
+ }
+ ],
+ "RollingUpgradeMode": "Monitored",
+ "UpgradeDuration": "PT0H0M2.31669S",
+ "ApplicationUpgradeStatusDetails": "Deployment upgrading from version: v0 to version: v1.",
+ "UpgradeReplicaSetCheckTimeoutInSeconds": 4294967295
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/list.json
new file mode 100644
index 000000000000..2f34f40e3488
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Applications/list.json
@@ -0,0 +1,44 @@
+{
+ "operationId": "MeshApplication_List",
+ "description": "This example shows how to list all application resources.",
+ "parameters": {
+ "api-version": "6.4-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "name": "sampleApplication",
+ "properties": {
+ "description": "Service Fabric Mesh sample application.",
+ "serviceNames": [
+ "helloWorldService"
+ ],
+ "healthState": "Ok",
+ "status": "Ready"
+ },
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "tokenServiceEndpoint": "http://tokenservice",
+ "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567",
+ "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C",
+ "userAssignedIdentities": {
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": {
+ "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4",
+ "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8"
+ },
+ "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": {
+ "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1",
+ "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/create_update.json
new file mode 100644
index 000000000000..2ded194ec7cc
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/create_update.json
@@ -0,0 +1,193 @@
+{
+ "operationId": "MeshGateway_CreateOrUpdate",
+ "description": "This example shows how to create or update a gateway resource.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "gatewayResourceName": "sampleGateway",
+ "gatewayResourceDescription": {
+ "name": "sampleGateway",
+ "properties": {
+ "description": "Service Fabric Mesh sample gateway.",
+ "sourceNetwork": {
+ "name": "Open"
+ },
+ "destinationNetwork": {
+ "name": "helloWorldNetwork"
+ },
+ "tcp": [
+ {
+ "name": "web",
+ "port": 80,
+ "destination": {
+ "applicationName": "helloWorldApp",
+ "serviceName": "helloWorldService",
+ "endpointName": "helloWorldListener"
+ }
+ }
+ ],
+ "http": [
+ {
+ "name": "contosoWebsite",
+ "port": 8081,
+ "hosts": [
+ {
+ "name": "contoso.com",
+ "routes": [
+ {
+ "name": "index",
+ "match": {
+ "path": {
+ "value": "/index",
+ "rewrite": "/",
+ "type": "prefix"
+ },
+ "headers": [
+ {
+ "name": "accept",
+ "value": "application/json",
+ "type": "exact"
+ }
+ ]
+ },
+ "destination": {
+ "applicationName": "httpHelloWorldApp",
+ "serviceName": "indexService",
+ "endpointName": "indexHttpEndpoint"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleGateway",
+ "properties": {
+ "description": "Service Fabric Mesh sample gateway.",
+ "sourceNetwork": {
+ "name": "Open"
+ },
+ "destinationNetwork": {
+ "name": "helloWorldNetwork"
+ },
+ "tcp": [
+ {
+ "name": "web",
+ "port": 80,
+ "destination": {
+ "applicationName": "helloWorldApp",
+ "serviceName": "helloWorldService",
+ "endpointName": "helloWorldListener"
+ }
+ }
+ ],
+ "http": [
+ {
+ "name": "contosoWebsite",
+ "port": 8081,
+ "hosts": [
+ {
+ "name": "contoso.com",
+ "routes": [
+ {
+ "name": "index",
+ "match": {
+ "path": {
+ "value": "/index",
+ "rewrite": "/",
+ "type": "prefix"
+ },
+ "headers": [
+ {
+ "name": "accept",
+ "value": "application/json",
+ "type": "exact"
+ }
+ ]
+ },
+ "destination": {
+ "applicationName": "httpHelloWorldApp",
+ "serviceName": "indexService",
+ "endpointName": "indexHttpEndpoint"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "status": "Ready",
+ "ipAddress": "192.168.1.1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "sampleGateway",
+ "properties": {
+ "description": "Service Fabric Mesh Hello World sample gateway.",
+ "sourceNetwork": {
+ "name": "Open"
+ },
+ "destinationNetwork": {
+ "name": "helloWorldNetwork"
+ },
+ "tcp": [
+ {
+ "name": "web",
+ "port": 80,
+ "destination": {
+ "applicationName": "helloWorldApp",
+ "serviceName": "helloWorldService",
+ "endpointName": "helloWorldListener"
+ }
+ }
+ ],
+ "http": [
+ {
+ "name": "contosoWebsite",
+ "port": 8081,
+ "hosts": [
+ {
+ "name": "contoso.com",
+ "routes": [
+ {
+ "name": "index",
+ "match": {
+ "path": {
+ "value": "/index",
+ "rewrite": "/",
+ "type": "prefix"
+ },
+ "headers": [
+ {
+ "name": "accept",
+ "value": "application/json",
+ "type": "exact"
+ }
+ ]
+ },
+ "destination": {
+ "applicationName": "httpHelloWorldApp",
+ "serviceName": "indexService",
+ "endpointName": "indexHttpEndpoint"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "status": "Creating",
+ "ipAddress": ""
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/delete.json
new file mode 100644
index 000000000000..63ed69926752
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/delete.json
@@ -0,0 +1,13 @@
+{
+ "operationId": "MeshGateway_Delete",
+ "description": "This example shows how to delete an existing gateway resource. If the gateway resource exists and is deleted successfully, an empty response with 200 status code is returned. If the gateway resource does not exist, an empty response with 204 status code is returned.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "gatewayResourceName": "sampleGateway"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/get.json
new file mode 100644
index 000000000000..c85b652cbc45
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/get.json
@@ -0,0 +1,72 @@
+{
+ "operationId": "MeshGateway_Get",
+ "description": "This example shows how to get a gateway resource. If the gateway resource exists, its description is returned along with an OK (200) status code. If the gateway resource does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "gatewayResourceName": "sampleGateway"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleGateway",
+ "properties": {
+ "description": "Service Fabric Mesh sample gateway.",
+ "sourceNetwork": {
+ "name": "Open"
+ },
+ "destinationNetwork": {
+ "name": "helloWorldNetwork"
+ },
+ "tcp": [
+ {
+ "name": "web",
+ "port": 80,
+ "destination": {
+ "applicationName": "helloWorldApp",
+ "serviceName": "helloWorldService",
+ "endpointName": "helloWorldListener"
+ }
+ }
+ ],
+ "http": [
+ {
+ "name": "contosoWebsite",
+ "port": 8081,
+ "hosts": [
+ {
+ "name": "contoso.com",
+ "routes": [
+ {
+ "name": "index",
+ "match": {
+ "path": {
+ "value": "/index",
+ "rewrite": "/",
+ "type": "prefix"
+ },
+ "headers": [
+ {
+ "name": "accept",
+ "value": "application/json",
+ "type": "exact"
+ }
+ ]
+ },
+ "destination": {
+ "applicationName": "httpHelloWorldApp",
+ "serviceName": "indexService",
+ "endpointName": "indexHttpEndpoint"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "status": "Ready",
+ "ipAddress": "192.168.1.1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/list.json
new file mode 100644
index 000000000000..5ad53b7d580f
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Gateways/list.json
@@ -0,0 +1,77 @@
+{
+ "operationId": "MeshGateway_List",
+ "description": "This example shows how to list all gateway resources.",
+ "parameters": {
+ "api-version": "6.4-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "name": "sampleGateway",
+ "properties": {
+ "description": "Service Fabric Mesh sample gateway.",
+ "sourceNetwork": {
+ "name": "Open"
+ },
+ "destinationNetwork": {
+ "name": "helloWorldNetwork"
+ },
+ "tcp": [
+ {
+ "name": "web",
+ "port": 80,
+ "destination": {
+ "applicationName": "helloWorldApp",
+ "serviceName": "helloWorldService",
+ "endpointName": "helloWorldListener"
+ }
+ }
+ ],
+ "http": [
+ {
+ "name": "contosoWebsite",
+ "port": 8081,
+ "hosts": [
+ {
+ "name": "contoso.com",
+ "routes": [
+ {
+ "name": "index",
+ "match": {
+ "path": {
+ "value": "/index",
+ "rewrite": "/",
+ "type": "prefix"
+ },
+ "headers": [
+ {
+ "name": "accept",
+ "value": "application/json",
+ "type": "exact"
+ }
+ ]
+ },
+ "destination": {
+ "applicationName": "httpHelloWorldApp",
+ "serviceName": "indexService",
+ "endpointName": "indexHttpEndpoint"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "status": "Ready",
+ "ipAddress": "192.168.1.1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/create_update.json
new file mode 100644
index 000000000000..faf2a3960b48
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/create_update.json
@@ -0,0 +1,41 @@
+{
+ "operationId": "MeshNetwork_CreateOrUpdate",
+ "description": "This example shows how to create or update a network resource.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "networkResourceName": "sampleNetwork",
+ "networkResourceDescription": {
+ "name": "sampleNetwork",
+ "properties": {
+ "kind": "Local",
+ "description": "Service Fabric Mesh sample network.",
+ "networkAddressPrefix": "2.0.0.0/16"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleNetwork",
+ "properties": {
+ "kind": "Local",
+ "description": "Service Fabric Mesh sample network.",
+ "networkAddressPrefix": "2.0.0.0/16",
+ "status": "Ready"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "sampleNetwork",
+ "properties": {
+ "kind": "Local",
+ "description": "Service Fabric Mesh sample network.",
+ "networkAddressPrefix": "2.0.0.0/16",
+ "status": "Creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/delete.json
new file mode 100644
index 000000000000..aea2170b7316
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/delete.json
@@ -0,0 +1,13 @@
+{
+ "operationId": "MeshGateway_Delete",
+ "description": "This example shows how to delete an existing network resource. If the network resource exists and is deleted successfully, an empty response with 200 status code is returned. If the network resource does not exist, an empty response with 204 status code is returned.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "networkResourceName": "sampleNetwork"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/get.json
new file mode 100644
index 000000000000..1afaee298e7d
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/get.json
@@ -0,0 +1,21 @@
+{
+ "operationId": "MeshGateway_Get",
+ "description": "This example shows how to get a network resource. If the network resource exists, its description is returned along with an OK (200) status code. If the network resource does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "networkResourceName": "sampleNetwork"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleNetwork",
+ "properties": {
+ "kind": "Local",
+ "description": "Service Fabric Mesh sample network.",
+ "networkAddressPrefix": "2.0.0.0/16",
+ "status": "Ready"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/list.json
new file mode 100644
index 000000000000..6cf521d8582c
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Networks/list.json
@@ -0,0 +1,26 @@
+{
+ "operationId": "MeshGateway_List",
+ "description": "This example shows how to list all network resources.",
+ "parameters": {
+ "api-version": "6.4-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "name": "sampleNetwork",
+ "properties": {
+ "kind": "Local",
+ "description": "Service Fabric Mesh sample network.",
+ "networkAddressPrefix": "2.0.0.0/16",
+ "status": "Ready"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/create_update.json
new file mode 100644
index 000000000000..aab0125db5a5
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/create_update.json
@@ -0,0 +1,41 @@
+{
+ "operationId": "MeshSecret_CreateOrUpdate",
+ "description": "This example shows how to create or update a secret resource.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "secretResourceName": "dbConnectionString",
+ "secretResourceDescription": {
+ "name": "dbConnectionString",
+ "properties": {
+ "kind": "inlinedValue",
+ "contentType": "text/plain",
+ "description": "Mongo DB connection string for backend database!"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "dbConnectionString",
+ "properties": {
+ "kind": "inlinedValue",
+ "contentType": "text/plain",
+ "description": "Mongo DB connection string for backend database!",
+ "status": "Ready"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "dbConnectionString",
+ "properties": {
+ "kind": "inlinedValue",
+ "contentType": "text/plain",
+ "description": "Mongo DB connection string for backend database!",
+ "status": "Creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/delete.json
new file mode 100644
index 000000000000..ffe68fd3ddc7
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/delete.json
@@ -0,0 +1,13 @@
+{
+ "operationId": "MeshSecret_Delete",
+ "description": "This example shows how to delete an existing secret resource. If the secret resource exists and is deleted successfully, an empty response with 200 status code is returned. If the secret resource does not exist, an empty response with 204 status code is returned.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "secretResourceName": "dbConnectionString"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/get.json
new file mode 100644
index 000000000000..f358e51722dd
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/get.json
@@ -0,0 +1,21 @@
+{
+ "operationId": "MeshSecret_Get",
+ "description": "This example shows how to get a secret resource. If the secret resource exists, its description is returned along with an OK (200) status code. If the secret resource does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "secretResourceName": "dbConnectionString"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "dbConnectionString",
+ "properties": {
+ "kind": "inlinedValue",
+ "contentType": "text/plain",
+ "description": "Mongo DB connection string for backend database!",
+ "status": "Ready"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/list.json
new file mode 100644
index 000000000000..b46d7f8ff341
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/list.json
@@ -0,0 +1,35 @@
+{
+ "operationId": "MeshSecret_List",
+ "description": "This example shows how to list all secret resources.",
+ "parameters": {
+ "api-version": "6.4-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "name": "dbConnectionString",
+ "properties": {
+ "kind": "inlinedValue",
+ "contentType": "text/plain",
+ "description": "Mongo DB connection string for backend database!",
+ "status": "Ready"
+ }
+ },
+ {
+ "name": "contosoServiceApiKey",
+ "properties": {
+ "kind": "inlinedValue",
+ "contentType": "text/plain",
+ "description": "API Key to access contoso service APIs",
+ "status": "Ready"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/create.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/create.json
new file mode 100644
index 000000000000..8cd0824452fd
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/create.json
@@ -0,0 +1,34 @@
+{
+ "operationId": "MeshSecretValue_AddValue",
+ "description": "This example shows how to add a new value of a secret resource; the secret value is provided as plaintext.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "secretResourceName": "dbConnectionString",
+ "secretValueResourceName": "v1",
+ "secretValueResourceDescription": {
+ "name": "v1",
+ "properties": {
+ "value": "mongodb://contoso123:0Fc3IolnL12312asdfawejunASDF@asdfYXX2t8a97kghVcUzcDv98hawelufhawefafnoQRGwNj2nMPL1Y9qsIr9Srdw==@contoso123.documents.azure.com:10255/mydatabase?ssl=true"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "v1",
+ "properties": {
+ "value": null
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "v1",
+ "properties": {
+ "value": null
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/delete.json
new file mode 100644
index 000000000000..ad4b3ef9540b
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/delete.json
@@ -0,0 +1,14 @@
+{
+ "operationId": "MeshSecretValue_Delete",
+ "description": "This example shows how to delete a secret value. If the specified named value exists and is deleted successfully, an empty response with 200 status code is returned. If the specified named value does not exist, an empty response with 204 status code is returned.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "secretResourceName": "dbConnectionString",
+ "secretValueResourceName": "v1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/get.json
new file mode 100644
index 000000000000..a6491634ef44
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/get.json
@@ -0,0 +1,19 @@
+{
+ "operationId": "MeshSecretValue_Get",
+ "description": "This example shows how to get the specified secret value resource. If the specified named value exists, its information is returned along with status code 200. The information does not include the value. To get the unecnrypted value use ListMeshSecretValue operation. If the specified named value does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "secretResourceName": "dbConnectionString",
+ "secretValueResourceName": "v1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "v1",
+ "properties": {
+ "value": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/list.json
new file mode 100644
index 000000000000..0610d6d83c48
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/list.json
@@ -0,0 +1,29 @@
+{
+ "operationId": "MeshSecretValue_List",
+ "description": "This example shows how to list names of all values of a secret resource, not including their respective values.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "secretResourceName": "dbConnectionString"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "name": "v1",
+ "properties": {
+ "value": null
+ }
+ },
+ {
+ "name": "v2",
+ "properties": {
+ "value": null
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/list_value.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/list_value.json
new file mode 100644
index 000000000000..b8d09ce2e23c
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Secrets/values/list_value.json
@@ -0,0 +1,16 @@
+{
+ "operationId": "MeshSecretValue_Show",
+ "description": "This example shows how to get the unencrypted value of the secret. If the specified named value resource exists, its unencrypted value is returned along with status code 200. If the specified named value does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "secretResourceName": "dbConnectionString",
+ "secretValueResourceName": "v1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": "mongodb://contoso123:0Fc3IolnL12312asdfawejunASDF@asdfYXX2t8a97kghVcUzcDv98hawelufhawefafnoQRGwNj2nMPL1Y9qsIr9Srdw==@contoso123.documents.azure.com:10255/mydatabase?ssl=true"
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/create_update.json
new file mode 100644
index 000000000000..a8dabbef9064
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/create_update.json
@@ -0,0 +1,52 @@
+{
+ "operationId": "MeshVolume_CreateOrUpdate",
+ "description": "This example shows how to create or update a volume resource.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "volumeResourceName": "sampleVolume",
+ "volumeResourceDescription": {
+ "properties": {
+ "description": "Service Fabric Mesh sample volume.",
+ "provider": "SFAzureFile",
+ "azureFileParameters": {
+ "accountName": "sbzdemoaccount",
+ "accountKey": "provide-account-key-here",
+ "shareName": "sharel"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleVolume",
+ "properties": {
+ "description": "Service Fabric Mesh sample volume.",
+ "provider": "SFAzureFile",
+ "azureFileParameters": {
+ "accountName": "sbzdemoaccount",
+ "accountKey": null,
+ "shareName": "sharel"
+ },
+ "status": "Ready"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "sampleVolume",
+ "properties": {
+ "description": "Service Fabric Mesh Hello World sample volume.",
+ "provider": "SFAzureFile",
+ "azureFileParameters": {
+ "accountName": "sbzdemoaccount",
+ "accountKey": null,
+ "shareName": "sharel"
+ },
+ "status": "Creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/delete.json
new file mode 100644
index 000000000000..efaa1f836ae1
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/delete.json
@@ -0,0 +1,13 @@
+{
+ "operationId": "MeshVolume_Delete",
+ "description": "This example shows how to delete an existing volume resource. If the volume resource exists and is deleted successfully, an empty response with 200 status code is returned. If the volume resource does not exist, an empty response with 204 status code is returned.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "volumeResourceName": "sampleVolume"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/get.json
new file mode 100644
index 000000000000..9d08f3b00a82
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/get.json
@@ -0,0 +1,25 @@
+{
+ "operationId": "MeshVolume_Get",
+ "description": "This example shows how to get a volume resource. If the volume resource exists, its description is returned along with an OK (200) status code. If the volume resource does not exist, an error is returned with an appropriate status code.",
+ "parameters": {
+ "api-version": "6.4-preview",
+ "volumeResourceName": "sampleVolume"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sampleVolume",
+ "properties": {
+ "description": "Service Fabric Mesh sample volume.",
+ "provider": "SFAzureFile",
+ "azureFileParameters": {
+ "accountName": "sbzdemoaccount",
+ "accountKey": null,
+ "shareName": "sharel"
+ },
+ "status": "Ready"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/list.json
new file mode 100644
index 000000000000..3bf83798904b
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/Resources/Volumes/list.json
@@ -0,0 +1,30 @@
+{
+ "operationId": "MeshVolume_List",
+ "description": "This example shows how to list all volume resources.",
+ "parameters": {
+ "api-version": "6.4-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "ContinuationToken": "",
+ "Items": [
+ {
+ "name": "sampleVolume",
+ "properties": {
+ "description": "Service Fabric Mesh sample volume.",
+ "provider": "SFAzureFile",
+ "azureFileParameters": {
+ "accountName": "sbzdemoaccount",
+ "accountKey": null,
+ "shareName": "sharel"
+ },
+ "status": "Ready"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/RestorePartition.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/RestorePartition.json
new file mode 100644
index 000000000000..1e97e0557113
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/RestorePartition.json
@@ -0,0 +1,20 @@
+{
+ "operationId": "RestorePartition",
+ "description": "This example shows how to trigger restore of a partition now by specifying the backup to be used to restore.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
+ "RestorePartitionDescription": {
+ "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba",
+ "BackupStorage": {
+ "StorageKind": "AzureBlobStore",
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=",
+ "ContainerName": "BackupContainer"
+ },
+ "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip"
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumeApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumeApplicationBackup.json
new file mode 100644
index 000000000000..b25a7ac545ec
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumeApplicationBackup.json
@@ -0,0 +1,11 @@
+{
+ "operationId": "ResumeApplicationBackup",
+ "description": "This example shows how to resume periodic backup for a stateful application which was previously suspended.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumePartitionBackup.json
new file mode 100644
index 000000000000..feb701118438
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumePartitionBackup.json
@@ -0,0 +1,11 @@
+{
+ "operationId": "ResumePartitionBackup",
+ "description": "This example shows how to resume periodic backup for a stateful partition which was previously suspended.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumeServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumeServiceBackup.json
new file mode 100644
index 000000000000..9037dfa23d9e
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/ResumeServiceBackup.json
@@ -0,0 +1,11 @@
+{
+ "operationId": "ResumeServiceBackup",
+ "description": "This example shows how to resume periodic backup for a stateful service which was previously suspended.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/StartClusterConfigurationUpgrade-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/StartClusterConfigurationUpgrade-1.json
new file mode 100644
index 000000000000..2f8fd59a474e
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/StartClusterConfigurationUpgrade-1.json
@@ -0,0 +1,40 @@
+{
+ "operationId": "StartClusterConfigurationUpgrade",
+ "description": "This example shows how to start upgrading the configuration of a Service Fabric standalone cluster.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples/apps/CalculatorApp",
+ "ClusterConfigurationUpgradeDescription": {
+ "ClusterConfig": "",
+ "ApplicationHealthPolicies": {
+ "ApplicationHealthPolicyMap": [
+ {
+ "Key": "fabric:/samples/CalculatorApp",
+ "Value": {
+ "ConsiderWarningAsError": true,
+ "MaxPercentUnhealthyDeployedApplications": 10,
+ "DefaultServiceTypeHealthPolicy": {
+ "MaxPercentUnhealthyPartitionsPerService": 0,
+ "MaxPercentUnhealthyReplicasPerPartition": 0,
+ "MaxPercentUnhealthyServices": 0
+ },
+ "ServiceTypeHealthPolicyMap": [
+ {
+ "Key": "Svc1Type",
+ "Value": {
+ "MaxPercentUnhealthyPartitionsPerService": 0,
+ "MaxPercentUnhealthyReplicasPerPartition": 0,
+ "MaxPercentUnhealthyServices": 10
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SubmitPropertyBatch-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SubmitPropertyBatch-1.json
new file mode 100644
index 000000000000..da4ac83317d4
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SubmitPropertyBatch-1.json
@@ -0,0 +1,71 @@
+{
+ "operationId": "SubmitPropertyBatch",
+ "description": "This example shows how to submit a property batch. This batch ensures that a property exists, checks that the property has the expected sequence number, and edits the property only if the previous conditions succeed. It then performs a get operation to get the property's current info. \r\n If all of the operations succeed, the batch is committed in a transactional manner and a success response is returned with 200 status code. \r\n If the batch fails then a failed response is returned with 409 status code. The failed response below shows batch failure because the property does not have expected sequence number.",
+ "parameters": {
+ "api-version": "6.0",
+ "nameId": "samples/apps",
+ "PropertyBatchDescriptionList": {
+ "Operations": [
+ {
+ "Kind": "CheckExists",
+ "PropertyName": "PersistentQueueAppData",
+ "Exits": true
+ },
+ {
+ "Kind": "CheckSequence",
+ "PropertyName": "PersistentQueueAppData",
+ "SequenceNumber": "12"
+ },
+ {
+ "Kind": "Put",
+ "PropertyName": "PersistentQueueAppData",
+ "Value": {
+ "Kind": "Binary",
+ "Data": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ]
+ },
+ "CustomTypeId": "InitializationData"
+ },
+ {
+ "Kind": "Get",
+ "PropertyName": "PersistentQueueAppData",
+ "IncludeValue": false
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "Kind": "Successful",
+ "Properties": {
+ "3": {
+ "Name": "PersistentQueueAppData",
+ "Metadata": {
+ "TypeId": "Binary",
+ "CustomTypeId": "InitializationData",
+ "Parent": "fabric:/samples/apps",
+ "SizeInBytes": 5,
+ "LastModifiedUtcTimestamp": "2017-07-17T05:01:19.049Z",
+ "SequenceNumber": "13"
+ }
+ }
+ }
+ }
+ },
+ "409": {
+ "headers": {},
+ "body": {
+ "Kind": "Failed",
+ "ErrorMessage": "FABRIC_E_PROPERTY_CHECK_FAILED",
+ "OperationIndex": 1
+ }
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendApplicationBackup.json
new file mode 100644
index 000000000000..75bdad71a95e
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendApplicationBackup.json
@@ -0,0 +1,11 @@
+{
+ "operationId": "SuspendApplicationBackup",
+ "description": "This example shows how to suspend backup for a stateful application which is configured for periodic backup.",
+ "parameters": {
+ "api-version": "6.4",
+ "applicationId": "CalcApp"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendPartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendPartitionBackup.json
new file mode 100644
index 000000000000..b14619dd6fe8
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendPartitionBackup.json
@@ -0,0 +1,11 @@
+{
+ "operationId": "SuspendPartitionBackup",
+ "description": "This example shows how to suspend backup for a stateful partition which is configured for periodic backup.",
+ "parameters": {
+ "api-version": "6.4",
+ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendServiceBackup.json
new file mode 100644
index 000000000000..14d0575c509e
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/SuspendServiceBackup.json
@@ -0,0 +1,11 @@
+{
+ "operationId": "SuspendServiceBackup",
+ "description": "This example shows how to suspend backup for a stateful service which is configured for periodic backup.",
+ "parameters": {
+ "api-version": "6.4",
+ "serviceId": "CalcApp/CalcService"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateBackupPolicy.json
new file mode 100644
index 000000000000..3129817ddb68
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateBackupPolicy.json
@@ -0,0 +1,35 @@
+{
+ "operationId": "UpdateBackupPolicy",
+ "description": "This example shows how to update the schedule of a backup policy to take backup twice everyday at 9 AM and 5 PM UTC which shall get deleted after 30 days, with Azure blob store as the backup location.",
+ "parameters": {
+ "api-version": "6.4",
+ "backupPolicyName": "DailyAzureBackupPolicy",
+ "BackupPolicyDescription": {
+ "Name": "DailyAzureBackupPolicy",
+ "AutoRestoreOnDataLoss": false,
+ "MaxIncrementalBackups": 3,
+ "Schedule": {
+ "ScheduleKind": "TimeBased",
+ "ScheduleFrequencyType": "Daily",
+ "RunTimes": [
+ "0001-01-01T09:00:00Z",
+ "0001-01-01T17:00:00Z"
+ ]
+ },
+ "Storage": {
+ "StorageKind": "AzureBlobStore",
+ "FriendlyName": "Azure_storagesample",
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=",
+ "ContainerName": "BackupContainer"
+ },
+ "RetentionPolicy": {
+ "RetentionPolicyType": "Basic",
+ "MinimumNumberOfBackups": 60,
+ "RetentionDuration": "P30D"
+ }
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateService-1.json
new file mode 100644
index 000000000000..584a8d780a51
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateService-1.json
@@ -0,0 +1,34 @@
+{
+ "operationId": "UpdateService",
+ "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.",
+ "parameters": {
+ "serviceId": "test~test1",
+ "api-version": "6.0",
+ "ServiceUpdateDescription": {
+ "ServiceKind": "Stateless",
+ "Flags": "1568",
+ "PlacementConstraints": "Color==Red",
+ "DefaultMoveCost": "High",
+ "ScalingPolicies": [
+ {
+ "ScalingTrigger": {
+ "Kind": "AveragePartitionLoad",
+ "MetricName": "servicefabric:/_CpuCores",
+ "LowerLoadThreshold": 0.500000,
+ "UpperLoadThreshold": 0.800000,
+ "ScaleIntervalInSeconds": 900
+ },
+ "ScalingMechanism": {
+ "Kind": "PartitionInstanceCount",
+ "MinInstanceCount": 4,
+ "MaxInstanceCount": 6,
+ "ScaleIncrement": 2
+ }
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateService-2.json
new file mode 100644
index 000000000000..cdb1368dbdd6
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/examples/UpdateService-2.json
@@ -0,0 +1,17 @@
+{
+ "operationId": "UpdateService",
+ "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.",
+ "parameters": {
+ "serviceId": "test~test2",
+ "api-version": "6.0",
+ "ServiceUpdateDescription": {
+ "ServiceKind": "Stateful",
+ "Flags": "40",
+ "PlacementConstraints": "Color==Green",
+ "StandByReplicaKeepDurationSeconds": "1000"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/servicefabric.json
new file mode 100644
index 000000000000..d1bd7f88dee5
--- /dev/null
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/7.0/servicefabric.json
@@ -0,0 +1,28399 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Service Fabric Client APIs",
+ "description": "Service Fabric REST Client APIs allows management of Service Fabric clusters, applications and services.",
+ "version": "7.0.0.42"
+ },
+ "host": "localhost:19080",
+ "schemes": [
+ "http",
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/$/GetClusterManifest": {
+ "get": {
+ "operationId": "GetClusterManifest",
+ "summary": "Get the Service Fabric cluster manifest.",
+ "description": "Get the Service Fabric cluster manifest. The cluster manifest contains properties of the cluster that include different node types on the cluster,\nsecurity configurations, fault, and upgrade domain topologies, etc.\n\nThese properties are specified as part of the ClusterConfig.JSON file while deploying a stand-alone cluster. However, most of the information in the cluster manifest\nis generated internally by service fabric during cluster deployment in other deployment scenarios (e.g. when using Azure portal).\n\nThe contents of the cluster manifest are for informational purposes only and users are not expected to take a dependency on the format of the file contents or its interpretation.",
+ "tags": [
+ "Cluster"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster manifest information.",
+ "schema": {
+ "$ref": "#/definitions/ClusterManifest"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetClusterHealth": {
+ "get": {
+ "operationId": "GetClusterHealth",
+ "summary": "Gets the health of a Service Fabric cluster.",
+ "description": "Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state.\nSimilarly, use NodesHealthStateFilter and ApplicationsHealthStateFilter to filter the collection of nodes and applications returned based on their aggregated health state.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodesHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/IncludeSystemApplicationHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster health information.",
+ "schema": {
+ "$ref": "#/definitions/ClusterHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "GetClusterHealthUsingPolicy",
+ "summary": "Gets the health of a Service Fabric cluster using the specified policy.",
+ "description": "Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state.\nSimilarly, use NodesHealthStateFilter and ApplicationsHealthStateFilter to filter the collection of nodes and applications returned based on their aggregated health state.\nUse ClusterHealthPolicies to override the health policies used to evaluate the health.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodesHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/IncludeSystemApplicationHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ClusterHealthPoliciesOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster health information.",
+ "schema": {
+ "$ref": "#/definitions/ClusterHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetClusterHealthChunk": {
+ "get": {
+ "operationId": "GetClusterHealthChunk",
+ "summary": "Gets the health of a Service Fabric cluster using health chunks.",
+ "description": "Gets the health of a Service Fabric cluster using health chunks. Includes the aggregated health state of the cluster, but none of the cluster entities.\nTo expand the cluster health and get the health state of all or some of the entities, use the POST URI and specify the cluster health chunk query description.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster health chunk information.",
+ "schema": {
+ "$ref": "#/definitions/ClusterHealthChunk"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "GetClusterHealthChunkUsingPolicyAndAdvancedFilters",
+ "summary": "Gets the health of a Service Fabric cluster using health chunks.",
+ "description": "Gets the health of a Service Fabric cluster using health chunks. The health evaluation is done based on the input cluster health chunk query description.\nThe query description allows users to specify health policies for evaluating the cluster and its children.\nUsers can specify very flexible filters to select which cluster entities to return. The selection can be done based on the entities health state and based on the hierarchy.\nThe query can return multi-level children of the entities based on the specified filters. For example, it can return one application with a specified name, and for this application, return\nonly services that are in Error or Warning, and all partitions and replicas for one of these services.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ClusterHealthChunkQueryDescriptionOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster health chunk information.",
+ "schema": {
+ "$ref": "#/definitions/ClusterHealthChunk"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/ReportClusterHealth": {
+ "post": {
+ "operationId": "ReportClusterHealth",
+ "summary": "Sends a health report on the Service Fabric cluster.",
+ "description": "Sends a health report on a Service Fabric cluster. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway node, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetClusterHealth and check that the report appears in the HealthEvents section.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/HealthInformationRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ImmediateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code when the cluster health report is accepted for processing."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetProvisionedCodeVersions": {
+ "get": {
+ "operationId": "GetProvisionedFabricCodeVersionInfoList",
+ "summary": "Gets a list of fabric code versions that are provisioned in a Service Fabric cluster.",
+ "description": "Gets a list of information about fabric code versions that are provisioned in the cluster. The parameter CodeVersion can be used to optionally filter the output to only that particular version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/CodeVersionOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested provisioned code versions information.",
+ "schema": {
+ "$ref": "#/definitions/FabricCodeVersionInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetProvisionedConfigVersions": {
+ "get": {
+ "operationId": "GetProvisionedFabricConfigVersionInfoList",
+ "summary": "Gets a list of fabric config versions that are provisioned in a Service Fabric cluster.",
+ "description": "Gets a list of information about fabric config versions that are provisioned in the cluster. The parameter ConfigVersion can be used to optionally filter the output to only that particular version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ConfigVersionOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested provisioned config versions information.",
+ "schema": {
+ "$ref": "#/definitions/FabricConfigVersionInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetUpgradeProgress": {
+ "get": {
+ "operationId": "GetClusterUpgradeProgress",
+ "summary": "Gets the progress of the current cluster upgrade.",
+ "description": "Gets the current progress of the ongoing cluster upgrade. If no upgrade is currently in progress, get the last state of the previous cluster upgrade.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster upgrade progress.",
+ "schema": {
+ "$ref": "#/definitions/ClusterUpgradeProgressObject"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetClusterConfiguration": {
+ "get": {
+ "operationId": "GetClusterConfiguration",
+ "summary": "Get the Service Fabric standalone cluster configuration.",
+ "description": "The cluster configuration contains properties of the cluster that include different node types on the cluster,\nsecurity configurations, fault, and upgrade domain topologies, etc.",
+ "tags": [
+ "Cluster"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ConfigurationApiVersionRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster configuration information.",
+ "schema": {
+ "$ref": "#/definitions/ClusterConfiguration"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetClusterConfigurationUpgradeStatus": {
+ "get": {
+ "operationId": "GetClusterConfigurationUpgradeStatus",
+ "summary": "Get the cluster configuration upgrade status of a Service Fabric standalone cluster.",
+ "description": "Get the cluster configuration upgrade status details of a Service Fabric standalone cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster configuration upgrade status.",
+ "schema": {
+ "$ref": "#/definitions/ClusterConfigurationUpgradeStatusInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetUpgradeOrchestrationServiceState": {
+ "get": {
+ "operationId": "GetUpgradeOrchestrationServiceState",
+ "summary": "Get the service state of Service Fabric Upgrade Orchestration Service.",
+ "description": "Get the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.",
+ "tags": [
+ "Cluster"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested service state of Service Fabric Upgrade Orchestration Service.",
+ "schema": {
+ "$ref": "#/definitions/UpgradeOrchestrationServiceState"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/SetUpgradeOrchestrationServiceState": {
+ "post": {
+ "operationId": "SetUpgradeOrchestrationServiceState",
+ "summary": "Update the service state of Service Fabric Upgrade Orchestration Service.",
+ "description": "Update the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.",
+ "tags": [
+ "Cluster"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/UpgradeOrchestrationServiceStateRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the service state of Service Fabric Upgrade Orchestration Service has been updated.",
+ "schema": {
+ "$ref": "#/definitions/UpgradeOrchestrationServiceStateSummary"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/Provision": {
+ "post": {
+ "summary": "Provision the code or configuration packages of a Service Fabric cluster.",
+ "description": "Validate and provision the code or configuration packages of a Service Fabric cluster.",
+ "operationId": "ProvisionCluster",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ProvisionFabricDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the code or configuration packages have been provisioned."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/Unprovision": {
+ "post": {
+ "summary": "Unprovision the code or configuration packages of a Service Fabric cluster.",
+ "description": "It is supported to unprovision code and configuration separately.",
+ "operationId": "UnprovisionCluster",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/UnprovisionFabricDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the code or configuration packages have been unprovisioned."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/RollbackUpgrade": {
+ "post": {
+ "summary": "Roll back the upgrade of a Service Fabric cluster.",
+ "description": "Roll back the code or configuration upgrade of a Service Fabric cluster.",
+ "operationId": "RollbackClusterUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "202": {
+ "description": "A successful response means that the rollback of a cluster upgrade has been initiated."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/MoveToNextUpgradeDomain": {
+ "post": {
+ "summary": "Make the cluster upgrade move on to the next upgrade domain.",
+ "description": "Make the cluster code or configuration upgrade move on to the next upgrade domain if appropriate.",
+ "operationId": "ResumeClusterUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ResumeClusterUpgradeDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the cluster upgrade has moved on to the next upgrade domain."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/Upgrade": {
+ "post": {
+ "summary": "Start upgrading the code or configuration version of a Service Fabric cluster.",
+ "description": "Validate the supplied upgrade parameters and start upgrading the code or configuration version of a Service Fabric cluster if the parameters are valid.",
+ "operationId": "StartClusterUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartClusterUpgradeDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "202": {
+ "description": "A successful response means that the cluster code or configuration upgrade has started. Use GetUpgradeProgress operation to get the status of the upgrade."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/StartClusterConfigurationUpgrade": {
+ "post": {
+ "summary": "Start upgrading the configuration of a Service Fabric standalone cluster.",
+ "description": "Validate the supplied configuration upgrade parameters and start upgrading the cluster configuration if the parameters are valid.",
+ "operationId": "StartClusterConfigurationUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ClusterConfigurationUpgradeDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "x-ms-examples": {
+ "Start upgrading the configuration of a Service Fabric standalone cluster": {
+ "$ref": "./examples/StartClusterConfigurationUpgrade-1.json"
+ }
+ },
+ "responses": {
+ "202": {
+ "description": "A successful response means that the cluster configuration upgrade has started. Use GetClusterConfigurationUpgradeStatus operation to get the status of the upgrade."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/UpdateUpgrade": {
+ "post": {
+ "operationId": "UpdateClusterUpgrade",
+ "summary": "Update the upgrade parameters of a Service Fabric cluster upgrade.",
+ "description": "Update the upgrade parameters used during a Service Fabric cluster upgrade.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/UpdateClusterUpgradeDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation returns 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetAadMetadata": {
+ "get": {
+ "operationId": "GetAadMetadata",
+ "summary": "Gets the Azure Active Directory metadata used for secured connection to cluster.",
+ "description": "Gets the Azure Active Directory metadata used for secured connection to cluster.\nThis API is not supposed to be called separately. It provides information needed to set up an Azure Active Directory secured connection with a Service Fabric cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "Cluster"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the Azure Active Directory metadata.",
+ "schema": {
+ "$ref": "#/definitions/AadMetadataObject"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetClusterVersion": {
+ "get": {
+ "operationId": "GetClusterVersion",
+ "summary": "Get the current Service Fabric cluster version.",
+ "description": "If a cluster upgrade is happening, then this API will return the lowest (older) version of the current and target cluster runtime versions.",
+ "tags": [
+ "Cluster"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Get cluster version": {
+ "$ref": "./examples/GetClusterVersion-1.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster version information.",
+ "schema": {
+ "$ref": "#/definitions/ClusterVersion"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetLoadInformation": {
+ "get": {
+ "operationId": "GetClusterLoad",
+ "summary": "Gets the load of a Service Fabric cluster.",
+ "description": "Retrieves the load information of a Service Fabric cluster for all the metrics that have load or capacity defined.",
+ "tags": [
+ "Cluster"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested cluster load information.",
+ "schema": {
+ "$ref": "#/definitions/ClusterLoadInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/ToggleVerboseServicePlacementHealthReporting": {
+ "post": {
+ "operationId": "ToggleVerboseServicePlacementHealthReporting",
+ "summary": "Changes the verbosity of service placement health reporting.",
+ "description": "If verbosity is set to true, then detailed health reports will be generated when replicas cannot be placed or dropped.\nIf verbosity is set to false, then no health reports will be generated when replicas cannot be placed or dropped.",
+ "tags": [
+ "Cluster"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/VerboseServicePlacementHealthReportingParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the verbosity of service placement health reporting was updated."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes": {
+ "get": {
+ "summary": "Gets the list of nodes in the Service Fabric cluster.",
+ "description": "The response includes the name, status, ID, health, uptime, and other details about the nodes.",
+ "operationId": "GetNodeInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-3_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeStatusFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Node"
+ ],
+ "x-ms-examples": {
+ "Get information about all nodes": {
+ "$ref": "./examples/GetNodeInfoList.json"
+ },
+ "Limit maximum results": {
+ "$ref": "./examples/GetNodeInfoList-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetNodeInfoList-2.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of nodes in the cluster.",
+ "schema": {
+ "$ref": "#/definitions/PagedNodeInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}": {
+ "get": {
+ "summary": "Gets the information about a specific node in the Service Fabric cluster.",
+ "description": "The response includes the name, status, ID, health, uptime, and other details about the node.",
+ "operationId": "GetNodeInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Node"
+ ],
+ "x-ms-examples": {
+ "Get a specific node by node name": {
+ "$ref": "./examples/GetNodeInfo-1.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "A successful operation will return information about the node with the specified nodeName.",
+ "schema": {
+ "$ref": "#/definitions/NodeInfo"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified nodeName is not found."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetHealth": {
+ "get": {
+ "operationId": "GetNodeHealth",
+ "summary": "Gets the health of a Service Fabric node.",
+ "description": "Gets the health of a Service Fabric node. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. If the node that you specify by name does not exist in the health store, this returns an error.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested node health information.",
+ "schema": {
+ "$ref": "#/definitions/NodeHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "GetNodeHealthUsingPolicy",
+ "summary": "Gets the health of a Service Fabric node, by using the specified health policy.",
+ "description": "Gets the health of a Service Fabric node. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. Use ClusterHealthPolicy in the POST body to override the health policies used to evaluate the health. If the node that you specify by name does not exist in the health store, this returns an error.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ClusterHealthPolicyOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested node health information.",
+ "schema": {
+ "$ref": "#/definitions/NodeHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/ReportHealth": {
+ "post": {
+ "operationId": "ReportNodeHealth",
+ "summary": "Sends a health report on the Service Fabric node.",
+ "description": "Reports health state of the specified Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway node, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetNodeHealth and check that the report appears in the HealthEvents section.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/HealthInformationRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ImmediateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetLoadInformation": {
+ "get": {
+ "operationId": "GetNodeLoadInfo",
+ "summary": "Gets the load information of a Service Fabric node.",
+ "description": "Retrieves the load information of a Service Fabric node for all the metrics that have load or capacity defined.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested node load information.",
+ "schema": {
+ "$ref": "#/definitions/NodeLoadInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/Deactivate": {
+ "post": {
+ "operationId": "DisableNode",
+ "summary": "Deactivate a Service Fabric cluster node with the specified deactivation intent.",
+ "description": "Deactivate a Service Fabric cluster node with the specified deactivation intent. Once the deactivation is in progress, the deactivation intent can be increased, but not decreased (for example, a node that is deactivated with the Pause intent can be deactivated further with Restart, but not the other way around. Nodes may be reactivated using the Activate a node operation any time after they are deactivated. If the deactivation is not complete, this will cancel the deactivation. A node that goes down and comes back up while deactivated will still need to be reactivated before services will be placed on that node.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/DeactivationIntentDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/Activate": {
+ "post": {
+ "operationId": "EnableNode",
+ "summary": "Activate a Service Fabric cluster node that is currently deactivated.",
+ "description": "Activates a Service Fabric cluster node that is currently deactivated. Once activated, the node will again become a viable target for placing new replicas, and any deactivated replicas remaining on the node will be reactivated.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/RemoveNodeState": {
+ "post": {
+ "operationId": "RemoveNodeState",
+ "summary": "Notifies Service Fabric that the persisted state on a node has been permanently removed or lost.",
+ "description": "This implies that it is not possible to recover the persisted state of that node. This generally happens if a hard disk has been wiped clean, or if a hard disk crashes. The node has to be down for this operation to be successful. This operation lets Service Fabric know that the replicas on that node no longer exist, and that Service Fabric should stop waiting for those replicas to come back up. Do not run this cmdlet if the state on the node has not been removed and the node can come back up with its state intact. Starting from Service Fabric 6.5, in order to use this API for seed nodes, please change the seed nodes to regular (non-seed) nodes and then invoke this API to remove the node state. If the cluster is running on Azure, after the seed node goes down, Service Fabric will try to change it to a non-seed node automatically. To make this happen, make sure the number of non-seed nodes in the primary node type is no less than the number of Down seed nodes. If necessary, add more nodes to the primary node type to achieve this. For standalone cluster, if the Down seed node is not expected to come back up with its state intact, please remove the node from the cluster, see https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-windows-server-add-remove-nodes",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/Restart": {
+ "post": {
+ "operationId": "RestartNode",
+ "summary": "Restarts a Service Fabric cluster node.",
+ "description": "Restarts a Service Fabric cluster node that is already started.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/RestartNodeDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code. A successful operation means that the restart command was received by the node and it is in the process of restarting. Check the status of the node by calling GetNode operation."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/RemoveConfigurationOverrides": {
+ "delete": {
+ "operationId": "RemoveConfigurationOverrides",
+ "summary": "Removes configuration overrides on the specified node.",
+ "description": "This api allows removing all existing configuration overrides on specified node.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_7-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetConfigurationOverrides": {
+ "get": {
+ "operationId": "GetConfigurationOverrides",
+ "summary": "Gets the list of configuration overrides on the specified node.",
+ "description": "This api allows getting all existing configuration overrides on the specified node.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_7-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of configuration overrides on the node.",
+ "schema": {
+ "$ref": "#/definitions/ConfigParameterOverrideList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/AddConfigurationParameterOverrides": {
+ "post": {
+ "operationId": "AddConfigurationParameterOverrides",
+ "summary": "Adds the list of configuration overrides on the specified node.",
+ "description": "This api allows adding all existing configuration overrides on the specified node.",
+ "tags": [
+ "Node"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_7-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ConfigurationOverrideListRequiredParam"
+ },
+ {
+ "$ref": "#/parameters/ForceConfigurationOverrideOptionalParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ApplicationTypes": {
+ "get": {
+ "summary": "Gets the list of application types in the Service Fabric cluster.",
+ "description": "Returns the information about the application types that are provisioned or in the process of being provisioned in the Service Fabric cluster. Each version of an application type is returned as one application type. The response includes the name, version, status, and other details about the application type. This is a paged query, meaning that if not all of the application types fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. For example, if there are 10 application types but a page only fits the first three application types, or if max results is set to 3, then three is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. An empty continuation token is returned if there are no subsequent pages.",
+ "operationId": "GetApplicationTypeInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeDefinitionKindFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeApplicationParametersOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Limit maximum results": {
+ "$ref": "./examples/GetApplicationTypeInfoList-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetApplicationTypeInfoList-2.json"
+ },
+ "Exclude application parameters from the result": {
+ "$ref": "./examples/GetApplicationTypeInfoList-3.json"
+ }
+ },
+ "tags": [
+ "ApplicationType"
+ ],
+ "responses": {
+ "200": {
+ "description": "List of application types in the cluster.",
+ "schema": {
+ "$ref": "#/definitions/PagedApplicationTypeInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ApplicationTypes/{applicationTypeName}": {
+ "get": {
+ "summary": "Gets the list of application types in the Service Fabric cluster matching exactly the specified name.",
+ "description": "Returns the information about the application types that are provisioned or in the process of being provisioned in the Service Fabric cluster. These results are of application types whose name match exactly the one specified as the parameter, and which comply with the given query parameters. All versions of the application type matching the application type name are returned, with each version returned as one application type. The response includes the name, version, status, and other details about the application type. This is a paged query, meaning that if not all of the application types fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. For example, if there are 10 application types but a page only fits the first three application types, or if max results is set to 3, then three is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. An empty continuation token is returned if there are no subsequent pages.",
+ "operationId": "GetApplicationTypeInfoListByName",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeVersionOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeApplicationParametersOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ApplicationType"
+ ],
+ "responses": {
+ "200": {
+ "description": "List of application types in the cluster.",
+ "schema": {
+ "$ref": "#/definitions/PagedApplicationTypeInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ApplicationTypes/$/Provision": {
+ "post": {
+ "operationId": "ProvisionApplicationType",
+ "summary": "Provisions or registers a Service Fabric application type with the cluster using the '.sfpkg' package in the external store or using the application package in the image store.",
+ "description": "Provisions a Service Fabric application type with the cluster. The provision is required before any new applications can be instantiated.\nThe provision operation can be performed either on the application package specified by the relativePathInImageStore, or by using the URI of the external '.sfpkg'.",
+ "tags": [
+ "ApplicationType"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ProvisionApplicationTypeDescriptionBaseRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful provision will return 200 status code."
+ },
+ "202": {
+ "description": "A 202 status code indicates the operation was accepted and the provision operation has been initiated."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ApplicationTypes/{applicationTypeName}/$/Unprovision": {
+ "post": {
+ "operationId": "UnprovisionApplicationType",
+ "summary": "Removes or unregisters a Service Fabric application type from the cluster.",
+ "description": "This operation can only be performed if all application instances of the application type have been deleted. Once the application type is unregistered, no new application instances can be created for this particular application type.",
+ "tags": [
+ "ApplicationType"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/UnprovisionApplicationTypeRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful provision will return 200 status code."
+ },
+ "202": {
+ "description": "A 202 status code indicates the operation was accepted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ApplicationTypes/{applicationTypeName}/$/GetServiceTypes": {
+ "get": {
+ "summary": "Gets the list containing the information about service types that are supported by a provisioned application type in a Service Fabric cluster.",
+ "description": "Gets the list containing the information about service types that are supported by a provisioned application type in a Service Fabric cluster. The provided application type must exist. Otherwise, a 404 status is returned.",
+ "operationId": "GetServiceTypeInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeVersionRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ServiceType"
+ ],
+ "x-ms-examples": {
+ "Get information about all nodes.": {
+ "$ref": "./examples/GetServiceTypeInfoList-1.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of service types that are supported by a provisioned application type.",
+ "schema": {
+ "$ref": "#/definitions/ServiceTypeInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ApplicationTypes/{applicationTypeName}/$/GetServiceTypes/{serviceTypeName}": {
+ "get": {
+ "summary": "Gets the information about a specific service type that is supported by a provisioned application type in a Service Fabric cluster.",
+ "description": "Gets the information about a specific service type that is supported by a provisioned application type in a Service Fabric cluster. The provided application type must exist. Otherwise, a 404 status is returned. A 204 response is returned if the specified service type is not found in the cluster.",
+ "operationId": "GetServiceTypeInfoByName",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeVersionRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceTypeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ServiceType"
+ ],
+ "x-ms-examples": {
+ "Get information about all nodes.": {
+ "$ref": "./examples/GetServiceTypeInfoByName-1.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "A specific service type which supported by a provisioned application type.",
+ "schema": {
+ "$ref": "#/definitions/ServiceTypeInfo"
+ }
+ },
+ "204": {
+ "description": "A 204 response is returned if the specified service type is not found in the cluster."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ApplicationTypes/{applicationTypeName}/$/GetServiceManifest": {
+ "get": {
+ "summary": "Gets the manifest describing a service type.",
+ "description": "Gets the manifest describing a service type. The response contains the service manifest XML as a string.",
+ "operationId": "GetServiceManifest",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeVersionRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceManifestNameRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ServiceType"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the service type.",
+ "schema": {
+ "$ref": "#/definitions/ServiceTypeManifest"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServiceTypes": {
+ "get": {
+ "summary": "Gets the list containing the information about service types from the applications deployed on a node in a Service Fabric cluster.",
+ "description": "Gets the list containing the information about service types from the applications deployed on a node in a Service Fabric cluster. The response includes the name of the service type, its registration status, the code package that registered it and activation ID of the service package.",
+ "operationId": "GetDeployedServiceTypeInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/DeployedServiceType_ServiceManifestNameOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ServiceType"
+ ],
+ "responses": {
+ "200": {
+ "description": "List of information about service types of an application deployed on a node.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServiceTypeInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServiceTypes/{serviceTypeName}": {
+ "get": {
+ "summary": "Gets the information about a specified service type of the application deployed on a node in a Service Fabric cluster.",
+ "description": "Gets the list containing the information about a specific service type from the applications deployed on a node in a Service Fabric cluster. The response includes the name of the service type, its registration status, the code package that registered it and activation ID of the service package. Each entry represents one activation of a service type, differentiated by the activation ID.",
+ "operationId": "GetDeployedServiceTypeInfoByName",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceTypeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/DeployedServiceType_ServiceManifestNameOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ServiceType"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about service types of an application deployed on a node.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServiceTypeInfoList"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified service type of the application is not deployed on the node."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/$/Create": {
+ "post": {
+ "summary": "Creates a Service Fabric application.",
+ "description": "Creates a Service Fabric application using the specified description.",
+ "operationId": "CreateApplication",
+ "x-ms-examples": {
+ "Create application.": {
+ "$ref": "./examples/CreateApplication-1.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "201": {
+ "description": "A successful response means that the application creation has been started. Use GetApplication operation to get the status of the application. Once GetApplicationInfo successfully returns application information, the application is created. If the application has default services those may be in the process of being created. Use GetServiceInfo operation to get the status of the service within the application."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/Delete": {
+ "post": {
+ "summary": "Deletes an existing Service Fabric application.",
+ "description": "An application must be created before it can be deleted. Deleting an application will delete all services that are part of that application. By default, Service Fabric will try to close service replicas in a graceful manner and then delete the service. However, if a service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the application and all of its services.",
+ "operationId": "DeleteApplication",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ForceRemoveOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetLoadInformation": {
+ "get": {
+ "summary": "Gets load information about a Service Fabric application.",
+ "description": "Returns the load information about the application that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, minimum nodes, maximum nodes, the number of nodes the application is occupying currently, and application load metric information about the application.",
+ "operationId": "GetApplicationLoadInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the application load.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationLoadInfo"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified applicationId is not found in the cluster."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications": {
+ "get": {
+ "summary": "Gets the list of applications created in the Service Fabric cluster that match the specified filters.",
+ "description": "Gets the information about the applications that were created or in the process of being created in the Service Fabric cluster and match the specified filters. The response includes the name, type, status, parameters, and other details about the application. If the applications do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. Filters ApplicationTypeName and ApplicationDefinitionKindFilter cannot be specified at the same time.",
+ "operationId": "GetApplicationInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-1_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationDefinitionKindFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeNameOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeApplicationParametersOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "x-ms-examples": {
+ "Limit maximum results": {
+ "$ref": "./examples/GetApplicationInfoList-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetApplicationInfoList-2.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of applications created in the cluster.",
+ "schema": {
+ "$ref": "#/definitions/PagedApplicationInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}": {
+ "get": {
+ "summary": "Gets information about a Service Fabric application.",
+ "description": "Returns the information about the application that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, type, status, parameters, and other details about the application.",
+ "operationId": "GetApplicationInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeApplicationParametersOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "x-ms-examples": {
+ "Get a specific application by application id": {
+ "$ref": "./examples/GetApplicationInfoByName-1.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Information about the application.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationInfo"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified applicationId is not found in the cluster."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetHealth": {
+ "get": {
+ "summary": "Gets the health of the service fabric application.",
+ "description": "Returns the heath state of the service fabric application. The response reports either Ok, Error or Warning health state. If the entity is not found in the health store, it will return Error.",
+ "operationId": "GetApplicationHealth",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeployedApplicationsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServicesHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested application health information.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "GetApplicationHealthUsingPolicy",
+ "summary": "Gets the health of a Service Fabric application using the specified policy.",
+ "description": "Gets the health of a Service Fabric application. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. Use ClusterHealthPolicies to override the health policies used to evaluate the health.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeployedApplicationsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServicesHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested node health information.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/ReportHealth": {
+ "post": {
+ "operationId": "ReportApplicationHealth",
+ "summary": "Sends a health report on the Service Fabric application.",
+ "description": "Reports health state of the specified Service Fabric application. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Application, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, get application health and check that the report appears in the HealthEvents section.",
+ "tags": [
+ "Application"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/HealthInformationRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ImmediateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/Upgrade": {
+ "post": {
+ "summary": "Starts upgrading an application in the Service Fabric cluster.",
+ "description": "Validates the supplied application upgrade parameters and starts upgrading the application if the parameters are valid.",
+ "operationId": "StartApplicationUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationUpgradeDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the application upgrade has started. Use GetApplicationUpgrade operation to get the status of the upgrade."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetUpgradeProgress": {
+ "get": {
+ "summary": "Gets details for the latest upgrade performed on this application.",
+ "description": "Returns information about the state of the latest application upgrade along with details to aid debugging application health issues.",
+ "operationId": "GetApplicationUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "The application upgrade details.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationUpgradeProgressInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/UpdateUpgrade": {
+ "post": {
+ "summary": "Updates an ongoing application upgrade in the Service Fabric cluster.",
+ "description": "Updates the parameters of an ongoing application upgrade from the ones specified at the time of starting the application upgrade. This may be required to mitigate stuck application upgrades due to incorrect parameters or issues in the application to make progress.",
+ "operationId": "UpdateApplicationUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationUpgradeUpdateDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the application upgrade has updated with the specified parameters. Use GetApplicationUpgrade operation to get the status of the upgrade."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/MoveToNextUpgradeDomain": {
+ "post": {
+ "summary": "Resumes upgrading an application in the Service Fabric cluster.",
+ "description": "Resumes an unmonitored manual Service Fabric application upgrade. Service Fabric upgrades one upgrade domain at a time. For unmonitored manual upgrades, after Service Fabric finishes an upgrade domain, it waits for you to call this API before proceeding to the next upgrade domain.",
+ "operationId": "ResumeApplicationUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ResumeApplicationUpgradeDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the application upgrade has been resumed in the specified upgrade domain. Use GetApplicationUpgrade operation to get the status of the upgrade."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/RollbackUpgrade": {
+ "post": {
+ "summary": "Starts rolling back the currently on-going upgrade of an application in the Service Fabric cluster.",
+ "description": "Starts rolling back the current application upgrade to the previous version. This API can only be used to roll back the current in-progress upgrade that is rolling forward to new version. If the application is not currently being upgraded use StartApplicationUpgrade API to upgrade it to desired version, including rolling back to a previous version.",
+ "operationId": "RollbackApplicationUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the application has started to roll back. Use GetApplicationUpgrade operation to get the status of the upgrade."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications": {
+ "get": {
+ "operationId": "GetDeployedApplicationInfoList",
+ "summary": "Gets the list of applications deployed on a Service Fabric node.",
+ "description": "Gets the list of applications deployed on a Service Fabric node. The results do not include information about deployed system applications unless explicitly queried for by ID. Results encompass deployed applications in active, activating, and downloading states. This query requires that the node name corresponds to a node on the cluster. The query fails if the provided node name does not point to any active Service Fabric nodes on the cluster.",
+ "tags": [
+ "Application"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-1_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/IncludeHealthStateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Limit maximum results": {
+ "$ref": "./examples/GetDeployedApplicationInfoList-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetDeployedApplicationInfoList-2.json"
+ },
+ "Include health state in the result": {
+ "$ref": "./examples/GetDeployedApplicationInfoList-3.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the list of deployed application information.",
+ "schema": {
+ "$ref": "#/definitions/PagedDeployedApplicationInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}": {
+ "get": {
+ "operationId": "GetDeployedApplicationInfo",
+ "summary": "Gets the information about an application deployed on a Service Fabric node.",
+ "description": "This query returns system application information if the application ID provided is for system application. Results encompass deployed applications in active, activating, and downloading states. This query requires that the node name corresponds to a node on the cluster. The query fails if the provided node name does not point to any active Service Fabric nodes on the cluster.",
+ "tags": [
+ "Application"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-1_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/IncludeHealthStateOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a specific deployed application by application ID and include the health state in the result": {
+ "$ref": "./examples/GetDeployedApplicationInfoByName-1.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the information about the deployed application.",
+ "schema": {
+ "$ref": "#/definitions/DeployedApplicationInfo"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified application is not deployed on the node."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetHealth": {
+ "get": {
+ "operationId": "GetDeployedApplicationHealth",
+ "summary": "Gets the information about health of an application deployed on a Service Fabric node.",
+ "description": "Gets the information about health of an application deployed on a Service Fabric node. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed application based on health state. Use DeployedServicePackagesHealthStateFilter to optionally filter for DeployedServicePackageHealth children based on health state.",
+ "tags": [
+ "Application"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeployedServicePackagesHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the health information of the deployed application.",
+ "schema": {
+ "$ref": "#/definitions/DeployedApplicationHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "GetDeployedApplicationHealthUsingPolicy",
+ "summary": "Gets the information about health of an application deployed on a Service Fabric node. using the specified policy.",
+ "description": "Gets the information about health of an application deployed on a Service Fabric node using the specified policy. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed application based on health state. Use DeployedServicePackagesHealthStateFilter to optionally filter for DeployedServicePackageHealth children based on health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the deployed application.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeployedServicePackagesHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Application"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the health information of the deployed application.",
+ "schema": {
+ "$ref": "#/definitions/DeployedApplicationHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/ReportHealth": {
+ "post": {
+ "operationId": "ReportDeployedApplicationHealth",
+ "summary": "Sends a health report on the Service Fabric application deployed on a Service Fabric node.",
+ "description": "Reports health state of the application deployed on a Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Service, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, get deployed application health and check that the report appears in the HealthEvents section.",
+ "tags": [
+ "Application"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/HealthInformationRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ImmediateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ApplicationTypes/{applicationTypeName}/$/GetApplicationManifest": {
+ "get": {
+ "summary": "Gets the manifest describing an application type.",
+ "description": "The response contains the application manifest XML as a string.",
+ "operationId": "GetApplicationManifest",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationTypeVersionRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ApplicationType"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the node.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationTypeManifest"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetServices": {
+ "get": {
+ "summary": "Gets the information about all services belonging to the application specified by the application ID.",
+ "description": "Returns the information about all services belonging to the application specified by the application ID.",
+ "operationId": "GetServiceInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceTypeNameOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "200": {
+ "description": "List of services in the cluster for the specified application.",
+ "schema": {
+ "$ref": "#/definitions/PagedServiceInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetServices/{serviceId}": {
+ "get": {
+ "summary": "Gets the information about the specific service belonging to the Service Fabric application.",
+ "description": "Returns the information about the specified service belonging to the specified Service Fabric application.",
+ "operationId": "GetServiceInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the specified service.",
+ "schema": {
+ "$ref": "#/definitions/ServiceInfo"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified service is not part of the specified application."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/GetApplicationName": {
+ "get": {
+ "summary": "Gets the name of the Service Fabric application for a service.",
+ "description": "Gets the name of the application for the specified service. A 404 FABRIC_E_SERVICE_DOES_NOT_EXIST error is returned if a service with the provided service ID does not exist.",
+ "operationId": "GetApplicationNameInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the name of the application for the specified service.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationNameInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetServices/$/Create": {
+ "post": {
+ "operationId": "CreateService",
+ "summary": "Creates the specified Service Fabric service.",
+ "description": "This api allows creating a new Service Fabric stateless or stateful service under a specified Service Fabric application. The description for creating the service includes partitioning information and optional properties for placement and load balancing. Some of the properties can later be modified using `UpdateService` API.",
+ "x-ms-examples": {
+ "Basic stateless service": {
+ "$ref": "./examples/CreateService-1.json"
+ },
+ "Basic stateful service": {
+ "$ref": "./examples/CreateService-2.json"
+ },
+ "Stateless service with dns name and auto scaling": {
+ "$ref": "./examples/CreateService-3.json"
+ },
+ "Stateful service with named partitions and auto scaling": {
+ "$ref": "./examples/CreateService-4.json"
+ }
+ },
+ "tags": [
+ "Service"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A successful operation will return 202 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetServices/$/CreateFromTemplate": {
+ "post": {
+ "summary": "Creates a Service Fabric service from the service template.",
+ "description": "Creates a Service Fabric service from the service template defined in the application manifest. A service template contains the properties that will be same for the service instance of the same type. The API allows overriding the properties that are usually different for different services of the same service type.",
+ "operationId": "CreateServiceFromTemplate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/CreateServiceFromTemplateRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "202": {
+ "description": "A successful operation will return 202 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/Delete": {
+ "post": {
+ "summary": "Deletes an existing Service Fabric service.",
+ "description": "A service must be created before it can be deleted. By default, Service Fabric will try to close service replicas in a graceful manner and then delete the service. However, if the service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the service.",
+ "operationId": "DeleteService",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ForceRemoveOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/Update": {
+ "post": {
+ "operationId": "UpdateService",
+ "summary": "Updates a Service Fabric service using the specified update description.",
+ "description": "This API allows updating properties of a running Service Fabric service. The set of properties that can be updated are a subset of the properties that were specified at the time of creating the service. The current set of properties can be obtained using `GetServiceDescription` API. Note that updating the properties of a running service is different than upgrading your application using `StartApplicationUpgrade` API. The upgrade is a long running background operation that involves moving the application from one version to another, one upgrade domain at a time, whereas update applies the new properties immediately to the service.",
+ "x-ms-examples": {
+ "Stateless service": {
+ "$ref": "./examples/UpdateService-1.json"
+ },
+ "Stateful service": {
+ "$ref": "./examples/UpdateService-2.json"
+ }
+ },
+ "tags": [
+ "Service"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceUpdateDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 202 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/GetDescription": {
+ "get": {
+ "summary": "Gets the description of an existing Service Fabric service.",
+ "description": "Gets the description of an existing Service Fabric service. A service must be created before its description can be obtained.",
+ "operationId": "GetServiceDescription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.",
+ "schema": {
+ "$ref": "#/definitions/ServiceDescription"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/GetHealth": {
+ "get": {
+ "summary": "Gets the health of the specified Service Fabric service.",
+ "description": "Gets the health information of the specified service.\nUse EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state.\nUse PartitionsHealthStateFilter to filter the collection of partitions returned.\nIf you specify a service that does not exist in the health store, this request returns an error.",
+ "operationId": "GetServiceHealth",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the health information of the specified service.",
+ "schema": {
+ "$ref": "#/definitions/ServiceHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "summary": "Gets the health of the specified Service Fabric service, by using the specified health policy.",
+ "description": "Gets the health information of the specified service.\nIf the application health policy is specified, the health evaluation uses it to get the aggregated health state.\nIf the policy is not specified, the health evaluation uses the application health policy defined in the application manifest, or the default health policy, if no policy is defined in the manifest.\nUse EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state.\nUse PartitionsHealthStateFilter to filter the collection of partitions returned.\nIf you specify a service that does not exist in the health store, this request returns an error.",
+ "operationId": "GetServiceHealthUsingPolicy",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the health information of the specified service.",
+ "schema": {
+ "$ref": "#/definitions/ServiceHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/ReportHealth": {
+ "post": {
+ "operationId": "ReportServiceHealth",
+ "summary": "Sends a health report on the Service Fabric service.",
+ "description": "Reports health state of the specified Service Fabric service. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Service, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetServiceHealth and check that the report appears in the HealthEvents section.",
+ "tags": [
+ "Service"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/HealthInformationRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ImmediateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/ResolvePartition": {
+ "get": {
+ "operationId": "ResolveService",
+ "summary": "Resolve a Service Fabric partition.",
+ "description": "Resolve a Service Fabric service partition to get the endpoints of the service replicas.",
+ "tags": [
+ "Service"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionKeyTypeOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionKeyValueOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PreviousRspVersionOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.",
+ "schema": {
+ "$ref": "#/definitions/ResolvedServicePartition"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/GetUnplacedReplicaInformation": {
+ "get": {
+ "summary": "Gets the information about unplaced replica of the service.",
+ "description": "Returns the information about the unplaced replicas of the service.\nIf PartitionId is specified, then result will contain information only about unplaced replicas for that partition.\nIf PartitionId is not specified, then result will contain information about unplaced replicas for all partitions of that service.\nIf OnlyQueryPrimaries is set to true, then result will contain information only about primary replicas, and will ignore unplaced secondary replicas.",
+ "operationId": "GetUnplacedReplicaInformation",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/OnlyQueryPrimariesOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the specified service.",
+ "schema": {
+ "$ref": "#/definitions/UnplacedReplicaInformation"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/GetPartitions": {
+ "get": {
+ "summary": "Gets the list of partitions of a Service Fabric service.",
+ "description": "The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition.",
+ "operationId": "GetPartitionInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Partition"
+ ],
+ "responses": {
+ "200": {
+ "description": "List of partitions of a Service Fabric service.",
+ "schema": {
+ "$ref": "#/definitions/PagedServicePartitionInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}": {
+ "get": {
+ "summary": "Gets the information about a Service Fabric partition.",
+ "description": "Gets the information about the specified partition. The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition.",
+ "operationId": "GetPartitionInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Partition"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the specified partition.",
+ "schema": {
+ "$ref": "#/definitions/ServicePartitionInfo"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified partitionId is not found in the cluster."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetServiceName": {
+ "get": {
+ "summary": "Gets the name of the Service Fabric service for a partition.",
+ "description": "Gets name of the service for the specified partition. A 404 error is returned if the partition ID does not exist in the cluster.",
+ "operationId": "GetServiceNameInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Partition"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the name of the service for the specified partition.",
+ "schema": {
+ "$ref": "#/definitions/ServiceNameInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetHealth": {
+ "get": {
+ "summary": "Gets the health of the specified Service Fabric partition.",
+ "description": "Use EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state.\nUse ReplicasHealthStateFilter to filter the collection of ReplicaHealthState objects on the partition.\nIf you specify a partition that does not exist in the health store, this request returns an error.",
+ "operationId": "GetPartitionHealth",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicasHealthStateFilerOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Partition"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the health information about the specified partition.",
+ "schema": {
+ "$ref": "#/definitions/PartitionHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "summary": "Gets the health of the specified Service Fabric partition, by using the specified health policy.",
+ "description": "Gets the health information of the specified partition.\nIf the application health policy is specified, the health evaluation uses it to get the aggregated health state.\nIf the policy is not specified, the health evaluation uses the application health policy defined in the application manifest, or the default health policy, if no policy is defined in the manifest.\nUse EventsHealthStateFilter to filter the collection of health events reported on the partition based on the health state.\nUse ReplicasHealthStateFilter to filter the collection of ReplicaHealthState objects on the partition. Use ApplicationHealthPolicy in the POST body to override the health policies used to evaluate the health.\nIf you specify a partition that does not exist in the health store, this request returns an error.",
+ "operationId": "GetPartitionHealthUsingPolicy",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicasHealthStateFilerOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Partition"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the health information about the specified partition.",
+ "schema": {
+ "$ref": "#/definitions/PartitionHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/ReportHealth": {
+ "post": {
+ "operationId": "ReportPartitionHealth",
+ "summary": "Sends a health report on the Service Fabric partition.",
+ "description": "Reports health state of the specified Service Fabric partition. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Partition, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetPartitionHealth and check that the report appears in the HealthEvents section.",
+ "tags": [
+ "Partition"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/HealthInformationRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ImmediateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetLoadInformation": {
+ "get": {
+ "summary": "Gets the load information of the specified Service Fabric partition.",
+ "description": "Returns information about the load of a specified partition.\nThe response includes a list of load reports for a Service Fabric partition.\nEach report includes the load metric name, value, and last reported time in UTC.",
+ "operationId": "GetPartitionLoadInformation",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Partition"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the specified partition's last reported load metrics.",
+ "schema": {
+ "$ref": "#/definitions/PartitionLoadInformation"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/ResetLoad": {
+ "post": {
+ "operationId": "ResetPartitionLoad",
+ "summary": "Resets the current load of a Service Fabric partition.",
+ "description": "Resets the current load of a Service Fabric partition to the default load for the service.",
+ "tags": [
+ "Partition"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation request will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/Recover": {
+ "post": {
+ "operationId": "RecoverPartition",
+ "summary": "Indicates to the Service Fabric cluster that it should attempt to recover a specific partition that is currently stuck in quorum loss.",
+ "description": "This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.",
+ "tags": [
+ "Partition"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation request will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/$/{serviceId}/$/GetPartitions/$/Recover": {
+ "post": {
+ "operationId": "RecoverServicePartitions",
+ "summary": "Indicates to the Service Fabric cluster that it should attempt to recover the specified service that is currently stuck in quorum loss.",
+ "description": "Indicates to the Service Fabric cluster that it should attempt to recover the specified service that is currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.",
+ "tags": [
+ "Partition"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation request will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/RecoverSystemPartitions": {
+ "post": {
+ "operationId": "RecoverSystemPartitions",
+ "summary": "Indicates to the Service Fabric cluster that it should attempt to recover the system services that are currently stuck in quorum loss.",
+ "description": "Indicates to the Service Fabric cluster that it should attempt to recover the system services that are currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.",
+ "tags": [
+ "Partition"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation request will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/RecoverAllPartitions": {
+ "post": {
+ "operationId": "RecoverAllPartitions",
+ "summary": "Indicates to the Service Fabric cluster that it should attempt to recover any services (including system services) which are currently stuck in quorum loss.",
+ "description": "This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.",
+ "tags": [
+ "Partition"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation request will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/MovePrimaryReplica": {
+ "post": {
+ "operationId": "MovePrimaryReplica",
+ "summary": "Moves the primary replica of a partition of a stateful service.",
+ "description": "This command moves the primary replica of a partition of a stateful service, respecting all constraints.\nIf NodeName parameter is specified, primary will be moved to the specified node (if constraints allow it).\nIf NodeName parameter is not specified, primary replica will be moved to a random node in the cluster.\nIf IgnoreConstraints parameter is specified and set to true, then primary will be moved regardless of the constraints.",
+ "tags": [
+ "Partition"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameOptionalParam"
+ },
+ {
+ "$ref": "#/parameters/IgnoreConstraintsOptionalParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation request will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/MoveSecondaryReplica": {
+ "post": {
+ "operationId": "MoveSecondaryReplica",
+ "summary": "Moves the secondary replica of a partition of a stateful service.",
+ "description": "This command moves the secondary replica of a partition of a stateful service, respecting all constraints.\nCurrentNodeName parameter must be specified to identify the replica that is moved.\nSource node name must be specified, but new node name can be omitted, and in that case replica is moved to a random node.\nIf IgnoreConstraints parameter is specified and set to true, then secondary will be moved regardless of the constraints.",
+ "tags": [
+ "Partition"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/CurrentNodeNameRequiredParam"
+ },
+ {
+ "$ref": "#/parameters/NewNodeNameOptionalParam"
+ },
+ {
+ "$ref": "#/parameters/IgnoreConstraintsOptionalParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation request will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/CreateRepairTask": {
+ "post": {
+ "operationId": "CreateRepairTask",
+ "summary": "Creates a new repair task.",
+ "description": "For clusters that have the Repair Manager Service configured,\nthis API provides a way to create repair tasks that run automatically or manually.\nFor repair tasks that run automatically, an appropriate repair executor\nmust be running for each repair action to run automatically.\nThese are currently only available in specially-configured Azure Cloud Services.\n\nTo create a manual repair task, provide the set of impacted node names and the\nexpected impact. When the state of the created repair task changes to approved,\nyou can safely perform repair actions on those nodes.\n\nThis API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "RepairManagement"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.\nThe response body provides information about the created repair task.",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskUpdateInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/CancelRepairTask": {
+ "post": {
+ "operationId": "CancelRepairTask",
+ "summary": "Requests the cancellation of the given repair task.",
+ "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskCancelDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "RepairManagement"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.\nThe response body provides information about the updated repair task.\nSuccess indicates that the cancellation request was recorded, but does not guarantee that the repair task will be cancelled.\nClients may use the State property of the repair task to determine the current state of the repair task.",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskUpdateInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/DeleteRepairTask": {
+ "post": {
+ "operationId": "DeleteRepairTask",
+ "summary": "Deletes a completed repair task.",
+ "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskDeleteDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "RepairManagement"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/GetRepairTaskList": {
+ "get": {
+ "operationId": "GetRepairTaskList",
+ "summary": "Gets a list of repair tasks matching the given filters.",
+ "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskIdFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskExecutorFilterOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "RepairManagement"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.\nThe response body provides a list of repair tasks matching all of the given filters.",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/ForceApproveRepairTask": {
+ "post": {
+ "operationId": "ForceApproveRepairTask",
+ "summary": "Forces the approval of the given repair task.",
+ "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskApproveDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "RepairManagement"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.\nThe response body provides information about the updated repair task.",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskUpdateInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/UpdateRepairTaskHealthPolicy": {
+ "post": {
+ "operationId": "UpdateRepairTaskHealthPolicy",
+ "summary": "Updates the health policy of the given repair task.",
+ "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskUpdateHealthPolicyDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "RepairManagement"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.\nThe response body provides information about the updated repair task.",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskUpdateInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/UpdateRepairExecutionState": {
+ "post": {
+ "operationId": "UpdateRepairExecutionState",
+ "summary": "Updates the execution state of a repair task.",
+ "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RepairTaskRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "RepairManagement"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.\nThe response body provides information about the updated repair task.",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskUpdateInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetReplicas": {
+ "get": {
+ "summary": "Gets the information about replicas of a Service Fabric service partition.",
+ "description": "The GetReplicas endpoint returns information about the replicas of the specified partition. The response includes the ID, role, status, health, node name, uptime, and other details about the replica.",
+ "operationId": "GetReplicaInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Replica"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the replicas of the specified partition.",
+ "schema": {
+ "$ref": "#/definitions/PagedReplicaInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetReplicas/{replicaId}": {
+ "get": {
+ "summary": "Gets the information about a replica of a Service Fabric partition.",
+ "description": "The response includes the ID, role, status, health, node name, uptime, and other details about the replica.",
+ "operationId": "GetReplicaInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Replica"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the specified replicas of the specified partition of a Service Fabric service.",
+ "schema": {
+ "$ref": "#/definitions/ReplicaInfo"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified replicaId is not a replica of the specified partition."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetReplicas/{replicaId}/$/GetHealth": {
+ "get": {
+ "operationId": "GetReplicaHealth",
+ "summary": "Gets the health of a Service Fabric stateful service replica or stateless service instance.",
+ "description": "Gets the health of a Service Fabric replica.\nUse EventsHealthStateFilter to filter the collection of health events reported on the replica based on the health state.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Replica"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested replica health.",
+ "schema": {
+ "$ref": "#/definitions/ReplicaHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "GetReplicaHealthUsingPolicy",
+ "summary": "Gets the health of a Service Fabric stateful service replica or stateless service instance using the specified policy.",
+ "description": "Gets the health of a Service Fabric stateful service replica or stateless service instance.\nUse EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state.\nUse ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the replica.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Replica"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested replica health information.",
+ "schema": {
+ "$ref": "#/definitions/ReplicaHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetReplicas/{replicaId}/$/ReportHealth": {
+ "post": {
+ "operationId": "ReportReplicaHealth",
+ "summary": "Sends a health report on the Service Fabric replica.",
+ "description": "Reports health state of the specified Service Fabric replica. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Replica, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetReplicaHealth and check that the report appears in the HealthEvents section.",
+ "tags": [
+ "Replica"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaHealthReportServiceKindRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/HealthInformationRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ImmediateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetReplicas": {
+ "get": {
+ "operationId": "GetDeployedServiceReplicaInfoList",
+ "summary": "Gets the list of replicas deployed on a Service Fabric node.",
+ "description": "Gets the list containing the information about replicas deployed on a Service Fabric node. The information include partition ID, replica ID, status of the replica, name of the service, name of the service type, and other information. Use PartitionId or ServiceManifestName query parameters to return information about the deployed replicas matching the specified values for those parameters.",
+ "tags": [
+ "Replica"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceManifestNameOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the list of deployed service replica information.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServiceReplicaInfoList"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified applicationId is not found on the specified node. An empty response is also returned if there are no replicas matching the specified filter values for PartitionId or ServiceManifestName query parameters."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/GetDetail": {
+ "get": {
+ "operationId": "GetDeployedServiceReplicaDetailInfo",
+ "summary": "Gets the details of replica deployed on a Service Fabric node.",
+ "description": "Gets the details of the replica deployed on a Service Fabric node. The information includes service kind, service name, current service operation, current service operation start date time, partition ID, replica/instance ID, reported load, and other information.",
+ "tags": [
+ "Replica"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the list of deployed service replica information.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServiceReplicaDetailInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas": {
+ "get": {
+ "operationId": "GetDeployedServiceReplicaDetailInfoByPartitionId",
+ "summary": "Gets the details of replica deployed on a Service Fabric node.",
+ "description": "Gets the details of the replica deployed on a Service Fabric node. The information includes service kind, service name, current service operation, current service operation start date time, partition ID, replica/instance ID, reported load, and other information.",
+ "tags": [
+ "Replica"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the list of deployed service replica information.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServiceReplicaDetailInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/Restart": {
+ "post": {
+ "operationId": "RestartReplica",
+ "summary": "Restarts a service replica of a persisted service running on a node.",
+ "description": "Restarts a service replica of a persisted service running on a node. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to availability loss for stateful services.",
+ "tags": [
+ "Replica"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code. A successful operation means that the restart command was received by the replica on the node and it is in the process of restarting."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/Delete": {
+ "post": {
+ "operationId": "RemoveReplica",
+ "summary": "Removes a service replica running on a node.",
+ "description": "This API simulates a Service Fabric replica failure by removing a replica from a Service Fabric cluster. The removal closes the replica, transitions the replica to the role None, and then removes all of the state information of the replica from the cluster. This API tests the replica state removal path, and simulates the report fault permanent path through client APIs. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to data loss for stateful services. In addition, the forceRemove flag impacts all other replicas hosted in the same process.",
+ "tags": [
+ "Replica"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ForceRemoveReplicaOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code. A successful operation means that the restart command was received by the replica on the node and it is in the process of restarting."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages": {
+ "get": {
+ "operationId": "GetDeployedServicePackageInfoList",
+ "summary": "Gets the list of service packages deployed on a Service Fabric node.",
+ "description": "Returns the information about the service packages deployed on a Service Fabric node for the given application.",
+ "tags": [
+ "Service Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the list of deployed service packages information.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServicePackageInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}": {
+ "get": {
+ "operationId": "GetDeployedServicePackageInfoListByName",
+ "summary": "Gets the list of service packages deployed on a Service Fabric node matching exactly the specified name.",
+ "description": "Returns the information about the service packages deployed on a Service Fabric node for the given application. These results are of service packages whose name match exactly the service package name specified as the parameter.",
+ "tags": [
+ "Service Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServicePackageNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the list of deployed service packages information.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServicePackageInfoList"
+ }
+ },
+ "204": {
+ "description": "An empty response is returned if the specified service package from the application is not deployed on the node."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}/$/GetHealth": {
+ "get": {
+ "operationId": "GetDeployedServicePackageHealth",
+ "summary": "Gets the information about health of a service package for a specific application deployed for a Service Fabric node and application.",
+ "description": "Gets the information about health of a service package for a specific application deployed on a Service Fabric node. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed service package based on health state.",
+ "tags": [
+ "Service Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServicePackageNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the health information of the deployed service package for a specific node and application.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServicePackageHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "GetDeployedServicePackageHealthUsingPolicy",
+ "summary": "Gets the information about health of service package for a specific application deployed on a Service Fabric node using the specified policy.",
+ "description": "Gets the information about health of a service package for a specific application deployed on a Service Fabric node. using the specified policy. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed service package based on health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the deployed service package.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServicePackageNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Service Package"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the health information of the deployed service package for a specific node and application.",
+ "schema": {
+ "$ref": "#/definitions/DeployedServicePackageHealth"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}/$/ReportHealth": {
+ "post": {
+ "operationId": "ReportDeployedServicePackageHealth",
+ "summary": "Sends a health report on the Service Fabric deployed service package.",
+ "description": "Reports health state of the service package of the application deployed on a Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Service, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, get deployed service package health and check that the report appears in the HealthEvents section.",
+ "tags": [
+ "Service Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServicePackageNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/HealthInformationRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ImmediateOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/DeployServicePackage": {
+ "post": {
+ "operationId": "DeployServicePackageToNode",
+ "summary": "Downloads all of the code packages associated with specified service manifest on the specified node.",
+ "description": "This API provides a way to download code packages including the container images on a specific node outside of the normal application deployment and upgrade path. This is useful for the large code packages and container images to be present on the node before the actual application deployment and upgrade, thus significantly reducing the total time required for the deployment or upgrade.",
+ "tags": [
+ "Service Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/DeployServicePackageToNodeRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages": {
+ "get": {
+ "operationId": "GetDeployedCodePackageInfoList",
+ "summary": "Gets the list of code packages deployed on a Service Fabric node.",
+ "description": "Gets the list of code packages deployed on a Service Fabric node for the given application.",
+ "tags": [
+ "Code Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceManifestNameOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/CodePackageNameOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the list of deployed code packages information.",
+ "schema": {
+ "$ref": "#/definitions/DeployedCodePackageInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/Restart": {
+ "post": {
+ "operationId": "RestartDeployedCodePackage",
+ "summary": "Restarts a code package deployed on a Service Fabric node in a cluster.",
+ "description": "Restarts a code package deployed on a Service Fabric node in a cluster. This aborts the code package process, which will restart all the user service replicas hosted in that process.",
+ "tags": [
+ "Code Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/RestartDeployedCodePackageRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/ContainerLogs": {
+ "get": {
+ "operationId": "GetContainerLogsDeployedOnNode",
+ "summary": "Gets the container logs for container deployed on a Service Fabric node.",
+ "description": "Gets the container logs for container deployed on a Service Fabric node for the given code package.",
+ "tags": [
+ "Code Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceManifestNameRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/CodePackageNameRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TailOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PreviousOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Get container logs for given code package": {
+ "$ref": "./examples/GetContainerLogsDeployedOnNode-1.json"
+ },
+ "Get last 10 lines of container logs": {
+ "$ref": "./examples/GetContainerLogsDeployedOnNode-2.json"
+ },
+ "Get container logs of previous dead container for given code package": {
+ "$ref": "./examples/GetContainerLogsDeployedOnNode-3.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the container logs for container deployed on a Service Fabric node for the given code package.",
+ "schema": {
+ "$ref": "#/definitions/ContainerLogs"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/ContainerApi": {
+ "post": {
+ "operationId": "InvokeContainerApi",
+ "summary": "Invoke container API on a container deployed on a Service Fabric node.",
+ "description": "Invoke container API on a container deployed on a Service Fabric node for the given code package.",
+ "x-ms-examples": {
+ "Get container logs": {
+ "$ref": "./examples/InvokeContainerApi.json"
+ },
+ "Update container": {
+ "$ref": "./examples/InvokeContainerApi_Post.json"
+ }
+ },
+ "tags": [
+ "Code Package"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceManifestNameRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/CodePackageNameRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/CodePackageInstanceIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContainerApiRequiredBodyParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and container API response for a container deployed on a Service Fabric node for the given code package.",
+ "schema": {
+ "$ref": "#/definitions/ContainerApiResponse"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ComposeDeployments/$/Create": {
+ "put": {
+ "summary": "Creates a Service Fabric compose deployment.",
+ "description": "Compose is a file format that describes multi-container applications. This API allows deploying container based applications defined in compose format in a Service Fabric cluster. Once the deployment is created, its status can be tracked via the `GetComposeDeploymentStatus` API.",
+ "operationId": "CreateComposeDeployment",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/CreateComposeDeploymentRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Compose Deployment"
+ ],
+ "responses": {
+ "202": {
+ "description": "A successful operation will return 202 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ComposeDeployments/{deploymentName}": {
+ "get": {
+ "summary": "Gets information about a Service Fabric compose deployment.",
+ "description": "Returns the status of the compose deployment that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, status, and other details about the deployment.",
+ "operationId": "GetComposeDeploymentStatus",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeploymentNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Compose Deployment"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the compose deployment.",
+ "schema": {
+ "$ref": "#/definitions/ComposeDeploymentStatusInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ComposeDeployments": {
+ "get": {
+ "summary": "Gets the list of compose deployments created in the Service Fabric cluster.",
+ "description": "Gets the status about the compose deployments that were created or in the process of being created in the Service Fabric cluster. The response includes the name, status, and other details about the compose deployments. If the list of deployments do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page.",
+ "operationId": "GetComposeDeploymentStatusList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Compose Deployment"
+ ],
+ "responses": {
+ "200": {
+ "description": "List of status of compose deployments in the cluster.",
+ "schema": {
+ "$ref": "#/definitions/PagedComposeDeploymentStatusInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ComposeDeployments/{deploymentName}/$/GetUpgradeProgress": {
+ "get": {
+ "summary": "Gets details for the latest upgrade performed on this Service Fabric compose deployment.",
+ "description": "Returns the information about the state of the compose deployment upgrade along with details to aid debugging application health issues.",
+ "operationId": "GetComposeDeploymentUpgradeProgress",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeploymentNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Compose Deployment"
+ ],
+ "responses": {
+ "200": {
+ "description": "Details about the compose deployment upgrade.",
+ "schema": {
+ "$ref": "#/definitions/ComposeDeploymentUpgradeProgressInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ComposeDeployments/{deploymentName}/$/Delete": {
+ "post": {
+ "summary": "Deletes an existing Service Fabric compose deployment from cluster.",
+ "description": "Deletes an existing Service Fabric compose deployment.",
+ "operationId": "RemoveComposeDeployment",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeploymentNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Compose Deployment"
+ ],
+ "responses": {
+ "202": {
+ "description": "A successful operation will return 202 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ComposeDeployments/{deploymentName}/$/Upgrade": {
+ "post": {
+ "summary": "Starts upgrading a compose deployment in the Service Fabric cluster.",
+ "description": "Validates the supplied upgrade parameters and starts upgrading the deployment if the parameters are valid.",
+ "operationId": "StartComposeDeploymentUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeploymentNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ComposeDeploymentUpgradeDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Compose Deployment"
+ ],
+ "responses": {
+ "202": {
+ "description": "A successful response means that the upgrade has started. Use GetComposeDeploymentUpgrade operation to get the status of the upgrade."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ComposeDeployments/{deploymentName}/$/RollbackUpgrade": {
+ "post": {
+ "summary": "Starts rolling back a compose deployment upgrade in the Service Fabric cluster.",
+ "description": "Rollback a service fabric compose deployment upgrade.",
+ "operationId": "StartRollbackComposeDeploymentUpgrade",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DeploymentNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Compose Deployment"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the rollback has started. Use GetComposeDeploymentUpgrade operation to get the status of the rollback."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Tools/Chaos": {
+ "get": {
+ "operationId": "GetChaos",
+ "summary": "Get the status of Chaos.",
+ "description": "Get the status of Chaos indicating whether or not Chaos is running, the Chaos parameters used for running Chaos and the status of the Chaos Schedule.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Chaos"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the status of Chaos.",
+ "schema": {
+ "$ref": "#/definitions/Chaos"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Tools/Chaos/$/Start": {
+ "post": {
+ "operationId": "StartChaos",
+ "summary": "Starts Chaos in the cluster.",
+ "description": "If Chaos is not already running in the cluster, it starts Chaos with the passed in Chaos parameters.\nIf Chaos is already running when this call is made, the call fails with the error code FABRIC_E_CHAOS_ALREADY_RUNNING.\nRefer to the article [Induce controlled Chaos in Service Fabric clusters](https://docs.microsoft.com/azure/service-fabric/service-fabric-controlled-chaos) for more details.",
+ "tags": [
+ "Chaos"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ChaosParametersRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Tools/Chaos/$/Stop": {
+ "post": {
+ "operationId": "StopChaos",
+ "summary": "Stops Chaos if it is running in the cluster and put the Chaos Schedule in a stopped state.",
+ "description": "Stops Chaos from executing new faults. In-flight faults will continue to execute until they are complete. The current Chaos Schedule is put into a stopped state.\nOnce a schedule is stopped, it will stay in the stopped state and not be used to Chaos Schedule new runs of Chaos. A new Chaos Schedule must be set in order to resume scheduling.",
+ "tags": [
+ "Chaos"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Tools/Chaos/Events": {
+ "get": {
+ "operationId": "GetChaosEvents",
+ "summary": "Gets the next segment of the Chaos events based on the continuation token or the time range.",
+ "description": "To get the next segment of the Chaos events, you can specify the ContinuationToken. To get the start of a new segment of Chaos events, you can specify the time range\nthrough StartTimeUtc and EndTimeUtc. You cannot specify both the ContinuationToken and the time range in the same call.\nWhen there are more than 100 Chaos events, the Chaos events are returned in multiple segments where a segment contains no more than 100 Chaos events and to get the next segment you make a call to this API with the continuation token.",
+ "x-ms-examples": {
+ "Get Chaos events given a time range": {
+ "$ref": "./examples/GetChaosEvents.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Chaos"
+ ],
+ "responses": {
+ "200": {
+ "description": "Next segment of Chaos events.",
+ "schema": {
+ "$ref": "#/definitions/ChaosEventsSegment"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Tools/Chaos/Schedule": {
+ "get": {
+ "operationId": "GetChaosSchedule",
+ "summary": "Get the Chaos Schedule defining when and how to run Chaos.",
+ "description": "Gets the version of the Chaos Schedule in use and the Chaos Schedule that defines when and how to run Chaos.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Chaos"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the schedule description including a Chaos Schedule used by Chaos and the version the Chaos Schedule is on.",
+ "schema": {
+ "$ref": "#/definitions/ChaosScheduleDescription"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "PostChaosSchedule",
+ "summary": "Set the schedule used by Chaos.",
+ "description": "Chaos will automatically schedule runs based on the Chaos Schedule.\nThe Chaos Schedule will be updated if the provided version matches the version on the server.\nWhen updating the Chaos Schedule, the version on the server is incremented by 1.\nThe version on the server will wrap back to 0 after reaching a large number.\nIf Chaos is running when this call is made, the call will fail.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ChaosScheduleRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "Chaos"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/{contentPath}": {
+ "put": {
+ "summary": "Uploads contents of the file to the image store.",
+ "description": "Uploads contents of the file to the image store. Use this API if the file is small enough to upload again if the connection fails. The file's data needs to be added to the request body. The contents will be uploaded to the specified path. Image store service uses a mark file to indicate the availability of the folder. The mark file is an empty file named \"_.dir\". The mark file is generated by the image store service when all files in a folder are uploaded. When using File-by-File approach to upload application package in REST, the image store service isn't aware of the file hierarchy of the application package; you need to create a mark file per folder and upload it last, to let the image store service know that the folder is complete.",
+ "operationId": "UploadFile",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "If the upload request succeeds, the server returns the HTTP 200 OK status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "get": {
+ "summary": "Gets the image store content information.",
+ "description": "Returns the information about the image store content at the specified contentPath. The contentPath is relative to the root of the image store.",
+ "operationId": "GetImageStoreContent",
+ "x-ms-examples": {
+ "Get information about image store content under a given relative path": {
+ "$ref": "./examples/GetImageStoreContent.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested image store content information.",
+ "schema": {
+ "$ref": "#/definitions/ImageStoreContent"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Deletes existing image store content.",
+ "description": "Deletes existing image store content being found within the given image store relative path. This command can be used to delete uploaded application packages once they are provisioned.",
+ "operationId": "DeleteImageStoreContent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore": {
+ "get": {
+ "summary": "Gets the content information at the root of the image store.",
+ "description": "Returns the information about the image store content at the root of the image store.",
+ "operationId": "GetImageStoreRootContent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested image store content information.",
+ "schema": {
+ "$ref": "#/definitions/ImageStoreContent"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/$/Copy": {
+ "post": {
+ "summary": "Copies image store content internally",
+ "description": "Copies the image store content from the source image store relative path to the destination image store relative path.",
+ "operationId": "CopyImageStoreContent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ImageStoreCopyDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/$/DeleteUploadSession": {
+ "delete": {
+ "summary": "Cancels an image store upload session.",
+ "description": "The DELETE request will cause the existing upload session to expire and remove any previously uploaded file chunks.",
+ "operationId": "DeleteImageStoreUploadSession",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/UploadSessionIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/$/CommitUploadSession": {
+ "post": {
+ "summary": "Commit an image store upload session.",
+ "description": "When all file chunks have been uploaded, the upload session needs to be committed explicitly to complete the upload. Image store preserves the upload session until the expiration time, which is 30 minutes after the last chunk received. ",
+ "operationId": "CommitImageStoreUploadSession",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/UploadSessionIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "If the commit request succeeds, the server returns the HTTP 200 OK status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/$/GetUploadSession": {
+ "get": {
+ "summary": "Get the image store upload session by ID.",
+ "description": "Gets the image store upload session identified by the given ID. User can query the upload session at any time during uploading. ",
+ "operationId": "GetImageStoreUploadSessionById",
+ "x-ms-examples": {
+ "Get information about image store upload session by a given ID": {
+ "$ref": "./examples/GetUploadSessionById.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/UploadSessionIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested image store upload session information.",
+ "schema": {
+ "$ref": "#/definitions/UploadSession"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/{contentPath}/$/GetUploadSession": {
+ "get": {
+ "summary": "Get the image store upload session by relative path.",
+ "description": "Gets the image store upload session associated with the given image store relative path. User can query the upload session at any time during uploading. ",
+ "operationId": "GetImageStoreUploadSessionByPath",
+ "x-ms-examples": {
+ "Get information about image store upload session by a given relative path": {
+ "$ref": "./examples/GetUploadSessionByPath.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested image store upload session information.",
+ "schema": {
+ "$ref": "#/definitions/UploadSession"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/{contentPath}/$/UploadChunk": {
+ "put": {
+ "summary": "Uploads a file chunk to the image store relative path.",
+ "description": "Uploads a file chunk to the image store with the specified upload session ID and image store relative path. This API allows user to resume the file upload operation. user doesn't have to restart the file upload from scratch whenever there is a network interruption. Use this option if the file size is large.\n\nTo perform a resumable file upload, user need to break the file into multiple chunks and upload these chunks to the image store one-by-one. Chunks don't have to be uploaded in order. If the file represented by the image store relative path already exists, it will be overwritten when the upload session commits.",
+ "operationId": "UploadFileChunk",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/UploadSessionIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/UploadFileChunkContentRangeHeaderParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return the HTTP 200 OK status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/$/FolderSize": {
+ "get": {
+ "summary": "Get the folder size at the root of the image store.",
+ "description": "Returns the total size of files at the root and children folders in image store.",
+ "operationId": "GetImageStoreRootFolderSize",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested folder size in image store.",
+ "schema": {
+ "$ref": "#/definitions/FolderSizeInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/{contentPath}/$/FolderSize": {
+ "get": {
+ "summary": "Get the size of a folder in image store",
+ "description": "Gets the total size of file under a image store folder, specified by contentPath. The contentPath is relative to the root of the image store.",
+ "operationId": "GetImageStoreFolderSize",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested folder size in image store.",
+ "schema": {
+ "$ref": "#/definitions/FolderSizeInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/ImageStore/$/Info": {
+ "get": {
+ "summary": "Gets the overall ImageStore information",
+ "description": "Returns information about the primary ImageStore replica, such as disk capacity and available disk space at the node it is on, and several categories of the ImageStore's file system usage.",
+ "operationId": "GetImageStoreInfo",
+ "x-ms-examples": {
+ "Gets the overall ImageStore information": {
+ "$ref": "./examples/GetImageStoreInfo.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "ImageStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the requested ImageStore info",
+ "schema": {
+ "$ref": "#/definitions/ImageStoreInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/InvokeInfrastructureCommand": {
+ "post": {
+ "operationId": "InvokeInfrastructureCommand",
+ "summary": "Invokes an administrative command on the given Infrastructure Service instance.",
+ "description": "For clusters that have one or more instances of the Infrastructure Service configured,\nthis API provides a way to send infrastructure-specific commands to a particular\ninstance of the Infrastructure Service.\n\nAvailable commands and their corresponding response formats vary depending upon\nthe infrastructure on which the cluster is running.\n\nThis API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/InfrastructureCommandRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/InfrastructureServiceIdOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Infrastructure"
+ ],
+ "responses": {
+ "200": {
+ "description": "The response from the infrastructure service. The response format is a JSON stream.\nThe contents of the response depend on which command was issued.",
+ "schema": {
+ "$ref": "#/definitions/InfrastructureServiceResponse"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/$/InvokeInfrastructureQuery": {
+ "get": {
+ "operationId": "InvokeInfrastructureQuery",
+ "summary": "Invokes a read-only query on the given infrastructure service instance.",
+ "description": "For clusters that have one or more instances of the Infrastructure Service configured,\nthis API provides a way to send infrastructure-specific queries to a particular\ninstance of the Infrastructure Service.\n\nAvailable commands and their corresponding response formats vary depending upon\nthe infrastructure on which the cluster is running.\n\nThis API supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/InfrastructureCommandRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/InfrastructureServiceIdOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Infrastructure"
+ ],
+ "responses": {
+ "200": {
+ "description": "The response from the infrastructure service. The response format is a JSON stream.\nThe contents of the response depend on which command was issued.",
+ "schema": {
+ "$ref": "#/definitions/InfrastructureServiceResponse"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartDataLoss": {
+ "post": {
+ "operationId": "StartDataLoss",
+ "summary": "This API will induce data loss for the specified partition. It will trigger a call to the OnDataLossAsync API of the partition.",
+ "description": "This API will induce data loss for the specified partition. It will trigger a call to the OnDataLoss API of the partition.\nActual data loss will depend on the specified DataLossMode.\n\n- PartialDataLoss - Only a quorum of replicas are removed and OnDataLoss is triggered for the partition but actual data loss depends on the presence of in-flight replication.\n- FullDataLoss - All replicas are removed hence all data is lost and OnDataLoss is triggered.\n\nThis API should only be called with a stateful service as the target.\n\nCalling this API with a system service as the target is not advised.\n\nNote: Once this API has been called, it cannot be reversed. Calling CancelOperation will only stop execution and clean up internal system state.\nIt will not restore data if the command has progressed far enough to cause data loss.\n\nCall the GetDataLossProgress API with the same OperationId to return information on the operation started with this API.",
+ "tags": [
+ "Faults"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DataLossModeRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation was accepted. Call the GetDataLossProgress API to get the progress."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetDataLossProgress": {
+ "get": {
+ "summary": "Gets the progress of a partition data loss operation started using the StartDataLoss API.",
+ "description": "Gets the progress of a data loss operation started with StartDataLoss, using the OperationId.",
+ "operationId": "GetDataLossProgress",
+ "x-ms-examples": {
+ "Gets information about a partition data loss operation. In this case the operation has a State of Completed": {
+ "$ref": "./examples/GetDataLossProgress.json"
+ },
+ "Get information about a partition data loss operation. In this case the operation is a State of Running": {
+ "$ref": "./examples/GetDataLossProgress-Running.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Faults"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the progress of the partition data loss operation.",
+ "schema": {
+ "$ref": "#/definitions/PartitionDataLossProgress"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartQuorumLoss": {
+ "post": {
+ "operationId": "StartQuorumLoss",
+ "summary": "Induces quorum loss for a given stateful service partition.",
+ "description": "This API is useful for a temporary quorum loss situation on your service.\n\nCall the GetQuorumLossProgress API with the same OperationId to return information on the operation started with this API.\n\nThis can only be called on stateful persisted (HasPersistedState==true) services. Do not use this API on stateless services or stateful in-memory only services.",
+ "tags": [
+ "Faults"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/QuorumLossModeRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/QuorumLossDurationRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation was accepted. Call the GetQuorumLossProgress API to get the progress."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetQuorumLossProgress": {
+ "get": {
+ "summary": "Gets the progress of a quorum loss operation on a partition started using the StartQuorumLoss API.",
+ "description": "Gets the progress of a quorum loss operation started with StartQuorumLoss, using the provided OperationId.",
+ "operationId": "GetQuorumLossProgress",
+ "x-ms-examples": {
+ "Gets information about a completed quorum loss operation": {
+ "$ref": "./examples/GetQuorumLossProgress.json"
+ },
+ "Gets information about a running quorum operation operation": {
+ "$ref": "./examples/GetQuorumLossProgress-Running.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Faults"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the progress of a partition quorum loss operation.",
+ "schema": {
+ "$ref": "#/definitions/PartitionQuorumLossProgress"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartRestart": {
+ "post": {
+ "operationId": "StartPartitionRestart",
+ "summary": "This API will restart some or all replicas or instances of the specified partition.",
+ "description": "This API is useful for testing failover.\n\nIf used to target a stateless service partition, RestartPartitionMode must be AllReplicasOrInstances.\n\nCall the GetPartitionRestartProgress API using the same OperationId to get the progress.",
+ "tags": [
+ "Faults"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/RestartPartitionModeRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation was accepted. Call the GetPartitionRestartProgress API to get the progress."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetRestartProgress": {
+ "get": {
+ "summary": "Gets the progress of a PartitionRestart operation started using StartPartitionRestart.",
+ "description": "Gets the progress of a PartitionRestart started with StartPartitionRestart using the provided OperationId.",
+ "operationId": "GetPartitionRestartProgress",
+ "x-ms-examples": {
+ "Get information a completed PartitionRestart operation": {
+ "$ref": "./examples/GetPartitionRestartProgress.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Faults"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the progress of a partition restart operation.",
+ "schema": {
+ "$ref": "#/definitions/PartitionRestartProgress"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/Nodes/{nodeName}/$/StartTransition/": {
+ "post": {
+ "operationId": "StartNodeTransition",
+ "summary": "Starts or stops a cluster node.",
+ "description": "Starts or stops a cluster node. A cluster node is a process, not the OS instance itself. To start a node, pass in \"Start\" for the NodeTransitionType parameter.\nTo stop a node, pass in \"Stop\" for the NodeTransitionType parameter. This API starts the operation - when the API returns the node may not have finished transitioning yet.\nCall GetNodeTransitionProgress with the same OperationId to get the progress of the operation.",
+ "tags": [
+ "Faults"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeTransitionTypeRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeInstanceIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StopDurationInSecondsRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation was accepted. Call the GetNodeTransitionProgress API to get the progress."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/Nodes/{nodeName}/$/GetTransitionProgress": {
+ "get": {
+ "summary": "Gets the progress of an operation started using StartNodeTransition.",
+ "description": "Gets the progress of an operation started with StartNodeTransition using the provided OperationId.",
+ "operationId": "GetNodeTransitionProgress",
+ "x-ms-examples": {
+ "Gets information about a completed NodeTransition operation": {
+ "$ref": "./examples/GetNodeTransitionProgress.json"
+ },
+ "Gets information about a running NodeTransition operation": {
+ "$ref": "./examples/GetNodeTransitionProgress-Running.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Faults"
+ ],
+ "responses": {
+ "200": {
+ "description": "Information about the progress of a node transition operation.",
+ "schema": {
+ "$ref": "#/definitions/NodeTransitionProgress"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/": {
+ "get": {
+ "operationId": "GetFaultOperationList",
+ "summary": "Gets a list of user-induced fault operations filtered by provided input.",
+ "description": "Gets the list of user-induced fault operations filtered by provided input.",
+ "x-ms-examples": {
+ "Gets information on fault operations": {
+ "$ref": "./examples/GetFaultOperationList.json"
+ }
+ },
+ "tags": [
+ "Faults"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TypeFilterRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StateFilterRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code.",
+ "schema": {
+ "$ref": "#/definitions/OperationStatusList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Faults/$/Cancel": {
+ "post": {
+ "operationId": "CancelOperation",
+ "summary": "Cancels a user-induced fault operation.",
+ "description": "The following APIs start fault operations that may be cancelled by using CancelOperation: StartDataLoss, StartQuorumLoss, StartPartitionRestart, StartNodeTransition.\n\nIf force is false, then the specified user-induced operation will be gracefully stopped and cleaned up. If force is true, the command will be aborted, and some internal state\nmay be left behind. Specifying force as true should be used with care. Calling this API with force set to true is not allowed until this API has already\nbeen called on the same test command with force set to false first, or unless the test command already has an OperationState of OperationState.RollingBack.\nClarification: OperationState.RollingBack means that the system will be/is cleaning up internal system state caused by executing the command. It will not restore data if the\ntest command was to cause data loss. For example, if you call StartDataLoss then call this API, the system will only clean up internal state from running the command.\nIt will not restore the target partition's data, if the command progressed far enough to cause data loss.\n\nImportant note: if this API is invoked with force==true, internal state may be left behind.",
+ "tags": [
+ "Faults"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/FaultOperationIdRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ForceRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/BackupRestore/BackupPolicies/$/Create": {
+ "post": {
+ "operationId": "CreateBackupPolicy",
+ "summary": "Creates a backup policy.",
+ "description": "Creates a backup policy which can be associated later with a Service Fabric application, service or a partition for periodic backup.",
+ "x-ms-examples": {
+ "Create a time based backup policy with Azure as backup location": {
+ "$ref": "./examples/CreateBackupPolicy-1.json"
+ },
+ "Create a frequency based backup policy with file share as backup location": {
+ "$ref": "./examples/CreateBackupPolicy-2.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/BackupPolicyDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "201": {
+ "description": "A successful operation returns 201 status code and creates a new backup policy."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/BackupRestore/BackupPolicies/{backupPolicyName}/$/Delete": {
+ "post": {
+ "operationId": "DeleteBackupPolicy",
+ "summary": "Deletes the backup policy.",
+ "description": "Deletes an existing backup policy. A backup policy must be created before it can be deleted. A currently active backup policy, associated with any Service Fabric application, service or partition, cannot be deleted without first deleting the mapping.",
+ "x-ms-examples": {
+ "Delete backup policy": {
+ "$ref": "./examples/DeleteBackupPolicy.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/BackupPolicyNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation returns 200 status code and deletes the backup policy."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/BackupRestore/BackupPolicies": {
+ "get": {
+ "operationId": "GetBackupPolicyList",
+ "summary": "Gets all the backup policies configured.",
+ "description": "Get a list of all the backup policies configured.",
+ "x-ms-examples": {
+ "Limit maximum results": {
+ "$ref": "./examples/GetBackupPolicyList-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetBackupPolicyList-2.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and paged list of backup policies.",
+ "schema": {
+ "$ref": "#/definitions/PagedBackupPolicyDescriptionList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/BackupRestore/BackupPolicies/{backupPolicyName}": {
+ "get": {
+ "operationId": "GetBackupPolicyByName",
+ "summary": "Gets a particular backup policy by name.",
+ "description": "Gets a particular backup policy identified by {backupPolicyName}",
+ "x-ms-examples": {
+ "Get backup policy by name": {
+ "$ref": "./examples/GetBackupPolicyByName.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/BackupPolicyNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and the backup policy description.",
+ "schema": {
+ "$ref": "#/definitions/BackupPolicyDescription"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/BackupRestore/BackupPolicies/{backupPolicyName}/$/GetBackupEnabledEntities": {
+ "get": {
+ "operationId": "GetAllEntitiesBackedUpByPolicy",
+ "summary": "Gets the list of backup entities that are associated with this policy.",
+ "description": "Returns a list of Service Fabric application, service or partition which are associated with this backup policy.",
+ "x-ms-examples": {
+ "Limit maximum results": {
+ "$ref": "./examples/GetAllEntitiesBackedUpByPolicy-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetAllEntitiesBackedUpByPolicy-2.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/BackupPolicyNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and a paged list of Service Fabric entities that are associated with this policy.",
+ "schema": {
+ "$ref": "#/definitions/PagedBackupEntityList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/BackupRestore/BackupPolicies/{backupPolicyName}/$/Update": {
+ "post": {
+ "operationId": "UpdateBackupPolicy",
+ "summary": "Updates the backup policy.",
+ "description": "Updates the backup policy identified by {backupPolicyName}",
+ "x-ms-examples": {
+ "Update backup policy": {
+ "$ref": "./examples/UpdateBackupPolicy.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/BackupPolicyDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation returns 200 status code and updates the backup policy description."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/EnableBackup": {
+ "post": {
+ "operationId": "EnableApplicationBackup",
+ "summary": "Enables periodic backup of stateful partitions under this Service Fabric application.",
+ "description": "Enables periodic backup of stateful partitions which are part of this Service Fabric application. Each partition is backed up individually as per the specified backup policy description. \nNote only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.",
+ "x-ms-examples": {
+ "Enable application backup": {
+ "$ref": "./examples/EnableApplicationBackup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EnableBackupDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the request to enable application backup has been accepted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/DisableBackup": {
+ "post": {
+ "operationId": "DisableApplicationBackup",
+ "summary": "Disables periodic backup of Service Fabric application.",
+ "description": "Disables periodic backup of Service Fabric application which was previously enabled.",
+ "x-ms-examples": {
+ "Disable application backup": {
+ "$ref": "./examples/DisableApplicationBackup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DisableBackupDescriptionOptionalBodyParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the request to disable application backup has been accepted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetBackupConfigurationInfo": {
+ "get": {
+ "operationId": "GetApplicationBackupConfigurationInfo",
+ "summary": "Gets the Service Fabric application backup configuration information.",
+ "description": "Gets the Service Fabric backup configuration information for the application and the services and partitions under this application.",
+ "x-ms-examples": {
+ "Limit maximum results": {
+ "$ref": "./examples/GetApplicationBackupConfigurationInfo-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetApplicationBackupConfigurationInfo-2.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and a paged list of backup configuration information for the application, and the services and partitions under this application, for which backup configuration has been overridden.",
+ "schema": {
+ "$ref": "#/definitions/PagedBackupConfigurationInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/GetBackups": {
+ "get": {
+ "operationId": "GetApplicationBackupList",
+ "summary": "Gets the list of backups available for every partition in this application.",
+ "description": "Returns a list of backups available for every partition in this Service Fabric application. The server enumerates all the backups available at the backup location configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for every partition.",
+ "x-ms-examples": {
+ "Get application backups within a time range": {
+ "$ref": "./examples/GetApplicationBackupList-1.json"
+ },
+ "Get latest backup": {
+ "$ref": "./examples/GetApplicationBackupList-2.json"
+ },
+ "Limit maximum results": {
+ "$ref": "./examples/GetApplicationBackupList-3.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetApplicationBackupList-4.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/LatestOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartDateTimeFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndDateTimeFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and a paged list of backup information.",
+ "schema": {
+ "$ref": "#/definitions/PagedBackupInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/SuspendBackup": {
+ "post": {
+ "operationId": "SuspendApplicationBackup",
+ "summary": "Suspends periodic backup for the specified Service Fabric application.",
+ "description": "The application which is configured to take periodic backups, is suspended for taking further backups till it is resumed again. This operation applies to the entire application's hierarchy. It means all the services and partitions under this application are now suspended for backup.",
+ "x-ms-examples": {
+ "Suspend application backup": {
+ "$ref": "./examples/SuspendApplicationBackup.json"
+ }
+ },
+ "tags": [
+ "BackupRestore"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation request was accepted and application backup will be suspended."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Applications/{applicationId}/$/ResumeBackup": {
+ "post": {
+ "operationId": "ResumeApplicationBackup",
+ "summary": "Resumes periodic backup of a Service Fabric application which was previously suspended.",
+ "description": "The previously suspended Service Fabric application resumes taking periodic backup as per the backup policy currently configured for the same.",
+ "x-ms-examples": {
+ "Resume application backup": {
+ "$ref": "./examples/ResumeApplicationBackup.json"
+ }
+ },
+ "tags": [
+ "BackupRestore"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation request was accepted and application backup will be resumed."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/EnableBackup": {
+ "post": {
+ "operationId": "EnableServiceBackup",
+ "summary": "Enables periodic backup of stateful partitions under this Service Fabric service.",
+ "description": "Enables periodic backup of stateful partitions which are part of this Service Fabric service. Each partition is backed up individually as per the specified backup policy description. In case the application, which the service is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup for this service and its partitions (unless explicitly overridden at the partition level).\nNote only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.",
+ "x-ms-examples": {
+ "Enable service backup": {
+ "$ref": "./examples/EnableServiceBackup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EnableBackupDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the request to enable service backup has been accepted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/DisableBackup": {
+ "post": {
+ "operationId": "DisableServiceBackup",
+ "summary": "Disables periodic backup of Service Fabric service which was previously enabled.",
+ "description": "Disables periodic backup of Service Fabric service which was previously enabled. Backup must be explicitly enabled before it can be disabled.\nIn case the backup is enabled for the Service Fabric application, which this service is part of, this service would continue to be periodically backed up as per the policy mapped at the application level.",
+ "x-ms-examples": {
+ "Disable service backup": {
+ "$ref": "./examples/DisableServiceBackup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DisableBackupDescriptionOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the request to disable service backup has been accepted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/GetBackupConfigurationInfo": {
+ "get": {
+ "operationId": "GetServiceBackupConfigurationInfo",
+ "summary": "Gets the Service Fabric service backup configuration information.",
+ "description": "Gets the Service Fabric backup configuration information for the service and the partitions under this service.",
+ "x-ms-examples": {
+ "Limit maximum results": {
+ "$ref": "./examples/GetServiceBackupConfigurationInfo-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetServiceBackupConfigurationInfo-2.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and a paged list of backup configuration information for the service, and the partitions under this service, for which backup configuration has been overridden.",
+ "schema": {
+ "$ref": "#/definitions/PagedBackupConfigurationInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/GetBackups": {
+ "get": {
+ "operationId": "GetServiceBackupList",
+ "summary": "Gets the list of backups available for every partition in this service.",
+ "description": "Returns a list of backups available for every partition in this Service Fabric service. The server enumerates all the backups available in the backup store configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for every partition.",
+ "x-ms-examples": {
+ "Get application backups within a time range": {
+ "$ref": "./examples/GetServiceBackupList-1.json"
+ },
+ "Get latest backup": {
+ "$ref": "./examples/GetServiceBackupList-2.json"
+ },
+ "Limit maximum results": {
+ "$ref": "./examples/GetServiceBackupList-3.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetServiceBackupList-4.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/LatestOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartDateTimeFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndDateTimeFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and a paged list of backup information.",
+ "schema": {
+ "$ref": "#/definitions/PagedBackupInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/SuspendBackup": {
+ "post": {
+ "operationId": "SuspendServiceBackup",
+ "summary": "Suspends periodic backup for the specified Service Fabric service.",
+ "description": "The service which is configured to take periodic backups, is suspended for taking further backups till it is resumed again. This operation applies to the entire service's hierarchy. It means all the partitions under this service are now suspended for backup.",
+ "x-ms-examples": {
+ "Suspend service backup": {
+ "$ref": "./examples/SuspendServiceBackup.json"
+ }
+ },
+ "tags": [
+ "BackupRestore"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation request was accepted and service backup will be suspended."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Services/{serviceId}/$/ResumeBackup": {
+ "post": {
+ "operationId": "ResumeServiceBackup",
+ "summary": "Resumes periodic backup of a Service Fabric service which was previously suspended.",
+ "description": "The previously suspended Service Fabric service resumes taking periodic backup as per the backup policy currently configured for the same.",
+ "x-ms-examples": {
+ "Resume service backup": {
+ "$ref": "./examples/ResumeServiceBackup.json"
+ }
+ },
+ "tags": [
+ "BackupRestore"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation request was accepted and service backup will be resumed."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/EnableBackup": {
+ "post": {
+ "operationId": "EnablePartitionBackup",
+ "summary": "Enables periodic backup of the stateful persisted partition.",
+ "description": "Enables periodic backup of stateful persisted partition. Each partition is backed up as per the specified backup policy description. In case the application or service, which is partition is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup of this partition.\nNote only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.",
+ "x-ms-examples": {
+ "Enable partition backup": {
+ "$ref": "./examples/EnablePartitionBackup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/EnableBackupDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the request to enable partition backup has been accepted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/DisableBackup": {
+ "post": {
+ "operationId": "DisablePartitionBackup",
+ "summary": "Disables periodic backup of Service Fabric partition which was previously enabled.",
+ "description": "Disables periodic backup of partition which was previously enabled. Backup must be explicitly enabled before it can be disabled. \nIn case the backup is enabled for the Service Fabric application or service, which this partition is part of, this partition would continue to be periodically backed up as per the policy mapped at the higher level entity.",
+ "x-ms-examples": {
+ "Disable partition backup": {
+ "$ref": "./examples/DisablePartitionBackup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/DisableBackupDescriptionOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the request to disable partition backup has been accepted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetBackupConfigurationInfo": {
+ "get": {
+ "operationId": "GetPartitionBackupConfigurationInfo",
+ "summary": "Gets the partition backup configuration information",
+ "description": "Gets the Service Fabric Backup configuration information for the specified partition.",
+ "x-ms-examples": {
+ "Get partition backup configuration information": {
+ "$ref": "./examples/GetPartitionBackupConfigurationInfo.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and gets the partition's backup configuration information.",
+ "schema": {
+ "$ref": "#/definitions/PartitionBackupConfigurationInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetBackups": {
+ "get": {
+ "operationId": "GetPartitionBackupList",
+ "summary": "Gets the list of backups available for the specified partition.",
+ "description": "Returns a list of backups available for the specified partition. The server enumerates all the backups available in the backup store configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for the partition.",
+ "x-ms-examples": {
+ "Get application backups within a time range": {
+ "$ref": "./examples/GetPartitionBackupList-1.json"
+ },
+ "Get latest backup": {
+ "$ref": "./examples/GetPartitionBackupList-2.json"
+ },
+ "Limit maximum results": {
+ "$ref": "./examples/GetPartitionBackupList-3.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetPartitionBackupList-4.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/LatestOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartDateTimeFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndDateTimeFilterOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and a paged list of backup information.",
+ "schema": {
+ "$ref": "#/definitions/PagedBackupInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/SuspendBackup": {
+ "post": {
+ "operationId": "SuspendPartitionBackup",
+ "summary": "Suspends periodic backup for the specified partition.",
+ "description": "The partition which is configured to take periodic backups, is suspended for taking further backups till it is resumed again.",
+ "x-ms-examples": {
+ "Suspend partition backup": {
+ "$ref": "./examples/SuspendPartitionBackup.json"
+ }
+ },
+ "tags": [
+ "BackupRestore"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation request was accepted and partition backup will be suspended."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/ResumeBackup": {
+ "post": {
+ "operationId": "ResumePartitionBackup",
+ "summary": "Resumes periodic backup of partition which was previously suspended.",
+ "description": "The previously suspended partition resumes taking periodic backup as per the backup policy currently configured for the same.",
+ "x-ms-examples": {
+ "Resume partition backup": {
+ "$ref": "./examples/ResumePartitionBackup.json"
+ }
+ },
+ "tags": [
+ "BackupRestore"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation request was accepted and partition backup will be resumed."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/Backup": {
+ "post": {
+ "operationId": "BackupPartition",
+ "summary": "Triggers backup of the partition's state.",
+ "description": "Creates a backup of the stateful persisted partition's state. In case the partition is already being periodically backed up, then by default the new backup is created at the same backup storage. One can also override the same by specifying the backup storage details as part of the request body. Once the backup is initiated, its progress can be tracked using the GetBackupProgress operation. \nIn case, the operation times out, specify a greater backup timeout value in the query parameter.",
+ "x-ms-examples": {
+ "Backup partition": {
+ "$ref": "./examples/BackupPartition-1.json"
+ },
+ "Backup partition to a specific Azure storage account": {
+ "$ref": "./examples/BackupPartition-2.json"
+ },
+ "Backup partition to a specific on-premise file share": {
+ "$ref": "./examples/BackupPartition-3.json"
+ }
+ },
+ "tags": [
+ "BackupRestore"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/BackupPartitionDescriptionOptionalBodyParam"
+ },
+ {
+ "$ref": "#/parameters/BackupTimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation request was accepted and backup will be initiated. Use GetPartitionBackupProgress operation to get the status of the backup operation."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetBackupProgress": {
+ "get": {
+ "operationId": "GetPartitionBackupProgress",
+ "summary": "Gets details for the latest backup triggered for this partition.",
+ "description": "Returns information about the state of the latest backup along with details or failure reason in case of completion.",
+ "x-ms-examples": {
+ "Get backup operation progress": {
+ "$ref": "./examples/GetPartitionBackupProgress.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation returns 200 status code and backup progress details.",
+ "schema": {
+ "$ref": "#/definitions/BackupProgressInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/Restore": {
+ "post": {
+ "operationId": "RestorePartition",
+ "summary": "Triggers restore of the state of the partition using the specified restore partition description.",
+ "description": "Restores the state of a of the stateful persisted partition using the specified backup point. In case the partition is already being periodically backed up, then by default the backup point is looked for in the storage specified in backup policy. One can also override the same by specifying the backup storage details as part of the restore partition description in body. Once the restore is initiated, its progress can be tracked using the GetRestoreProgress operation. \nIn case, the operation times out, specify a greater restore timeout value in the query parameter.",
+ "x-ms-examples": {
+ "Trigger partition restore": {
+ "$ref": "./examples/RestorePartition.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/RestorePartitionDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/RestoreTimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "202": {
+ "description": "A 202 status code indicates the operation request was accepted and restore will be initiated. Use GetPartitionRestoreProgress operation to get the status of the restore operation."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Partitions/{partitionId}/$/GetRestoreProgress": {
+ "get": {
+ "operationId": "GetPartitionRestoreProgress",
+ "summary": "Gets details for the latest restore operation triggered for this partition.",
+ "description": "Returns information about the state of the latest restore operation along with details or failure reason in case of completion.",
+ "x-ms-examples": {
+ "Get restore operation progress": {
+ "$ref": "./examples/GetPartitionRestoreProgress.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation returns 200 status code and restore progress details.",
+ "schema": {
+ "$ref": "#/definitions/RestoreProgressInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/BackupRestore/$/GetBackups": {
+ "post": {
+ "operationId": "GetBackupsFromBackupLocation",
+ "summary": "Gets the list of backups available for the specified backed up entity at the specified backup location.",
+ "description": "Gets the list of backups available for the specified backed up entity (Application, Service or Partition) at the specified backup location (FileShare or Azure Blob Storage).",
+ "x-ms-examples": {
+ "Limit maximum results": {
+ "$ref": "./examples/GetBackupsFromBackupLocation-1.json"
+ },
+ "Page using continuation token": {
+ "$ref": "./examples/GetBackupsFromBackupLocation-2.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/MaxResultsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/GetBackupByStorageQueryDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "BackupRestore"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful operation will return 200 status code and a paged list of backup information.",
+ "schema": {
+ "$ref": "#/definitions/PagedBackupInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Names/$/Create": {
+ "post": {
+ "summary": "Creates a Service Fabric name.",
+ "description": "Creates the specified Service Fabric name.",
+ "operationId": "CreateName",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Create new name": {
+ "$ref": "examples/CreateName-1.json"
+ }
+ },
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "201": {
+ "description": "A successful response means that the name has been created."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Names/{nameId}": {
+ "get": {
+ "summary": "Returns whether the Service Fabric name exists.",
+ "description": "Returns whether the specified Service Fabric name exists.",
+ "operationId": "GetNameExistsInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the Service Fabric name exists."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Deletes a Service Fabric name.",
+ "description": "Deletes the specified Service Fabric name. A name must be created before it can be deleted. Deleting a name with child properties will fail.",
+ "operationId": "DeleteName",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the Service Fabric name has been deleted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Names/{nameId}/$/GetSubNames": {
+ "get": {
+ "summary": "Enumerates all the Service Fabric names under a given name.",
+ "description": "Enumerates all the Service Fabric names under a given name. If the subnames do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. Querying a name that doesn't exist will fail.",
+ "operationId": "GetSubNameInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/RecursiveOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Get sub names": {
+ "$ref": "examples/GetSubNameInfoList-1.json"
+ },
+ "Recursively search sub names": {
+ "$ref": "examples/GetSubNameInfoList-2.json"
+ },
+ "Page using continuation token": {
+ "$ref": "examples/GetSubNameInfoList-3.json"
+ }
+ },
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "200": {
+ "description": "A paged list of Service Fabric names.",
+ "schema": {
+ "$ref": "#/definitions/PagedSubNameInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Names/{nameId}/$/GetProperties": {
+ "get": {
+ "summary": "Gets information on all Service Fabric properties under a given name.",
+ "description": "A Service Fabric name can have one or more named properties that store custom information. This operation gets the information about these properties in a paged list. The information includes name, value, and metadata about each of the properties.",
+ "operationId": "GetPropertyInfoList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/IncludeValuesOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ContinuationTokenOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Get property info list": {
+ "$ref": "examples/GetPropertyInfoList-1.json"
+ },
+ "Get property info list with values": {
+ "$ref": "examples/GetPropertyInfoList-2.json"
+ },
+ "Page using continuation token": {
+ "$ref": "examples/GetPropertyInfoList-3.json"
+ }
+ },
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "200": {
+ "description": "A paged list of Service Fabric properties.",
+ "schema": {
+ "$ref": "#/definitions/PagedPropertyInfoList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Names/{nameId}/$/GetProperty": {
+ "put": {
+ "summary": "Creates or updates a Service Fabric property.",
+ "description": "Creates or updates the specified Service Fabric property under a given name.",
+ "operationId": "PutProperty",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PropertyDescriptionRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Put property": {
+ "$ref": "examples/PutProperty-1.json"
+ },
+ "Put custom property": {
+ "$ref": "examples/PutProperty-2.json"
+ }
+ },
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the property has been created or updated."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "get": {
+ "summary": "Gets the specified Service Fabric property.",
+ "description": "Gets the specified Service Fabric property under a given name. This will always return both value and metadata.",
+ "operationId": "GetPropertyInfo",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PropertyNameRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Get property info": {
+ "$ref": "examples/GetPropertyInfo-1.json"
+ }
+ },
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "200": {
+ "description": "Details on the Service Fabric property.",
+ "schema": {
+ "$ref": "#/definitions/PropertyInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "summary": "Deletes the specified Service Fabric property.",
+ "description": "Deletes the specified Service Fabric property under a given name. A property must be created before it can be deleted.",
+ "operationId": "DeleteProperty",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PropertyNameRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the property has been deleted."
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Names/{nameId}/$/GetProperties/$/SubmitBatch": {
+ "post": {
+ "summary": "Submits a property batch.",
+ "description": "Submits a batch of property operations. Either all or none of the operations will be committed.",
+ "operationId": "SubmitPropertyBatch",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NameIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/PropertyBatchDescriptionListRequiredBodyParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "x-ms-examples": {
+ "Property batch operation": {
+ "$ref": "examples/SubmitPropertyBatch-1.json"
+ }
+ },
+ "tags": [
+ "Property Management"
+ ],
+ "responses": {
+ "200": {
+ "description": "A successful response means that the property batch succeeded.",
+ "schema": {
+ "$ref": "#/definitions/SuccessfulPropertyBatchInfo"
+ }
+ },
+ "409": {
+ "description": "A 409 response means that one of the property batch operations failed, and contains more information about the failure. None of the operations were committed.",
+ "schema": {
+ "$ref": "#/definitions/FailedPropertyBatchInfo"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Cluster/Events": {
+ "get": {
+ "summary": "Gets all Cluster-related events.",
+ "description": "The response is list of ClusterEvent objects.",
+ "operationId": "GetClusterEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Cluster-related events": {
+ "$ref": "./examples/GetClusterEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type ClusterEvent.",
+ "schema": {
+ "$ref": "#/definitions/ClusterEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Containers/Events": {
+ "get": {
+ "summary": "Gets all Containers-related events.",
+ "description": "The response is list of ContainerInstanceEvent objects.",
+ "operationId": "GetContainersEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-2-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type ContainerInstanceEvent.",
+ "schema": {
+ "$ref": "#/definitions/ContainerInstanceEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Nodes/{nodeName}/$/Events": {
+ "get": {
+ "summary": "Gets a Node-related events.",
+ "description": "The response is list of NodeEvent objects.",
+ "operationId": "GetNodeEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NodeNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Node-related events": {
+ "$ref": "./examples/GetNodeEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type NodeEvent.",
+ "schema": {
+ "$ref": "#/definitions/NodeEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Nodes/Events": {
+ "get": {
+ "summary": "Gets all Nodes-related Events.",
+ "description": "The response is list of NodeEvent objects.",
+ "operationId": "GetNodesEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Nodes-related events": {
+ "$ref": "./examples/GetNodesEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type NodeEvent.",
+ "schema": {
+ "$ref": "#/definitions/NodeEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Applications/{applicationId}/$/Events": {
+ "get": {
+ "summary": "Gets an Application-related events.",
+ "description": "The response is list of ApplicationEvent objects.",
+ "operationId": "GetApplicationEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Application-related events": {
+ "$ref": "./examples/GetApplicationEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type ApplicationEvent.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Applications/Events": {
+ "get": {
+ "summary": "Gets all Applications-related events.",
+ "description": "The response is list of ApplicationEvent objects.",
+ "operationId": "GetApplicationsEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Applications-related events": {
+ "$ref": "./examples/GetApplicationsEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type ApplicationEvent.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Services/{serviceId}/$/Events": {
+ "get": {
+ "summary": "Gets a Service-related events.",
+ "description": "The response is list of ServiceEvent objects.",
+ "operationId": "GetServiceEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Service-related events": {
+ "$ref": "./examples/GetServiceEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type ServiceEvent.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Services/Events": {
+ "get": {
+ "summary": "Gets all Services-related events.",
+ "description": "The response is list of ServiceEvent objects.",
+ "operationId": "GetServicesEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Services-related events": {
+ "$ref": "./examples/GetServicesEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type ServiceEvent.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Partitions/{partitionId}/$/Events": {
+ "get": {
+ "summary": "Gets a Partition-related events.",
+ "description": "The response is list of PartitionEvent objects.",
+ "operationId": "GetPartitionEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Partition-related events": {
+ "$ref": "./examples/GetPartitionEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type PartitionEvent.",
+ "schema": {
+ "$ref": "#/definitions/PartitionEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Partitions/Events": {
+ "get": {
+ "summary": "Gets all Partitions-related events.",
+ "description": "The response is list of PartitionEvent objects.",
+ "operationId": "GetPartitionsEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Partitions-related events": {
+ "$ref": "./examples/GetPartitionsEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type PartitionEvent.",
+ "schema": {
+ "$ref": "#/definitions/PartitionEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Partitions/{partitionId}/$/Replicas/{replicaId}/$/Events": {
+ "get": {
+ "summary": "Gets a Partition Replica-related events.",
+ "description": "The response is list of ReplicaEvent objects.",
+ "operationId": "GetPartitionReplicaEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Partition Replica-related events": {
+ "$ref": "./examples/GetReplicaEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type ReplicaEvent.",
+ "schema": {
+ "$ref": "#/definitions/ReplicaEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/Partitions/{partitionId}/$/Replicas/Events": {
+ "get": {
+ "summary": "Gets all Replicas-related events for a Partition.",
+ "description": "The response is list of ReplicaEvent objects.",
+ "operationId": "GetPartitionReplicasEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/PartitionIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/StartTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EndTimeUtcRequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Partition Replicas-related events": {
+ "$ref": "./examples/GetReplicasEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type ReplicaEvent.",
+ "schema": {
+ "$ref": "#/definitions/ReplicaEventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/EventsStore/CorrelatedEvents/{eventInstanceId}/$/Events": {
+ "get": {
+ "summary": "Gets all correlated events for a given event.",
+ "description": "The response is list of FabricEvents.",
+ "operationId": "GetCorrelatedEventList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/EventInstanceIdRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TimeoutOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "EventsStore"
+ ],
+ "x-ms-examples": {
+ "Get Correlated events": {
+ "$ref": "./examples/GetCorrelatedEventList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "List of events objects with base type FabricEvent.",
+ "schema": {
+ "$ref": "#/definitions/EventList"
+ }
+ },
+ "default": {
+ "description": "The detailed error response.",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Secrets/{secretResourceName}": {
+ "put": {
+ "operationId": "MeshSecret_CreateOrUpdate",
+ "x-ms-examples": {
+ "CreateOrUpdateMeshSecret": {
+ "$ref": "./examples/Resources/Secrets/create_update.json"
+ }
+ },
+ "summary": "Creates or updates a Secret resource.",
+ "description": "Creates a Secret resource with the specified name, description and properties. If Secret resource with the same name exists, then it is updated with the specified description and properties. Once created, the kind and contentType of a secret resource cannot be updated.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "MeshSecrets"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecretResourceDescription"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/SecretResourceDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "get": {
+ "operationId": "MeshSecret_Get",
+ "x-ms-examples": {
+ "GetSecretResource": {
+ "$ref": "./examples/Resources/Secrets/get.json"
+ }
+ },
+ "summary": "Gets the Secret resource with the given name.",
+ "description": "Gets the information about the Secret resource with the given name. The information include the description and other properties of the Secret.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshSecrets"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecretResourceDescription"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MeshSecret_Delete",
+ "x-ms-examples": {
+ "DeleteSecretResource": {
+ "$ref": "./examples/Resources/Secrets/delete.json"
+ }
+ },
+ "summary": "Deletes the Secret resource.",
+ "description": "Deletes the specified Secret resource and all of its named values.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshSecrets"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content - the specified secret was not found."
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Secrets": {
+ "get": {
+ "operationId": "MeshSecret_List",
+ "x-ms-examples": {
+ "ListMeshSecrets": {
+ "$ref": "./examples/Resources/Secrets/list.json"
+ }
+ },
+ "summary": "Lists all the secret resources.",
+ "description": "Gets the information about all secret resources in a given resource group. The information include the description and other properties of the Secret.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ }
+ ],
+ "tags": [
+ "MeshSecrets"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PagedSecretResourceDescriptionList"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Secrets/{secretResourceName}/values/{secretValueResourceName}": {
+ "put": {
+ "operationId": "MeshSecretValue_AddValue",
+ "x-ms-examples": {
+ "CreateMeshSecretValue": {
+ "$ref": "./examples/Resources/Secrets/values/create.json"
+ }
+ },
+ "summary": "Adds the specified value as a new version of the specified secret resource.",
+ "description": "Creates a new value of the specified secret resource. The name of the value is typically the version identifier. Once created the value cannot be changed.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/SecretValueResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/SecretValueResourceDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "MeshSecretValues"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecretValueResourceDescription"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/SecretValueResourceDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "get": {
+ "operationId": "MeshSecretValue_Get",
+ "x-ms-examples": {
+ "GetMeshSecretValue": {
+ "$ref": "./examples/Resources/Secrets/values/get.json"
+ }
+ },
+ "summary": "Gets the specified secret value resource.",
+ "description": "Get the information about the specified named secret value resources. The information does not include the actual value of the secret.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/SecretValueResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshSecretValues"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecretValueResourceDescription"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MeshSecretValue_Delete",
+ "x-ms-examples": {
+ "DeleteSecretValue": {
+ "$ref": "./examples/Resources/Secrets/values/delete.json"
+ }
+ },
+ "summary": "Deletes the specified value of the named secret resource.",
+ "description": "Deletes the secret value resource identified by the name. The name of the resource is typically the version associated with that value. Deletion will fail if the specified value is in use.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/SecretValueResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshSecretValues"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content - the specified secret value was not found."
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Secrets/{secretResourceName}/values": {
+ "get": {
+ "operationId": "MeshSecretValue_List",
+ "x-ms-examples": {
+ "ListMeshSecretValues": {
+ "$ref": "./examples/Resources/Secrets/values/list.json"
+ }
+ },
+ "summary": "List names of all values of the specified secret resource.",
+ "description": "Gets information about all secret value resources of the specified secret resource. The information includes the names of the secret value resources, but not the actual values.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshSecretValues"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PagedSecretValueResourceDescriptionList"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Secrets/{secretResourceName}/values/{secretValueResourceName}/list_value": {
+ "post": {
+ "operationId": "MeshSecretValue_Show",
+ "x-ms-examples": {
+ "ListMeshSecretValue": {
+ "$ref": "./examples/Resources/Secrets/values/list_value.json"
+ }
+ },
+ "summary": "Lists the specified value of the secret resource.",
+ "description": "Lists the decrypted value of the specified named value of the secret resource. This is a privileged operation.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/SecretResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/SecretValueResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshSecretValues"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecretValue"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Volumes/{volumeResourceName}": {
+ "put": {
+ "operationId": "MeshVolume_CreateOrUpdate",
+ "x-ms-examples": {
+ "CreateOrUpdateMeshVolume": {
+ "$ref": "./examples/Resources/Volumes/create_update.json"
+ }
+ },
+ "summary": "Creates or updates a Volume resource.",
+ "description": "Creates a Volume resource with the specified name, description and properties. If Volume resource with the same name exists, then it is updated with the specified description and properties.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/VolumeResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/VolumeResourceDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "MeshVolumes"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VolumeResourceDescription"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/VolumeResourceDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "get": {
+ "operationId": "MeshVolume_Get",
+ "x-ms-examples": {
+ "GetVolumeResource": {
+ "$ref": "./examples/Resources/Volumes/get.json"
+ }
+ },
+ "summary": "Gets the Volume resource with the given name.",
+ "description": "Gets the information about the Volume resource with the given name. The information include the description and other properties of the Volume.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/VolumeResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshVolumes"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VolumeResourceDescription"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MeshVolume_Delete",
+ "x-ms-examples": {
+ "DeleteVolumeResource": {
+ "$ref": "./examples/Resources/Volumes/delete.json"
+ }
+ },
+ "summary": "Deletes the Volume resource.",
+ "description": "Deletes the Volume resource identified by the name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/VolumeResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshVolumes"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content - the specified volume was not found."
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Volumes": {
+ "get": {
+ "operationId": "MeshVolume_List",
+ "x-ms-examples": {
+ "ListMeshVolumes": {
+ "$ref": "./examples/Resources/Volumes/list.json"
+ }
+ },
+ "summary": "Lists all the volume resources.",
+ "description": "Gets the information about all volume resources in a given resource group. The information include the description and other properties of the Volume.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ }
+ ],
+ "tags": [
+ "MeshVolumes"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PagedVolumeResourceDescriptionList"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Networks/{networkResourceName}": {
+ "put": {
+ "operationId": "MeshNetwork_CreateOrUpdate",
+ "x-ms-examples": {
+ "CreateOrUpdateMeshNetwork": {
+ "$ref": "./examples/Resources/Networks/create_update.json"
+ }
+ },
+ "summary": "Creates or updates a Network resource.",
+ "description": "Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NetworkResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/NetworkResourceDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "MeshNetworks"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/NetworkResourceDescription"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/NetworkResourceDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "get": {
+ "operationId": "MeshNetwork_Get",
+ "x-ms-examples": {
+ "GetNetworkResource": {
+ "$ref": "./examples/Resources/Networks/get.json"
+ }
+ },
+ "summary": "Gets the Network resource with the given name.",
+ "description": "Gets the information about the Network resource with the given name. The information include the description and other properties of the Network.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NetworkResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshNetworks"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/NetworkResourceDescription"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MeshNetwork_Delete",
+ "x-ms-examples": {
+ "DeleteNetworkResource": {
+ "$ref": "./examples/Resources/Networks/delete.json"
+ }
+ },
+ "summary": "Deletes the Network resource.",
+ "description": "Deletes the Network resource identified by the name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/NetworkResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshNetworks"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content - the specified network was not found."
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Networks": {
+ "get": {
+ "operationId": "MeshNetwork_List",
+ "x-ms-examples": {
+ "ListMeshNetworks": {
+ "$ref": "./examples/Resources/Networks/list.json"
+ }
+ },
+ "summary": "Lists all the network resources.",
+ "description": "Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ }
+ ],
+ "tags": [
+ "MeshNetworks"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PagedNetworkResourceDescriptionList"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Applications/{applicationResourceName}": {
+ "put": {
+ "operationId": "MeshApplication_CreateOrUpdate",
+ "x-ms-examples": {
+ "CreateOrUpdateMeshApplication": {
+ "$ref": "./examples/Resources/Applications/create_update.json"
+ },
+ "CreateOrUpdateMeshApplicationWithAutoScale": {
+ "$ref": "./examples/Resources/Applications/create_update.autoscale.json"
+ }
+ },
+ "summary": "Creates or updates a Application resource.",
+ "description": "Creates a Application resource with the specified name, description and properties. If Application resource with the same name exists, then it is updated with the specified description and properties.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "MeshApplications"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ApplicationResourceDescription"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ApplicationResourceDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "get": {
+ "operationId": "MeshApplication_Get",
+ "x-ms-examples": {
+ "GetApplicationResource": {
+ "$ref": "./examples/Resources/Applications/get.json"
+ }
+ },
+ "summary": "Gets the Application resource with the given name.",
+ "description": "Gets the information about the Application resource with the given name. The information include the description and other properties of the Application.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshApplications"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ApplicationResourceDescription"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MeshApplication_Delete",
+ "x-ms-examples": {
+ "DeleteApplicationResource": {
+ "$ref": "./examples/Resources/Applications/delete.json"
+ }
+ },
+ "summary": "Deletes the Application resource.",
+ "description": "Deletes the Application resource identified by the name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshApplications"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content - the specified application was not found."
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Applications": {
+ "get": {
+ "operationId": "MeshApplication_List",
+ "x-ms-examples": {
+ "ListMeshApplications": {
+ "$ref": "./examples/Resources/Applications/list.json"
+ }
+ },
+ "summary": "Lists all the application resources.",
+ "description": "Gets the information about all application resources in a given resource group. The information include the description and other properties of the Application.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ }
+ ],
+ "tags": [
+ "MeshApplications"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PagedApplicationResourceDescriptionList"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Applications/{applicationResourceName}/$/GetUpgradeProgress": {
+ "get": {
+ "operationId": "MeshApplication_GetUpgradeProgress",
+ "x-ms-examples": {
+ "GetApplicationResourceUpgrade": {
+ "$ref": "./examples/Resources/Applications/get_upgrade.json"
+ }
+ },
+ "summary": "Gets the progress of the latest upgrade performed on this application resource.",
+ "description": "Gets the upgrade progress information about the Application resource with the given name. The information include percentage of completion and other upgrade state information of the Application resource.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_7-0_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshApplications"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ApplicationResourceUpgradeProgressInfo"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}": {
+ "get": {
+ "operationId": "MeshService_Get",
+ "x-ms-examples": {
+ "GetServiceResource": {
+ "$ref": "./examples/Resources/Applications/Services/get.json"
+ }
+ },
+ "summary": "Gets the Service resource with the given name.",
+ "description": "Gets the information about the Service resource with the given name. The information include the description and other properties of the Service.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshServices"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceResourceDescription"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Applications/{applicationResourceName}/Services": {
+ "get": {
+ "operationId": "MeshService_List",
+ "x-ms-examples": {
+ "ListMeshServices": {
+ "$ref": "./examples/Resources/Applications/Services/list.json"
+ }
+ },
+ "summary": "Lists all the service resources.",
+ "description": "Gets the information about all services of an application resource. The information include the description and other properties of the Service.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshServices"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PagedServiceResourceDescriptionList"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas/{replicaName}/CodePackages/{codePackageName}/Logs": {
+ "get": {
+ "operationId": "MeshCodePackage_GetContainerLogs",
+ "x-ms-examples": {
+ "GetContainerLogs": {
+ "$ref": "./examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json"
+ }
+ },
+ "summary": "Gets the logs from the container.",
+ "description": "Gets the logs for the container of the specified code package of the service replica.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/CodePackageNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/TailOptionalQueryParam"
+ }
+ ],
+ "tags": [
+ "MeshCodePackages"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ContainerLogs"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas/{replicaName}": {
+ "get": {
+ "operationId": "MeshServiceReplica_Get",
+ "x-ms-examples": {
+ "GetServiceReplica": {
+ "$ref": "./examples/Resources/Applications/Services/Replicas/get.json"
+ }
+ },
+ "summary": "Gets the given replica of the service of an application.",
+ "description": "Gets the information about the service replica with the given name. The information include the description and other properties of the service replica.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ReplicaNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshServiceReplicas"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceReplicaDescription"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas": {
+ "get": {
+ "operationId": "MeshServiceReplica_List",
+ "x-ms-examples": {
+ "ListMeshServiceReplicas": {
+ "$ref": "./examples/Resources/Applications/Services/Replicas/list.json"
+ }
+ },
+ "summary": "Lists all the replicas of a service.",
+ "description": "Gets the information about all replicas of a service. The information include the description and other properties of the service replica.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/ServiceResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshServiceReplicas"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PagedServiceReplicaDescriptionList"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Gateways/{gatewayResourceName}": {
+ "put": {
+ "operationId": "MeshGateway_CreateOrUpdate",
+ "x-ms-examples": {
+ "CreateOrUpdateMeshGateway": {
+ "$ref": "./examples/Resources/Gateways/create_update.json"
+ }
+ },
+ "summary": "Creates or updates a Gateway resource.",
+ "description": "Creates a Gateway resource with the specified name, description and properties. If Gateway resource with the same name exists, then it is updated with the specified description and properties. Use Gateway resource to provide public connectivity to application services.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/GatewayResourceNameRequiredPathParam"
+ },
+ {
+ "$ref": "#/parameters/GatewayResourceDescriptionRequiredBodyParam"
+ }
+ ],
+ "tags": [
+ "MeshGateways"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GatewayResourceDescription"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GatewayResourceDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "get": {
+ "operationId": "MeshGateway_Get",
+ "x-ms-examples": {
+ "GetGatewayResource": {
+ "$ref": "./examples/Resources/Gateways/get.json"
+ }
+ },
+ "summary": "Gets the Gateway resource with the given name.",
+ "description": "Gets the information about the Gateway resource with the given name. The information include the description and other properties of the Gateway.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/GatewayResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshGateways"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GatewayResourceDescription"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MeshGateway_Delete",
+ "x-ms-examples": {
+ "DeleteGatewayResource": {
+ "$ref": "./examples/Resources/Gateways/delete.json"
+ }
+ },
+ "summary": "Deletes the Gateway resource.",
+ "description": "Deletes the Gateway resource identified by the name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ },
+ {
+ "$ref": "#/parameters/GatewayResourceNameRequiredPathParam"
+ }
+ ],
+ "tags": [
+ "MeshGateways"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content - the specified gateway was not found."
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ },
+ "/Resources/Gateways": {
+ "get": {
+ "operationId": "MeshGateway_List",
+ "x-ms-examples": {
+ "ListMeshGateways": {
+ "$ref": "./examples/Resources/Gateways/list.json"
+ }
+ },
+ "summary": "Lists all the gateway resources.",
+ "description": "Gets the information about all gateway resources in a given resource group. The information include the description and other properties of the Gateway.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam"
+ }
+ ],
+ "tags": [
+ "MeshGateways"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PagedGatewayResourceDescriptionList"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/FabricError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "HealthState": {
+ "type": "string",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc.",
+ "enum": [
+ "Invalid",
+ "Ok",
+ "Warning",
+ "Error",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "name": "HealthState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid health state. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Ok",
+ "description": "Indicates the health state is okay. The value is 1."
+ },
+ {
+ "value": "Warning",
+ "description": "Indicates the health state is at a warning level. The value is 2."
+ },
+ {
+ "value": "Error",
+ "description": "Indicates the health state is at an error level. Error health state should be investigated, as they can impact the correct functionality of the cluster. The value is 3."
+ },
+ {
+ "value": "Unknown",
+ "description": "Indicates an unknown health status. The value is 65535."
+ }
+ ]
+ }
+ },
+ "FabricErrorCodes": {
+ "type": "string",
+ "description": "Defines the fabric error codes that be returned as part of the error object in response to Service Fabric API operations that are not successful. Following are the error code values that can be returned for a specific HTTP status code.\n\n - Possible values of the error code for HTTP status code 400 (Bad Request)\n - \"FABRIC_E_INVALID_PARTITION_KEY\"\n - \"FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR\"\n - \"FABRIC_E_INVALID_ADDRESS\"\n - \"FABRIC_E_APPLICATION_NOT_UPGRADING\"\n - \"FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR\"\n - \"FABRIC_E_FABRIC_NOT_UPGRADING\"\n - \"FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR\"\n - \"FABRIC_E_INVALID_CONFIGURATION\"\n - \"FABRIC_E_INVALID_NAME_URI\"\n - \"FABRIC_E_PATH_TOO_LONG\"\n - \"FABRIC_E_KEY_TOO_LARGE\"\n - \"FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED\"\n - \"FABRIC_E_INVALID_ATOMIC_GROUP\"\n - \"FABRIC_E_VALUE_EMPTY\"\n - \"FABRIC_E_BACKUP_IS_ENABLED\"\n - \"FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH\"\n - \"FABRIC_E_INVALID_FOR_STATELESS_SERVICES\"\n - \"FABRIC_E_INVALID_SERVICE_SCALING_POLICY\"\n - \"E_INVALIDARG\"\n\n - Possible values of the error code for HTTP status code 404 (Not Found)\n - \"FABRIC_E_NODE_NOT_FOUND\"\n - \"FABRIC_E_APPLICATION_TYPE_NOT_FOUND\"\n - \"FABRIC_E_APPLICATION_NOT_FOUND\"\n - \"FABRIC_E_SERVICE_TYPE_NOT_FOUND\"\n - \"FABRIC_E_SERVICE_DOES_NOT_EXIST\"\n - \"FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND\"\n - \"FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND\"\n - \"FABRIC_E_PARTITION_NOT_FOUND\"\n - \"FABRIC_E_REPLICA_DOES_NOT_EXIST\"\n - \"FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST\"\n - \"FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND\"\n - \"FABRIC_E_DIRECTORY_NOT_FOUND\"\n - \"FABRIC_E_FABRIC_VERSION_NOT_FOUND\"\n - \"FABRIC_E_FILE_NOT_FOUND\"\n - \"FABRIC_E_NAME_DOES_NOT_EXIST\"\n - \"FABRIC_E_PROPERTY_DOES_NOT_EXIST\"\n - \"FABRIC_E_ENUMERATION_COMPLETED\"\n - \"FABRIC_E_SERVICE_MANIFEST_NOT_FOUND\"\n - \"FABRIC_E_KEY_NOT_FOUND\"\n - \"FABRIC_E_HEALTH_ENTITY_NOT_FOUND\"\n - \"FABRIC_E_BACKUP_NOT_ENABLED\"\n - \"FABRIC_E_BACKUP_POLICY_NOT_EXISTING\"\n - \"FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING\"\n - \"FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR\"\n\n - Possible values of the error code for HTTP status code 409 (Conflict)\n - \"FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION\"\n - \"FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS\"\n - \"FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS\"\n - \"FABRIC_E_SERVICE_ALREADY_EXISTS\"\n - \"FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_TYPE_IN_USE\"\n - \"FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION\"\n - \"FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS\"\n - \"FABRIC_E_FABRIC_VERSION_IN_USE\"\n - \"FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS\"\n - \"FABRIC_E_NAME_ALREADY_EXISTS\"\n - \"FABRIC_E_NAME_NOT_EMPTY\"\n - \"FABRIC_E_PROPERTY_CHECK_FAILED\"\n - \"FABRIC_E_SERVICE_METADATA_MISMATCH\"\n - \"FABRIC_E_SERVICE_TYPE_MISMATCH\"\n - \"FABRIC_E_HEALTH_STALE_REPORT\"\n - \"FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED\"\n - \"FABRIC_E_NODE_HAS_NOT_STOPPED_YET\"\n - \"FABRIC_E_INSTANCE_ID_MISMATCH\"\n - \"FABRIC_E_BACKUP_IN_PROGRESS\"\n - \"FABRIC_E_RESTORE_IN_PROGRESS\"\n - \"FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING\"\n\n - Possible values of the error code for HTTP status code 413 (Request Entity Too Large)\n - \"FABRIC_E_VALUE_TOO_LARGE\"\n\n - Possible values of the error code for HTTP status code 500 (Internal Server Error)\n - \"FABRIC_E_NODE_IS_UP\"\n - \"E_FAIL\"\n - \"FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS\"\n - \"FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND\"\n - \"FABRIC_E_VOLUME_ALREADY_EXISTS\"\n - \"FABRIC_E_VOLUME_NOT_FOUND\"\n - \"SerializationError\"\n\n - Possible values of the error code for HTTP status code 503 (Service Unavailable)\n - \"FABRIC_E_NO_WRITE_QUORUM\"\n - \"FABRIC_E_NOT_PRIMARY\"\n - \"FABRIC_E_NOT_READY\"\n - \"FABRIC_E_RECONFIGURATION_PENDING\"\n - \"FABRIC_E_SERVICE_OFFLINE\"\n - \"E_ABORT\"\n - \"FABRIC_E_VALUE_TOO_LARGE\"\n\n - Possible values of the error code for HTTP status code 504 (Gateway Timeout)\n - \"FABRIC_E_COMMUNICATION_ERROR\"\n - \"FABRIC_E_OPERATION_NOT_COMPLETE\"\n - \"FABRIC_E_TIMEOUT\"",
+ "enum": [
+ "FABRIC_E_INVALID_PARTITION_KEY",
+ "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR",
+ "FABRIC_E_INVALID_ADDRESS",
+ "FABRIC_E_APPLICATION_NOT_UPGRADING",
+ "FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR",
+ "FABRIC_E_FABRIC_NOT_UPGRADING",
+ "FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR",
+ "FABRIC_E_INVALID_CONFIGURATION",
+ "FABRIC_E_INVALID_NAME_URI",
+ "FABRIC_E_PATH_TOO_LONG",
+ "FABRIC_E_KEY_TOO_LARGE",
+ "FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED",
+ "FABRIC_E_INVALID_ATOMIC_GROUP",
+ "FABRIC_E_VALUE_EMPTY",
+ "FABRIC_E_NODE_NOT_FOUND",
+ "FABRIC_E_APPLICATION_TYPE_NOT_FOUND",
+ "FABRIC_E_APPLICATION_NOT_FOUND",
+ "FABRIC_E_SERVICE_TYPE_NOT_FOUND",
+ "FABRIC_E_SERVICE_DOES_NOT_EXIST",
+ "FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND",
+ "FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND",
+ "FABRIC_E_PARTITION_NOT_FOUND",
+ "FABRIC_E_REPLICA_DOES_NOT_EXIST",
+ "FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST",
+ "FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND",
+ "FABRIC_E_DIRECTORY_NOT_FOUND",
+ "FABRIC_E_FABRIC_VERSION_NOT_FOUND",
+ "FABRIC_E_FILE_NOT_FOUND",
+ "FABRIC_E_NAME_DOES_NOT_EXIST",
+ "FABRIC_E_PROPERTY_DOES_NOT_EXIST",
+ "FABRIC_E_ENUMERATION_COMPLETED",
+ "FABRIC_E_SERVICE_MANIFEST_NOT_FOUND",
+ "FABRIC_E_KEY_NOT_FOUND",
+ "FABRIC_E_HEALTH_ENTITY_NOT_FOUND",
+ "FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS",
+ "FABRIC_E_APPLICATION_ALREADY_EXISTS",
+ "FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION",
+ "FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS",
+ "FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS",
+ "FABRIC_E_SERVICE_ALREADY_EXISTS",
+ "FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS",
+ "FABRIC_E_APPLICATION_TYPE_IN_USE",
+ "FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION",
+ "FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS",
+ "FABRIC_E_FABRIC_VERSION_IN_USE",
+ "FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS",
+ "FABRIC_E_NAME_ALREADY_EXISTS",
+ "FABRIC_E_NAME_NOT_EMPTY",
+ "FABRIC_E_PROPERTY_CHECK_FAILED",
+ "FABRIC_E_SERVICE_METADATA_MISMATCH",
+ "FABRIC_E_SERVICE_TYPE_MISMATCH",
+ "FABRIC_E_HEALTH_STALE_REPORT",
+ "FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED",
+ "FABRIC_E_NODE_HAS_NOT_STOPPED_YET",
+ "FABRIC_E_INSTANCE_ID_MISMATCH",
+ "FABRIC_E_VALUE_TOO_LARGE",
+ "FABRIC_E_NO_WRITE_QUORUM",
+ "FABRIC_E_NOT_PRIMARY",
+ "FABRIC_E_NOT_READY",
+ "FABRIC_E_RECONFIGURATION_PENDING",
+ "FABRIC_E_SERVICE_OFFLINE",
+ "E_ABORT",
+ "FABRIC_E_COMMUNICATION_ERROR",
+ "FABRIC_E_OPERATION_NOT_COMPLETE",
+ "FABRIC_E_TIMEOUT",
+ "FABRIC_E_NODE_IS_UP",
+ "E_FAIL",
+ "FABRIC_E_BACKUP_IS_ENABLED",
+ "FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH",
+ "FABRIC_E_INVALID_FOR_STATELESS_SERVICES",
+ "FABRIC_E_BACKUP_NOT_ENABLED",
+ "FABRIC_E_BACKUP_POLICY_NOT_EXISTING",
+ "FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING",
+ "FABRIC_E_BACKUP_IN_PROGRESS",
+ "FABRIC_E_RESTORE_IN_PROGRESS",
+ "FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING",
+ "FABRIC_E_INVALID_SERVICE_SCALING_POLICY",
+ "E_INVALIDARG",
+ "FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS",
+ "FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND",
+ "FABRIC_E_VOLUME_ALREADY_EXISTS",
+ "FABRIC_E_VOLUME_NOT_FOUND",
+ "SerializationError",
+ "FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR"
+ ],
+ "x-ms-enum": {
+ "name": "FabricErrorCodes",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "FABRIC_E_INVALID_PARTITION_KEY"
+ },
+ {
+ "value": "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR"
+ },
+ {
+ "value": "FABRIC_E_INVALID_ADDRESS"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_NOT_UPGRADING"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR"
+ },
+ {
+ "value": "FABRIC_E_FABRIC_NOT_UPGRADING"
+ },
+ {
+ "value": "FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR"
+ },
+ {
+ "value": "FABRIC_E_INVALID_CONFIGURATION"
+ },
+ {
+ "value": "FABRIC_E_INVALID_NAME_URI"
+ },
+ {
+ "value": "FABRIC_E_PATH_TOO_LONG"
+ },
+ {
+ "value": "FABRIC_E_KEY_TOO_LARGE"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED"
+ },
+ {
+ "value": "FABRIC_E_INVALID_ATOMIC_GROUP"
+ },
+ {
+ "value": "FABRIC_E_VALUE_EMPTY"
+ },
+ {
+ "value": "FABRIC_E_NODE_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_TYPE_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_TYPE_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_DOES_NOT_EXIST"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_PARTITION_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_REPLICA_DOES_NOT_EXIST"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST"
+ },
+ {
+ "value": "FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_DIRECTORY_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_FABRIC_VERSION_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_FILE_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_NAME_DOES_NOT_EXIST"
+ },
+ {
+ "value": "FABRIC_E_PROPERTY_DOES_NOT_EXIST"
+ },
+ {
+ "value": "FABRIC_E_ENUMERATION_COMPLETED"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_MANIFEST_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_KEY_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_HEALTH_ENTITY_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_ALREADY_EXISTS"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_ALREADY_EXISTS"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS"
+ },
+ {
+ "value": "FABRIC_E_APPLICATION_TYPE_IN_USE"
+ },
+ {
+ "value": "FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION"
+ },
+ {
+ "value": "FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS"
+ },
+ {
+ "value": "FABRIC_E_FABRIC_VERSION_IN_USE"
+ },
+ {
+ "value": "FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS"
+ },
+ {
+ "value": "FABRIC_E_NAME_ALREADY_EXISTS"
+ },
+ {
+ "value": "FABRIC_E_NAME_NOT_EMPTY"
+ },
+ {
+ "value": "FABRIC_E_PROPERTY_CHECK_FAILED"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_METADATA_MISMATCH"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_TYPE_MISMATCH"
+ },
+ {
+ "value": "FABRIC_E_HEALTH_STALE_REPORT"
+ },
+ {
+ "value": "FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED"
+ },
+ {
+ "value": "FABRIC_E_NODE_HAS_NOT_STOPPED_YET"
+ },
+ {
+ "value": "FABRIC_E_INSTANCE_ID_MISMATCH"
+ },
+ {
+ "value": "FABRIC_E_VALUE_TOO_LARGE"
+ },
+ {
+ "value": "FABRIC_E_NO_WRITE_QUORUM"
+ },
+ {
+ "value": "FABRIC_E_NOT_PRIMARY"
+ },
+ {
+ "value": "FABRIC_E_NOT_READY"
+ },
+ {
+ "value": "FABRIC_E_RECONFIGURATION_PENDING"
+ },
+ {
+ "value": "FABRIC_E_SERVICE_OFFLINE"
+ },
+ {
+ "value": "E_ABORT"
+ },
+ {
+ "value": "FABRIC_E_COMMUNICATION_ERROR"
+ },
+ {
+ "value": "FABRIC_E_OPERATION_NOT_COMPLETE"
+ },
+ {
+ "value": "FABRIC_E_TIMEOUT"
+ },
+ {
+ "value": "FABRIC_E_NODE_IS_UP"
+ },
+ {
+ "value": "E_FAIL"
+ },
+ {
+ "value": "FABRIC_E_BACKUP_IS_ENABLED"
+ },
+ {
+ "value": "FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH"
+ },
+ {
+ "value": "FABRIC_E_INVALID_FOR_STATELESS_SERVICES"
+ },
+ {
+ "value": "FABRIC_E_BACKUP_NOT_ENABLED"
+ },
+ {
+ "value": "FABRIC_E_BACKUP_POLICY_NOT_EXISTING"
+ },
+ {
+ "value": "FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING"
+ },
+ {
+ "value": "FABRIC_E_BACKUP_IN_PROGRESS"
+ },
+ {
+ "value": "FABRIC_E_RESTORE_IN_PROGRESS"
+ },
+ {
+ "value": "FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING"
+ },
+ {
+ "value": "FABRIC_E_INVALID_SERVICE_SCALING_POLICY"
+ },
+ {
+ "value": "E_INVALIDARG"
+ },
+ {
+ "value": "FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS"
+ },
+ {
+ "value": "FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND"
+ },
+ {
+ "value": "FABRIC_E_VOLUME_ALREADY_EXISTS"
+ },
+ {
+ "value": "FABRIC_E_VOLUME_NOT_FOUND"
+ },
+ {
+ "value": "SerializationError"
+ },
+ {
+ "value": "FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR"
+ }
+ ]
+ }
+ },
+ "FabricError": {
+ "description": "The REST API operations for Service Fabric return standard HTTP status codes. This type defines the additional information returned from the Service Fabric API operations that are not successful.",
+ "properties": {
+ "Error": {
+ "$ref": "#/definitions/FabricErrorError",
+ "description": "Error object containing error code and error message."
+ }
+ },
+ "required": [
+ "Error"
+ ]
+ },
+ "FabricErrorError": {
+ "description": "Error object containing error code and error message.",
+ "properties": {
+ "Code": {
+ "$ref": "#/definitions/FabricErrorCodes",
+ "description": "Defines the fabric error codes that be returned as part of the error object in response to Service Fabric API operations that are not successful. Following are the error code values that can be returned for a specific HTTP status code.\n\n - Possible values of the error code for HTTP status code 400 (Bad Request)\n - \"FABRIC_E_INVALID_PARTITION_KEY\"\n - \"FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR\"\n - \"FABRIC_E_INVALID_ADDRESS\"\n - \"FABRIC_E_APPLICATION_NOT_UPGRADING\"\n - \"FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR\"\n - \"FABRIC_E_FABRIC_NOT_UPGRADING\"\n - \"FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR\"\n - \"FABRIC_E_INVALID_CONFIGURATION\"\n - \"FABRIC_E_INVALID_NAME_URI\"\n - \"FABRIC_E_PATH_TOO_LONG\"\n - \"FABRIC_E_KEY_TOO_LARGE\"\n - \"FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED\"\n - \"FABRIC_E_INVALID_ATOMIC_GROUP\"\n - \"FABRIC_E_VALUE_EMPTY\"\n - \"FABRIC_E_BACKUP_IS_ENABLED\"\n - \"FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH\"\n - \"FABRIC_E_INVALID_FOR_STATELESS_SERVICES\"\n - \"FABRIC_E_INVALID_SERVICE_SCALING_POLICY\"\n - \"E_INVALIDARG\"\n\n - Possible values of the error code for HTTP status code 404 (Not Found)\n - \"FABRIC_E_NODE_NOT_FOUND\"\n - \"FABRIC_E_APPLICATION_TYPE_NOT_FOUND\"\n - \"FABRIC_E_APPLICATION_NOT_FOUND\"\n - \"FABRIC_E_SERVICE_TYPE_NOT_FOUND\"\n - \"FABRIC_E_SERVICE_DOES_NOT_EXIST\"\n - \"FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND\"\n - \"FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND\"\n - \"FABRIC_E_PARTITION_NOT_FOUND\"\n - \"FABRIC_E_REPLICA_DOES_NOT_EXIST\"\n - \"FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST\"\n - \"FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND\"\n - \"FABRIC_E_DIRECTORY_NOT_FOUND\"\n - \"FABRIC_E_FABRIC_VERSION_NOT_FOUND\"\n - \"FABRIC_E_FILE_NOT_FOUND\"\n - \"FABRIC_E_NAME_DOES_NOT_EXIST\"\n - \"FABRIC_E_PROPERTY_DOES_NOT_EXIST\"\n - \"FABRIC_E_ENUMERATION_COMPLETED\"\n - \"FABRIC_E_SERVICE_MANIFEST_NOT_FOUND\"\n - \"FABRIC_E_KEY_NOT_FOUND\"\n - \"FABRIC_E_HEALTH_ENTITY_NOT_FOUND\"\n - \"FABRIC_E_BACKUP_NOT_ENABLED\"\n - \"FABRIC_E_BACKUP_POLICY_NOT_EXISTING\"\n - \"FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING\"\n - \"FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR\"\n\n - Possible values of the error code for HTTP status code 409 (Conflict)\n - \"FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION\"\n - \"FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS\"\n - \"FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS\"\n - \"FABRIC_E_SERVICE_ALREADY_EXISTS\"\n - \"FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_TYPE_IN_USE\"\n - \"FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION\"\n - \"FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS\"\n - \"FABRIC_E_FABRIC_VERSION_IN_USE\"\n - \"FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS\"\n - \"FABRIC_E_NAME_ALREADY_EXISTS\"\n - \"FABRIC_E_NAME_NOT_EMPTY\"\n - \"FABRIC_E_PROPERTY_CHECK_FAILED\"\n - \"FABRIC_E_SERVICE_METADATA_MISMATCH\"\n - \"FABRIC_E_SERVICE_TYPE_MISMATCH\"\n - \"FABRIC_E_HEALTH_STALE_REPORT\"\n - \"FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED\"\n - \"FABRIC_E_NODE_HAS_NOT_STOPPED_YET\"\n - \"FABRIC_E_INSTANCE_ID_MISMATCH\"\n - \"FABRIC_E_BACKUP_IN_PROGRESS\"\n - \"FABRIC_E_RESTORE_IN_PROGRESS\"\n - \"FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING\"\n\n - Possible values of the error code for HTTP status code 413 (Request Entity Too Large)\n - \"FABRIC_E_VALUE_TOO_LARGE\"\n\n - Possible values of the error code for HTTP status code 500 (Internal Server Error)\n - \"FABRIC_E_NODE_IS_UP\"\n - \"E_FAIL\"\n - \"FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS\"\n - \"FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND\"\n - \"FABRIC_E_VOLUME_ALREADY_EXISTS\"\n - \"FABRIC_E_VOLUME_NOT_FOUND\"\n - \"SerializationError\"\n\n - Possible values of the error code for HTTP status code 503 (Service Unavailable)\n - \"FABRIC_E_NO_WRITE_QUORUM\"\n - \"FABRIC_E_NOT_PRIMARY\"\n - \"FABRIC_E_NOT_READY\"\n - \"FABRIC_E_RECONFIGURATION_PENDING\"\n - \"FABRIC_E_SERVICE_OFFLINE\"\n - \"E_ABORT\"\n - \"FABRIC_E_VALUE_TOO_LARGE\"\n\n - Possible values of the error code for HTTP status code 504 (Gateway Timeout)\n - \"FABRIC_E_COMMUNICATION_ERROR\"\n - \"FABRIC_E_OPERATION_NOT_COMPLETE\"\n - \"FABRIC_E_TIMEOUT\""
+ },
+ "Message": {
+ "type": "string",
+ "description": "Error message."
+ }
+ },
+ "required": [
+ "Code"
+ ]
+ },
+ "ContainerLogs": {
+ "description": "Container logs.",
+ "properties": {
+ "Content": {
+ "type": "string",
+ "description": "Container logs."
+ }
+ }
+ },
+ "AadMetadata": {
+ "description": "Azure Active Directory metadata used for secured connection to cluster.",
+ "properties": {
+ "authority": {
+ "type": "string",
+ "description": "The AAD authority url."
+ },
+ "client": {
+ "type": "string",
+ "description": "The AAD client application Id."
+ },
+ "cluster": {
+ "type": "string",
+ "description": "The AAD cluster application Id."
+ },
+ "login": {
+ "type": "string",
+ "description": "The AAD login url."
+ },
+ "redirect": {
+ "type": "string",
+ "description": "The client application redirect address."
+ },
+ "tenant": {
+ "type": "string",
+ "description": "The AAD tenant Id."
+ }
+ }
+ },
+ "AadMetadataObject": {
+ "description": "Azure Active Directory metadata object used for secured connection to cluster.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The client authentication method."
+ },
+ "metadata": {
+ "$ref": "#/definitions/AadMetadata",
+ "description": "Azure Active Directory metadata used for secured connection to cluster."
+ }
+ }
+ },
+ "AnalysisEventMetadata": {
+ "description": "Metadata about an Analysis Event.",
+ "properties": {
+ "Delay": {
+ "type": "string",
+ "format": "duration",
+ "description": "The analysis delay."
+ },
+ "Duration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The duration of analysis."
+ }
+ }
+ },
+ "ApplicationDefinitionKind": {
+ "type": "string",
+ "description": "The mechanism used to define a Service Fabric application.",
+ "enum": [
+ "Invalid",
+ "ServiceFabricApplicationDescription",
+ "Compose"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationDefinitionKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the application definition kind is invalid. All Service Fabric enumerations have the invalid type. The value is 65535."
+ },
+ {
+ "value": "ServiceFabricApplicationDescription",
+ "description": "Indicates the application is defined by a Service Fabric application description. The value is 0."
+ },
+ {
+ "value": "Compose",
+ "description": "Indicates the application is defined by compose file(s). The value is 1."
+ }
+ ]
+ }
+ },
+ "ApplicationEvent": {
+ "description": "Represents the base for all Application Events.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FabricEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationId": {
+ "$ref": "#/definitions/ApplicationId",
+ "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions."
+ }
+ },
+ "required": [
+ "ApplicationId"
+ ],
+ "x-ms-discriminator-value": "ApplicationEvent"
+ },
+ "ApplicationEventList": {
+ "description": "A list of ApplicationEvent objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ },
+ "ApplicationHealth": {
+ "description": "Represents the health of the application. Contains the application aggregated health state and the service and deployed application health states.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealth"
+ }
+ ],
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "ServiceHealthStates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceHealthState"
+ },
+ "description": "Service health states as found in the health store."
+ },
+ "DeployedApplicationHealthStates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedApplicationHealthState"
+ },
+ "description": "Deployed application health states as found in the health store."
+ }
+ }
+ },
+ "ApplicationHealthEvaluation": {
+ "x-ms-discriminator-value": "Application",
+ "description": "Represents health evaluation for an application, containing information about the data and the algorithm used by the health store to evaluate health.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the current aggregated health state of the application. The types of the unhealthy evaluations can be DeployedApplicationsHealthEvaluation, ServicesHealthEvaluation or EventHealthEvaluation."
+ }
+ }
+ },
+ "ApplicationHealthPolicies": {
+ "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities.",
+ "properties": {
+ "ApplicationHealthPolicyMap": {
+ "$ref": "#/definitions/ApplicationHealthPolicyMap",
+ "description": "The wrapper that contains the map with application health policies used to evaluate specific applications in the cluster."
+ }
+ }
+ },
+ "ApplicationHealthPolicy": {
+ "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.",
+ "properties": {
+ "ConsiderWarningAsError": {
+ "type": "boolean",
+ "description": "Indicates whether warnings are treated with the same severity as errors.",
+ "default": false
+ },
+ "MaxPercentUnhealthyDeployedApplications": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.",
+ "default": 0
+ },
+ "DefaultServiceTypeHealthPolicy": {
+ "$ref": "#/definitions/ServiceTypeHealthPolicy",
+ "description": "The health policy used by default to evaluate the health of a service type."
+ },
+ "ServiceTypeHealthPolicyMap": {
+ "$ref": "#/definitions/ServiceTypeHealthPolicyMap",
+ "description": "The map with service type health policy per service type name. The map is empty by default."
+ }
+ }
+ },
+ "ApplicationHealthPolicyMap": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationHealthPolicyMapItem"
+ },
+ "description": "Defines a map that contains specific application health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.\nIf an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest).\nThe map is empty by default."
+ },
+ "ApplicationHealthPolicyMapItem": {
+ "description": "Defines an item in ApplicationHealthPolicyMap.",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "properties": {
+ "Key": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The key of the application health policy map item. This is the name of the application."
+ },
+ "Value": {
+ "$ref": "#/definitions/ApplicationHealthPolicy",
+ "description": "The value of the application health policy map item. This is the ApplicationHealthPolicy for this application."
+ }
+ }
+ },
+ "ApplicationHealthState": {
+ "description": "Represents the health state of an application, which contains the application identifier and the aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthState"
+ }
+ ],
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ }
+ }
+ },
+ "ApplicationHealthStateChunk": {
+ "description": "Represents the health state chunk of a application.\nThe application health state chunk contains the application name, its aggregated health state and any children services and deployed applications that respect the filters in cluster health chunk query description.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunk"
+ }
+ ],
+ "properties": {
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "ApplicationTypeName": {
+ "$ref": "#/definitions/ApplicationTypeName",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "ServiceHealthStateChunks": {
+ "$ref": "#/definitions/ServiceHealthStateChunkList",
+ "description": "The list of service health state chunks in the cluster that respect the filters in the cluster health chunk query description."
+ },
+ "DeployedApplicationHealthStateChunks": {
+ "$ref": "#/definitions/DeployedApplicationHealthStateChunkList",
+ "description": "The list of deployed application health state chunks in the cluster that respect the filters in the cluster health chunk query description."
+ }
+ }
+ },
+ "ApplicationHealthStateChunkList": {
+ "description": "The list of application health state chunks in the cluster that respect the input filters in the chunk query. Returned by get cluster health state chunks query.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunkList"
+ }
+ ],
+ "properties": {
+ "Items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationHealthStateChunk"
+ },
+ "description": "The list of application health state chunks that respect the input filters in the chunk query."
+ }
+ }
+ },
+ "ApplicationHealthStateFilter": {
+ "description": "Defines matching criteria to determine whether a application should be included in the cluster health chunk.\nOne filter can match zero, one or multiple applications, depending on its properties.",
+ "properties": {
+ "ApplicationNameFilter": {
+ "type": "string",
+ "description": "The name of the application that matches the filter, as a fabric uri. The filter is applied only to the specified application, if it exists.\nIf the application doesn't exist, no application is returned in the cluster health chunk based on this filter.\nIf the application exists, it is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all applications are matched against the other filter members, like health state filter."
+ },
+ "ApplicationTypeNameFilter": {
+ "type": "string",
+ "description": "The name of the application type that matches the filter.\nIf specified, the filter is applied only to applications of the selected application type, if any exists.\nIf no applications of the specified application type exists, no application is returned in the cluster health chunk based on this filter.\nEach application of the specified application type is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all applications are matched against the other filter members, like health state filter."
+ },
+ "HealthStateFilter": {
+ "type": "integer",
+ "default": 0,
+ "description": "The filter for the health state of the applications. It allows selecting applications if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only applications that match the filter are returned. All applications are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the application name or the application type name are specified. If the filter has default value and application name is specified, the matching application is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches applications with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
+ },
+ "ServiceFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceHealthStateFilter"
+ },
+ "description": "Defines a list of filters that specify which services to be included in the returned cluster health chunk as children of the application. The services are returned only if the parent application matches a filter.\nIf the list is empty, no services are returned. All the services are used to evaluate the parent application aggregated health state, regardless of the input filters.\nThe application filter may specify multiple service filters.\nFor example, it can specify a filter to return all services with health state Error and another filter to always include a service identified by its service name."
+ },
+ "DeployedApplicationFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedApplicationHealthStateFilter"
+ },
+ "description": "Defines a list of filters that specify which deployed applications to be included in the returned cluster health chunk as children of the application. The deployed applications are returned only if the parent application matches a filter.\nIf the list is empty, no deployed applications are returned. All the deployed applications are used to evaluate the parent application aggregated health state, regardless of the input filters.\nThe application filter may specify multiple deployed application filters.\nFor example, it can specify a filter to return all deployed applications with health state Error and another filter to always include a deployed application on a specified node."
+ }
+ }
+ },
+ "ApplicationId": {
+ "type": "string",
+ "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions."
+ },
+ "ApplicationInfo": {
+ "description": "Information about a Service Fabric application.",
+ "properties": {
+ "Id": {
+ "$ref": "#/definitions/ApplicationId",
+ "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions."
+ },
+ "Name": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "TypeName": {
+ "$ref": "#/definitions/ApplicationTypeName",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "TypeVersion": {
+ "$ref": "#/definitions/ApplicationTypeVersion",
+ "description": "The version of the application type as defined in the application manifest."
+ },
+ "Status": {
+ "$ref": "#/definitions/ApplicationStatus",
+ "description": "The status of the application."
+ },
+ "Parameters": {
+ "$ref": "#/definitions/ApplicationParameterList",
+ "description": "List of application parameters with overridden values from their default values specified in the application manifest."
+ },
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ },
+ "ApplicationDefinitionKind": {
+ "$ref": "#/definitions/ApplicationDefinitionKind",
+ "description": "The mechanism used to define a Service Fabric application."
+ }
+ }
+ },
+ "ApplicationLoadInfo": {
+ "description": "Load Information about a Service Fabric application.",
+ "properties": {
+ "Id": {
+ "$ref": "#/definitions/ApplicationId",
+ "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions."
+ },
+ "MinimumNodes": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The minimum number of nodes for this application.\nIt is the number of nodes where Service Fabric will reserve Capacity in the cluster which equals to ReservedLoad * MinimumNodes for this Application instance.\nFor applications that do not have application capacity defined this value will be zero."
+ },
+ "MaximumNodes": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum number of nodes where this application can be instantiated.\nIt is the number of nodes this application is allowed to span.\nFor applications that do not have application capacity defined this value will be zero."
+ },
+ "NodeCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of nodes on which this application is instantiated.\nFor applications that do not have application capacity defined this value will be zero."
+ },
+ "ApplicationLoadMetricInformation": {
+ "$ref": "#/definitions/ApplicationMetricDescriptionList",
+ "description": "List of application capacity metric description."
+ }
+ }
+ },
+ "ApplicationName": {
+ "type": "string",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "ApplicationNameInfo": {
+ "description": "Information about the application name.",
+ "properties": {
+ "Id": {
+ "$ref": "#/definitions/ApplicationId",
+ "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions."
+ },
+ "Name": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ }
+ }
+ },
+ "ApplicationPackageCleanupPolicy": {
+ "type": "string",
+ "description": "The kind of action that needs to be taken for cleaning up the application package after successful provision.",
+ "enum": [
+ "Invalid",
+ "Default",
+ "Automatic",
+ "Manual"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationPackageCleanupPolicy",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the application package cleanup policy is invalid. This value is default. The value is zero."
+ },
+ {
+ "value": "Default",
+ "description": "Indicates that the cleanup policy of application packages is based on the cluster setting \"CleanupApplicationPackageOnProvisionSuccess.\" The value is 1."
+ },
+ {
+ "value": "Automatic",
+ "description": "Indicates that the service fabric runtime determines when to do the application package cleanup. By default, cleanup is done on successful provision. The value is 2."
+ },
+ {
+ "value": "Manual",
+ "description": "Indicates that the user has to explicitly clean up the application package. The value is 3."
+ }
+ ]
+ }
+ },
+ "ApplicationParameter": {
+ "description": "Describes an application parameter override to be applied when creating or upgrading an application.",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "properties": {
+ "Key": {
+ "type": "string",
+ "description": "The name of the parameter."
+ },
+ "Value": {
+ "type": "string",
+ "description": "The value of the parameter."
+ }
+ }
+ },
+ "ApplicationParameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationParameter"
+ },
+ "description": "List of application parameters with overridden values from their default values specified in the application manifest."
+ },
+ "ApplicationsHealthEvaluation": {
+ "x-ms-discriminator-value": "Applications",
+ "description": "Represents health evaluation for applications, containing health evaluations for each unhealthy application that impacted current aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "MaxPercentUnhealthyApplications": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of unhealthy applications from the ClusterHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of applications from the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ApplicationHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "ApplicationStatus": {
+ "type": "string",
+ "description": "The status of the application.",
+ "enum": [
+ "Invalid",
+ "Ready",
+ "Upgrading",
+ "Creating",
+ "Deleting",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the application status is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Ready",
+ "description": "Indicates the application status is ready. The value is 1."
+ },
+ {
+ "value": "Upgrading",
+ "description": "Indicates the application status is upgrading. The value is 2."
+ },
+ {
+ "value": "Creating",
+ "description": "Indicates the application status is creating. The value is 3."
+ },
+ {
+ "value": "Deleting",
+ "description": "Indicates the application status is deleting. The value is 4."
+ },
+ {
+ "value": "Failed",
+ "description": "Indicates the creation or deletion of application was terminated due to persistent failures. Another create/delete request can be accepted to resume a failed application. The value is 5."
+ }
+ ]
+ }
+ },
+ "ApplicationTypeApplicationsHealthEvaluation": {
+ "x-ms-discriminator-value": "ApplicationTypeApplications",
+ "description": "Represents health evaluation for applications of a particular application type. The application type applications evaluation can be returned when cluster health evaluation returns unhealthy aggregated health state, either Error or Warning. It contains health evaluations for each unhealthy application of the included application type that impacted current aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeName": {
+ "$ref": "#/definitions/ApplicationTypeName",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "MaxPercentUnhealthyApplications": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of unhealthy applications for the application type, specified as an entry in ApplicationTypeHealthPolicyMap."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of applications of the application type found in the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ApplicationHealthEvaluation of this application type that impacted the aggregated health."
+ }
+ }
+ },
+ "ApplicationTypeDefinitionKind": {
+ "type": "string",
+ "description": "The mechanism used to define a Service Fabric application type.",
+ "enum": [
+ "Invalid",
+ "ServiceFabricApplicationPackage",
+ "Compose"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationTypeDefinitionKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the application type definition kind is invalid. All Service Fabric enumerations have the invalid type. The value is 0."
+ },
+ {
+ "value": "ServiceFabricApplicationPackage",
+ "description": "Indicates the application type is defined and created by a Service Fabric application package provided by the user. The value is 1."
+ },
+ {
+ "value": "Compose",
+ "description": "Indicates the application type is defined and created implicitly as part of a compose deployment. The value is 2."
+ }
+ ]
+ }
+ },
+ "ApplicationTypeHealthPolicyMap": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationTypeHealthPolicyMapItem"
+ },
+ "description": "Defines a map with max percentage unhealthy applications for specific application types.\nEach entry specifies as key the application type name and as value an integer that represents the MaxPercentUnhealthyApplications percentage used to evaluate the applications of the specified application type.\n\nThe application type health policy map can be used during cluster health evaluation to describe special application types.\nThe application types included in the map are evaluated against the percentage specified in the map, and not with the global MaxPercentUnhealthyApplications defined in the cluster health policy.\nThe applications of application types specified in the map are not counted against the global pool of applications.\nFor example, if some applications of a type are critical, the cluster administrator can add an entry to the map for that application type\nand assign it a value of 0% (that is, do not tolerate any failures).\nAll other applications can be evaluated with MaxPercentUnhealthyApplications set to 20% to tolerate some failures out of the thousands of application instances.\nThe application type health policy map is used only if the cluster manifest enables application type health evaluation using the configuration entry for HealthManager/EnableApplicationTypeHealthEvaluation."
+ },
+ "ApplicationTypeHealthPolicyMapItem": {
+ "description": "Defines an item in ApplicationTypeHealthPolicyMap.",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "properties": {
+ "Key": {
+ "type": "string",
+ "description": "The key of the application type health policy map item. This is the name of the application type."
+ },
+ "Value": {
+ "type": "integer",
+ "description": "The value of the application type health policy map item.\nThe max percent unhealthy applications allowed for the application type. Must be between zero and 100."
+ }
+ }
+ },
+ "ApplicationTypeInfo": {
+ "description": "Information about an application type.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ApplicationTypeName",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "Version": {
+ "$ref": "#/definitions/ApplicationTypeVersion",
+ "description": "The version of the application type as defined in the application manifest."
+ },
+ "DefaultParameterList": {
+ "$ref": "#/definitions/ApplicationTypeParameterList",
+ "description": "List of application type parameters that can be overridden when creating or updating the application."
+ },
+ "Status": {
+ "$ref": "#/definitions/ApplicationTypeStatus",
+ "description": "The status of the application type."
+ },
+ "StatusDetails": {
+ "type": "string",
+ "description": "Additional detailed information about the status of the application type."
+ },
+ "ApplicationTypeDefinitionKind": {
+ "$ref": "#/definitions/ApplicationTypeDefinitionKind",
+ "description": "The mechanism used to define a Service Fabric application type."
+ }
+ }
+ },
+ "PagedApplicationTypeInfoList": {
+ "description": "The list of application types that are provisioned or being provisioned in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of application type information.",
+ "items": {
+ "$ref": "#/definitions/ApplicationTypeInfo"
+ }
+ }
+ }
+ },
+ "ApplicationTypeManifest": {
+ "description": "Contains the manifest describing an application type registered in a Service Fabric cluster.",
+ "properties": {
+ "Manifest": {
+ "type": "string",
+ "description": "The XML manifest as a string."
+ }
+ }
+ },
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "ApplicationTypeParameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationParameter"
+ },
+ "description": "List of application type parameters that can be overridden when creating or updating the application."
+ },
+ "ApplicationTypeStatus": {
+ "type": "string",
+ "description": "The status of the application type.",
+ "enum": [
+ "Invalid",
+ "Provisioning",
+ "Available",
+ "Unprovisioning",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationTypeStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the application type status is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Provisioning",
+ "description": "Indicates that the application type is being provisioned in the cluster. The value is 1."
+ },
+ {
+ "value": "Available",
+ "description": "Indicates that the application type is fully provisioned and is available for use. An application of this type and version can be created. The value is 2."
+ },
+ {
+ "value": "Unprovisioning",
+ "description": "Indicates that the application type is in process of being unprovisioned from the cluster. The value is 3."
+ },
+ {
+ "value": "Failed",
+ "description": "Indicates that the application type provisioning failed and it is unavailable for use. The failure details can be obtained from the application type information query. The failed application type information remains in the cluster until it is unprovisioned or reprovisioned successfully. The value is 4."
+ }
+ ]
+ }
+ },
+ "ApplicationUnhealthyEvaluations": {
+ "description": "List of health evaluations that resulted in the current aggregated health state.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HealthEvaluationWrapper"
+ }
+ },
+ "ApplicationUpgradeDescription": {
+ "description": "Describes the parameters for an application upgrade. Note that upgrade description replaces the existing application description. This means that if the parameters are not specified, the existing parameters on the applications will be overwritten with the empty parameters list. This would result in the application using the default value of the parameters from the application manifest. If you do not want to change any existing parameter values, please get the application parameters first using the GetApplicationInfo query and then supply those values as Parameters in this ApplicationUpgradeDescription.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/TargetApplicationName",
+ "description": "The name of the target application, including the 'fabric:' URI scheme."
+ },
+ "TargetApplicationTypeVersion": {
+ "$ref": "#/definitions/TargetApplicationTypeVersion",
+ "description": "The target application type version (found in the application manifest) for the application upgrade."
+ },
+ "Parameters": {
+ "$ref": "#/definitions/ApplicationParameterList",
+ "description": "List of application parameters with overridden values from their default values specified in the application manifest."
+ },
+ "UpgradeKind": {
+ "$ref": "#/definitions/UpgradeKind",
+ "description": "The kind of upgrade out of the following possible values."
+ },
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/UpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "UpgradeReplicaSetCheckTimeoutInSeconds": {
+ "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout",
+ "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)."
+ },
+ "ForceRestart": {
+ "$ref": "#/definitions/ForceRestart",
+ "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)."
+ },
+ "SortOrder": {
+ "$ref": "#/definitions/UpgradeSortOrder",
+ "description": "Defines the order in which an upgrade proceeds through the cluster."
+ },
+ "MonitoringPolicy": {
+ "$ref": "#/definitions/MonitoringPolicyDescription",
+ "description": "Describes the parameters for monitoring an upgrade in Monitored mode."
+ },
+ "ApplicationHealthPolicy": {
+ "$ref": "#/definitions/ApplicationHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of an application or one of its children entities."
+ },
+ "InstanceCloseDelayDurationInSeconds": {
+ "$ref": "#/definitions/InstanceCloseDelayDurationInSeconds",
+ "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster\nupgrade, only for those instances which have a non-zero delay duration configured in the service description. See InstanceCloseDelayDurationSeconds property in $ref: \"#/definitions/StatelessServiceDescription.yaml\" for details.\nNote, the default value of InstanceCloseDelayDurationInSeconds is 4294967295, which indicates that the behavior will entirely depend on the delay configured in the stateless service description."
+ }
+ },
+ "required": [
+ "Name",
+ "TargetApplicationTypeVersion",
+ "UpgradeKind"
+ ]
+ },
+ "ApplicationUpgradeProgressInfo": {
+ "description": "Describes the parameters for an application upgrade.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/TargetApplicationName",
+ "description": "The name of the target application, including the 'fabric:' URI scheme."
+ },
+ "TypeName": {
+ "$ref": "#/definitions/ApplicationTypeName",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "TargetApplicationTypeVersion": {
+ "$ref": "#/definitions/TargetApplicationTypeVersion",
+ "description": "The target application type version (found in the application manifest) for the application upgrade."
+ },
+ "UpgradeDomains": {
+ "$ref": "#/definitions/UpgradeDomainInfoList",
+ "description": "List of upgrade domains and their statuses."
+ },
+ "UpgradeState": {
+ "$ref": "#/definitions/UpgradeState",
+ "description": "The state of the upgrade domain."
+ },
+ "NextUpgradeDomain": {
+ "$ref": "#/definitions/NextUpgradeDomain",
+ "description": "The name of the next upgrade domain to be processed."
+ },
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/UpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "UpgradeDescription": {
+ "$ref": "#/definitions/ApplicationUpgradeDescription",
+ "description": "Describes the parameters for an application upgrade. Note that upgrade description replaces the existing application description. This means that if the parameters are not specified, the existing parameters on the applications will be overwritten with the empty parameters list. This would result in the application using the default value of the parameters from the application manifest. If you do not want to change any existing parameter values, please get the application parameters first using the GetApplicationInfo query and then supply those values as Parameters in this ApplicationUpgradeDescription."
+ },
+ "UpgradeDurationInMilliseconds": {
+ "type": "string",
+ "description": "The estimated total amount of time spent processing the overall upgrade."
+ },
+ "UpgradeDomainDurationInMilliseconds": {
+ "type": "string",
+ "description": "The estimated total amount of time spent processing the current upgrade domain."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of health evaluations that resulted in the current aggregated health state."
+ },
+ "CurrentUpgradeDomainProgress": {
+ "$ref": "#/definitions/CurrentUpgradeDomainProgressInfo",
+ "description": "Information about the current in-progress upgrade domain."
+ },
+ "StartTimestampUtc": {
+ "type": "string",
+ "description": "The estimated UTC datetime when the upgrade started."
+ },
+ "FailureTimestampUtc": {
+ "type": "string",
+ "description": "The estimated UTC datetime when the upgrade failed and FailureAction was executed."
+ },
+ "FailureReason": {
+ "$ref": "#/definitions/FailureReason",
+ "description": "The cause of an upgrade failure that resulted in FailureAction being executed."
+ },
+ "UpgradeDomainProgressAtFailure": {
+ "$ref": "#/definitions/FailureUpgradeDomainProgressInfo",
+ "description": "Information about the upgrade domain progress at the time of upgrade failure."
+ },
+ "UpgradeStatusDetails": {
+ "type": "string",
+ "description": "Additional detailed information about the status of the pending upgrade."
+ }
+ }
+ },
+ "ByteArray": {
+ "description": "Array of bytes to be sent as an integer array. Each element of array is a number between 0 and 255.",
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "ClusterConfiguration": {
+ "description": "Information about the standalone cluster configuration.",
+ "properties": {
+ "ClusterConfiguration": {
+ "type": "string",
+ "description": "The contents of the cluster configuration file."
+ }
+ }
+ },
+ "ClusterEvent": {
+ "description": "Represents the base for all Cluster Events.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FabricEvent"
+ }
+ ],
+ "x-ms-discriminator-value": "ClusterEvent"
+ },
+ "ClusterEventList": {
+ "description": "A list of ClusterEvent objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ },
+ "ClusterHealth": {
+ "description": "Represents the health of the cluster.\nContains the cluster aggregated health state, the cluster application and node health states as well as the health events and the unhealthy evaluations.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealth"
+ }
+ ],
+ "properties": {
+ "NodeHealthStates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeHealthState"
+ },
+ "description": "Cluster node health states as found in the health store."
+ },
+ "ApplicationHealthStates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationHealthState"
+ },
+ "description": "Cluster application health states as found in the health store."
+ }
+ }
+ },
+ "ClusterHealthChunk": {
+ "description": "Represents the health chunk of the cluster.\nContains the cluster aggregated health state, and the cluster entities that respect the input filter.",
+ "properties": {
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The HealthState representing the aggregated health state of the cluster computed by Health Manager.\nThe health evaluation of the entity reflects all events reported on the entity and its children (if any).\nThe aggregation is done by applying the desired cluster health policy and the application health policies."
+ },
+ "NodeHealthStateChunks": {
+ "$ref": "#/definitions/NodeHealthStateChunkList",
+ "description": "The list of node health state chunks in the cluster that respect the filters in the cluster health chunk query description."
+ },
+ "ApplicationHealthStateChunks": {
+ "$ref": "#/definitions/ApplicationHealthStateChunkList",
+ "description": "The list of application health state chunks in the cluster that respect the filters in the cluster health chunk query description."
+ }
+ }
+ },
+ "ClusterHealthChunkQueryDescription": {
+ "description": "The cluster health chunk query description, which can specify the health policies to evaluate cluster health and very expressive filters to select which cluster entities to include in response.",
+ "properties": {
+ "NodeFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeHealthStateFilter"
+ },
+ "description": "Defines a list of filters that specify which nodes to be included in the returned cluster health chunk.\nIf no filters are specified, no nodes are returned. All the nodes are used to evaluate the cluster's aggregated health state, regardless of the input filters.\nThe cluster health chunk query may specify multiple node filters.\nFor example, it can specify a filter to return all nodes with health state Error and another filter to always include a node identified by its NodeName."
+ },
+ "ApplicationFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationHealthStateFilter"
+ },
+ "description": "Defines a list of filters that specify which applications to be included in the returned cluster health chunk.\nIf no filters are specified, no applications are returned. All the applications are used to evaluate the cluster's aggregated health state, regardless of the input filters.\nThe cluster health chunk query may specify multiple application filters.\nFor example, it can specify a filter to return all applications with health state Error and another filter to always include applications of a specified application type."
+ },
+ "ClusterHealthPolicy": {
+ "$ref": "#/definitions/ClusterHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node."
+ },
+ "ApplicationHealthPolicies": {
+ "$ref": "#/definitions/ApplicationHealthPolicies",
+ "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities."
+ }
+ }
+ },
+ "ClusterHealthPolicies": {
+ "description": "Health policies to evaluate cluster health.",
+ "properties": {
+ "ApplicationHealthPolicyMap": {
+ "$ref": "#/definitions/ApplicationHealthPolicyMap",
+ "description": "Defines a map that contains specific application health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.\nIf an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest).\nThe map is empty by default."
+ },
+ "ClusterHealthPolicy": {
+ "$ref": "#/definitions/ClusterHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node."
+ }
+ }
+ },
+ "ClusterHealthPolicy": {
+ "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node.",
+ "properties": {
+ "ConsiderWarningAsError": {
+ "type": "boolean",
+ "description": "Indicates whether warnings are treated with the same severity as errors.",
+ "default": false
+ },
+ "MaxPercentUnhealthyNodes": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n\nIn large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.",
+ "default": 0
+ },
+ "MaxPercentUnhealthyApplications": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.\nThe computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.",
+ "default": 0
+ },
+ "ApplicationTypeHealthPolicyMap": {
+ "$ref": "#/definitions/ApplicationTypeHealthPolicyMap",
+ "description": "Defines a map with max percentage unhealthy applications for specific application types.\nEach entry specifies as key the application type name and as value an integer that represents the MaxPercentUnhealthyApplications percentage used to evaluate the applications of the specified application type.\n\nThe application type health policy map can be used during cluster health evaluation to describe special application types.\nThe application types included in the map are evaluated against the percentage specified in the map, and not with the global MaxPercentUnhealthyApplications defined in the cluster health policy.\nThe applications of application types specified in the map are not counted against the global pool of applications.\nFor example, if some applications of a type are critical, the cluster administrator can add an entry to the map for that application type\nand assign it a value of 0% (that is, do not tolerate any failures).\nAll other applications can be evaluated with MaxPercentUnhealthyApplications set to 20% to tolerate some failures out of the thousands of application instances.\nThe application type health policy map is used only if the cluster manifest enables application type health evaluation using the configuration entry for HealthManager/EnableApplicationTypeHealthEvaluation."
+ }
+ }
+ },
+ "ClusterManifest": {
+ "description": "Information about the cluster manifest.",
+ "properties": {
+ "Manifest": {
+ "type": "string",
+ "description": "The contents of the cluster manifest file."
+ }
+ }
+ },
+ "ClusterLoadInfo": {
+ "description": "Information about load in a Service Fabric cluster. It holds a summary of all metrics and their load in a cluster.",
+ "properties": {
+ "LastBalancingStartTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The starting time of last resource balancing run."
+ },
+ "LastBalancingEndTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end time of last resource balancing run."
+ },
+ "LoadMetricInformation": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LoadMetricInformation"
+ },
+ "description": "List that contains metrics and their load information in this cluster."
+ }
+ }
+ },
+ "LoadMetricInformation": {
+ "description": "Represents data structure that contains load information for a certain metric in a cluster.",
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "Name of the metric for which this load information is provided."
+ },
+ "IsBalancedBefore": {
+ "type": "boolean",
+ "description": "Value that indicates whether the metrics is balanced or not before resource balancer run"
+ },
+ "IsBalancedAfter": {
+ "type": "boolean",
+ "description": "Value that indicates whether the metrics is balanced or not after resource balancer run."
+ },
+ "DeviationBefore": {
+ "type": "string",
+ "format": "double",
+ "description": "The standard average deviation of the metrics before resource balancer run."
+ },
+ "DeviationAfter": {
+ "type": "string",
+ "format": "double",
+ "description": "The standard average deviation of the metrics after resource balancer run."
+ },
+ "BalancingThreshold": {
+ "type": "string",
+ "format": "double",
+ "description": "The balancing threshold for a certain metric."
+ },
+ "Action": {
+ "type": "string",
+ "description": "The current action being taken with regard to this metric"
+ },
+ "ActivityThreshold": {
+ "type": "string",
+ "format": "double",
+ "description": "The Activity Threshold specified for this metric in the system Cluster Manifest."
+ },
+ "ClusterCapacity": {
+ "type": "string",
+ "description": "The total cluster capacity for a given metric"
+ },
+ "ClusterLoad": {
+ "type": "string",
+ "description": "The total cluster load. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentClusterLoad."
+ },
+ "CurrentClusterLoad": {
+ "type": "string",
+ "format": "double",
+ "description": "The total cluster load."
+ },
+ "ClusterRemainingCapacity": {
+ "type": "string",
+ "description": "The remaining capacity for the metric in the cluster. In future releases of Service Fabric this parameter will be deprecated in favor of ClusterCapacityRemaining."
+ },
+ "ClusterCapacityRemaining": {
+ "type": "string",
+ "description": "The remaining capacity for the metric in the cluster."
+ },
+ "IsClusterCapacityViolation": {
+ "type": "boolean",
+ "description": "Indicates that the metric is currently over capacity in the cluster."
+ },
+ "NodeBufferPercentage": {
+ "type": "string",
+ "format": "double",
+ "description": "The reserved percentage of total node capacity for this metric."
+ },
+ "ClusterBufferedCapacity": {
+ "type": "string",
+ "description": "Remaining capacity in the cluster excluding the reserved space. In future releases of Service Fabric this parameter will be deprecated in favor of BufferedClusterCapacityRemaining."
+ },
+ "BufferedClusterCapacityRemaining": {
+ "type": "string",
+ "format": "double",
+ "description": "Remaining capacity in the cluster excluding the reserved space."
+ },
+ "ClusterRemainingBufferedCapacity": {
+ "type": "string",
+ "description": "The remaining percentage of cluster total capacity for this metric."
+ },
+ "MinNodeLoadValue": {
+ "type": "string",
+ "description": "The minimum load on any node for this metric. In future releases of Service Fabric this parameter will be deprecated in favor of MinimumNodeLoad."
+ },
+ "MinimumNodeLoad": {
+ "type": "string",
+ "format": "double",
+ "description": "The minimum load on any node for this metric."
+ },
+ "MinNodeLoadNodeId": {
+ "$ref": "#/definitions/NodeId",
+ "description": "The node id of the node with the minimum load for this metric."
+ },
+ "MaxNodeLoadValue": {
+ "type": "string",
+ "description": "The maximum load on any node for this metric. In future releases of Service Fabric this parameter will be deprecated in favor of MaximumNodeLoad."
+ },
+ "MaximumNodeLoad": {
+ "type": "string",
+ "format": "double",
+ "description": "The maximum load on any node for this metric."
+ },
+ "MaxNodeLoadNodeId": {
+ "$ref": "#/definitions/NodeId",
+ "description": "The node id of the node with the maximum load for this metric."
+ },
+ "PlannedLoadRemoval": {
+ "type": "string",
+ "format": "double",
+ "description": "This value represents the load of the replicas that are planned to be removed in the future within the cluster.\nThis kind of load is reported for replicas that are currently being moving to other nodes and for replicas that are currently being dropped but still use the load on the source node."
+ }
+ }
+ },
+ "ClusterVersion": {
+ "description": "The cluster version.",
+ "properties": {
+ "Version": {
+ "type": "string",
+ "description": "The Service Fabric cluster runtime version."
+ }
+ }
+ },
+ "ContainerApiRequestBody": {
+ "description": "parameters for making container API call.",
+ "properties": {
+ "HttpVerb": {
+ "type": "string",
+ "description": "HTTP verb of container REST API, defaults to \"GET\""
+ },
+ "UriPath": {
+ "type": "string",
+ "description": "URI path of container REST API"
+ },
+ "Content-Type": {
+ "type": "string",
+ "description": "Content type of container REST API request, defaults to \"application/json\""
+ },
+ "Body": {
+ "type": "string",
+ "description": "HTTP request body of container REST API"
+ }
+ },
+ "required": [
+ "UriPath"
+ ]
+ },
+ "ContainerApiResponse": {
+ "description": "Response body that wraps container API result.",
+ "properties": {
+ "ContainerApiResult": {
+ "$ref": "#/definitions/ContainerApiResult",
+ "description": "Container API result."
+ }
+ },
+ "required": [
+ "ContainerApiResult"
+ ]
+ },
+ "ContainerApiResult": {
+ "description": "Container API result.",
+ "properties": {
+ "Status": {
+ "type": "integer",
+ "description": "HTTP status code returned by the target container API"
+ },
+ "Content-Type": {
+ "type": "string",
+ "description": "HTTP content type"
+ },
+ "Content-Encoding": {
+ "type": "string",
+ "description": "HTTP content encoding"
+ },
+ "Body": {
+ "type": "string",
+ "description": "container API result body"
+ }
+ },
+ "required": [
+ "Status"
+ ]
+ },
+ "ContainerInstanceEvent": {
+ "description": "Represents the base for all Container Events.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FabricEvent"
+ }
+ ],
+ "x-ms-discriminator-value": "ContainerInstanceEvent"
+ },
+ "ContainerInstanceEventList": {
+ "description": "A list of ContainerInstanceEvent objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerInstanceEvent"
+ }
+ },
+ "ContinuationToken": {
+ "type": "string",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "ConfigParameterOverrideList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConfigParameterOverride"
+ },
+ "description": "List that contains parameters, sections that they belong and their values."
+ },
+ "ConfigParameterOverride": {
+ "description": "Information about a configuration parameter override.",
+ "properties": {
+ "SectionName": {
+ "type": "string",
+ "description": "Name of the section for the parameter override."
+ },
+ "ParameterName": {
+ "type": "string",
+ "description": "Name of the parameter that has been overridden."
+ },
+ "ParameterValue": {
+ "type": "string",
+ "description": "Value of the overridden parameter."
+ },
+ "Timeout": {
+ "type": "string",
+ "format": "duration",
+ "description": "The duration until config override is considered as valid."
+ },
+ "PersistAcrossUpgrade": {
+ "type": "boolean",
+ "description": "A value that indicates whether config override will be removed on upgrade or will still be considered as valid."
+ }
+ },
+ "required": [
+ "SectionName",
+ "ParameterName",
+ "ParameterValue"
+ ]
+ },
+ "CurrentUpgradeDomainProgressInfo": {
+ "description": "Information about the current in-progress upgrade domain.",
+ "properties": {
+ "DomainName": {
+ "$ref": "#/definitions/UpgradeDomainName",
+ "description": "The name of the upgrade domain"
+ },
+ "NodeUpgradeProgressList": {
+ "$ref": "#/definitions/NodeUpgradeProgressInfoList",
+ "description": "List of upgrading nodes and their statuses"
+ }
+ }
+ },
+ "CurrentUpgradeDomainDuration": {
+ "type": "string",
+ "description": "The estimated amount of time spent processing current Upgrade Domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.",
+ "default": "PT0H2M0S"
+ },
+ "DeactivationIntentDescription": {
+ "description": "Describes the intent or reason for deactivating the node.",
+ "properties": {
+ "DeactivationIntent": {
+ "type": "string",
+ "description": "Describes the intent or reason for deactivating the node. The possible values are following.",
+ "enum": [
+ "Pause",
+ "Restart",
+ "RemoveData"
+ ],
+ "x-ms-enum": {
+ "name": "DeactivationIntent",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Pause",
+ "description": "Indicates that the node should be paused. The value is 1."
+ },
+ {
+ "value": "Restart",
+ "description": "Indicates that the intent is for the node to be restarted after a short period of time. The value is 2."
+ },
+ {
+ "value": "RemoveData",
+ "description": "Indicates the intent is for the node to remove data. The value is 3."
+ }
+ ]
+ }
+ }
+ }
+ },
+ "DeltaNodesCheckHealthEvaluation": {
+ "x-ms-discriminator-value": "DeltaNodesCheck",
+ "description": "Represents health evaluation for delta nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state.\nCan be returned during cluster upgrade when the aggregated health state of the cluster is Warning or Error.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "BaselineErrorCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Number of nodes with aggregated heath state Error in the health store at the beginning of the cluster upgrade."
+ },
+ "BaselineTotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of nodes in the health store at the beginning of the cluster upgrade."
+ },
+ "MaxPercentDeltaUnhealthyNodes": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of delta unhealthy nodes from the ClusterUpgradeHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of nodes in the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state.\nIncludes all the unhealthy NodeHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "DeployedApplicationHealth": {
+ "description": "Information about the health of an application deployed on a Service Fabric node.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealth"
+ }
+ ],
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "Name of the application deployed on the node whose health information is described by this object."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "Name of the node where this application is deployed."
+ },
+ "DeployedServicePackageHealthStates": {
+ "$ref": "#/definitions/DeployedServicePackageHealthStateList",
+ "description": "Deployed service package health states for the current deployed application as found in the health store."
+ }
+ }
+ },
+ "DeployedApplicationHealthEvaluation": {
+ "x-ms-discriminator-value": "DeployedApplication",
+ "description": "Represents health evaluation for a deployed application, containing information about the data and the algorithm used by the health store to evaluate health.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "Name of the node where the application is deployed to."
+ },
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the current aggregated health state of the deployed application.\nThe types of the unhealthy evaluations can be DeployedServicePackagesHealthEvaluation or EventHealthEvaluation."
+ }
+ }
+ },
+ "DeployedApplicationHealthState": {
+ "description": "Represents the health state of a deployed application, which contains the entity identifier and the aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthState"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "Name of the node on which the service package is deployed."
+ },
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ }
+ }
+ },
+ "DeployedApplicationHealthStateChunk": {
+ "description": "Represents the health state chunk of a deployed application, which contains the node where the application is deployed, the aggregated health state and any deployed service packages that respect the chunk query description filters.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunk"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "type": "string",
+ "description": "The name of node where the application is deployed."
+ },
+ "DeployedServicePackageHealthStateChunks": {
+ "$ref": "#/definitions/DeployedServicePackageHealthStateChunkList",
+ "description": "The list of deployed service package health state chunks belonging to the deployed application that respect the filters in the cluster health chunk query description."
+ }
+ }
+ },
+ "DeployedApplicationHealthStateChunkList": {
+ "description": "The list of deployed application health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.",
+ "properties": {
+ "Items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedApplicationHealthStateChunk"
+ },
+ "description": "The list of deployed application health state chunks that respect the input filters in the chunk query."
+ }
+ }
+ },
+ "DeployedApplicationHealthStateFilter": {
+ "description": "Defines matching criteria to determine whether a deployed application should be included as a child of an application in the cluster health chunk.\nThe deployed applications are only returned if the parent application matches a filter specified in the cluster health chunk query description.\nOne filter can match zero, one or multiple deployed applications, depending on its properties.",
+ "properties": {
+ "NodeNameFilter": {
+ "type": "string",
+ "description": "The name of the node where the application is deployed in order to match the filter.\nIf specified, the filter is applied only to the application deployed on the specified node.\nIf the application is not deployed on the node with the specified name, no deployed application is returned in the cluster health chunk based on this filter.\nOtherwise, the deployed application is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all deployed applications that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter."
+ },
+ "HealthStateFilter": {
+ "type": "integer",
+ "default": 0,
+ "description": "The filter for the health state of the deployed applications. It allows selecting deployed applications if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only deployed applications that match the filter are returned. All deployed applications are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the node name is specified. If the filter has default value and node name is specified, the matching deployed application is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches deployed applications with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
+ },
+ "DeployedServicePackageFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedServicePackageHealthStateFilter"
+ },
+ "description": "Defines a list of filters that specify which deployed service packages to be included in the returned cluster health chunk as children of the parent deployed application. The deployed service packages are returned only if the parent deployed application matches a filter.\nIf the list is empty, no deployed service packages are returned. All the deployed service packages are used to evaluate the parent deployed application aggregated health state, regardless of the input filters.\nThe deployed application filter may specify multiple deployed service package filters.\nFor example, it can specify a filter to return all deployed service packages with health state Error and another filter to always include a deployed service package on a node."
+ }
+ }
+ },
+ "DeployedApplicationInfo": {
+ "description": "Information about application deployed on the node.",
+ "properties": {
+ "Id": {
+ "$ref": "#/definitions/ApplicationId",
+ "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions."
+ },
+ "Name": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "TypeName": {
+ "$ref": "#/definitions/ApplicationTypeName",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "Status": {
+ "$ref": "#/definitions/DeployedApplicationStatus",
+ "description": "The status of the application deployed on the node. Following are the possible values."
+ },
+ "WorkDirectory": {
+ "type": "string",
+ "description": "The work directory of the application on the node. The work directory can be used to store application data."
+ },
+ "LogDirectory": {
+ "type": "string",
+ "description": "The log directory of the application on the node. The log directory can be used to store application logs."
+ },
+ "TempDirectory": {
+ "type": "string",
+ "description": "The temp directory of the application on the node. The code packages belonging to the application are forked with this directory set as their temporary directory."
+ },
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ }
+ }
+ },
+ "DeployedApplicationInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedApplicationInfo"
+ },
+ "description": "List of deployed application information."
+ },
+ "DeployedApplicationsHealthEvaluation": {
+ "x-ms-discriminator-value": "DeployedApplications",
+ "description": "Represents health evaluation for deployed applications, containing health evaluations for each unhealthy deployed application that impacted current aggregated health state.\nCan be returned when evaluating application health and the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "MaxPercentUnhealthyDeployedApplications": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of unhealthy deployed applications from the ApplicationHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of deployed applications of the application in the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy DeployedApplicationHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "DeployedApplicationStatus": {
+ "type": "string",
+ "description": "The status of the application deployed on the node. Following are the possible values.",
+ "enum": [
+ "Invalid",
+ "Downloading",
+ "Activating",
+ "Active",
+ "Upgrading",
+ "Deactivating"
+ ],
+ "x-ms-enum": {
+ "name": "DeployedApplicationStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that deployment status is not valid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Downloading",
+ "description": "Indicates that the package is downloading from the ImageStore. The value is 1."
+ },
+ {
+ "value": "Activating",
+ "description": "Indicates that the package is activating. The value is 2."
+ },
+ {
+ "value": "Active",
+ "description": "Indicates that the package is active. The value is 3."
+ },
+ {
+ "value": "Upgrading",
+ "description": "Indicates that the package is upgrading. The value is 4."
+ },
+ {
+ "value": "Deactivating",
+ "description": "Indicates that the package is deactivating. The value is 5."
+ }
+ ]
+ }
+ },
+ "DeployedServicePackageHealth": {
+ "description": "Information about the health of a service package for a specific application deployed on a Service Fabric node.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealth"
+ }
+ ],
+ "properties": {
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "Name of the service manifest."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "Name of the node where this service package is deployed."
+ }
+ }
+ },
+ "DeployedServicePackageHealthEvaluation": {
+ "x-ms-discriminator-value": "DeployedServicePackage",
+ "description": "Represents health evaluation for a deployed service package, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of the service manifest."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the current aggregated health state. The type of the unhealthy evaluations can be EventHealthEvaluation."
+ }
+ }
+ },
+ "DeployedServicePackageHealthState": {
+ "description": "Represents the health state of a deployed service package, containing the entity identifier and the aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthState"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "Name of the node on which the service package is deployed."
+ },
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "Name of the manifest describing the service package."
+ },
+ "ServicePackageActivationId": {
+ "$ref": "#/definitions/ServicePackageActivationId",
+ "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string."
+ }
+ }
+ },
+ "DeployedServicePackageHealthStateChunk": {
+ "description": "Represents the health state chunk of a deployed service package, which contains the service manifest name and the service package aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunk"
+ }
+ ],
+ "properties": {
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of the service manifest."
+ },
+ "ServicePackageActivationId": {
+ "$ref": "#/definitions/ServicePackageActivationId",
+ "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string."
+ }
+ }
+ },
+ "DeployedServicePackageHealthStateChunkList": {
+ "description": "The list of deployed service package health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.",
+ "properties": {
+ "Items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedServicePackageHealthStateChunk"
+ },
+ "description": "The list of deployed service package health state chunks that respect the input filters in the chunk query."
+ }
+ }
+ },
+ "DeployedServicePackageHealthStateFilter": {
+ "description": "Defines matching criteria to determine whether a deployed service package should be included as a child of a deployed application in the cluster health chunk.\nThe deployed service packages are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent deployed application and its parent application must be included in the cluster health chunk.\nOne filter can match zero, one or multiple deployed service packages, depending on its properties.",
+ "properties": {
+ "ServiceManifestNameFilter": {
+ "type": "string",
+ "description": "The name of the service manifest which identifies the deployed service packages that matches the filter.\nIf specified, the filter is applied only to the specified deployed service packages, if any.\nIf no deployed service packages with specified manifest name exist, nothing is returned in the cluster health chunk based on this filter.\nIf any deployed service package exists, they are included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all deployed service packages that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter."
+ },
+ "ServicePackageActivationIdFilter": {
+ "type": "string",
+ "description": "The activation ID of a deployed service package that matches the filter.\nIf not specified, the filter applies to all deployed service packages that match the other parameters.\nIf specified, the filter matches only the deployed service package with the specified activation ID."
+ },
+ "HealthStateFilter": {
+ "type": "integer",
+ "default": 0,
+ "description": "The filter for the health state of the deployed service packages. It allows selecting deployed service packages if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only deployed service packages that match the filter are returned. All deployed service packages are used to evaluate the parent deployed application aggregated health state.\nIf not specified, default value is None, unless the deployed service package ID is specified. If the filter has default value and deployed service package ID is specified, the matching deployed service package is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches deployed service packages with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
+ }
+ }
+ },
+ "DeployedServicePackageHealthStateList": {
+ "description": "List of health states for a service package deployed on a Service Fabric node.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedServicePackageHealthState"
+ }
+ },
+ "DeployedServicePackagesHealthEvaluation": {
+ "x-ms-discriminator-value": "DeployedServicePackages",
+ "description": "Represents health evaluation for deployed service packages, containing health evaluations for each unhealthy deployed service package that impacted current aggregated health state. Can be returned when evaluating deployed application health and the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of deployed service packages of the deployed application in the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy DeployedServicePackageHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "DeployedServiceReplicaInfo": {
+ "discriminator": "ServiceKind",
+ "description": "Information about a Service Fabric service replica deployed on a node.",
+ "required": [
+ "ServiceKind"
+ ],
+ "properties": {
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The kind of service (Stateless or Stateful)."
+ },
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ },
+ "ServiceTypeName": {
+ "$ref": "#/definitions/ServiceTypeName",
+ "description": "Name of the service type as specified in the service manifest."
+ },
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of the service manifest in which this service type is defined."
+ },
+ "CodePackageName": {
+ "$ref": "#/definitions/CodePackageName",
+ "description": "The name of the code package that hosts this replica."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different."
+ },
+ "ReplicaStatus": {
+ "$ref": "#/definitions/ReplicaStatus",
+ "description": "The status of a replica of a service."
+ },
+ "Address": {
+ "type": "string",
+ "description": "The last address returned by the replica in Open or ChangeRole."
+ },
+ "ServicePackageActivationId": {
+ "$ref": "#/definitions/ServicePackageActivationId",
+ "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string."
+ },
+ "HostProcessId": {
+ "type": "string",
+ "description": "Host process ID of the process that is hosting the replica. This will be zero if the replica is down. In hyper-v containers this host process ID will be from different kernel."
+ }
+ }
+ },
+ "DeployedServiceReplicaInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedServiceReplicaInfo"
+ },
+ "description": "List of deployed service replica information."
+ },
+ "DeployedStatefulServiceReplicaInfo": {
+ "description": "Information about a stateful service replica deployed on a node.",
+ "x-ms-discriminator-value": "Stateful",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeployedServiceReplicaInfo"
+ }
+ ],
+ "properties": {
+ "ReplicaId": {
+ "$ref": "#/definitions/ReplicaId",
+ "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id."
+ },
+ "ReplicaRole": {
+ "$ref": "#/definitions/ReplicaRole",
+ "description": "The role of a replica of a stateful service."
+ },
+ "ReconfigurationInformation": {
+ "$ref": "#/definitions/ReconfigurationInformation",
+ "description": "Information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time."
+ }
+ }
+ },
+ "DeployedStatelessServiceInstanceInfo": {
+ "description": "Information about a stateless service instance deployed on a node.",
+ "x-ms-discriminator-value": "Stateless",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeployedServiceReplicaInfo"
+ }
+ ],
+ "properties": {
+ "InstanceId": {
+ "$ref": "#/definitions/InstanceId",
+ "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId."
+ }
+ }
+ },
+ "EntityHealth": {
+ "description": "Health information common to all entities in the cluster. It contains the aggregated health state, health events and unhealthy evaluation.",
+ "properties": {
+ "AggregatedHealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The HealthState representing the aggregated health state of the entity computed by Health Manager.\nThe health evaluation of the entity reflects all events reported on the entity and its children (if any).\nThe aggregation is done by applying the desired health policy."
+ },
+ "HealthEvents": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HealthEvent"
+ },
+ "description": "The list of health events reported on the entity."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager."
+ },
+ "HealthStatistics": {
+ "$ref": "#/definitions/HealthStatistics",
+ "description": "Shows the health statistics for all children types of the queried entity."
+ }
+ }
+ },
+ "EntityHealthState": {
+ "description": "A base type for the health state of various entities in the cluster. It contains the aggregated health state.",
+ "properties": {
+ "AggregatedHealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ }
+ }
+ },
+ "EntityHealthStateChunk": {
+ "description": "A base type for the health state chunk of various entities in the cluster. It contains the aggregated health state.",
+ "properties": {
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ }
+ }
+ },
+ "EntityHealthStateChunkList": {
+ "description": "A base type for the list of health state chunks found in the cluster. It contains the total number of health states that match the input filters.",
+ "properties": {
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of entity health state objects that match the specified filters from the cluster health chunk query description."
+ }
+ }
+ },
+ "Epoch": {
+ "description": "An Epoch is a configuration number for the partition as a whole. When the configuration of the replica set changes, for example when the Primary replica changes, the operations that are replicated from the new Primary replica are said to be a new Epoch from the ones which were sent by the old Primary replica.",
+ "properties": {
+ "ConfigurationVersion": {
+ "type": "string",
+ "description": "The current configuration number of this Epoch. The configuration number is an increasing value that is updated whenever the configuration of this replica set changes."
+ },
+ "DataLossVersion": {
+ "type": "string",
+ "description": "The current data loss number of this Epoch. The data loss number property is an increasing value which is updated whenever data loss is suspected, as when loss of a quorum of replicas in the replica set that includes the Primary replica."
+ }
+ }
+ },
+ "EventHealthEvaluation": {
+ "x-ms-discriminator-value": "Event",
+ "description": "Represents health evaluation of a HealthEvent that was reported on the entity.\nThe health evaluation is returned when evaluating health of an entity results in Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "ConsiderWarningAsError": {
+ "type": "boolean",
+ "description": "Indicates whether warnings are treated with the same severity as errors. The field is specified in the health policy used to evaluate the entity."
+ },
+ "UnhealthyEvent": {
+ "$ref": "#/definitions/HealthEvent",
+ "description": "Represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager."
+ }
+ }
+ },
+ "EventList": {
+ "description": "A list of FabricEvent objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FabricEvent"
+ }
+ },
+ "FabricCodeVersionInfo": {
+ "description": "Information about a Service Fabric code version.",
+ "properties": {
+ "CodeVersion": {
+ "description": "The product version of Service Fabric.",
+ "type": "string"
+ }
+ }
+ },
+ "FabricCodeVersionInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FabricCodeVersionInfo"
+ },
+ "description": "List of all Service Fabric code versions."
+ },
+ "FabricConfigVersionInfo": {
+ "description": "Information about a Service Fabric config version.",
+ "properties": {
+ "ConfigVersion": {
+ "description": "The config version of Service Fabric.",
+ "type": "string"
+ }
+ }
+ },
+ "FabricConfigVersionInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FabricConfigVersionInfo"
+ },
+ "description": "List of all Service Fabric config versions."
+ },
+ "FabricEvent": {
+ "discriminator": "Kind",
+ "description": "Represents the base for all Fabric Events.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/FabricEventKind",
+ "description": "The kind of FabricEvent."
+ },
+ "EventInstanceId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The identifier for the FabricEvent instance."
+ },
+ "Category": {
+ "type": "string",
+ "description": "The category of event."
+ },
+ "TimeStamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time event was logged."
+ },
+ "HasCorrelatedEvents": {
+ "type": "boolean",
+ "description": "Shows there is existing related events available."
+ }
+ },
+ "required": [
+ "Kind",
+ "EventInstanceId",
+ "TimeStamp"
+ ]
+ },
+ "FabricEventKind": {
+ "type": "string",
+ "description": "The kind of FabricEvent.",
+ "enum": [
+ "ClusterEvent",
+ "ContainerInstanceEvent",
+ "NodeEvent",
+ "ApplicationEvent",
+ "ServiceEvent",
+ "PartitionEvent",
+ "ReplicaEvent",
+ "PartitionAnalysisEvent",
+ "ApplicationCreated",
+ "ApplicationDeleted",
+ "ApplicationNewHealthReport",
+ "ApplicationHealthReportExpired",
+ "ApplicationUpgradeCompleted",
+ "ApplicationUpgradeDomainCompleted",
+ "ApplicationUpgradeRollbackCompleted",
+ "ApplicationUpgradeRollbackStarted",
+ "ApplicationUpgradeStarted",
+ "DeployedApplicationNewHealthReport",
+ "DeployedApplicationHealthReportExpired",
+ "ApplicationProcessExited",
+ "ApplicationContainerInstanceExited",
+ "NodeAborted",
+ "NodeAddedToCluster",
+ "NodeClosed",
+ "NodeDeactivateCompleted",
+ "NodeDeactivateStarted",
+ "NodeDown",
+ "NodeNewHealthReport",
+ "NodeHealthReportExpired",
+ "NodeOpenSucceeded",
+ "NodeOpenFailed",
+ "NodeRemovedFromCluster",
+ "NodeUp",
+ "PartitionNewHealthReport",
+ "PartitionHealthReportExpired",
+ "PartitionReconfigured",
+ "PartitionPrimaryMoveAnalysis",
+ "ServiceCreated",
+ "ServiceDeleted",
+ "ServiceNewHealthReport",
+ "ServiceHealthReportExpired",
+ "DeployedServicePackageNewHealthReport",
+ "DeployedServicePackageHealthReportExpired",
+ "StatefulReplicaNewHealthReport",
+ "StatefulReplicaHealthReportExpired",
+ "StatelessReplicaNewHealthReport",
+ "StatelessReplicaHealthReportExpired",
+ "ClusterNewHealthReport",
+ "ClusterHealthReportExpired",
+ "ClusterUpgradeCompleted",
+ "ClusterUpgradeDomainCompleted",
+ "ClusterUpgradeRollbackCompleted",
+ "ClusterUpgradeRollbackStarted",
+ "ClusterUpgradeStarted",
+ "ChaosStopped",
+ "ChaosStarted",
+ "ChaosCodePackageRestartScheduled",
+ "ChaosReplicaRemovalScheduled",
+ "ChaosPartitionSecondaryMoveScheduled",
+ "ChaosPartitionPrimaryMoveScheduled",
+ "ChaosReplicaRestartScheduled",
+ "ChaosNodeRestartScheduled"
+ ],
+ "x-ms-enum": {
+ "name": "FabricEventKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "ClusterEvent"
+ },
+ {
+ "value": "ContainerInstanceEvent"
+ },
+ {
+ "value": "NodeEvent"
+ },
+ {
+ "value": "ApplicationEvent"
+ },
+ {
+ "value": "ServiceEvent"
+ },
+ {
+ "value": "PartitionEvent"
+ },
+ {
+ "value": "ReplicaEvent"
+ },
+ {
+ "value": "PartitionAnalysisEvent"
+ },
+ {
+ "value": "ApplicationCreated"
+ },
+ {
+ "value": "ApplicationDeleted"
+ },
+ {
+ "value": "ApplicationNewHealthReport"
+ },
+ {
+ "value": "ApplicationHealthReportExpired"
+ },
+ {
+ "value": "ApplicationUpgradeCompleted"
+ },
+ {
+ "value": "ApplicationUpgradeDomainCompleted"
+ },
+ {
+ "value": "ApplicationUpgradeRollbackCompleted"
+ },
+ {
+ "value": "ApplicationUpgradeRollbackStarted"
+ },
+ {
+ "value": "ApplicationUpgradeStarted"
+ },
+ {
+ "value": "DeployedApplicationNewHealthReport"
+ },
+ {
+ "value": "DeployedApplicationHealthReportExpired"
+ },
+ {
+ "value": "ApplicationProcessExited"
+ },
+ {
+ "value": "ApplicationContainerInstanceExited"
+ },
+ {
+ "value": "NodeAborted"
+ },
+ {
+ "value": "NodeAddedToCluster"
+ },
+ {
+ "value": "NodeClosed"
+ },
+ {
+ "value": "NodeDeactivateCompleted"
+ },
+ {
+ "value": "NodeDeactivateStarted"
+ },
+ {
+ "value": "NodeDown"
+ },
+ {
+ "value": "NodeNewHealthReport"
+ },
+ {
+ "value": "NodeHealthReportExpired"
+ },
+ {
+ "value": "NodeOpenSucceeded"
+ },
+ {
+ "value": "NodeOpenFailed"
+ },
+ {
+ "value": "NodeRemovedFromCluster"
+ },
+ {
+ "value": "NodeUp"
+ },
+ {
+ "value": "PartitionNewHealthReport"
+ },
+ {
+ "value": "PartitionHealthReportExpired"
+ },
+ {
+ "value": "PartitionReconfigured"
+ },
+ {
+ "value": "PartitionPrimaryMoveAnalysis"
+ },
+ {
+ "value": "ServiceCreated"
+ },
+ {
+ "value": "ServiceDeleted"
+ },
+ {
+ "value": "ServiceNewHealthReport"
+ },
+ {
+ "value": "ServiceHealthReportExpired"
+ },
+ {
+ "value": "DeployedServicePackageNewHealthReport"
+ },
+ {
+ "value": "DeployedServicePackageHealthReportExpired"
+ },
+ {
+ "value": "StatefulReplicaNewHealthReport"
+ },
+ {
+ "value": "StatefulReplicaHealthReportExpired"
+ },
+ {
+ "value": "StatelessReplicaNewHealthReport"
+ },
+ {
+ "value": "StatelessReplicaHealthReportExpired"
+ },
+ {
+ "value": "ClusterNewHealthReport"
+ },
+ {
+ "value": "ClusterHealthReportExpired"
+ },
+ {
+ "value": "ClusterUpgradeCompleted"
+ },
+ {
+ "value": "ClusterUpgradeDomainCompleted"
+ },
+ {
+ "value": "ClusterUpgradeRollbackCompleted"
+ },
+ {
+ "value": "ClusterUpgradeRollbackStarted"
+ },
+ {
+ "value": "ClusterUpgradeStarted"
+ },
+ {
+ "value": "ChaosStopped"
+ },
+ {
+ "value": "ChaosStarted"
+ },
+ {
+ "value": "ChaosCodePackageRestartScheduled"
+ },
+ {
+ "value": "ChaosReplicaRemovalScheduled"
+ },
+ {
+ "value": "ChaosPartitionSecondaryMoveScheduled"
+ },
+ {
+ "value": "ChaosPartitionPrimaryMoveScheduled"
+ },
+ {
+ "value": "ChaosReplicaRestartScheduled"
+ },
+ {
+ "value": "ChaosNodeRestartScheduled"
+ }
+ ]
+ }
+ },
+ "ClusterConfigurationUpgradeStatusInfo": {
+ "description": "Information about a standalone cluster configuration upgrade status.",
+ "properties": {
+ "UpgradeState": {
+ "$ref": "#/definitions/UpgradeState",
+ "description": "The state of the upgrade domain."
+ },
+ "ProgressStatus": {
+ "type": "integer",
+ "description": "The cluster manifest version."
+ },
+ "ConfigVersion": {
+ "type": "string",
+ "description": "The cluster configuration version."
+ },
+ "Details": {
+ "type": "string",
+ "description": "The cluster upgrade status details."
+ }
+ }
+ },
+ "FailureAction": {
+ "type": "string",
+ "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations.\nInvalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically.\nManual indicates that the upgrade will switch to UnmonitoredManual upgrade mode.",
+ "enum": [
+ "Invalid",
+ "Rollback",
+ "Manual"
+ ],
+ "x-ms-enum": {
+ "name": "FailureAction",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the failure action is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Rollback",
+ "description": "The upgrade will start rolling back automatically. The value is 1"
+ },
+ {
+ "value": "Manual",
+ "description": "The upgrade will switch to UnmonitoredManual upgrade mode. The value is 2"
+ }
+ ]
+ }
+ },
+ "FailureReason": {
+ "type": "string",
+ "description": "The cause of an upgrade failure that resulted in FailureAction being executed.",
+ "enum": [
+ "None",
+ "Interrupted",
+ "HealthCheck",
+ "UpgradeDomainTimeout",
+ "OverallUpgradeTimeout"
+ ],
+ "x-ms-enum": {
+ "name": "FailureReason",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "None",
+ "description": "Indicates the reason is invalid or unknown. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Interrupted",
+ "description": "There was an external request to roll back the upgrade. The value is 1"
+ },
+ {
+ "value": "HealthCheck",
+ "description": "The upgrade failed due to health policy violations. The value is 2"
+ },
+ {
+ "value": "UpgradeDomainTimeout",
+ "description": "An upgrade domain took longer than the allowed upgrade domain timeout to process. The value is 3"
+ },
+ {
+ "value": "OverallUpgradeTimeout",
+ "description": "The overall upgrade took longer than the allowed upgrade timeout to process. The value is 4"
+ }
+ ]
+ }
+ },
+ "FailureUpgradeDomainProgressInfo": {
+ "description": "Information about the upgrade domain progress at the time of upgrade failure.",
+ "properties": {
+ "DomainName": {
+ "$ref": "#/definitions/UpgradeDomainName",
+ "description": "The name of the upgrade domain"
+ },
+ "NodeUpgradeProgressList": {
+ "$ref": "#/definitions/NodeUpgradeProgressInfoList",
+ "description": "List of upgrading nodes and their statuses"
+ }
+ }
+ },
+ "ForceRestart": {
+ "type": "boolean",
+ "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).",
+ "default": false
+ },
+ "HealthCheckRetryTimeout": {
+ "type": "string",
+ "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.",
+ "default": "PT0H10M0S"
+ },
+ "HealthCheckStableDuration": {
+ "type": "string",
+ "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.",
+ "default": "PT0H2M0S"
+ },
+ "HealthCheckWaitDuration": {
+ "type": "string",
+ "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.",
+ "default": "0"
+ },
+ "HealthEvaluation": {
+ "discriminator": "Kind",
+ "description": "Represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/HealthEvaluationKind",
+ "description": "The health manager in the cluster performs health evaluations in determining the aggregated health state of an entity. This enumeration provides information on the kind of evaluation that was performed. Following are the possible values."
+ },
+ "AggregatedHealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of the health evaluation, which represents a summary of the evaluation process."
+ }
+ },
+ "required": [
+ "Kind"
+ ]
+ },
+ "HealthEvaluationKind": {
+ "type": "string",
+ "description": "The health manager in the cluster performs health evaluations in determining the aggregated health state of an entity. This enumeration provides information on the kind of evaluation that was performed. Following are the possible values.",
+ "enum": [
+ "Invalid",
+ "Event",
+ "Replicas",
+ "Partitions",
+ "DeployedServicePackages",
+ "DeployedApplications",
+ "Services",
+ "Nodes",
+ "Applications",
+ "SystemApplication",
+ "UpgradeDomainDeployedApplications",
+ "UpgradeDomainNodes",
+ "Replica",
+ "Partition",
+ "DeployedServicePackage",
+ "DeployedApplication",
+ "Service",
+ "Node",
+ "Application",
+ "DeltaNodesCheck",
+ "UpgradeDomainDeltaNodesCheck",
+ "ApplicationTypeApplications"
+ ],
+ "x-ms-enum": {
+ "name": "HealthEvaluationKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the health evaluation is invalid. The value is zero."
+ },
+ {
+ "value": "Event",
+ "description": "Indicates that the health evaluation is for a health event. The value is 1."
+ },
+ {
+ "value": "Replicas",
+ "description": "Indicates that the health evaluation is for the replicas of a partition. The value is 2."
+ },
+ {
+ "value": "Partitions",
+ "description": "Indicates that the health evaluation is for the partitions of a service. The value is 3."
+ },
+ {
+ "value": "DeployedServicePackages",
+ "description": "Indicates that the health evaluation is for the deployed service packages of a deployed application. The value is 4."
+ },
+ {
+ "value": "DeployedApplications",
+ "description": "Indicates that the health evaluation is for the deployed applications of an application. The value is 5."
+ },
+ {
+ "value": "Services",
+ "description": "Indicates that the health evaluation is for services of an application. The value is 6."
+ },
+ {
+ "value": "Nodes",
+ "description": "Indicates that the health evaluation is for the cluster nodes. The value is 7."
+ },
+ {
+ "value": "Applications",
+ "description": "Indicates that the health evaluation is for the cluster applications. The value is 8."
+ },
+ {
+ "value": "SystemApplication",
+ "description": "Indicates that the health evaluation is for the system application. The value is 9."
+ },
+ {
+ "value": "UpgradeDomainDeployedApplications",
+ "description": "Indicates that the health evaluation is for the deployed applications of an application in an upgrade domain. The value is 10."
+ },
+ {
+ "value": "UpgradeDomainNodes",
+ "description": "Indicates that the health evaluation is for the cluster nodes in an upgrade domain. The value is 11."
+ },
+ {
+ "value": "Replica",
+ "description": "Indicates that the health evaluation is for a replica. The value is 13."
+ },
+ {
+ "value": "Partition",
+ "description": "Indicates that the health evaluation is for a partition. The value is 14."
+ },
+ {
+ "value": "DeployedServicePackage",
+ "description": "Indicates that the health evaluation is for a deployed service package. The value is 16."
+ },
+ {
+ "value": "DeployedApplication",
+ "description": "Indicates that the health evaluation is for a deployed application. The value is 17."
+ },
+ {
+ "value": "Service",
+ "description": "Indicates that the health evaluation is for a service. The value is 15."
+ },
+ {
+ "value": "Node",
+ "description": "Indicates that the health evaluation is for a node. The value is 12."
+ },
+ {
+ "value": "Application",
+ "description": "Indicates that the health evaluation is for an application. The value is 18."
+ },
+ {
+ "value": "DeltaNodesCheck",
+ "description": "Indicates that the health evaluation is for the delta of unhealthy cluster nodes. The value is 19."
+ },
+ {
+ "value": "UpgradeDomainDeltaNodesCheck",
+ "description": "Indicates that the health evaluation is for the delta of unhealthy upgrade domain cluster nodes. The value is 20."
+ },
+ {
+ "value": "ApplicationTypeApplications",
+ "description": "– Indicates that the health evaluation is for applications of an application type. The value is 21."
+ }
+ ]
+ }
+ },
+ "HealthEvaluationWrapper": {
+ "description": "Wrapper object for health evaluation.",
+ "properties": {
+ "HealthEvaluation": {
+ "$ref": "#/definitions/HealthEvaluation",
+ "description": "Represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity."
+ }
+ }
+ },
+ "HealthEvent": {
+ "description": "Represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthInformation"
+ }
+ ],
+ "properties": {
+ "IsExpired": {
+ "type": "boolean",
+ "description": "Returns true if the health event is expired, otherwise false."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date and time when the health report was sent by the source."
+ },
+ "LastModifiedUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date and time when the health report was last modified by the health store."
+ },
+ "LastOkTransitionAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "If the current health state is 'Ok', this property returns the time at which the health report was first reported with 'Ok'.\nFor periodic reporting, many reports with the same state may have been generated.\nThis property returns the date and time when the first 'Ok' health report was received.\n\nIf the current health state is 'Error' or 'Warning', returns the date and time at which the health state was last in 'Ok', before transitioning to a different state.\n\nIf the health state was never 'Ok', the value will be zero date-time."
+ },
+ "LastWarningTransitionAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "If the current health state is 'Warning', this property returns the time at which the health report was first reported with 'Warning'. For periodic reporting, many reports with the same state may have been generated however, this property returns only the date and time at the first 'Warning' health report was received.\n\nIf the current health state is 'Ok' or 'Error', returns the date and time at which the health state was last in 'Warning', before transitioning to a different state.\n\nIf the health state was never 'Warning', the value will be zero date-time."
+ },
+ "LastErrorTransitionAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "If the current health state is 'Error', this property returns the time at which the health report was first reported with 'Error'. For periodic reporting, many reports with the same state may have been generated however, this property returns only the date and time at the first 'Error' health report was received.\n\nIf the current health state is 'Ok' or 'Warning', returns the date and time at which the health state was last in 'Error', before transitioning to a different state.\n\nIf the health state was never 'Error', the value will be zero date-time."
+ }
+ }
+ },
+ "HealthInformation": {
+ "description": "Represents common health report information. It is included in all health reports sent to health store and in all health events returned by health queries.",
+ "required": [
+ "SourceId",
+ "Property",
+ "HealthState"
+ ],
+ "properties": {
+ "SourceId": {
+ "type": "string",
+ "description": "The source name that identifies the client/watchdog/system component that generated the health information."
+ },
+ "Property": {
+ "type": "string",
+ "description": "The property of the health information. An entity can have health reports for different properties.\nThe property is a string and not a fixed enumeration to allow the reporter flexibility to categorize the state condition that triggers the report.\nFor example, a reporter with SourceId \"LocalWatchdog\" can monitor the state of the available disk on a node,\nso it can report \"AvailableDisk\" property on that node.\nThe same reporter can monitor the node connectivity, so it can report a property \"Connectivity\" on the same node.\nIn the health store, these reports are treated as separate health events for the specified node.\n\nTogether with the SourceId, the property uniquely identifies the health information."
+ },
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ },
+ "TimeToLiveInMilliSeconds": {
+ "type": "string",
+ "format": "duration",
+ "description": "The duration for which this health report is valid. This field uses ISO8601 format for specifying the duration.\nWhen clients report periodically, they should send reports with higher frequency than time to live.\nIf clients report on transition, they can set the time to live to infinite.\nWhen time to live expires, the health event that contains the health information\nis either removed from health store, if RemoveWhenExpired is true, or evaluated at error, if RemoveWhenExpired false.\n\nIf not specified, time to live defaults to infinite value."
+ },
+ "Description": {
+ "type": "string",
+ "description": "The description of the health information. It represents free text used to add human readable information about the report.\nThe maximum string length for the description is 4096 characters.\nIf the provided string is longer, it will be automatically truncated.\nWhen truncated, the last characters of the description contain a marker \"[Truncated]\", and total string size is 4096 characters.\nThe presence of the marker indicates to users that truncation occurred.\nNote that when truncated, the description has less than 4096 characters from the original string."
+ },
+ "SequenceNumber": {
+ "type": "string",
+ "description": "The sequence number for this health report as a numeric string.\nThe report sequence number is used by the health store to detect stale reports.\nIf not specified, a sequence number is auto-generated by the health client when a report is added."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Value that indicates whether the report is removed from health store when it expires.\nIf set to true, the report is removed from the health store after it expires.\nIf set to false, the report is treated as an error when expired. The value of this property is false by default.\nWhen clients report periodically, they should set RemoveWhenExpired false (default).\nThis way, if the reporter has issues (e.g. deadlock) and can't report, the entity is evaluated at error when the health report expires.\nThis flags the entity as being in Error health state."
+ },
+ "HealthReportId": {
+ "type": "string",
+ "description": "A health report ID which identifies the health report and can be used to find more detailed information about a specific health event at\naka.ms/sfhealthid"
+ }
+ }
+ },
+ "Int64RangePartitionInformation": {
+ "description": "Describes the partition information for the integer range that is based on partition schemes.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionInformation"
+ }
+ ],
+ "x-ms-discriminator-value": "Int64Range",
+ "properties": {
+ "LowKey": {
+ "type": "string",
+ "description": "Specifies the minimum key value handled by this partition."
+ },
+ "HighKey": {
+ "type": "string",
+ "description": "Specifies the maximum key value handled by this partition."
+ }
+ }
+ },
+ "MinInstanceCount": {
+ "type": "integer",
+ "default": 1,
+ "minimum": 1,
+ "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node.\nThe actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).\nNote, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
+ },
+ "MinInstancePercentage": {
+ "type": "integer",
+ "default": 0,
+ "minimum": 0,
+ "maximum": 100,
+ "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node.\nThe actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).\nNote, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
+ },
+ "MonitoringPolicyDescription": {
+ "description": "Describes the parameters for monitoring an upgrade in Monitored mode.",
+ "properties": {
+ "FailureAction": {
+ "$ref": "#/definitions/FailureAction",
+ "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations.\nInvalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically.\nManual indicates that the upgrade will switch to UnmonitoredManual upgrade mode."
+ },
+ "HealthCheckWaitDurationInMilliseconds": {
+ "$ref": "#/definitions/HealthCheckWaitDuration",
+ "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "HealthCheckStableDurationInMilliseconds": {
+ "$ref": "#/definitions/HealthCheckStableDuration",
+ "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "HealthCheckRetryTimeoutInMilliseconds": {
+ "$ref": "#/definitions/HealthCheckRetryTimeout",
+ "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "UpgradeTimeoutInMilliseconds": {
+ "$ref": "#/definitions/UpgradeTimeout",
+ "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "UpgradeDomainTimeoutInMilliseconds": {
+ "$ref": "#/definitions/UpgradeDomainTimeout",
+ "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ }
+ }
+ },
+ "NamedPartitionInformation": {
+ "description": "Describes the partition information for the name as a string that is based on partition schemes.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionInformation"
+ }
+ ],
+ "x-ms-discriminator-value": "Named",
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "Name of the partition."
+ }
+ }
+ },
+ "NextUpgradeDomain": {
+ "type": "string",
+ "description": "The name of the next upgrade domain to be processed."
+ },
+ "NodeDeactivationInfo": {
+ "description": "Information about the node deactivation. This information is valid for a node that is undergoing deactivation or has already been deactivated.",
+ "properties": {
+ "NodeDeactivationIntent": {
+ "$ref": "#/definitions/NodeDeactivationIntent",
+ "description": "The intent or the reason for deactivating the node. Following are the possible values for it."
+ },
+ "NodeDeactivationStatus": {
+ "$ref": "#/definitions/NodeDeactivationStatus",
+ "description": "The status of node deactivation operation. Following are the possible values."
+ },
+ "NodeDeactivationTask": {
+ "$ref": "#/definitions/NodeDeactivationTaskList",
+ "description": "List of tasks representing the deactivation operation on the node."
+ },
+ "PendingSafetyChecks": {
+ "$ref": "#/definitions/SafetyCheckInfoList",
+ "description": "List of pending safety checks"
+ }
+ }
+ },
+ "NodeDeactivationIntent": {
+ "type": "string",
+ "description": "The intent or the reason for deactivating the node. Following are the possible values for it.",
+ "enum": [
+ "Invalid",
+ "Pause",
+ "Restart",
+ "RemoveData",
+ "RemoveNode"
+ ],
+ "x-ms-enum": {
+ "name": "NodeDeactivationIntent",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the node deactivation intent is invalid. All Service Fabric enumerations have the invalid type. The value is zero. This value is not used."
+ },
+ {
+ "value": "Pause",
+ "description": "Indicates that the node should be paused. The value is 1."
+ },
+ {
+ "value": "Restart",
+ "description": "Indicates that the intent is for the node to be restarted after a short period of time. Service Fabric does not restart the node, this action is done outside of Service Fabric. The value is 2."
+ },
+ {
+ "value": "RemoveData",
+ "description": "Indicates that the intent is to reimage the node. Service Fabric does not reimage the node, this action is done outside of Service Fabric. The value is 3."
+ },
+ {
+ "value": "RemoveNode",
+ "description": "Indicates that the node is being decommissioned and is not expected to return. Service Fabric does not decommission the node, this action is done outside of Service Fabric. The value is 4."
+ }
+ ]
+ }
+ },
+ "NodeDeactivationStatus": {
+ "type": "string",
+ "description": "The status of node deactivation operation. Following are the possible values.",
+ "enum": [
+ "None",
+ "SafetyCheckInProgress",
+ "SafetyCheckComplete",
+ "Completed"
+ ],
+ "x-ms-enum": {
+ "name": "NodeDeactivationStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "None",
+ "description": "No status is associated with the task. The value is zero."
+ },
+ {
+ "value": "SafetyCheckInProgress",
+ "description": "When a node is deactivated Service Fabric performs checks to ensure that the operation is safe to proceed to ensure availability of the service and reliability of the state. This value indicates that one or more safety checks are in progress. The value is 1."
+ },
+ {
+ "value": "SafetyCheckComplete",
+ "description": "When a node is deactivated Service Fabric performs checks to ensure that the operation is safe to proceed to ensure availability of the service and reliability of the state. This value indicates that all safety checks have been completed. The value is 2."
+ },
+ {
+ "value": "Completed",
+ "description": "The task is completed. The value is 3."
+ }
+ ]
+ }
+ },
+ "NodeDeactivationTask": {
+ "description": "The task representing the deactivation operation on the node.",
+ "properties": {
+ "NodeDeactivationTaskId": {
+ "$ref": "#/definitions/NodeDeactivationTaskId",
+ "description": "Identity of the task related to deactivation operation on the node."
+ },
+ "NodeDeactivationIntent": {
+ "$ref": "#/definitions/NodeDeactivationIntent",
+ "description": "The intent or the reason for deactivating the node. Following are the possible values for it."
+ }
+ }
+ },
+ "NodeDeactivationTaskId": {
+ "description": "Identity of the task related to deactivation operation on the node.",
+ "properties": {
+ "Id": {
+ "type": "string",
+ "description": "Value of the task id."
+ },
+ "NodeDeactivationTaskType": {
+ "$ref": "#/definitions/NodeDeactivationTaskType",
+ "description": "The type of the task that performed the node deactivation. Following are the possible values."
+ }
+ }
+ },
+ "NodeDeactivationTaskList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeDeactivationTask"
+ },
+ "description": "List of tasks representing the deactivation operation on the node."
+ },
+ "NodeDeactivationTaskType": {
+ "type": "string",
+ "description": "The type of the task that performed the node deactivation. Following are the possible values.",
+ "enum": [
+ "Invalid",
+ "Infrastructure",
+ "Repair",
+ "Client"
+ ],
+ "x-ms-enum": {
+ "name": "NodeDeactivationTaskType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the node deactivation task type is invalid. All Service Fabric enumerations have the invalid type. The value is zero. This value is not used."
+ },
+ {
+ "value": "Infrastructure",
+ "description": "Specifies the task created by Infrastructure hosting the nodes. The value is 1."
+ },
+ {
+ "value": "Repair",
+ "description": "Specifies the task that was created by the Repair Manager service. The value is 2."
+ },
+ {
+ "value": "Client",
+ "description": "Specifies that the task was created by using the public API. The value is 3."
+ }
+ ]
+ }
+ },
+ "NodeEvent": {
+ "description": "Represents the base for all Node Events.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FabricEvent"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ }
+ },
+ "required": [
+ "NodeName"
+ ],
+ "x-ms-discriminator-value": "NodeEvent"
+ },
+ "NodeEventList": {
+ "description": "A list of NodeEvent objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ },
+ "NodeHealth": {
+ "description": "Information about the health of a Service Fabric node.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealth"
+ }
+ ],
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/NodeName",
+ "description": "Name of the node whose health information is described by this object."
+ }
+ }
+ },
+ "NodeHealthEvaluation": {
+ "x-ms-discriminator-value": "Node",
+ "description": "Represents health evaluation for a node, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the current aggregated health state of the node. The types of the unhealthy evaluations can be EventHealthEvaluation."
+ }
+ }
+ },
+ "NodeHealthState": {
+ "description": "Represents the health state of a node, which contains the node identifier and its aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthState"
+ }
+ ],
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "Id": {
+ "$ref": "#/definitions/NodeId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name."
+ }
+ }
+ },
+ "NodeHealthStateChunk": {
+ "description": "Represents the health state chunk of a node, which contains the node name and its aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunk"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ }
+ }
+ },
+ "NodeHealthStateChunkList": {
+ "description": "The list of node health state chunks in the cluster that respect the input filters in the chunk query. Returned by get cluster health state chunks query.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunkList"
+ }
+ ],
+ "properties": {
+ "Items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeHealthStateChunk"
+ },
+ "description": "The list of node health state chunks that respect the input filters in the chunk query."
+ }
+ }
+ },
+ "NodeHealthStateFilter": {
+ "description": "Defines matching criteria to determine whether a node should be included in the returned cluster health chunk.\nOne filter can match zero, one or multiple nodes, depending on its properties.\nCan be specified in the cluster health chunk query description.",
+ "properties": {
+ "NodeNameFilter": {
+ "type": "string",
+ "description": "Name of the node that matches the filter. The filter is applied only to the specified node, if it exists.\nIf the node doesn't exist, no node is returned in the cluster health chunk based on this filter.\nIf the node exists, it is included in the cluster health chunk if the health state matches the other filter properties.\nIf not specified, all nodes that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter."
+ },
+ "HealthStateFilter": {
+ "type": "integer",
+ "default": 0,
+ "description": "The filter for the health state of the nodes. It allows selecting nodes if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only nodes that match the filter are returned. All nodes are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the node name is specified. If the filter has default value and node name is specified, the matching node is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches nodes with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
+ }
+ }
+ },
+ "NodeId": {
+ "description": "An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name.",
+ "properties": {
+ "Id": {
+ "type": "string",
+ "description": "Value of the node Id. This is a 128 bit integer."
+ }
+ }
+ },
+ "NodeIdList": {
+ "description": "A list of NodeIds.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeId"
+ }
+ },
+ "NodeInfo": {
+ "description": "Information about a node in Service Fabric cluster.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "IpAddressOrFQDN": {
+ "type": "string",
+ "description": "The IP address or fully qualified domain name of the node."
+ },
+ "Type": {
+ "type": "string",
+ "description": "The type of the node."
+ },
+ "CodeVersion": {
+ "type": "string",
+ "description": "The version of Service Fabric binaries that the node is running."
+ },
+ "ConfigVersion": {
+ "type": "string",
+ "description": "The version of Service Fabric cluster manifest that the node is using."
+ },
+ "NodeStatus": {
+ "$ref": "#/definitions/NodeStatus",
+ "description": "The status of the node."
+ },
+ "NodeUpTimeInSeconds": {
+ "type": "string",
+ "description": "Time in seconds since the node has been in NodeStatus Up. Value zero indicates that the node is not Up."
+ },
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ },
+ "IsSeedNode": {
+ "type": "boolean",
+ "description": "Indicates if the node is a seed node or not. Returns true if the node is a seed node, otherwise false. A quorum of seed nodes are required for proper operation of Service Fabric cluster."
+ },
+ "UpgradeDomain": {
+ "type": "string",
+ "description": "The upgrade domain of the node."
+ },
+ "FaultDomain": {
+ "type": "string",
+ "description": "The fault domain of the node."
+ },
+ "Id": {
+ "$ref": "#/definitions/NodeId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name."
+ },
+ "InstanceId": {
+ "type": "string",
+ "description": "The ID representing the node instance. While the ID of the node is deterministically generated from the node name and remains same across restarts, the InstanceId changes every time node restarts."
+ },
+ "NodeDeactivationInfo": {
+ "$ref": "#/definitions/NodeDeactivationInfo",
+ "description": "Information about the node deactivation. This information is valid for a node that is undergoing deactivation or has already been deactivated."
+ },
+ "IsStopped": {
+ "type": "boolean",
+ "description": "Indicates if the node is stopped by calling stop node API or not. Returns true if the node is stopped, otherwise false."
+ },
+ "NodeDownTimeInSeconds": {
+ "type": "string",
+ "description": "Time in seconds since the node has been in NodeStatus Down. Value zero indicates node is not NodeStatus Down."
+ },
+ "NodeUpAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Date time in UTC when the node came up. If the node has never been up then this value will be zero date time."
+ },
+ "NodeDownAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Date time in UTC when the node went down. If node has never been down then this value will be zero date time."
+ }
+ }
+ },
+ "NodeLoadInfo": {
+ "description": "Information about load on a Service Fabric node. It holds a summary of all metrics and their load on a node.",
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "Name of the node for which the load information is provided by this object."
+ },
+ "NodeLoadMetricInformation": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeLoadMetricInformation"
+ },
+ "description": "List that contains metrics and their load information on this node."
+ }
+ }
+ },
+ "NodeLoadMetricInformation": {
+ "description": "Represents data structure that contains load information for a certain metric on a node.",
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "Name of the metric for which this load information is provided."
+ },
+ "NodeCapacity": {
+ "type": "string",
+ "description": "Total capacity on the node for this metric."
+ },
+ "NodeLoad": {
+ "type": "string",
+ "description": "Current load on the node for this metric. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentNodeLoad."
+ },
+ "NodeRemainingCapacity": {
+ "type": "string",
+ "description": "The remaining capacity on the node for this metric. In future releases of Service Fabric this parameter will be deprecated in favor of NodeCapacityRemaining."
+ },
+ "IsCapacityViolation": {
+ "type": "boolean",
+ "description": "Indicates if there is a capacity violation for this metric on the node."
+ },
+ "NodeBufferedCapacity": {
+ "type": "string",
+ "description": "The value that indicates the reserved capacity for this metric on the node."
+ },
+ "NodeRemainingBufferedCapacity": {
+ "type": "string",
+ "description": "The remaining reserved capacity for this metric on the node. In future releases of Service Fabric this parameter will be deprecated in favor of BufferedNodeCapacityRemaining."
+ },
+ "CurrentNodeLoad": {
+ "type": "string",
+ "format": "double",
+ "description": "Current load on the node for this metric."
+ },
+ "NodeCapacityRemaining": {
+ "type": "string",
+ "format": "double",
+ "description": "The remaining capacity on the node for the metric."
+ },
+ "BufferedNodeCapacityRemaining": {
+ "type": "string",
+ "format": "double",
+ "description": "The remaining capacity which is not reserved by NodeBufferPercentage for this metric on the node."
+ },
+ "PlannedNodeLoadRemoval": {
+ "type": "string",
+ "format": "double",
+ "description": "This value represents the load of the replicas that are planned to be removed in the future.\nThis kind of load is reported for replicas that are currently being moving to other nodes and for replicas that are currently being dropped but still use the load on the source node."
+ }
+ }
+ },
+ "NodeName": {
+ "type": "string",
+ "description": "The name of a Service Fabric node."
+ },
+ "NodeType": {
+ "type": "string",
+ "description": "The type name of a Service Fabric node.\nRefer to the article [The relationship between Service Fabric node types and Virtual Machine Scale Sets](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-nodetypes) for more details."
+ },
+ "NodesHealthEvaluation": {
+ "x-ms-discriminator-value": "Nodes",
+ "description": "Represents health evaluation for nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster health and the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "MaxPercentUnhealthyNodes": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of nodes found in the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "NodeStatus": {
+ "type": "string",
+ "description": "The status of the node.",
+ "enum": [
+ "Invalid",
+ "Up",
+ "Down",
+ "Enabling",
+ "Disabling",
+ "Disabled",
+ "Unknown",
+ "Removed"
+ ],
+ "x-ms-enum": {
+ "name": "NodeStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the node status is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Up",
+ "description": "Indicates the node is up. The value is 1."
+ },
+ {
+ "value": "Down",
+ "description": "Indicates the node is down. The value is 2."
+ },
+ {
+ "value": "Enabling",
+ "description": "Indicates the node is in process of being enabled. The value is 3."
+ },
+ {
+ "value": "Disabling",
+ "description": "Indicates the node is in the process of being disabled. The value is 4."
+ },
+ {
+ "value": "Disabled",
+ "description": "Indicates the node is disabled. The value is 5."
+ },
+ {
+ "value": "Unknown",
+ "description": "Indicates the node is unknown. A node would be in Unknown state if Service Fabric does not have authoritative information about that node. This can happen if the system learns about a node at runtime.The value is 6."
+ },
+ {
+ "value": "Removed",
+ "description": "Indicates the node is removed. A node would be in Removed state if NodeStateRemoved API has been called for this node. In other words, Service Fabric has been informed that the persisted state on the node has been permanently lost. The value is 7."
+ }
+ ]
+ }
+ },
+ "NodeUpgradePhase": {
+ "type": "string",
+ "description": "The state of the upgrading node.",
+ "enum": [
+ "Invalid",
+ "PreUpgradeSafetyCheck",
+ "Upgrading",
+ "PostUpgradeSafetyCheck"
+ ],
+ "x-ms-enum": {
+ "name": "NodeUpgradePhase",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade state is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "PreUpgradeSafetyCheck",
+ "description": "The upgrade has not started yet due to pending safety checks. The value is 1"
+ },
+ {
+ "value": "Upgrading",
+ "description": "The upgrade is in progress. The value is 2"
+ },
+ {
+ "value": "PostUpgradeSafetyCheck",
+ "description": "The upgrade has completed and post upgrade safety checks are being performed. The value is 3"
+ }
+ ]
+ }
+ },
+ "NodeUpgradeProgressInfo": {
+ "description": "Information about the upgrading node and its status",
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "UpgradePhase": {
+ "$ref": "#/definitions/NodeUpgradePhase",
+ "description": "The state of the upgrading node."
+ },
+ "PendingSafetyChecks": {
+ "$ref": "#/definitions/SafetyCheckInfoList",
+ "description": "List of pending safety checks"
+ }
+ }
+ },
+ "NodeUpgradeProgressInfoList": {
+ "type": "array",
+ "description": "List of upgrading nodes and their statuses",
+ "items": {
+ "$ref": "#/definitions/NodeUpgradeProgressInfo"
+ }
+ },
+ "PagedApplicationInfoList": {
+ "description": "The list of applications in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of application information.",
+ "items": {
+ "$ref": "#/definitions/ApplicationInfo"
+ }
+ }
+ }
+ },
+ "PagedDeployedApplicationInfoList": {
+ "description": "The list of deployed applications in activating, downloading, or active states on a node.\nThe list is paged when all of the results cannot fit in a single message.\nThe next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of deployed application information.",
+ "items": {
+ "$ref": "#/definitions/DeployedApplicationInfo"
+ }
+ }
+ }
+ },
+ "PagedNodeInfoList": {
+ "description": "The list of nodes in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of node information.",
+ "items": {
+ "$ref": "#/definitions/NodeInfo"
+ }
+ }
+ }
+ },
+ "PagedServicePartitionInfoList": {
+ "description": "The list of partition in the cluster for a service. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of service partition information.",
+ "items": {
+ "$ref": "#/definitions/ServicePartitionInfo"
+ }
+ }
+ }
+ },
+ "PagedReplicaInfoList": {
+ "description": "The list of replicas in the cluster for a given partition. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of replica information.",
+ "items": {
+ "$ref": "#/definitions/ReplicaInfo"
+ }
+ }
+ }
+ },
+ "PagedServiceInfoList": {
+ "description": "The list of services in the cluster for an application. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of service information.",
+ "items": {
+ "$ref": "#/definitions/ServiceInfo"
+ }
+ }
+ }
+ },
+ "PartitionAnalysisEvent": {
+ "description": "Represents the base for all Partition Analysis Events.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionEvent"
+ }
+ ],
+ "properties": {
+ "Metadata": {
+ "$ref": "#/definitions/AnalysisEventMetadata",
+ "description": "Metadata about an Analysis Event."
+ }
+ },
+ "required": [
+ "Metadata"
+ ],
+ "x-ms-discriminator-value": "PartitionAnalysisEvent"
+ },
+ "PartitionEvent": {
+ "description": "Represents the base for all Partition Events.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FabricEvent"
+ }
+ ],
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different."
+ }
+ },
+ "required": [
+ "PartitionId"
+ ],
+ "x-ms-discriminator-value": "PartitionEvent"
+ },
+ "PartitionEventList": {
+ "description": "A list of PartitionEvent objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PartitionEvent"
+ }
+ },
+ "PartitionHealth": {
+ "description": "Information about the health of a Service Fabric partition.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealth"
+ }
+ ],
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "ID of the partition whose health information is described by this object."
+ },
+ "ReplicaHealthStates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReplicaHealthState"
+ },
+ "description": "The list of replica health states associated with the partition."
+ }
+ }
+ },
+ "PartitionHealthEvaluation": {
+ "x-ms-discriminator-value": "Partition",
+ "description": "Represents health evaluation for a partition, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "Id of the partition whose health evaluation is described by this object."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the current aggregated health state of the partition. The types of the unhealthy evaluations can be ReplicasHealthEvaluation or EventHealthEvaluation."
+ }
+ }
+ },
+ "PartitionHealthState": {
+ "description": "Represents the health state of a partition, which contains the partition identifier and its aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthState"
+ }
+ ],
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "Id of the partition whose health state is described by this object."
+ }
+ }
+ },
+ "PartitionHealthStateChunk": {
+ "description": "Represents the health state chunk of a partition, which contains the partition ID, its aggregated health state and any replicas that respect the filters in the cluster health chunk query description.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunk"
+ }
+ ],
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "The Id of the partition."
+ },
+ "ReplicaHealthStateChunks": {
+ "$ref": "#/definitions/ReplicaHealthStateChunkList",
+ "description": "The list of replica health state chunks belonging to the partition that respect the filters in the cluster health chunk query description."
+ }
+ }
+ },
+ "PartitionHealthStateChunkList": {
+ "description": "The list of partition health state chunks that respect the input filters in the chunk query description.\nReturned by get cluster health state chunks query as part of the parent application hierarchy.",
+ "properties": {
+ "Items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PartitionHealthStateChunk"
+ },
+ "description": "The list of partition health state chunks that respect the input filters in the chunk query."
+ }
+ }
+ },
+ "PartitionHealthStateFilter": {
+ "description": "Defines matching criteria to determine whether a partition should be included as a child of a service in the cluster health chunk.\nThe partitions are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent service and application must be included in the cluster health chunk.\nOne filter can match zero, one or multiple partitions, depending on its properties.",
+ "properties": {
+ "PartitionIdFilter": {
+ "type": "string",
+ "format": "uuid",
+ "description": "ID of the partition that matches the filter. The filter is applied only to the specified partition, if it exists.\nIf the partition doesn't exist, no partition is returned in the cluster health chunk based on this filter.\nIf the partition exists, it is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all partitions that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter."
+ },
+ "HealthStateFilter": {
+ "type": "integer",
+ "default": 0,
+ "description": "The filter for the health state of the partitions. It allows selecting partitions if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only partitions that match the filter are returned. All partitions are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the partition ID is specified. If the filter has default value and partition ID is specified, the matching partition is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches partitions with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
+ },
+ "ReplicaFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReplicaHealthStateFilter"
+ },
+ "description": "Defines a list of filters that specify which replicas to be included in the returned cluster health chunk as children of the parent partition. The replicas are returned only if the parent partition matches a filter.\nIf the list is empty, no replicas are returned. All the replicas are used to evaluate the parent partition aggregated health state, regardless of the input filters.\nThe partition filter may specify multiple replica filters.\nFor example, it can specify a filter to return all replicas with health state Error and another filter to always include a replica identified by its replica id."
+ }
+ }
+ },
+ "PartitionId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different."
+ },
+ "PartitionInformation": {
+ "discriminator": "ServicePartitionKind",
+ "description": "Information about the partition identity, partitioning scheme and keys supported by it.",
+ "required": [
+ "ServicePartitionKind"
+ ],
+ "properties": {
+ "ServicePartitionKind": {
+ "$ref": "#/definitions/ServicePartitionKind",
+ "description": "The kind of partitioning scheme used to partition the service."
+ },
+ "Id": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different."
+ }
+ }
+ },
+ "ProvisionFabricDescription": {
+ "description": "Describes the parameters for provisioning a cluster.",
+ "properties": {
+ "CodeFilePath": {
+ "type": "string",
+ "description": "The cluster code package file path."
+ },
+ "ClusterManifestFilePath": {
+ "type": "string",
+ "description": "The cluster manifest file path."
+ }
+ }
+ },
+ "ProvisionApplicationTypeKind": {
+ "type": "string",
+ "description": "The kind of application type registration or provision requested. The application package can be registered or provisioned either from the image store or from an external store. Following are the kinds of the application type provision.",
+ "enum": [
+ "Invalid",
+ "ImageStorePath",
+ "ExternalStore"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisionApplicationTypeKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the provision kind is invalid. This value is default and should not be used. The value is zero."
+ },
+ {
+ "value": "ImageStorePath",
+ "description": "Indicates that the provision is for a package that was previously uploaded to the image store. The value is 1."
+ },
+ {
+ "value": "ExternalStore",
+ "description": "Indicates that the provision is for an application package that was previously uploaded to an external store. The application package ends with the extension *.sfpkg. The value is 2."
+ }
+ ]
+ }
+ },
+ "ProvisionApplicationTypeDescriptionBase": {
+ "discriminator": "Kind",
+ "description": "Represents the type of registration or provision requested, and if the operation needs to be asynchronous or not. Supported types of provision operations are from either image store or external store.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/ProvisionApplicationTypeKind",
+ "description": "The kind of application type registration or provision requested. The application package can be registered or provisioned either from the image store or from an external store. Following are the kinds of the application type provision."
+ },
+ "Async": {
+ "type": "boolean",
+ "description": "Indicates whether or not provisioning should occur asynchronously. When set to true, the provision operation returns when the request is accepted by the system, and the provision operation continues without any timeout limit. The default value is false. For large application packages, we recommend setting the value to true."
+ }
+ },
+ "required": [
+ "Kind",
+ "Async"
+ ]
+ },
+ "ProvisionApplicationTypeDescription": {
+ "description": "Describes the operation to register or provision an application type using an application package uploaded to the Service Fabric image store.",
+ "required": [
+ "ApplicationTypeBuildPath"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProvisionApplicationTypeDescriptionBase"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeBuildPath": {
+ "description": "The relative path for the application package in the image store specified during the prior upload operation.",
+ "type": "string"
+ },
+ "ApplicationPackageCleanupPolicy": {
+ "$ref": "#/definitions/ApplicationPackageCleanupPolicy",
+ "description": "The kind of action that needs to be taken for cleaning up the application package after successful provision."
+ }
+ },
+ "x-ms-discriminator-value": "ImageStorePath"
+ },
+ "ExternalStoreProvisionApplicationTypeDescription": {
+ "description": "Describes the operation to register or provision an application type using an application package from an external store instead of a package uploaded to the Service Fabric image store.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProvisionApplicationTypeDescriptionBase"
+ }
+ ],
+ "properties": {
+ "ApplicationPackageDownloadUri": {
+ "description": "The path to the '.sfpkg' application package from where the application package can be downloaded using HTTP or HTTPS protocols. The application package can be stored in an external store that provides GET operation to download the file. Supported protocols are HTTP and HTTPS, and the path must allow READ access.",
+ "type": "string"
+ },
+ "ApplicationTypeName": {
+ "description": "The application type name represents the name of the application type found in the application manifest.",
+ "type": "string"
+ },
+ "ApplicationTypeVersion": {
+ "description": "The application type version represents the version of the application type found in the application manifest.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "ExternalStore",
+ "required": [
+ "ApplicationPackageDownloadUri",
+ "ApplicationTypeName",
+ "ApplicationTypeVersion"
+ ]
+ },
+ "UnprovisionFabricDescription": {
+ "description": "Describes the parameters for unprovisioning a cluster.",
+ "properties": {
+ "CodeVersion": {
+ "type": "string",
+ "description": "The cluster code package version."
+ },
+ "ConfigVersion": {
+ "type": "string",
+ "description": "The cluster manifest version."
+ }
+ }
+ },
+ "ResumeClusterUpgradeDescription": {
+ "description": "Describes the parameters for resuming a cluster upgrade.",
+ "properties": {
+ "UpgradeDomain": {
+ "type": "string",
+ "description": "The next upgrade domain for this cluster upgrade."
+ }
+ },
+ "required": [
+ "UpgradeDomain"
+ ]
+ },
+ "StartClusterUpgradeDescription": {
+ "description": "Describes the parameters for starting a cluster upgrade.",
+ "properties": {
+ "CodeVersion": {
+ "type": "string",
+ "description": "The cluster code version."
+ },
+ "ConfigVersion": {
+ "type": "string",
+ "description": "The cluster configuration version."
+ },
+ "UpgradeKind": {
+ "$ref": "#/definitions/UpgradeKind",
+ "description": "The kind of upgrade out of the following possible values."
+ },
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/UpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "UpgradeReplicaSetCheckTimeoutInSeconds": {
+ "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout",
+ "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)."
+ },
+ "ForceRestart": {
+ "$ref": "#/definitions/ForceRestart",
+ "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)."
+ },
+ "SortOrder": {
+ "$ref": "#/definitions/UpgradeSortOrder",
+ "description": "Defines the order in which an upgrade proceeds through the cluster."
+ },
+ "MonitoringPolicy": {
+ "$ref": "#/definitions/MonitoringPolicyDescription",
+ "description": "Describes the parameters for monitoring an upgrade in Monitored mode."
+ },
+ "ClusterHealthPolicy": {
+ "$ref": "#/definitions/ClusterHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node."
+ },
+ "EnableDeltaHealthEvaluation": {
+ "type": "boolean",
+ "description": "When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain."
+ },
+ "ClusterUpgradeHealthPolicy": {
+ "$ref": "#/definitions/ClusterUpgradeHealthPolicyObject",
+ "description": "Defines a health policy used to evaluate the health of the cluster during a cluster upgrade."
+ },
+ "ApplicationHealthPolicyMap": {
+ "$ref": "#/definitions/ApplicationHealthPolicies",
+ "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities."
+ },
+ "InstanceCloseDelayDurationInSeconds": {
+ "$ref": "#/definitions/InstanceCloseDelayDurationInSeconds",
+ "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster\nupgrade, only for those instances which have a non-zero delay duration configured in the service description. See InstanceCloseDelayDurationSeconds property in $ref: \"#/definitions/StatelessServiceDescription.yaml\" for details.\nNote, the default value of InstanceCloseDelayDurationInSeconds is 4294967295, which indicates that the behavior will entirely depend on the delay configured in the stateless service description."
+ }
+ }
+ },
+ "UpdateClusterUpgradeDescription": {
+ "description": "Parameters for updating a cluster upgrade.",
+ "properties": {
+ "UpgradeKind": {
+ "$ref": "#/definitions/UpgradeType",
+ "description": "The type of upgrade out of the following possible values."
+ },
+ "UpdateDescription": {
+ "$ref": "#/definitions/RollingUpgradeUpdateDescription",
+ "description": "Describes the parameters for updating a rolling upgrade of application or cluster."
+ },
+ "ClusterHealthPolicy": {
+ "$ref": "#/definitions/ClusterHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node."
+ },
+ "EnableDeltaHealthEvaluation": {
+ "$ref": "#/definitions/DeltaHealthEvaluationBool",
+ "description": "When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain."
+ },
+ "ClusterUpgradeHealthPolicy": {
+ "$ref": "#/definitions/ClusterUpgradeHealthPolicyObject",
+ "description": "Defines a health policy used to evaluate the health of the cluster during a cluster upgrade."
+ },
+ "ApplicationHealthPolicyMap": {
+ "$ref": "#/definitions/ApplicationHealthPolicies",
+ "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities."
+ }
+ }
+ },
+ "SafetyCheckKind": {
+ "type": "string",
+ "description": "The kind of safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state. Following are the kinds of safety checks.",
+ "enum": [
+ "Invalid",
+ "EnsureSeedNodeQuorum",
+ "EnsurePartitionQuorum",
+ "WaitForPrimaryPlacement",
+ "WaitForPrimarySwap",
+ "WaitForReconfiguration",
+ "WaitForInbuildReplica",
+ "EnsureAvailability"
+ ],
+ "x-ms-enum": {
+ "name": "SafetyCheckKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the upgrade safety check kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "EnsureSeedNodeQuorum",
+ "description": "Indicates that if we bring down the node then this will result in global seed node quorum loss. The value is 1."
+ },
+ {
+ "value": "EnsurePartitionQuorum",
+ "description": "Indicates that there is some partition for which if we bring down the replica on the node, it will result in quorum loss for that partition. The value is 2."
+ },
+ {
+ "value": "WaitForPrimaryPlacement",
+ "description": "Indicates that there is some replica on the node that was moved out of this node due to upgrade. Service Fabric is now waiting for the primary to be moved back to this node. The value is 3."
+ },
+ {
+ "value": "WaitForPrimarySwap",
+ "description": "Indicates that Service Fabric is waiting for a primary replica to be moved out of the node before starting upgrade on that node. The value is 4."
+ },
+ {
+ "value": "WaitForReconfiguration",
+ "description": "Indicates that there is some replica on the node that is involved in a reconfiguration. Service Fabric is waiting for the reconfiguration to be complete before staring upgrade on that node. The value is 5."
+ },
+ {
+ "value": "WaitForInbuildReplica",
+ "description": "Indicates that there is either a replica on the node that is going through copy, or there is a primary replica on the node that is copying data to some other replica. In both cases, bringing down the replica on the node due to upgrade will abort the copy. The value is 6."
+ },
+ {
+ "value": "EnsureAvailability",
+ "description": "Indicates that there is either a stateless service partition on the node having exactly one instance, or there is a primary replica on the node for which the partition is quorum loss. In both cases, bringing down the replicas due to upgrade will result in loss of availability. The value is 7."
+ }
+ ]
+ }
+ },
+ "SafetyCheck": {
+ "discriminator": "Kind",
+ "description": "Represents a safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/SafetyCheckKind",
+ "description": "The kind of safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state. Following are the kinds of safety checks."
+ }
+ },
+ "required": [
+ "Kind"
+ ]
+ },
+ "PartitionSafetyCheck": {
+ "description": "Represents a safety check for the service partition being performed by service fabric before continuing with operations.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SafetyCheck"
+ }
+ ],
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "Id of the partition which is undergoing the safety check."
+ }
+ }
+ },
+ "EnsureAvailabilitySafetyCheck": {
+ "description": "Safety check that waits to ensure the availability of the partition. It waits until there are replicas available such that bringing down this replica will not cause availability loss for the partition.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSafetyCheck"
+ }
+ ],
+ "x-ms-discriminator-value": "EnsureAvailability"
+ },
+ "EnsurePartitionQuorumSafetyCheck": {
+ "description": "Safety check that ensures that a quorum of replicas are not lost for a partition.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSafetyCheck"
+ }
+ ],
+ "x-ms-discriminator-value": "EnsurePartitionQuorum"
+ },
+ "SeedNodeSafetyCheck": {
+ "description": "Represents a safety check for the seed nodes being performed by service fabric before continuing with node level operations.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SafetyCheck"
+ }
+ ],
+ "x-ms-discriminator-value": "EnsureSeedNodeQuorum"
+ },
+ "PartitionsHealthEvaluation": {
+ "x-ms-discriminator-value": "Partitions",
+ "description": "Represents health evaluation for the partitions of a service, containing health evaluations for each unhealthy partition that impacts current aggregated health state. Can be returned when evaluating service health and the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "MaxPercentUnhealthyPartitionsPerService": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of unhealthy partitions per service from the ServiceTypeHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of partitions of the service from the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy PartitionHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "ReplicaEvent": {
+ "description": "Represents the base for all Replica Events.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FabricEvent"
+ }
+ ],
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different."
+ },
+ "ReplicaId": {
+ "$ref": "#/definitions/ReplicaId_Integer",
+ "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id."
+ }
+ },
+ "required": [
+ "PartitionId",
+ "ReplicaId"
+ ],
+ "x-ms-discriminator-value": "ReplicaEvent"
+ },
+ "ReplicaEventList": {
+ "description": "A list of ReplicaEvent objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReplicaEvent"
+ }
+ },
+ "ReplicaHealth": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealth"
+ }
+ ],
+ "discriminator": "ServiceKind",
+ "description": "Represents a base class for stateful service replica or stateless service instance health.\nContains the replica aggregated health state, the health events and the unhealthy evaluations.",
+ "properties": {
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The kind of service (Stateless or Stateful)."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "Id of the partition to which this replica belongs."
+ }
+ },
+ "required": [
+ "ServiceKind"
+ ]
+ },
+ "ReplicaHealthEvaluation": {
+ "x-ms-discriminator-value": "Replica",
+ "description": "Represents health evaluation for a replica, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "Id of the partition to which the replica belongs."
+ },
+ "ReplicaOrInstanceId": {
+ "$ref": "#/definitions/ReplicaOrInstanceId",
+ "description": "Id of a stateful service replica or a stateless service instance. This ID is used in the queries that apply to both stateful and stateless services. It is used by Service Fabric to uniquely identify a replica of a partition of a stateful service or an instance of a stateless service partition. It is unique within a partition and does not change for the lifetime of the replica or the instance. If a stateful replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the ID. If a stateless instance is failed over on the same or different node it will get a different value for the ID."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the current aggregated health state of the replica. The types of the unhealthy evaluations can be EventHealthEvaluation."
+ }
+ }
+ },
+ "ReplicaHealthState": {
+ "discriminator": "ServiceKind",
+ "required": [
+ "ServiceKind"
+ ],
+ "description": "Represents a base class for stateful service replica or stateless service instance health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthState"
+ }
+ ],
+ "properties": {
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The kind of service (Stateless or Stateful)."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "The ID of the partition to which this replica belongs."
+ }
+ }
+ },
+ "ReplicaHealthStateChunk": {
+ "description": "Represents the health state chunk of a stateful service replica or a stateless service instance.\nThe replica health state contains the replica ID and its aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunk"
+ }
+ ],
+ "properties": {
+ "ReplicaOrInstanceId": {
+ "$ref": "#/definitions/ReplicaOrInstanceId",
+ "description": "Id of a stateful service replica or a stateless service instance. This ID is used in the queries that apply to both stateful and stateless services. It is used by Service Fabric to uniquely identify a replica of a partition of a stateful service or an instance of a stateless service partition. It is unique within a partition and does not change for the lifetime of the replica or the instance. If a stateful replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the ID. If a stateless instance is failed over on the same or different node it will get a different value for the ID."
+ }
+ }
+ },
+ "ReplicaHealthStateChunkList": {
+ "description": "The list of replica health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.",
+ "properties": {
+ "Items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReplicaHealthStateChunk"
+ },
+ "description": "The list of replica health state chunks that respect the input filters in the chunk query."
+ }
+ }
+ },
+ "ReplicaHealthStateFilter": {
+ "description": "Defines matching criteria to determine whether a replica should be included as a child of a partition in the cluster health chunk.\nThe replicas are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent partition, service and application must be included in the cluster health chunk.\nOne filter can match zero, one or multiple replicas, depending on its properties.",
+ "properties": {
+ "ReplicaOrInstanceIdFilter": {
+ "type": "string",
+ "description": "Id of the stateful service replica or stateless service instance that matches the filter. The filter is applied only to the specified replica, if it exists.\nIf the replica doesn't exist, no replica is returned in the cluster health chunk based on this filter.\nIf the replica exists, it is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all replicas that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter."
+ },
+ "HealthStateFilter": {
+ "type": "integer",
+ "default": 0,
+ "description": "The filter for the health state of the replicas. It allows selecting replicas if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only replicas that match the filter are returned. All replicas are used to evaluate the parent partition aggregated health state.\nIf not specified, default value is None, unless the replica ID is specified. If the filter has default value and replica ID is specified, the matching replica is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches replicas with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
+ }
+ }
+ },
+ "ReplicaId": {
+ "type": "string",
+ "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id."
+ },
+ "ReplicaId_Integer": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id."
+ },
+ "ReplicaOrInstanceId": {
+ "type": "string",
+ "description": "Id of a stateful service replica or a stateless service instance. This ID is used in the queries that apply to both stateful and stateless services. It is used by Service Fabric to uniquely identify a replica of a partition of a stateful service or an instance of a stateless service partition. It is unique within a partition and does not change for the lifetime of the replica or the instance. If a stateful replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the ID. If a stateless instance is failed over on the same or different node it will get a different value for the ID."
+ },
+ "ReplicaInfo": {
+ "discriminator": "ServiceKind",
+ "description": "Information about the identity, status, health, node name, uptime, and other details about the replica.",
+ "required": [
+ "ServiceKind"
+ ],
+ "properties": {
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The kind of service (Stateless or Stateful)."
+ },
+ "ReplicaStatus": {
+ "$ref": "#/definitions/ReplicaStatus",
+ "description": "The status of a replica of a service."
+ },
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "Address": {
+ "type": "string",
+ "description": "The address the replica is listening on."
+ },
+ "LastInBuildDurationInSeconds": {
+ "type": "string",
+ "description": "The last in build duration of the replica in seconds."
+ }
+ }
+ },
+ "ReplicaRole": {
+ "type": "string",
+ "description": "The role of a replica of a stateful service.",
+ "enum": [
+ "Unknown",
+ "None",
+ "Primary",
+ "IdleSecondary",
+ "ActiveSecondary"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicaRole",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Indicates the initial role that a replica is created in. The value is zero."
+ },
+ {
+ "value": "None",
+ "description": "Specifies that the replica has no responsibility in regard to the replica set. The value is 1"
+ },
+ {
+ "value": "Primary",
+ "description": "Refers to the replica in the set on which all read and write operations are complete in order to enforce strong consistency semantics. Read operations are handled directly by the Primary replica, while write operations must be acknowledged by a quorum of the replicas in the replica set. There can only be one Primary replica in a replica set at a time. The value is 2."
+ },
+ {
+ "value": "IdleSecondary",
+ "description": "Refers to a replica in the set that receives a state transfer from the Primary replica to prepare for becoming an active Secondary replica. There can be multiple Idle Secondary replicas in a replica set at a time. Idle Secondary replicas do not count as a part of a write quorum. The value is 3."
+ },
+ {
+ "value": "ActiveSecondary",
+ "description": "Refers to a replica in the set that receives state updates from the Primary replica, applies them, and sends acknowledgements back. Secondary replicas must participate in the write quorum for a replica set. There can be multiple active Secondary replicas in a replica set at a time. The number of active Secondary replicas is configurable that the reliability subsystem should maintain. The value is 4."
+ }
+ ]
+ }
+ },
+ "ReplicasHealthEvaluation": {
+ "x-ms-discriminator-value": "Replicas",
+ "description": "Represents health evaluation for replicas, containing health evaluations for each unhealthy replica that impacted current aggregated health state. Can be returned when evaluating partition health and the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "MaxPercentUnhealthyReplicasPerPartition": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of unhealthy replicas per partition from the ApplicationHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of replicas in the partition from the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ReplicaHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "ReplicaStatus": {
+ "type": "string",
+ "description": "The status of a replica of a service.",
+ "enum": [
+ "Invalid",
+ "InBuild",
+ "Standby",
+ "Ready",
+ "Down",
+ "Dropped"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicaStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "InBuild",
+ "description": "The replica is being built. This means that a primary replica is seeding this replica. The value is 1."
+ },
+ {
+ "value": "Standby",
+ "description": "The replica is in standby. The value is 2."
+ },
+ {
+ "value": "Ready",
+ "description": "The replica is ready. The value is 3."
+ },
+ {
+ "value": "Down",
+ "description": "The replica is down. The value is 4."
+ },
+ {
+ "value": "Dropped",
+ "description": "Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5."
+ }
+ ]
+ }
+ },
+ "RestartNodeDescription": {
+ "description": "Describes the parameters to restart a Service Fabric node.",
+ "properties": {
+ "NodeInstanceId": {
+ "type": "string",
+ "description": "The instance ID of the target node. If instance ID is specified the node is restarted only if it matches with the current instance of the node. A default value of \"0\" would match any instance ID. The instance ID can be obtained using get node query.",
+ "default": "0"
+ },
+ "CreateFabricDump": {
+ "type": "string",
+ "description": "Specify True to create a dump of the fabric node process. This is case-sensitive.",
+ "enum": [
+ "False",
+ "True"
+ ],
+ "default": "False",
+ "x-ms-enum": {
+ "name": "CreateFabricDump",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "False"
+ },
+ {
+ "value": "True"
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "NodeInstanceId"
+ ]
+ },
+ "SafetyCheckInfoList": {
+ "type": "array",
+ "description": "List of pending safety checks",
+ "items": {
+ "$ref": "#/definitions/SafetyCheckWrapper"
+ }
+ },
+ "SafetyCheckWrapper": {
+ "description": "A wrapper for the safety check object. Safety checks are performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state.",
+ "properties": {
+ "SafetyCheck": {
+ "$ref": "#/definitions/SafetyCheck",
+ "description": "Represents a safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state."
+ }
+ }
+ },
+ "ServiceEvent": {
+ "description": "Represents the base for all Service Events.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FabricEvent"
+ }
+ ],
+ "properties": {
+ "ServiceId": {
+ "$ref": "#/definitions/ServiceId",
+ "description": "The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the service name is \"fabric:/myapp/app1/svc1\",\nthe service identity would be \"myapp~app1\\~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
+ }
+ },
+ "required": [
+ "ServiceId"
+ ],
+ "x-ms-discriminator-value": "ServiceEvent"
+ },
+ "ServiceEventList": {
+ "description": "A list of ServiceEvent objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceEvent"
+ }
+ },
+ "ServiceFromTemplateDescription": {
+ "description": "Defines description for creating a Service Fabric service from a template defined in the application manifest.",
+ "required": [
+ "ApplicationName",
+ "ServiceName",
+ "ServiceTypeName"
+ ],
+ "properties": {
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ },
+ "ServiceTypeName": {
+ "$ref": "#/definitions/ServiceTypeName",
+ "description": "Name of the service type as specified in the service manifest."
+ },
+ "InitializationData": {
+ "$ref": "#/definitions/ByteArray",
+ "description": "The initialization data for the newly created service instance."
+ },
+ "ServicePackageActivationMode": {
+ "$ref": "#/definitions/ServicePackageActivationMode",
+ "description": "The activation mode of service package to be used for a service."
+ },
+ "ServiceDnsName": {
+ "type": "string",
+ "description": "The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster."
+ }
+ }
+ },
+ "ServiceHealthEvaluation": {
+ "x-ms-discriminator-value": "Service",
+ "description": "Represents health evaluation for a service, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "Name of the service whose health evaluation is described by this object."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the current aggregated health state of the service. The types of the unhealthy evaluations can be PartitionsHealthEvaluation or EventHealthEvaluation."
+ }
+ }
+ },
+ "ServiceHealthState": {
+ "description": "Represents the health state of a service, which contains the service identifier and its aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthState"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "Name of the service whose health state is represented by this object."
+ }
+ }
+ },
+ "ServiceHealthStateChunk": {
+ "description": "Represents the health state chunk of a service, which contains the service name, its aggregated health state and any partitions that respect the filters in the cluster health chunk query description.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealthStateChunk"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The name of the service whose health state chunk is provided in this object."
+ },
+ "PartitionHealthStateChunks": {
+ "$ref": "#/definitions/PartitionHealthStateChunkList",
+ "description": "The list of partition health state chunks belonging to the service that respect the filters in the cluster health chunk query description."
+ }
+ }
+ },
+ "ServiceHealthStateChunkList": {
+ "description": "The list of service health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.",
+ "properties": {
+ "Items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceHealthStateChunk"
+ },
+ "description": "The list of service health state chunks that respect the input filters in the chunk query."
+ }
+ }
+ },
+ "ServiceHealthStateFilter": {
+ "description": "Defines matching criteria to determine whether a service should be included as a child of an application in the cluster health chunk.\nThe services are only returned if the parent application matches a filter specified in the cluster health chunk query description.\nOne filter can match zero, one or multiple services, depending on its properties.",
+ "properties": {
+ "ServiceNameFilter": {
+ "type": "string",
+ "description": "The name of the service that matches the filter. The filter is applied only to the specified service, if it exists.\nIf the service doesn't exist, no service is returned in the cluster health chunk based on this filter.\nIf the service exists, it is included as the application's child if the health state matches the other filter properties.\nIf not specified, all services that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter."
+ },
+ "HealthStateFilter": {
+ "type": "integer",
+ "default": 0,
+ "description": "The filter for the health state of the services. It allows selecting services if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only services that match the filter are returned. All services are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the service name is specified. If the filter has default value and service name is specified, the matching service is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches services with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
+ },
+ "PartitionFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PartitionHealthStateFilter"
+ },
+ "description": "Defines a list of filters that specify which partitions to be included in the returned cluster health chunk as children of the service. The partitions are returned only if the parent service matches a filter.\nIf the list is empty, no partitions are returned. All the partitions are used to evaluate the parent service aggregated health state, regardless of the input filters.\nThe service filter may specify multiple partition filters.\nFor example, it can specify a filter to return all partitions with health state Error and another filter to always include a partition identified by its partition ID."
+ }
+ }
+ },
+ "ServiceHealth": {
+ "description": "Information about the health of a Service Fabric service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityHealth"
+ }
+ ],
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The name of the service whose health information is described by this object."
+ },
+ "PartitionHealthStates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PartitionHealthState"
+ },
+ "description": "The list of partition health states associated with the service."
+ }
+ }
+ },
+ "ServiceId": {
+ "type": "string",
+ "description": "The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the service name is \"fabric:/myapp/app1/svc1\",\nthe service identity would be \"myapp~app1\\~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
+ },
+ "ServiceName": {
+ "type": "string",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ },
+ "ServiceManifestName": {
+ "type": "string",
+ "description": "The name of the service manifest."
+ },
+ "ServiceTypeName": {
+ "type": "string",
+ "description": "Name of the service type as specified in the service manifest."
+ },
+ "ServiceInfo": {
+ "discriminator": "ServiceKind",
+ "description": "Information about a Service Fabric service.",
+ "properties": {
+ "Id": {
+ "$ref": "#/definitions/ServiceId",
+ "description": "The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the service name is \"fabric:/myapp/app1/svc1\",\nthe service identity would be \"myapp~app1\\~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
+ },
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The kind of service (Stateless or Stateful)."
+ },
+ "Name": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ },
+ "TypeName": {
+ "$ref": "#/definitions/ServiceTypeName",
+ "description": "Name of the service type as specified in the service manifest."
+ },
+ "ManifestVersion": {
+ "description": "The version of the service manifest.",
+ "type": "string"
+ },
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ },
+ "ServiceStatus": {
+ "$ref": "#/definitions/ServiceStatus",
+ "description": "The status of the application."
+ },
+ "IsServiceGroup": {
+ "description": "Whether the service is in a service group.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ServiceKind"
+ ]
+ },
+ "ServiceKind": {
+ "type": "string",
+ "description": "The kind of service (Stateless or Stateful).",
+ "enum": [
+ "Invalid",
+ "Stateless",
+ "Stateful"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Stateless",
+ "description": "Does not use Service Fabric to make its state highly available or reliable. The value is 1."
+ },
+ {
+ "value": "Stateful",
+ "description": "Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2."
+ }
+ ]
+ }
+ },
+ "ServiceNameInfo": {
+ "description": "Information about the service name.",
+ "properties": {
+ "Id": {
+ "$ref": "#/definitions/ServiceId",
+ "description": "The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the service name is \"fabric:/myapp/app1/svc1\",\nthe service identity would be \"myapp~app1\\~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
+ },
+ "Name": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ }
+ }
+ },
+ "ServicePackageActivationId": {
+ "type": "string",
+ "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string."
+ },
+ "ServicePartitionInfo": {
+ "discriminator": "ServiceKind",
+ "description": "Information about a partition of a Service Fabric service.",
+ "required": [
+ "ServiceKind"
+ ],
+ "properties": {
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The kind of service (Stateless or Stateful)."
+ },
+ "HealthState": {
+ "$ref": "#/definitions/HealthState",
+ "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc."
+ },
+ "PartitionStatus": {
+ "$ref": "#/definitions/ServicePartitionStatus",
+ "description": "The status of the service fabric service partition."
+ },
+ "PartitionInformation": {
+ "$ref": "#/definitions/PartitionInformation",
+ "description": "Information about the partition identity, partitioning scheme and keys supported by it."
+ }
+ }
+ },
+ "ServicePartitionKind": {
+ "type": "string",
+ "description": "The kind of partitioning scheme used to partition the service.",
+ "enum": [
+ "Invalid",
+ "Singleton",
+ "Int64Range",
+ "Named"
+ ],
+ "x-ms-enum": {
+ "name": "ServicePartitionKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Singleton",
+ "description": "Indicates that there is only one partition, and SingletonPartitionSchemeDescription was specified while creating the service. The value is 1."
+ },
+ {
+ "value": "Int64Range",
+ "description": "Indicates that the partition is based on Int64 key ranges, and UniformInt64RangePartitionSchemeDescription was specified while creating the service. The value is 2."
+ },
+ {
+ "value": "Named",
+ "description": "Indicates that the partition is based on string names, and NamedPartitionInformation was specified while creating the service. The value is 3."
+ }
+ ]
+ }
+ },
+ "ServicePartitionStatus": {
+ "type": "string",
+ "description": "The status of the service fabric service partition.",
+ "enum": [
+ "Invalid",
+ "Ready",
+ "NotReady",
+ "InQuorumLoss",
+ "Reconfiguring",
+ "Deleting"
+ ],
+ "x-ms-enum": {
+ "name": "ServicePartitionStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the partition status is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Ready",
+ "description": "Indicates that the partition is ready. This means that for a stateless service partition there is at least one instance that is up and for a stateful service partition the number of ready replicas is greater than or equal to the MinReplicaSetSize. The value is 1."
+ },
+ {
+ "value": "NotReady",
+ "description": "Indicates that the partition is not ready. This status is returned when none of the other states apply. The value is 2."
+ },
+ {
+ "value": "InQuorumLoss",
+ "description": "Indicates that the partition is in quorum loss. This means that number of replicas that are up and participating in a replica set is less than MinReplicaSetSize for this partition. The value is 3."
+ },
+ {
+ "value": "Reconfiguring",
+ "description": "Indicates that the partition is undergoing reconfiguration of its replica sets. This can happen due to failover, upgrade, load balancing or addition or removal of replicas from the replica set. The value is 4."
+ },
+ {
+ "value": "Deleting",
+ "description": "Indicates that the partition is being deleted. The value is 5."
+ }
+ ]
+ }
+ },
+ "ServicePlacementInvalidDomainPolicyDescription": {
+ "x-ms-discriminator-value": "InvalidDomain",
+ "description": "Describes the policy to be used for placement of a Service Fabric service where a particular fault or upgrade domain should not be used for placement of the instances or replicas of that service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServicePlacementPolicyDescription"
+ }
+ ],
+ "properties": {
+ "DomainName": {
+ "type": "string",
+ "description": "The name of the domain that should not be used for placement."
+ }
+ }
+ },
+ "ServicePlacementNonPartiallyPlaceServicePolicyDescription": {
+ "x-ms-discriminator-value": "NonPartiallyPlaceService",
+ "description": "Describes the policy to be used for placement of a Service Fabric service where all replicas must be able to be placed in order for any replicas to be created.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServicePlacementPolicyDescription"
+ }
+ ]
+ },
+ "ServicePlacementPolicyDescription": {
+ "discriminator": "Type",
+ "description": "Describes the policy to be used for placement of a Service Fabric service.",
+ "required": [
+ "Type"
+ ],
+ "properties": {
+ "Type": {
+ "$ref": "#/definitions/ServicePlacementPolicyType",
+ "description": "The type of placement policy for a service fabric service. Following are the possible values."
+ }
+ }
+ },
+ "ServicePlacementPolicyDescriptionList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServicePlacementPolicyDescription"
+ },
+ "description": "List of service placement policy descriptions."
+ },
+ "ServicePlacementPolicyType": {
+ "type": "string",
+ "description": "The type of placement policy for a service fabric service. Following are the possible values.",
+ "enum": [
+ "Invalid",
+ "InvalidDomain",
+ "RequireDomain",
+ "PreferPrimaryDomain",
+ "RequireDomainDistribution",
+ "NonPartiallyPlaceService"
+ ],
+ "x-ms-enum": {
+ "name": "ServicePlacementPolicyType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "InvalidDomain",
+ "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1."
+ },
+ {
+ "value": "RequireDomain",
+ "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2."
+ },
+ {
+ "value": "PreferPrimaryDomain",
+ "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3."
+ },
+ {
+ "value": "RequireDomainDistribution",
+ "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4."
+ },
+ {
+ "value": "NonPartiallyPlaceService",
+ "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5."
+ }
+ ]
+ }
+ },
+ "ServicePlacementPreferPrimaryDomainPolicyDescription": {
+ "x-ms-discriminator-value": "PreferPrimaryDomain",
+ "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"
+ }
+ ],
+ "properties": {
+ "DomainName": {
+ "type": "string",
+ "description": "The name of the domain that should used for placement as per this policy."
+ }
+ }
+ },
+ "ServicePlacementRequiredDomainPolicyDescription": {
+ "x-ms-discriminator-value": "RequireDomain",
+ "description": "Describes the policy to be used for placement of a Service Fabric service where the instances or replicas of that service must be placed in a particular domain",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServicePlacementPolicyDescription"
+ }
+ ],
+ "properties": {
+ "DomainName": {
+ "type": "string",
+ "description": "The name of the domain that should used for placement as per this policy."
+ }
+ }
+ },
+ "ServicePlacementRequireDomainDistributionPolicyDescription": {
+ "x-ms-discriminator-value": "RequireDomainDistribution",
+ "description": "Describes the policy to be used for placement of a Service Fabric service where two replicas from the same partition should never be placed in the same fault or upgrade domain.\n\nWhile this is not common it can expose the service to an increased risk of concurrent failures due to unplanned outages or other cases of subsequent/concurrent failures. As an example, consider a case where replicas are deployed across different data center, with one replica per location. In the event that one of the datacenters goes offline, normally the replica that was placed in that datacenter will be packed into one of the remaining datacenters. If this is not desirable then this policy should be set.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServicePlacementPolicyDescription"
+ }
+ ],
+ "properties": {
+ "DomainName": {
+ "type": "string",
+ "description": "The name of the domain that should used for placement as per this policy."
+ }
+ }
+ },
+ "ServicesHealthEvaluation": {
+ "x-ms-discriminator-value": "Services",
+ "description": "Represents health evaluation for services of a certain service type belonging to an application, containing health evaluations for each unhealthy service that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "ServiceTypeName": {
+ "type": "string",
+ "description": "Name of the service type of the services."
+ },
+ "MaxPercentUnhealthyServices": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of unhealthy services from the ServiceTypeHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of services of the current service type in the application from the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ServiceHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "ServiceStatus": {
+ "type": "string",
+ "description": "The status of the application.",
+ "enum": [
+ "Unknown",
+ "Active",
+ "Upgrading",
+ "Deleting",
+ "Creating",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Indicates the service status is unknown. The value is zero."
+ },
+ {
+ "value": "Active",
+ "description": "Indicates the service status is active. The value is 1."
+ },
+ {
+ "value": "Upgrading",
+ "description": "Indicates the service is upgrading. The value is 2."
+ },
+ {
+ "value": "Deleting",
+ "description": "Indicates the service is being deleted. The value is 3."
+ },
+ {
+ "value": "Creating",
+ "description": "Indicates the service is being created. The value is 4."
+ },
+ {
+ "value": "Failed",
+ "description": "Indicates creation or deletion was terminated due to persistent failures. Another create/delete request can be accepted. The value is 5."
+ }
+ ]
+ }
+ },
+ "ServiceTypeDescription": {
+ "discriminator": "Kind",
+ "description": "Describes a service type defined in the service manifest of a provisioned application type. The properties the ones defined in the service manifest.",
+ "required": [
+ "Kind"
+ ],
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The kind of service (Stateless or Stateful)."
+ },
+ "IsStateful": {
+ "type": "boolean",
+ "description": "Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise."
+ },
+ "ServiceTypeName": {
+ "$ref": "#/definitions/ServiceTypeName",
+ "description": "Name of the service type as specified in the service manifest."
+ },
+ "PlacementConstraints": {
+ "type": "string",
+ "description": "The placement constraint to be used when instantiating this service in a Service Fabric cluster."
+ },
+ "LoadMetrics": {
+ "$ref": "#/definitions/ServiceLoadMetricsList",
+ "description": "The service load metrics is given as an array of ServiceLoadMetricDescription objects."
+ },
+ "ServicePlacementPolicies": {
+ "$ref": "#/definitions/ServicePlacementPolicyDescriptionList",
+ "description": "List of service placement policy descriptions."
+ },
+ "Extensions": {
+ "$ref": "#/definitions/ServiceTypeExtensionDescriptionList",
+ "description": "List of service type extensions."
+ }
+ }
+ },
+ "ServiceTypeExtensionDescription": {
+ "description": "Describes extension of a service type defined in the service manifest.",
+ "properties": {
+ "Key": {
+ "type": "string",
+ "description": "The name of the extension."
+ },
+ "Value": {
+ "type": "string",
+ "description": "The extension value."
+ }
+ }
+ },
+ "ServiceTypeExtensionDescriptionList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceTypeExtensionDescription"
+ },
+ "description": "List of service type extensions."
+ },
+ "ServiceTypeHealthPolicy": {
+ "description": "Represents the health policy used to evaluate the health of services belonging to a service type.",
+ "properties": {
+ "MaxPercentUnhealthyPartitionsPerService": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of unhealthy partitions per service. Allowed values are Byte values from zero to 100\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions. Default percentage is zero.",
+ "default": 0
+ },
+ "MaxPercentUnhealthyReplicasPerPartition": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of unhealthy replicas per partition. Allowed values are Byte values from zero to 100.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas. Default percentage is zero.",
+ "default": 0
+ },
+ "MaxPercentUnhealthyServices": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of unhealthy services. Allowed values are Byte values from zero to 100.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services. Default percentage is zero.",
+ "default": 0
+ }
+ }
+ },
+ "ServiceTypeHealthPolicyMap": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceTypeHealthPolicyMapItem"
+ },
+ "description": "Defines a ServiceTypeHealthPolicy per service type name.\n\nThe entries in the map replace the default service type health policy for each specified service type. For example, in an application that contains both a stateless gateway service type and a stateful engine service type, the health policies for the stateless and stateful services can be configured differently. With policy per service type, there's more granular control of the health of the service.\n\nIf no policy is specified for a service type name, the DefaultServiceTypeHealthPolicy is used for evaluation."
+ },
+ "ServiceTypeHealthPolicyMapItem": {
+ "description": "Defines an item in ServiceTypeHealthPolicyMap.",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "properties": {
+ "Key": {
+ "type": "string",
+ "description": "The key of the service type health policy map item. This is the name of the service type."
+ },
+ "Value": {
+ "$ref": "#/definitions/ServiceTypeHealthPolicy",
+ "description": "The value of the service type health policy map item. This is the ServiceTypeHealthPolicy for this service type."
+ }
+ }
+ },
+ "ServiceTypeInfo": {
+ "description": "Information about a service type that is defined in a service manifest of a provisioned application type.",
+ "properties": {
+ "ServiceTypeDescription": {
+ "$ref": "#/definitions/ServiceTypeDescription",
+ "description": "Describes a service type defined in the service manifest of a provisioned application type. The properties the ones defined in the service manifest."
+ },
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of the service manifest in which this service type is defined."
+ },
+ "ServiceManifestVersion": {
+ "type": "string",
+ "description": "The version of the service manifest in which this service type is defined."
+ },
+ "IsServiceGroup": {
+ "type": "boolean",
+ "description": "Indicates whether the service is a service group. If it is, the property value is true otherwise false."
+ }
+ }
+ },
+ "ServiceTypeInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceTypeInfo"
+ },
+ "description": "List of service type information."
+ },
+ "ServiceTypeManifest": {
+ "description": "Contains the manifest describing a service type registered as part of an application in a Service Fabric cluster.",
+ "properties": {
+ "Manifest": {
+ "type": "string",
+ "description": "The XML manifest as a string."
+ }
+ }
+ },
+ "SingletonPartitionInformation": {
+ "description": "Information about a partition that is singleton. The services with singleton partitioning scheme are effectively non-partitioned. They only have one partition.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionInformation"
+ }
+ ],
+ "x-ms-discriminator-value": "Singleton"
+ },
+ "StatefulServiceInfo": {
+ "description": "Information about a stateful Service Fabric service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceInfo"
+ }
+ ],
+ "properties": {
+ "HasPersistedState": {
+ "description": "Whether the service has persisted state.",
+ "type": "boolean"
+ }
+ },
+ "x-ms-discriminator-value": "Stateful"
+ },
+ "StatefulServicePartitionInfo": {
+ "description": "Information about a partition of a stateful Service Fabric service..",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServicePartitionInfo"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateful",
+ "properties": {
+ "TargetReplicaSetSize": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The target replica set size as a number."
+ },
+ "MinReplicaSetSize": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The minimum replica set size as a number."
+ },
+ "LastQuorumLossDuration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The duration for which this partition was in quorum loss. If the partition is currently in quorum loss, it returns the duration since it has been in that state. This field is using ISO8601 format for specifying the duration."
+ },
+ "PrimaryEpoch": {
+ "$ref": "#/definitions/Epoch",
+ "description": "An Epoch is a configuration number for the partition as a whole. When the configuration of the replica set changes, for example when the Primary replica changes, the operations that are replicated from the new Primary replica are said to be a new Epoch from the ones which were sent by the old Primary replica."
+ }
+ }
+ },
+ "StatefulServiceReplicaHealth": {
+ "description": "Represents the health of the stateful service replica.\nContains the replica aggregated health state, the health events and the unhealthy evaluations.",
+ "x-ms-discriminator-value": "Stateful",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaHealth"
+ }
+ ],
+ "properties": {
+ "ReplicaId": {
+ "$ref": "#/definitions/ReplicaId",
+ "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id."
+ }
+ }
+ },
+ "StatefulServiceReplicaHealthState": {
+ "x-ms-discriminator-value": "Stateful",
+ "description": "Represents the health state of the stateful service replica, which contains the replica ID and the aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaHealthState"
+ }
+ ],
+ "properties": {
+ "ReplicaId": {
+ "$ref": "#/definitions/ReplicaId",
+ "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id."
+ }
+ }
+ },
+ "StatefulServiceTypeDescription": {
+ "description": "Describes a stateful service type defined in the service manifest of a provisioned application type.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceTypeDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateful",
+ "properties": {
+ "HasPersistedState": {
+ "type": "boolean",
+ "description": "A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false."
+ }
+ }
+ },
+ "StatelessServiceInfo": {
+ "description": "Information about a stateless Service Fabric service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceInfo"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateless"
+ },
+ "StatelessServiceInstanceHealth": {
+ "description": "Represents the health of the stateless service instance.\nContains the instance aggregated health state, the health events and the unhealthy evaluations.",
+ "x-ms-discriminator-value": "Stateless",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaHealth"
+ }
+ ],
+ "properties": {
+ "InstanceId": {
+ "$ref": "#/definitions/InstanceId",
+ "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId."
+ }
+ }
+ },
+ "StatelessServiceInstanceHealthState": {
+ "x-ms-discriminator-value": "Stateless",
+ "description": "Represents the health state of the stateless service instance, which contains the instance ID and the aggregated health state.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaHealthState"
+ }
+ ],
+ "properties": {
+ "ReplicaId": {
+ "$ref": "#/definitions/ReplicaId",
+ "description": "Id of the stateless service instance on the wire this field is called ReplicaId."
+ }
+ }
+ },
+ "StatelessServicePartitionInfo": {
+ "description": "Information about a partition of a stateless Service Fabric service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServicePartitionInfo"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateless",
+ "properties": {
+ "InstanceCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Number of instances of this partition."
+ },
+ "MinInstanceCount": {
+ "$ref": "#/definitions/MinInstanceCount",
+ "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node.\nThe actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).\nNote, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
+ },
+ "MinInstancePercentage": {
+ "$ref": "#/definitions/MinInstancePercentage",
+ "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node.\nThe actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).\nNote, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
+ }
+ }
+ },
+ "StatelessServiceTypeDescription": {
+ "description": "Describes a stateless service type defined in the service manifest of a provisioned application type.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceTypeDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateless",
+ "properties": {
+ "UseImplicitHost": {
+ "type": "boolean",
+ "description": "A flag indicating if this type is not implemented and hosted by a user service process, but is implicitly hosted by a system created process. This value is true for services using the guest executable services, false otherwise."
+ }
+ }
+ },
+ "SystemApplicationHealthEvaluation": {
+ "x-ms-discriminator-value": "SystemApplication",
+ "description": "Represents health evaluation for the fabric:/System application, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state of the cluster is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the current aggregated health state of the system application. The types of the unhealthy evaluations can be DeployedApplicationsHealthEvaluation, ServicesHealthEvaluation or EventHealthEvaluation."
+ }
+ }
+ },
+ "TargetApplicationName": {
+ "type": "string",
+ "description": "The name of the target application, including the 'fabric:' URI scheme."
+ },
+ "TargetApplicationTypeVersion": {
+ "type": "string",
+ "description": "The target application type version (found in the application manifest) for the application upgrade."
+ },
+ "TargetDeploymentName": {
+ "type": "string",
+ "description": "The name of the target deployment."
+ },
+ "UnhealthyEvaluations": {
+ "description": "List of health evaluations that resulted in the current aggregated health state.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HealthEvaluationWrapper"
+ }
+ },
+ "UpgradeDomainDeltaNodesCheckHealthEvaluation": {
+ "x-ms-discriminator-value": "UpgradeDomainDeltaNodesCheck",
+ "description": "Represents health evaluation for delta unhealthy cluster nodes in an upgrade domain, containing health evaluations for each unhealthy node that impacted current aggregated health state.\nCan be returned during cluster upgrade when cluster aggregated health state is Warning or Error.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "UpgradeDomainName": {
+ "type": "string",
+ "description": "Name of the upgrade domain where nodes health is currently evaluated."
+ },
+ "BaselineErrorCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Number of upgrade domain nodes with aggregated heath state Error in the health store at the beginning of the cluster upgrade."
+ },
+ "BaselineTotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of upgrade domain nodes in the health store at the beginning of the cluster upgrade."
+ },
+ "MaxPercentDeltaUnhealthyNodes": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of upgrade domain delta unhealthy nodes from the ClusterUpgradeHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of upgrade domain nodes in the health store."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "UpgradeDomainInfo": {
+ "description": "Information about an upgrade domain.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/UpgradeDomainName",
+ "description": "The name of the upgrade domain"
+ },
+ "State": {
+ "$ref": "#/definitions/UpgradeDomainState",
+ "description": "The state of the upgrade domain."
+ }
+ }
+ },
+ "UpgradeDomainInfoList": {
+ "type": "array",
+ "description": "List of upgrade domains and their statuses.",
+ "items": {
+ "$ref": "#/definitions/UpgradeDomainInfo"
+ }
+ },
+ "UpgradeDomainName": {
+ "type": "string",
+ "description": "The name of the upgrade domain"
+ },
+ "UpgradeDomainNodesHealthEvaluation": {
+ "x-ms-discriminator-value": "UpgradeDomainNodes",
+ "description": "Represents health evaluation for cluster nodes in an upgrade domain, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster health during cluster upgrade and the aggregated health state is either Error or Warning.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthEvaluation"
+ }
+ ],
+ "properties": {
+ "UpgradeDomainName": {
+ "type": "string",
+ "description": "Name of the upgrade domain where nodes health is currently evaluated."
+ },
+ "MaxPercentUnhealthyNodes": {
+ "type": "integer",
+ "description": "Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy."
+ },
+ "TotalCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total number of nodes in the current upgrade domain."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health."
+ }
+ }
+ },
+ "UpgradeDomainState": {
+ "type": "string",
+ "description": "The state of the upgrade domain.",
+ "enum": [
+ "Invalid",
+ "Pending",
+ "InProgress",
+ "Completed"
+ ],
+ "x-ms-enum": {
+ "name": "UpgradeDomainState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade domain state is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Pending",
+ "description": "The upgrade domain has not started upgrading yet. The value is 1"
+ },
+ {
+ "value": "InProgress",
+ "description": "The upgrade domain is being upgraded but not complete yet. The value is 2"
+ },
+ {
+ "value": "Completed",
+ "description": "The upgrade domain has completed upgrade. The value is 3"
+ }
+ ]
+ }
+ },
+ "UpgradeDomainTimeout": {
+ "type": "string",
+ "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.",
+ "default": "P10675199DT02H48M05.4775807S"
+ },
+ "UpgradeDuration": {
+ "type": "string",
+ "description": "The estimated amount of time that the overall upgrade elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.",
+ "default": "PT0H2M0S"
+ },
+ "UpgradeKind": {
+ "type": "string",
+ "description": "The kind of upgrade out of the following possible values.",
+ "default": "Rolling",
+ "enum": [
+ "Invalid",
+ "Rolling"
+ ],
+ "x-ms-enum": {
+ "name": "UpgradeKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Rolling",
+ "description": "The upgrade progresses one upgrade domain at a time. The value is 1"
+ }
+ ]
+ }
+ },
+ "UpgradeMode": {
+ "type": "string",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored.",
+ "enum": [
+ "Invalid",
+ "UnmonitoredAuto",
+ "UnmonitoredManual",
+ "Monitored"
+ ],
+ "default": "UnmonitoredAuto",
+ "x-ms-enum": {
+ "name": "UpgradeMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade mode is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "UnmonitoredAuto",
+ "description": "The upgrade will proceed automatically without performing any health monitoring. The value is 1"
+ },
+ {
+ "value": "UnmonitoredManual",
+ "description": "The upgrade will stop after completing each upgrade domain, giving the opportunity to manually monitor health before proceeding. The value is 2"
+ },
+ {
+ "value": "Monitored",
+ "description": "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 3"
+ }
+ ]
+ }
+ },
+ "UpgradeSortOrder": {
+ "type": "string",
+ "description": "Defines the order in which an upgrade proceeds through the cluster.",
+ "enum": [
+ "Invalid",
+ "Default",
+ "Numeric",
+ "Lexicographical",
+ "ReverseNumeric",
+ "ReverseLexicographical"
+ ],
+ "default": "Default",
+ "x-ms-enum": {
+ "name": "UpgradeSortOrder",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that this sort order is not valid. All Service Fabric enumerations have the invalid type. The value is 0."
+ },
+ {
+ "value": "Default",
+ "description": "Indicates that the default sort order (as specified in cluster manifest) will be used. The value is 1."
+ },
+ {
+ "value": "Numeric",
+ "description": "Indicates that forward numeric sort order (UD names sorted as numbers) will be used. The value is 2."
+ },
+ {
+ "value": "Lexicographical",
+ "description": "Indicates that forward lexicographical sort order (UD names sorted as strings) will be used. The value is 3."
+ },
+ {
+ "value": "ReverseNumeric",
+ "description": "Indicates that reverse numeric sort order (UD names sorted as numbers) will be used. The value is 4."
+ },
+ {
+ "value": "ReverseLexicographical",
+ "description": "Indicates that reverse lexicographical sort order (UD names sorted as strings) will be used. The value is 5."
+ }
+ ]
+ }
+ },
+ "UpgradeType": {
+ "type": "string",
+ "description": "The type of upgrade out of the following possible values.",
+ "default": "Rolling",
+ "enum": [
+ "Invalid",
+ "Rolling",
+ "Rolling_ForceRestart"
+ ],
+ "x-ms-enum": {
+ "name": "UpgradeType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Rolling",
+ "description": "The upgrade progresses one upgrade domain at a time. The value is 1."
+ },
+ {
+ "value": "Rolling_ForceRestart",
+ "description": "The upgrade gets restarted by force. The value is 2."
+ }
+ ]
+ }
+ },
+ "UpgradeReplicaSetCheckTimeout": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).",
+ "default": 42949672925
+ },
+ "UpgradeState": {
+ "type": "string",
+ "description": "The state of the upgrade domain.",
+ "enum": [
+ "Invalid",
+ "RollingBackInProgress",
+ "RollingBackCompleted",
+ "RollingForwardPending",
+ "RollingForwardInProgress",
+ "RollingForwardCompleted",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "UpgradeState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade state is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "RollingBackInProgress",
+ "description": "The upgrade is rolling back to the previous version but is not complete yet. The value is 1"
+ },
+ {
+ "value": "RollingBackCompleted",
+ "description": "The upgrade has finished rolling back. The value is 2"
+ },
+ {
+ "value": "RollingForwardPending",
+ "description": "The current upgrade domain has finished upgrading. The overall upgrade is waiting for an explicit move next request in UnmonitoredManual mode or performing health checks in Monitored mode. The value is 3"
+ },
+ {
+ "value": "RollingForwardInProgress",
+ "description": "The upgrade is rolling forward to the target version but is not complete yet. The value is 4"
+ },
+ {
+ "value": "RollingForwardCompleted",
+ "description": "The upgrade has finished rolling forward. The value is 5"
+ },
+ {
+ "value": "Failed",
+ "description": "The upgrade has failed and is unable to execute FailureAction. The value is 6"
+ }
+ ]
+ }
+ },
+ "UpgradeTimeout": {
+ "type": "string",
+ "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.",
+ "default": "P10675199DT02H48M05.4775807S"
+ },
+ "WaitForInbuildReplicaSafetyCheck": {
+ "description": "Safety check that waits for the replica build operation to finish. This indicates that there is a replica that is going through the copy or is providing data for building another replica. Bring the node down will abort this copy operation which are typically expensive involving data movements.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSafetyCheck"
+ }
+ ],
+ "x-ms-discriminator-value": "WaitForInbuildReplica"
+ },
+ "WaitForPrimaryPlacementSafetyCheck": {
+ "description": "Safety check that waits for the primary replica that was moved out of the node due to upgrade to be placed back again on that node.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSafetyCheck"
+ }
+ ],
+ "x-ms-discriminator-value": "WaitForPrimaryPlacement"
+ },
+ "WaitForPrimarySwapSafetyCheck": {
+ "description": "Safety check that waits for the primary replica to be moved out of the node before starting an upgrade to ensure the availability of the primary replica for the partition.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSafetyCheck"
+ }
+ ],
+ "x-ms-discriminator-value": "WaitForPrimarySwap"
+ },
+ "WaitForReconfigurationSafetyCheck": {
+ "description": "Safety check that waits for the current reconfiguration of the partition to be completed before starting an upgrade.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSafetyCheck"
+ }
+ ],
+ "x-ms-discriminator-value": "WaitForReconfiguration"
+ },
+ "LoadMetricReport": {
+ "description": "Represents the load metric report which contains the time metric was reported, its name and value.",
+ "properties": {
+ "LastReportedUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Gets the UTC time when the load was reported."
+ },
+ "Name": {
+ "type": "string",
+ "description": "The name of the load metric."
+ },
+ "Value": {
+ "type": "string",
+ "format": "int32",
+ "description": "The value of the load metric. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentValue."
+ },
+ "CurrentValue": {
+ "type": "string",
+ "format": "double",
+ "description": "The value of the load metric."
+ }
+ }
+ },
+ "PartitionLoadInformation": {
+ "description": "Represents load information for a partition, which contains the primary and secondary reported load metrics.\nIn case there is no load reported, PartitionLoadInformation will contain the default load for the service of the partition.\nFor default loads, LoadMetricReport's LastReportedUtc is set to 0.",
+ "properties": {
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "Id of the partition."
+ },
+ "PrimaryLoadMetricReports": {
+ "type": "array",
+ "description": "Array of load reports from the primary replica for this partition.",
+ "items": {
+ "$ref": "#/definitions/LoadMetricReport"
+ }
+ },
+ "SecondaryLoadMetricReports": {
+ "type": "array",
+ "description": "Array of aggregated load reports from all secondary replicas for this partition.\nArray only contains the latest reported load for each metric.",
+ "items": {
+ "$ref": "#/definitions/LoadMetricReport"
+ }
+ }
+ }
+ },
+ "StatefulServiceReplicaInfo": {
+ "x-ms-discriminator-value": "Stateful",
+ "description": "Represents a stateful service replica. This includes information about the identity, role, status, health, node name, uptime, and other details about the replica.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaInfo"
+ }
+ ],
+ "properties": {
+ "ReplicaRole": {
+ "$ref": "#/definitions/ReplicaRole",
+ "description": "The role of a replica of a stateful service."
+ },
+ "ReplicaId": {
+ "$ref": "#/definitions/ReplicaId",
+ "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id."
+ }
+ }
+ },
+ "StatelessServiceInstanceInfo": {
+ "x-ms-discriminator-value": "Stateless",
+ "description": "Represents a stateless service instance. This includes information about the identity, status, health, node name, uptime, and other details about the instance.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaInfo"
+ }
+ ],
+ "properties": {
+ "InstanceId": {
+ "$ref": "#/definitions/InstanceId",
+ "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId."
+ }
+ }
+ },
+ "ClusterFabricCodeVersionString": {
+ "type": "string",
+ "description": "The ServiceFabric code version of the cluster."
+ },
+ "ClusterFabricConfigVersionString": {
+ "type": "string",
+ "description": "The cluster configuration version (specified in the cluster manifest)."
+ },
+ "ClusterUpgradeDescriptionObject": {
+ "description": "Represents a ServiceFabric cluster upgrade",
+ "properties": {
+ "ConfigVersion": {
+ "$ref": "#/definitions/ClusterFabricConfigVersionString",
+ "description": "The cluster configuration version (specified in the cluster manifest)."
+ },
+ "CodeVersion": {
+ "$ref": "#/definitions/ClusterFabricCodeVersionString",
+ "description": "The ServiceFabric code version of the cluster."
+ },
+ "UpgradeKind": {
+ "$ref": "#/definitions/UpgradeKind",
+ "description": "The kind of upgrade out of the following possible values."
+ },
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/UpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "UpgradeReplicaSetCheckTimeoutInSeconds": {
+ "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout",
+ "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)."
+ },
+ "ForceRestart": {
+ "$ref": "#/definitions/ForceRestart",
+ "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)."
+ },
+ "SortOrder": {
+ "$ref": "#/definitions/UpgradeSortOrder",
+ "description": "Defines the order in which an upgrade proceeds through the cluster."
+ },
+ "EnableDeltaHealthEvaluation": {
+ "$ref": "#/definitions/DeltaHealthEvaluationBool",
+ "description": "When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain."
+ },
+ "MonitoringPolicy": {
+ "$ref": "#/definitions/MonitoringPolicyDescription",
+ "description": "Describes the parameters for monitoring an upgrade in Monitored mode."
+ },
+ "ClusterHealthPolicy": {
+ "$ref": "#/definitions/ClusterHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node."
+ },
+ "ClusterUpgradeHealthPolicy": {
+ "$ref": "#/definitions/ClusterUpgradeHealthPolicyObject",
+ "description": "Defines a health policy used to evaluate the health of the cluster during a cluster upgrade."
+ },
+ "ApplicationHealthPolicyMap": {
+ "$ref": "#/definitions/ApplicationHealthPolicyMap",
+ "description": "Defines a map that contains specific application health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.\nIf an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest).\nThe map is empty by default."
+ }
+ }
+ },
+ "ClusterUpgradeHealthPolicyObject": {
+ "description": "Defines a health policy used to evaluate the health of the cluster during a cluster upgrade.",
+ "properties": {
+ "MaxPercentDeltaUnhealthyNodes": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. The default value is 10%.",
+ "maximum": 100,
+ "minimum": 0
+ },
+ "MaxPercentUpgradeDomainDeltaUnhealthyNodes": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits. The default value is 15%.",
+ "maximum": 100,
+ "minimum": 0
+ }
+ }
+ },
+ "ClusterUpgradeProgressObject": {
+ "description": "Information about a cluster upgrade.",
+ "properties": {
+ "CodeVersion": {
+ "$ref": "#/definitions/ClusterFabricCodeVersionString",
+ "description": "The ServiceFabric code version of the cluster."
+ },
+ "ConfigVersion": {
+ "$ref": "#/definitions/ClusterFabricConfigVersionString",
+ "description": "The cluster configuration version (specified in the cluster manifest)."
+ },
+ "UpgradeDomains": {
+ "$ref": "#/definitions/UpgradeDomainInfoList",
+ "description": "List of upgrade domains and their statuses."
+ },
+ "UpgradeState": {
+ "$ref": "#/definitions/UpgradeState",
+ "description": "The state of the upgrade domain."
+ },
+ "NextUpgradeDomain": {
+ "$ref": "#/definitions/NextUpgradeDomain",
+ "description": "The name of the next upgrade domain to be processed."
+ },
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/UpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "UpgradeDescription": {
+ "$ref": "#/definitions/ClusterUpgradeDescriptionObject",
+ "description": "Represents a ServiceFabric cluster upgrade"
+ },
+ "UpgradeDurationInMilliseconds": {
+ "$ref": "#/definitions/UpgradeDurationString",
+ "description": "The estimated elapsed time spent processing the current overall upgrade."
+ },
+ "UpgradeDomainDurationInMilliseconds": {
+ "$ref": "#/definitions/UpgradeDomainDurationString",
+ "description": "The estimated elapsed time spent processing the current upgrade domain."
+ },
+ "UnhealthyEvaluations": {
+ "$ref": "#/definitions/UnhealthyEvaluations",
+ "description": "List of health evaluations that resulted in the current aggregated health state."
+ },
+ "CurrentUpgradeDomainProgress": {
+ "$ref": "#/definitions/CurrentUpgradeDomainProgressInfo",
+ "description": "Information about the current in-progress upgrade domain."
+ },
+ "StartTimestampUtc": {
+ "$ref": "#/definitions/UpgradeStartTimeUTCString",
+ "description": "The start time of the upgrade in UTC."
+ },
+ "FailureTimestampUtc": {
+ "$ref": "#/definitions/UpgradeFailureTimeUTCString",
+ "description": "The failure time of the upgrade in UTC."
+ },
+ "FailureReason": {
+ "$ref": "#/definitions/FailureReason",
+ "description": "The cause of an upgrade failure that resulted in FailureAction being executed."
+ },
+ "UpgradeDomainProgressAtFailure": {
+ "$ref": "#/definitions/FailedUpgradeDomainProgressObject",
+ "description": "The detailed upgrade progress for nodes in the current upgrade domain at the point of failure."
+ }
+ }
+ },
+ "ClusterConfigurationUpgradeDescription": {
+ "description": "Describes the parameters for a standalone cluster configuration upgrade.",
+ "properties": {
+ "ClusterConfig": {
+ "type": "string",
+ "description": "The cluster configuration as a JSON string. For example, [this file](https://github.com/Azure-Samples/service-fabric-dotnet-standalone-cluster-configuration/blob/master/Samples/ClusterConfig.Unsecure.DevCluster.json) contains JSON describing the [nodes and other properties of the cluster](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-manifest)."
+ },
+ "HealthCheckRetryTimeout": {
+ "type": "string",
+ "format": "duration",
+ "description": "The length of time between attempts to perform health checks if the application or cluster is not healthy.",
+ "default": "PT0H0M0S"
+ },
+ "HealthCheckWaitDurationInSeconds": {
+ "type": "string",
+ "format": "duration",
+ "description": "The length of time to wait after completing an upgrade domain before starting the health checks process.",
+ "default": "PT0H0M0S"
+ },
+ "HealthCheckStableDurationInSeconds": {
+ "type": "string",
+ "format": "duration",
+ "description": "The length of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain.",
+ "default": "PT0H0M0S"
+ },
+ "UpgradeDomainTimeoutInSeconds": {
+ "type": "string",
+ "format": "duration",
+ "description": "The timeout for the upgrade domain.",
+ "default": "PT0H0M0S"
+ },
+ "UpgradeTimeoutInSeconds": {
+ "type": "string",
+ "format": "duration",
+ "description": "The upgrade timeout.",
+ "default": "PT0H0M0S"
+ },
+ "MaxPercentUnhealthyApplications": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of unhealthy applications during the upgrade. Allowed values are integer values from zero to 100.",
+ "default": 0
+ },
+ "MaxPercentUnhealthyNodes": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of unhealthy nodes during the upgrade. Allowed values are integer values from zero to 100.",
+ "default": 0
+ },
+ "MaxPercentDeltaUnhealthyNodes": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of delta health degradation during the upgrade. Allowed values are integer values from zero to 100.",
+ "default": 0
+ },
+ "MaxPercentUpgradeDomainDeltaUnhealthyNodes": {
+ "type": "integer",
+ "description": "The maximum allowed percentage of upgrade domain delta health degradation during the upgrade. Allowed values are integer values from zero to 100.",
+ "default": 0
+ },
+ "ApplicationHealthPolicies": {
+ "$ref": "#/definitions/ApplicationHealthPolicies",
+ "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities."
+ }
+ },
+ "required": [
+ "ClusterConfig"
+ ]
+ },
+ "DeltaHealthEvaluationBool": {
+ "type": "boolean",
+ "description": "When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain."
+ },
+ "FailedUpgradeDomainProgressObject": {
+ "description": "The detailed upgrade progress for nodes in the current upgrade domain at the point of failure.",
+ "properties": {
+ "DomainName": {
+ "$ref": "#/definitions/UpgradeDomainName",
+ "description": "The name of the upgrade domain"
+ },
+ "NodeUpgradeProgressList": {
+ "$ref": "#/definitions/NodeUpgradeProgressInfoList",
+ "description": "List of upgrading nodes and their statuses"
+ }
+ }
+ },
+ "UpgradeDomainDurationString": {
+ "type": "string",
+ "description": "The estimated elapsed time spent processing the current upgrade domain."
+ },
+ "UpgradeDurationString": {
+ "type": "string",
+ "description": "The estimated elapsed time spent processing the current overall upgrade."
+ },
+ "UpgradeFailureTimeUTCString": {
+ "type": "string",
+ "description": "The failure time of the upgrade in UTC."
+ },
+ "UpgradeStartTimeUTCString": {
+ "type": "string",
+ "description": "The start time of the upgrade in UTC."
+ },
+ "UpgradeOrchestrationServiceState": {
+ "description": "Service state of Service Fabric Upgrade Orchestration Service.",
+ "properties": {
+ "ServiceState": {
+ "type": "string",
+ "description": "The state of Service Fabric Upgrade Orchestration Service."
+ }
+ }
+ },
+ "UpgradeOrchestrationServiceStateSummary": {
+ "description": "Service state summary of Service Fabric Upgrade Orchestration Service.",
+ "properties": {
+ "CurrentCodeVersion": {
+ "type": "string",
+ "description": "The current code version of the cluster."
+ },
+ "CurrentManifestVersion": {
+ "type": "string",
+ "description": "The current manifest version of the cluster."
+ },
+ "TargetCodeVersion": {
+ "type": "string",
+ "description": "The target code version of the cluster."
+ },
+ "TargetManifestVersion": {
+ "type": "string",
+ "description": "The target manifest version of the cluster."
+ },
+ "PendingUpgradeType": {
+ "type": "string",
+ "description": "The type of the pending upgrade of the cluster."
+ }
+ }
+ },
+ "ApplicationTypeImageStorePath": {
+ "description": "Path description for the application package in the image store specified during the prior copy operation.",
+ "required": [
+ "ApplicationTypeBuildPath"
+ ],
+ "properties": {
+ "ApplicationTypeBuildPath": {
+ "type": "string",
+ "description": "The relative image store path to the application package."
+ }
+ }
+ },
+ "UnprovisionApplicationTypeDescriptionInfo": {
+ "description": "Describes the operation to unregister or unprovision an application type and its version that was registered with the Service Fabric.",
+ "required": [
+ "ApplicationTypeVersion"
+ ],
+ "properties": {
+ "ApplicationTypeVersion": {
+ "$ref": "#/definitions/ApplicationTypeVersion",
+ "description": "The version of the application type as defined in the application manifest."
+ },
+ "Async": {
+ "type": "boolean",
+ "description": "The flag indicating whether or not unprovision should occur asynchronously. When set to true, the unprovision operation returns when the request is accepted by the system, and the unprovision operation continues without any timeout limit. The default value is false. However, we recommend setting it to true for large application packages that were provisioned."
+ }
+ }
+ },
+ "CodePackageName": {
+ "type": "string",
+ "description": "The name of the code package defined in the service manifest."
+ },
+ "CodePackageEntryPointStatistics": {
+ "description": "Statistics about setup or main entry point of a code package deployed on a Service Fabric node.",
+ "properties": {
+ "LastExitCode": {
+ "type": "string",
+ "description": "The last exit code of the entry point."
+ },
+ "LastActivationTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time (in UTC) when Service Fabric attempted to run the entry point."
+ },
+ "LastExitTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time (in UTC) when the entry point finished running."
+ },
+ "LastSuccessfulActivationTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time (in UTC) when the entry point ran successfully."
+ },
+ "LastSuccessfulExitTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time (in UTC) when the entry point finished running gracefully."
+ },
+ "ActivationCount": {
+ "type": "string",
+ "description": "Number of times the entry point has run."
+ },
+ "ActivationFailureCount": {
+ "type": "string",
+ "description": "Number of times the entry point failed to run."
+ },
+ "ContinuousActivationFailureCount": {
+ "type": "string",
+ "description": "Number of times the entry point continuously failed to run."
+ },
+ "ExitCount": {
+ "type": "string",
+ "description": "Number of times the entry point finished running."
+ },
+ "ExitFailureCount": {
+ "type": "string",
+ "description": "Number of times the entry point failed to exit gracefully."
+ },
+ "ContinuousExitFailureCount": {
+ "type": "string",
+ "description": "Number of times the entry point continuously failed to exit gracefully."
+ }
+ }
+ },
+ "DeployedCodePackageInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedCodePackageInfo"
+ },
+ "description": "List of deployed code package information."
+ },
+ "DeployedCodePackageInfo": {
+ "description": "Information about code package deployed on a Service Fabric node.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/CodePackageName",
+ "description": "The name of the code package."
+ },
+ "Version": {
+ "type": "string",
+ "description": "The version of the code package specified in service manifest."
+ },
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of service manifest that specified this code package."
+ },
+ "ServicePackageActivationId": {
+ "$ref": "#/definitions/ServicePackageActivationId",
+ "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string."
+ },
+ "HostType": {
+ "$ref": "#/definitions/HostType",
+ "description": "Specifies the type of host for main entry point of a code package as specified in service manifest."
+ },
+ "HostIsolationMode": {
+ "$ref": "#/definitions/HostIsolationMode",
+ "description": "Specifies the isolation mode of main entry point of a code package when it's host type is ContainerHost. This is specified as part of container host policies in application manifest while importing service manifest."
+ },
+ "Status": {
+ "$ref": "#/definitions/DeploymentStatus",
+ "description": "Specifies the status of a deployed application or service package on a Service Fabric node."
+ },
+ "RunFrequencyInterval": {
+ "type": "string",
+ "description": "The interval at which code package is run. This is used for periodic code package."
+ },
+ "SetupEntryPoint": {
+ "$ref": "#/definitions/CodePackageEntryPoint",
+ "description": "Information about setup or main entry point of a code package deployed on a Service Fabric node."
+ },
+ "MainEntryPoint": {
+ "$ref": "#/definitions/CodePackageEntryPoint",
+ "description": "Information about setup or main entry point of a code package deployed on a Service Fabric node."
+ }
+ }
+ },
+ "DeploymentStatus": {
+ "type": "string",
+ "description": "Specifies the status of a deployed application or service package on a Service Fabric node.",
+ "enum": [
+ "Invalid",
+ "Downloading",
+ "Activating",
+ "Active",
+ "Upgrading",
+ "Deactivating",
+ "RanToCompletion",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "DeploymentStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates status of the application or service package is not known or invalid. The value is 0."
+ },
+ {
+ "value": "Downloading",
+ "description": "Indicates the application or service package is being downloaded to the node from the ImageStore. The value is 1."
+ },
+ {
+ "value": "Activating",
+ "description": "Indicates the application or service package is being activated. The value is 2."
+ },
+ {
+ "value": "Active",
+ "description": "Indicates the application or service package is active the node. The value is 3."
+ },
+ {
+ "value": "Upgrading",
+ "description": "Indicates the application or service package is being upgraded. The value is 4."
+ },
+ {
+ "value": "Deactivating",
+ "description": "Indicates the application or service package is being deactivated. The value is 5."
+ },
+ {
+ "value": "RanToCompletion",
+ "description": "Indicates the application or service package has ran to completion successfully. The value is 6."
+ },
+ {
+ "value": "Failed",
+ "description": "Indicates the application or service package has failed to run to completion. The value is 7."
+ }
+ ]
+ }
+ },
+ "EntryPointStatus": {
+ "type": "string",
+ "description": "Specifies the status of the code package entry point deployed on a Service Fabric node.",
+ "enum": [
+ "Invalid",
+ "Pending",
+ "Starting",
+ "Started",
+ "Stopping",
+ "Stopped"
+ ],
+ "x-ms-enum": {
+ "name": "EntryPointStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates status of entry point is not known or invalid. The value is 0."
+ },
+ {
+ "value": "Pending",
+ "description": "Indicates the entry point is scheduled to be started. The value is 1."
+ },
+ {
+ "value": "Starting",
+ "description": "Indicates the entry point is being started. The value is 2."
+ },
+ {
+ "value": "Started",
+ "description": "Indicates the entry point was started successfully and is running. The value is 3."
+ },
+ {
+ "value": "Stopping",
+ "description": "Indicates the entry point is being stopped. The value is 4."
+ },
+ {
+ "value": "Stopped",
+ "description": "Indicates the entry point is not running. The value is 5."
+ }
+ ]
+ }
+ },
+ "CodePackageEntryPoint": {
+ "description": "Information about setup or main entry point of a code package deployed on a Service Fabric node.",
+ "properties": {
+ "EntryPointLocation": {
+ "type": "string",
+ "description": "The location of entry point executable on the node."
+ },
+ "ProcessId": {
+ "type": "string",
+ "description": "The process ID of the entry point."
+ },
+ "RunAsUserName": {
+ "type": "string",
+ "description": "The user name under which entry point executable is run on the node."
+ },
+ "CodePackageEntryPointStatistics": {
+ "$ref": "#/definitions/CodePackageEntryPointStatistics",
+ "description": "Statistics about setup or main entry point of a code package deployed on a Service Fabric node."
+ },
+ "Status": {
+ "$ref": "#/definitions/EntryPointStatus",
+ "description": "Specifies the status of the code package entry point deployed on a Service Fabric node."
+ },
+ "NextActivationTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time (in UTC) when the entry point executable will be run next."
+ },
+ "InstanceId": {
+ "$ref": "#/definitions/CodePackageInstanceId",
+ "description": "The instance ID for current running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance id will change."
+ }
+ }
+ },
+ "Chaos": {
+ "description": "Contains a description of Chaos.",
+ "properties": {
+ "ChaosParameters": {
+ "$ref": "#/definitions/ChaosParameters",
+ "description": "If Chaos is running, these are the parameters Chaos is running with."
+ },
+ "Status": {
+ "$ref": "#/definitions/ChaosStatus",
+ "description": "Current status of the Chaos run."
+ },
+ "ScheduleStatus": {
+ "$ref": "#/definitions/ChaosScheduleStatus",
+ "description": "Current status of the schedule."
+ }
+ }
+ },
+ "ChaosStatus": {
+ "type": "string",
+ "description": "Current status of the Chaos run.",
+ "enum": [
+ "Invalid",
+ "Running",
+ "Stopped"
+ ],
+ "x-ms-enum": {
+ "name": "ChaosStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid Chaos status. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Running",
+ "description": "Indicates that Chaos is not stopped. The value is one."
+ },
+ {
+ "value": "Stopped",
+ "description": "Indicates that Chaos is not scheduling further faults. The value is two."
+ }
+ ]
+ }
+ },
+ "ChaosScheduleStatus": {
+ "type": "string",
+ "description": "Current status of the schedule.",
+ "enum": [
+ "Invalid",
+ "Stopped",
+ "Active",
+ "Expired",
+ "Pending"
+ ],
+ "x-ms-enum": {
+ "name": "ChaosScheduleStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid Chaos Schedule status. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Stopped",
+ "description": "Indicates that the schedule is stopped and not being used to schedule runs of chaos. The value is one."
+ },
+ {
+ "value": "Active",
+ "description": "Indicates that the schedule is active and is being used to schedule runs of Chaos. The value is two."
+ },
+ {
+ "value": "Expired",
+ "description": "Indicates that the schedule is expired and will no longer be used to schedule runs of Chaos. The value is three."
+ },
+ {
+ "value": "Pending",
+ "description": "Indicates that the schedule is pending and is not yet being used to schedule runs of Chaos but will be used when the start time is passed. The value is four."
+ }
+ ]
+ }
+ },
+ "ChaosContextMap": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Describes a map that contains a collection of ChaosContextMapItem's."
+ },
+ "ChaosContext": {
+ "description": "Describes a map, which is a collection of (string, string) type key-value pairs. The map can be used to record information about\nthe Chaos run. There cannot be more than 100 such pairs and each string (key or value) can be at most 4095 characters long.\nThis map is set by the starter of the Chaos run to optionally store the context about the specific run.",
+ "properties": {
+ "Map": {
+ "$ref": "#/definitions/ChaosContextMap",
+ "description": "Describes a map that contains a collection of ChaosContextMapItem's."
+ }
+ }
+ },
+ "ChaosParameters": {
+ "description": "Defines all the parameters to configure a Chaos run.",
+ "properties": {
+ "TimeToRunInSeconds": {
+ "type": "string",
+ "description": "Total time (in seconds) for which Chaos will run before automatically stopping. The maximum allowed value is 4,294,967,295 (System.UInt32.MaxValue).",
+ "default": "4294967295"
+ },
+ "MaxClusterStabilizationTimeoutInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum amount of time to wait for all cluster entities to become stable and healthy. Chaos executes in iterations and at the start of each iteration it validates the health of cluster entities.\nDuring validation if a cluster entity is not stable and healthy within MaxClusterStabilizationTimeoutInSeconds, Chaos generates a validation failed event.",
+ "default": 60,
+ "minimum": 0,
+ "maximum": 4294967295
+ },
+ "MaxConcurrentFaults": {
+ "type": "integer",
+ "format": "int64",
+ "description": "MaxConcurrentFaults is the maximum number of concurrent faults induced per iteration.\nChaos executes in iterations and two consecutive iterations are separated by a validation phase.\nThe higher the concurrency, the more aggressive the injection of faults, leading to inducing more complex series of states to uncover bugs.\nThe recommendation is to start with a value of 2 or 3 and to exercise caution while moving up.",
+ "default": 1,
+ "minimum": 0,
+ "maximum": 4294967295
+ },
+ "EnableMoveReplicaFaults": {
+ "type": "boolean",
+ "description": "Enables or disables the move primary and move secondary faults.",
+ "default": true
+ },
+ "WaitTimeBetweenFaultsInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Wait time (in seconds) between consecutive faults within a single iteration.\nThe larger the value, the lower the overlapping between faults and the simpler the sequence of state transitions that the cluster goes through.\nThe recommendation is to start with a value between 1 and 5 and exercise caution while moving up.",
+ "default": 20,
+ "minimum": 0,
+ "maximum": 4294967295
+ },
+ "WaitTimeBetweenIterationsInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time-separation (in seconds) between two consecutive iterations of Chaos.\nThe larger the value, the lower the fault injection rate.",
+ "default": 30,
+ "minimum": 0,
+ "maximum": 4294967295
+ },
+ "ClusterHealthPolicy": {
+ "$ref": "#/definitions/ClusterHealthPolicy",
+ "description": "Passed-in cluster health policy is used to validate health of the cluster in between Chaos iterations. If the cluster health is in error or if an unexpected exception happens during fault execution--to provide the cluster with some time to recuperate--Chaos will wait for 30 minutes before the next health-check."
+ },
+ "Context": {
+ "$ref": "#/definitions/ChaosContext",
+ "description": "Describes a map, which is a collection of (string, string) type key-value pairs. The map can be used to record information about\nthe Chaos run. There cannot be more than 100 such pairs and each string (key or value) can be at most 4095 characters long.\nThis map is set by the starter of the Chaos run to optionally store the context about the specific run."
+ },
+ "ChaosTargetFilter": {
+ "$ref": "#/definitions/ChaosTargetFilter",
+ "description": "List of cluster entities to target for Chaos faults.\nThis filter can be used to target Chaos faults only to certain node types or only to certain application instances. If ChaosTargetFilter is not used, Chaos faults all cluster entities.\nIf ChaosTargetFilter is used, Chaos faults only the entities that meet the ChaosTargetFilter specification."
+ }
+ }
+ },
+ "ChaosParametersDictionaryItem": {
+ "description": "Defines an item in ChaosParametersDictionary of the Chaos Schedule.",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "properties": {
+ "Key": {
+ "type": "string",
+ "description": "The key identifying the Chaos Parameter in the dictionary. This key is referenced by Chaos Schedule Jobs."
+ },
+ "Value": {
+ "$ref": "#/definitions/ChaosParameters",
+ "description": "Defines all the parameters to configure a Chaos run."
+ }
+ }
+ },
+ "ChaosEvent": {
+ "discriminator": "Kind",
+ "description": "Represents an event generated during a Chaos run.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/ChaosEventKind",
+ "description": "The kind of Chaos event."
+ },
+ "TimeStampUtc": {
+ "type": "string",
+ "description": "The UTC timestamp when this Chaos event was generated.",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "Kind",
+ "TimeStampUtc"
+ ]
+ },
+ "ChaosEventWrapper": {
+ "description": "Wrapper object for Chaos event.",
+ "properties": {
+ "ChaosEvent": {
+ "$ref": "#/definitions/ChaosEvent",
+ "description": "Represents an event generated during a Chaos run."
+ }
+ }
+ },
+ "ChaosEventKind": {
+ "type": "string",
+ "description": "The kind of Chaos event.",
+ "enum": [
+ "Invalid",
+ "Started",
+ "ExecutingFaults",
+ "Waiting",
+ "ValidationFailed",
+ "TestError",
+ "Stopped"
+ ],
+ "x-ms-enum": {
+ "name": "ChaosEventKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid Chaos event kind. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Started",
+ "description": "Indicates a Chaos event that gets generated when Chaos is started."
+ },
+ {
+ "value": "ExecutingFaults",
+ "description": "Indicates a Chaos event that gets generated when Chaos has decided on the faults for an iteration. This Chaos event contains the details of the faults as a list of strings."
+ },
+ {
+ "value": "Waiting",
+ "description": "Indicates a Chaos event that gets generated when Chaos is waiting for the cluster to become ready for faulting, for example, Chaos may be waiting for the on-going upgrade to finish."
+ },
+ {
+ "value": "ValidationFailed",
+ "description": "Indicates a Chaos event that gets generated when the cluster entities do not become stable and healthy within ChaosParameters.MaxClusterStabilizationTimeoutInSeconds."
+ },
+ {
+ "value": "TestError",
+ "description": "Indicates a Chaos event that gets generated when an unexpected event has occurred in the Chaos engine, for example, due to the cluster snapshot being inconsistent, while faulting a faultable entity Chaos found that the entity was already faulted."
+ },
+ {
+ "value": "Stopped",
+ "description": "Indicates a Chaos event that gets generated when Chaos stops because either the user issued a stop or the time to run was up."
+ }
+ ]
+ }
+ },
+ "ChaosEventsSegment": {
+ "description": "Contains the list of Chaos events and the continuation token to get the next segment.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "History": {
+ "$ref": "#/definitions/ChaosEventHistory",
+ "description": "List of Chaos events that meet the user-supplied criteria."
+ }
+ }
+ },
+ "ChaosScheduleDescription": {
+ "description": "Defines the Chaos Schedule used by Chaos and the version of the Chaos Schedule. The version value wraps back to 0 after surpassing 2,147,483,647.",
+ "properties": {
+ "Version": {
+ "description": "The version number of the Schedule.",
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0
+ },
+ "Schedule": {
+ "$ref": "#/definitions/ChaosSchedule",
+ "description": "Defines the schedule used by Chaos."
+ }
+ }
+ },
+ "ChaosSchedule": {
+ "description": "Defines the schedule used by Chaos.",
+ "properties": {
+ "StartDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date and time Chaos will start using this schedule.",
+ "default": "1601-01-01T00:00:00Z"
+ },
+ "ExpiryDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date and time Chaos will continue to use this schedule until.",
+ "default": "9999-12-31T23:59:59.999Z"
+ },
+ "ChaosParametersDictionary": {
+ "type": "array",
+ "description": "A mapping of string names to Chaos Parameters to be referenced by Chaos Schedule Jobs.",
+ "items": {
+ "$ref": "#/definitions/ChaosParametersDictionaryItem"
+ }
+ },
+ "Jobs": {
+ "description": "A list of all Chaos Schedule Jobs that will be automated by the schedule.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChaosScheduleJob"
+ }
+ }
+ }
+ },
+ "ChaosScheduleJob": {
+ "description": "Defines a repetition rule and parameters of Chaos to be used with the Chaos Schedule.",
+ "properties": {
+ "ChaosParameters": {
+ "type": "string",
+ "description": "A reference to which Chaos Parameters of the Chaos Schedule to use."
+ },
+ "Days": {
+ "$ref": "#/definitions/ChaosScheduleJobActiveDaysOfWeek",
+ "description": "Defines the days of the week that a Chaos Schedule Job will run for."
+ },
+ "Times": {
+ "description": "A list of Time Ranges that specify when during active days that this job will run. The times are interpreted as UTC.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TimeRange"
+ }
+ }
+ }
+ },
+ "ChaosScheduleJobActiveDaysOfWeek": {
+ "description": "Defines the days of the week that a Chaos Schedule Job will run for.",
+ "properties": {
+ "Sunday": {
+ "type": "boolean",
+ "description": "Indicates if the Chaos Schedule Job will run on Sunday",
+ "default": false
+ },
+ "Monday": {
+ "type": "boolean",
+ "description": "Indicates if the Chaos Schedule Job will run on Monday",
+ "default": false
+ },
+ "Tuesday": {
+ "type": "boolean",
+ "description": "Indicates if the Chaos Schedule Job will run on Tuesday",
+ "default": false
+ },
+ "Wednesday": {
+ "type": "boolean",
+ "description": "Indicates if the Chaos Schedule Job will run on Wednesday",
+ "default": false
+ },
+ "Thursday": {
+ "type": "boolean",
+ "description": "Indicates if the Chaos Schedule Job will run on Thursday",
+ "default": false
+ },
+ "Friday": {
+ "type": "boolean",
+ "description": "Indicates if the Chaos Schedule Job will run on Friday",
+ "default": false
+ },
+ "Saturday": {
+ "type": "boolean",
+ "description": "Indicates if the Chaos Schedule Job will run on Saturday",
+ "default": false
+ }
+ }
+ },
+ "TimeRange": {
+ "description": "Defines a time range in a 24 hour day specified by a start and end time.",
+ "properties": {
+ "StartTime": {
+ "$ref": "#/definitions/TimeOfDay",
+ "description": "Defines an hour and minute of the day specified in 24 hour time."
+ },
+ "EndTime": {
+ "$ref": "#/definitions/TimeOfDay",
+ "description": "Defines an hour and minute of the day specified in 24 hour time."
+ }
+ }
+ },
+ "TimeOfDay": {
+ "description": "Defines an hour and minute of the day specified in 24 hour time.",
+ "properties": {
+ "Hour": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Represents the hour of the day. Value must be between 0 and 23 inclusive.",
+ "minimum": 0,
+ "maximum": 23
+ },
+ "Minute": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Represents the minute of the hour. Value must be between 0 to 59 inclusive.",
+ "minimum": 0,
+ "maximum": 59
+ }
+ }
+ },
+ "ExecutingFaultsChaosEvent": {
+ "description": "Describes a Chaos event that gets generated when Chaos has decided on the faults for an iteration. This Chaos event contains the details of the faults as a list of strings.",
+ "x-ms-discriminator-value": "ExecutingFaults",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ChaosEvent"
+ }
+ ],
+ "properties": {
+ "Faults": {
+ "type": "array",
+ "description": "List of string description of the faults that Chaos decided to execute in an iteration.",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "StartedChaosEvent": {
+ "description": "Describes a Chaos event that gets generated when Chaos is started.",
+ "x-ms-discriminator-value": "Started",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ChaosEvent"
+ }
+ ],
+ "properties": {
+ "ChaosParameters": {
+ "$ref": "#/definitions/ChaosParameters",
+ "description": "Defines all the parameters to configure a Chaos run."
+ }
+ }
+ },
+ "StoppedChaosEvent": {
+ "description": "Describes a Chaos event that gets generated when Chaos stops because either the user issued a stop or the time to run was up.",
+ "x-ms-discriminator-value": "Stopped",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ChaosEvent"
+ }
+ ],
+ "properties": {
+ "Reason": {
+ "type": "string",
+ "description": "Describes why Chaos stopped. Chaos can stop because of StopChaos API call or the timeToRun provided in ChaosParameters is over."
+ }
+ }
+ },
+ "TestErrorChaosEvent": {
+ "description": "Describes a Chaos event that gets generated when an unexpected event occurs in the Chaos engine.\nFor example, due to the cluster snapshot being inconsistent, while faulting an entity, Chaos found that the entity was already faulted -- which would be an unexpected event.",
+ "x-ms-discriminator-value": "TestError",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ChaosEvent"
+ }
+ ],
+ "properties": {
+ "Reason": {
+ "type": "string",
+ "description": "Describes why TestErrorChaosEvent was generated. For example, Chaos tries to fault a partition but finds that the partition is no longer fault tolerant, then a TestErrorEvent gets generated with the reason stating that the partition is not fault tolerant."
+ }
+ }
+ },
+ "ValidationFailedChaosEvent": {
+ "description": "Chaos event corresponding to a failure during validation.",
+ "x-ms-discriminator-value": "ValidationFailed",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ChaosEvent"
+ }
+ ],
+ "properties": {
+ "Reason": {
+ "type": "string",
+ "description": "Describes why the ValidationFailedChaosEvent was generated. This may happen because more than MaxPercentUnhealthyNodes are unhealthy for more than MaxClusterStabilizationTimeout. This reason will be in the Reason property of the ValidationFailedChaosEvent as a string."
+ }
+ }
+ },
+ "WaitingChaosEvent": {
+ "description": "Describes a Chaos event that gets generated when Chaos is waiting for the cluster to become ready for faulting, for example, Chaos may be waiting for the on-going upgrade to finish.",
+ "x-ms-discriminator-value": "Waiting",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ChaosEvent"
+ }
+ ],
+ "properties": {
+ "Reason": {
+ "type": "string",
+ "description": "Describes why the WaitingChaosEvent was generated, for example, due to a cluster upgrade."
+ }
+ }
+ },
+ "ChaosEventHistory": {
+ "type": "array",
+ "description": "An list of Chaos events that were generated during the time range passed into the GetChaosReport API call.",
+ "items": {
+ "$ref": "#/definitions/ChaosEventWrapper"
+ }
+ },
+ "ChaosTargetFilter": {
+ "description": "Defines all filters for targeted Chaos faults, for example, faulting only certain node types or faulting only certain applications.\nIf ChaosTargetFilter is not used, Chaos faults all cluster entities. If ChaosTargetFilter is used, Chaos faults only the entities that meet the ChaosTargetFilter\nspecification. NodeTypeInclusionList and ApplicationInclusionList allow a union semantics only. It is not possible to specify an intersection\nof NodeTypeInclusionList and ApplicationInclusionList. For example, it is not possible to specify \"fault this application only when it is on that node type.\"\nOnce an entity is included in either NodeTypeInclusionList or ApplicationInclusionList, that entity cannot be excluded using ChaosTargetFilter. Even if\napplicationX does not appear in ApplicationInclusionList, in some Chaos iteration applicationX can be faulted because it happens to be on a node of nodeTypeY that is included\nin NodeTypeInclusionList. If both NodeTypeInclusionList and ApplicationInclusionList are null or empty, an ArgumentException is thrown.",
+ "properties": {
+ "NodeTypeInclusionList": {
+ "type": "array",
+ "description": "A list of node types to include in Chaos faults.\nAll types of faults (restart node, restart code package, remove replica, restart replica, move primary, and move secondary) are enabled for the nodes of these node types.\nIf a node type (say NodeTypeX) does not appear in the NodeTypeInclusionList, then node level faults (like NodeRestart) will never be enabled for the nodes of\nNodeTypeX, but code package and replica faults can still be enabled for NodeTypeX if an application in the ApplicationInclusionList.\nhappens to reside on a node of NodeTypeX.\nAt most 100 node type names can be included in this list, to increase this number, a config upgrade is required for MaxNumberOfNodeTypesInChaosEntityFilter configuration.",
+ "items": {
+ "$ref": "#/definitions/NodeType"
+ }
+ },
+ "ApplicationInclusionList": {
+ "type": "array",
+ "description": "A list of application URIs to include in Chaos faults.\nAll replicas belonging to services of these applications are amenable to replica faults (restart replica, remove replica, move primary, and move secondary) by Chaos.\nChaos may restart a code package only if the code package hosts replicas of these applications only.\nIf an application does not appear in this list, it can still be faulted in some Chaos iteration if the application ends up on a node of a node type that is included in NodeTypeInclusionList.\nHowever, if applicationX is tied to nodeTypeY through placement constraints and applicationX is absent from ApplicationInclusionList and nodeTypeY is absent from NodeTypeInclusionList, then applicationX will never be faulted.\nAt most 1000 application names can be included in this list, to increase this number, a config upgrade is required for MaxNumberOfApplicationsInChaosEntityFilter configuration.",
+ "items": {
+ "$ref": "#/definitions/ApplicationName"
+ }
+ }
+ }
+ },
+ "ApplicationTypeVersion": {
+ "type": "string",
+ "description": "The version of the application type as defined in the application manifest."
+ },
+ "ApplicationCapacityDescription": {
+ "description": "Describes capacity information for services of this application. This description can be used for describing the following.\n- Reserving the capacity for the services on the nodes\n- Limiting the total number of nodes that services of this application can run on\n- Limiting the custom capacity metrics to limit the total consumption of this metric by the services of this application",
+ "properties": {
+ "MinimumNodes": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property.",
+ "minimum": 0
+ },
+ "MaximumNodes": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node.",
+ "minimum": 0,
+ "default": 0
+ },
+ "ApplicationMetrics": {
+ "$ref": "#/definitions/ApplicationMetricDescriptionList",
+ "description": "List of application capacity metric description."
+ }
+ }
+ },
+ "ApplicationDescription": {
+ "description": "Describes a Service Fabric application.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "TypeName": {
+ "$ref": "#/definitions/ApplicationTypeName",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "TypeVersion": {
+ "$ref": "#/definitions/ApplicationTypeVersion",
+ "description": "The version of the application type as defined in the application manifest."
+ },
+ "ParameterList": {
+ "$ref": "#/definitions/ApplicationParameterList",
+ "description": "List of application parameters with overridden values from their default values specified in the application manifest."
+ },
+ "ApplicationCapacity": {
+ "$ref": "#/definitions/ApplicationCapacityDescription",
+ "description": "Describes capacity information for services of this application. This description can be used for describing the following.\n- Reserving the capacity for the services on the nodes\n- Limiting the total number of nodes that services of this application can run on\n- Limiting the custom capacity metrics to limit the total consumption of this metric by the services of this application"
+ },
+ "ManagedApplicationIdentity": {
+ "$ref": "#/definitions/ManagedApplicationIdentityDescription",
+ "description": "Managed application identity description."
+ }
+ },
+ "required": [
+ "Name",
+ "TypeName",
+ "TypeVersion"
+ ]
+ },
+ "ApplicationMetricDescription": {
+ "description": "Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.",
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "The name of the metric."
+ },
+ "MaximumCapacity": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum node capacity for Service Fabric application.\nThis is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.\nIf set to zero, capacity for this metric is unlimited on each node.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.\nWhen updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity."
+ },
+ "ReservationCapacity": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The node reservation capacity for Service Fabric application.\nThis is the amount of load which is reserved on nodes which have instances of this application.\nIf MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.\nIf set to zero, no capacity is reserved for this metric.\nWhen setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric."
+ },
+ "TotalApplicationCapacity": {
+ "description": "The total metric capacity for Service Fabric application.\nThis is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.",
+ "type": "integer",
+ "format": "int64"
+ }
+ }
+ },
+ "ApplicationMetricDescriptionList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationMetricDescription"
+ },
+ "description": "List of application capacity metric description."
+ },
+ "ComposeDeploymentStatus": {
+ "type": "string",
+ "description": "The status of the compose deployment.",
+ "enum": [
+ "Invalid",
+ "Provisioning",
+ "Creating",
+ "Ready",
+ "Unprovisioning",
+ "Deleting",
+ "Failed",
+ "Upgrading"
+ ],
+ "x-ms-enum": {
+ "name": "ComposeDeploymentStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the compose deployment status is invalid. The value is zero."
+ },
+ {
+ "value": "Provisioning",
+ "description": "Indicates that the compose deployment is being provisioned in background. The value is 1."
+ },
+ {
+ "value": "Creating",
+ "description": "Indicates that the compose deployment is being created in background. The value is 2."
+ },
+ {
+ "value": "Ready",
+ "description": "Indicates that the compose deployment has been successfully created or upgraded. The value is 3."
+ },
+ {
+ "value": "Unprovisioning",
+ "description": "Indicates that the compose deployment is being unprovisioned in background. The value is 4."
+ },
+ {
+ "value": "Deleting",
+ "description": "Indicates that the compose deployment is being deleted in background. The value is 5."
+ },
+ {
+ "value": "Failed",
+ "description": "Indicates that the compose deployment was terminated due to persistent failures. The value is 6."
+ },
+ {
+ "value": "Upgrading",
+ "description": "Indicates that the compose deployment is being upgraded in the background. The value is 7."
+ }
+ ]
+ }
+ },
+ "ComposeDeploymentStatusInfo": {
+ "description": "Information about a Service Fabric compose deployment.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/DeploymentName",
+ "description": "The name of the deployment."
+ },
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "Status": {
+ "$ref": "#/definitions/ComposeDeploymentStatus",
+ "description": "The status of the compose deployment."
+ },
+ "StatusDetails": {
+ "description": "The status details of compose deployment including failure message.",
+ "type": "string"
+ }
+ }
+ },
+ "ComposeDeploymentUpgradeDescription": {
+ "description": "Describes the parameters for a compose deployment upgrade.",
+ "properties": {
+ "DeploymentName": {
+ "$ref": "#/definitions/DeploymentName",
+ "description": "The name of the deployment."
+ },
+ "ComposeFileContent": {
+ "type": "string",
+ "description": "The content of the compose file that describes the deployment to create."
+ },
+ "RegistryCredential": {
+ "$ref": "#/definitions/RegistryCredential",
+ "description": "Credential information to connect to container registry."
+ },
+ "UpgradeKind": {
+ "$ref": "#/definitions/UpgradeKind",
+ "description": "The kind of upgrade out of the following possible values."
+ },
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/UpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "UpgradeReplicaSetCheckTimeoutInSeconds": {
+ "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout",
+ "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)."
+ },
+ "ForceRestart": {
+ "$ref": "#/definitions/ForceRestart",
+ "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)."
+ },
+ "MonitoringPolicy": {
+ "$ref": "#/definitions/MonitoringPolicyDescription",
+ "description": "Describes the parameters for monitoring an upgrade in Monitored mode."
+ },
+ "ApplicationHealthPolicy": {
+ "$ref": "#/definitions/ApplicationHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of an application or one of its children entities."
+ }
+ },
+ "required": [
+ "DeploymentName",
+ "ComposeFileContent",
+ "UpgradeKind"
+ ]
+ },
+ "ComposeDeploymentUpgradeProgressInfo": {
+ "description": "Describes the parameters for a compose deployment upgrade.",
+ "properties": {
+ "DeploymentName": {
+ "$ref": "#/definitions/TargetDeploymentName",
+ "description": "The name of the target deployment."
+ },
+ "ApplicationName": {
+ "$ref": "#/definitions/TargetApplicationName",
+ "description": "The name of the target application, including the 'fabric:' URI scheme."
+ },
+ "UpgradeState": {
+ "$ref": "#/definitions/ComposeDeploymentUpgradeState",
+ "description": "The state of the compose deployment upgrade."
+ },
+ "UpgradeStatusDetails": {
+ "type": "string",
+ "description": "Additional detailed information about the status of the pending upgrade."
+ },
+ "UpgradeKind": {
+ "$ref": "#/definitions/UpgradeKind",
+ "description": "The kind of upgrade out of the following possible values."
+ },
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/UpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "ForceRestart": {
+ "$ref": "#/definitions/ForceRestart",
+ "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)."
+ },
+ "UpgradeReplicaSetCheckTimeoutInSeconds": {
+ "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout",
+ "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)."
+ },
+ "MonitoringPolicy": {
+ "$ref": "#/definitions/MonitoringPolicyDescription",
+ "description": "Describes the parameters for monitoring an upgrade in Monitored mode."
+ },
+ "ApplicationHealthPolicy": {
+ "$ref": "#/definitions/ApplicationHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of an application or one of its children entities."
+ },
+ "TargetApplicationTypeVersion": {
+ "$ref": "#/definitions/TargetApplicationTypeVersion",
+ "description": "The target application type version (found in the application manifest) for the application upgrade."
+ },
+ "UpgradeDuration": {
+ "$ref": "#/definitions/UpgradeDuration",
+ "description": "The estimated amount of time that the overall upgrade elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "CurrentUpgradeDomainDuration": {
+ "$ref": "#/definitions/CurrentUpgradeDomainDuration",
+ "description": "The estimated amount of time spent processing current Upgrade Domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "ApplicationUnhealthyEvaluations": {
+ "$ref": "#/definitions/ApplicationUnhealthyEvaluations",
+ "description": "List of health evaluations that resulted in the current aggregated health state."
+ },
+ "CurrentUpgradeDomainProgress": {
+ "$ref": "#/definitions/CurrentUpgradeDomainProgressInfo",
+ "description": "Information about the current in-progress upgrade domain."
+ },
+ "StartTimestampUtc": {
+ "type": "string",
+ "description": "The estimated UTC datetime when the upgrade started."
+ },
+ "FailureTimestampUtc": {
+ "type": "string",
+ "description": "The estimated UTC datetime when the upgrade failed and FailureAction was executed."
+ },
+ "FailureReason": {
+ "$ref": "#/definitions/FailureReason",
+ "description": "The cause of an upgrade failure that resulted in FailureAction being executed."
+ },
+ "UpgradeDomainProgressAtFailure": {
+ "$ref": "#/definitions/FailureUpgradeDomainProgressInfo",
+ "description": "Information about the upgrade domain progress at the time of upgrade failure."
+ },
+ "ApplicationUpgradeStatusDetails": {
+ "type": "string",
+ "description": "Additional details of application upgrade including failure message."
+ }
+ }
+ },
+ "ComposeDeploymentUpgradeState": {
+ "type": "string",
+ "description": "The state of the compose deployment upgrade.",
+ "enum": [
+ "Invalid",
+ "ProvisioningTarget",
+ "RollingForwardInProgress",
+ "RollingForwardPending",
+ "UnprovisioningCurrent",
+ "RollingForwardCompleted",
+ "RollingBackInProgress",
+ "UnprovisioningTarget",
+ "RollingBackCompleted",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ComposeDeploymentUpgradeState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade state is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "ProvisioningTarget",
+ "description": "The upgrade is in the progress of provisioning target application type version. The value is 1."
+ },
+ {
+ "value": "RollingForwardInProgress",
+ "description": "The upgrade is rolling forward to the target version but is not complete yet. The value is 2."
+ },
+ {
+ "value": "RollingForwardPending",
+ "description": "The current upgrade domain has finished upgrading. The overall upgrade is waiting for an explicit move next request in UnmonitoredManual mode or performing health checks in Monitored mode. The value is 3"
+ },
+ {
+ "value": "UnprovisioningCurrent",
+ "description": "The upgrade is in the progress of unprovisioning current application type version and rolling forward to the target version is completed. The value is 4."
+ },
+ {
+ "value": "RollingForwardCompleted",
+ "description": "The upgrade has finished rolling forward. The value is 5."
+ },
+ {
+ "value": "RollingBackInProgress",
+ "description": "The upgrade is rolling back to the previous version but is not complete yet. The value is 6."
+ },
+ {
+ "value": "UnprovisioningTarget",
+ "description": "The upgrade is in the progress of unprovisioning target application type version and rolling back to the current version is completed. The value is 7."
+ },
+ {
+ "value": "RollingBackCompleted",
+ "description": "The upgrade has finished rolling back. The value is 8."
+ },
+ {
+ "value": "Failed",
+ "description": "The upgrade has failed and is unable to execute FailureAction. The value is 9."
+ }
+ ]
+ }
+ },
+ "PagedComposeDeploymentStatusInfoList": {
+ "description": "The list of compose deployments in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of compose deployment status information.",
+ "items": {
+ "$ref": "#/definitions/ComposeDeploymentStatusInfo"
+ }
+ }
+ }
+ },
+ "CreateComposeDeploymentDescription": {
+ "description": "Defines description for creating a Service Fabric compose deployment.",
+ "properties": {
+ "DeploymentName": {
+ "$ref": "#/definitions/DeploymentName",
+ "description": "The name of the deployment."
+ },
+ "ComposeFileContent": {
+ "type": "string",
+ "description": "The content of the compose file that describes the deployment to create."
+ },
+ "RegistryCredential": {
+ "$ref": "#/definitions/RegistryCredential",
+ "description": "Credential information to connect to container registry."
+ }
+ },
+ "required": [
+ "DeploymentName",
+ "ComposeFileContent"
+ ]
+ },
+ "RegistryCredential": {
+ "description": "Credential information to connect to container registry.",
+ "properties": {
+ "RegistryUserName": {
+ "type": "string",
+ "description": "The user name to connect to container registry."
+ },
+ "RegistryPassword": {
+ "type": "string",
+ "description": "The password for supplied username to connect to container registry."
+ },
+ "PasswordEncrypted": {
+ "type": "boolean",
+ "description": "Indicates that supplied container registry password is encrypted."
+ }
+ }
+ },
+ "DeployedServicePackageInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedServicePackageInfo"
+ },
+ "description": "List of deployed service package information."
+ },
+ "DeployedServicePackageInfo": {
+ "description": "Information about service package deployed on a Service Fabric node.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of the service package as specified in the service manifest."
+ },
+ "Version": {
+ "type": "string",
+ "description": "The version of the service package specified in service manifest."
+ },
+ "Status": {
+ "$ref": "#/definitions/DeploymentStatus",
+ "description": "Specifies the status of a deployed application or service package on a Service Fabric node."
+ },
+ "ServicePackageActivationId": {
+ "$ref": "#/definitions/ServicePackageActivationId",
+ "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string."
+ }
+ }
+ },
+ "DeploymentName": {
+ "type": "string",
+ "description": "The name of the deployment."
+ },
+ "CorrelationSchemeList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceCorrelationDescription"
+ },
+ "description": "A list that describes the correlation of the service with other services."
+ },
+ "MoveCost": {
+ "type": "string",
+ "description": "Specifies the move cost for the service.",
+ "enum": [
+ "Zero",
+ "Low",
+ "Medium",
+ "High",
+ "VeryHigh"
+ ],
+ "x-ms-enum": {
+ "name": "MoveCost",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Zero",
+ "description": "Zero move cost. This value is zero."
+ },
+ {
+ "value": "Low",
+ "description": "Specifies the move cost of the service as Low. The value is 1."
+ },
+ {
+ "value": "Medium",
+ "description": "Specifies the move cost of the service as Medium. The value is 2."
+ },
+ {
+ "value": "High",
+ "description": "Specifies the move cost of the service as High. The value is 3."
+ },
+ {
+ "value": "VeryHigh",
+ "description": "Specifies the move cost of the service as VeryHigh. The value is 4."
+ }
+ ]
+ }
+ },
+ "PartitionScheme": {
+ "type": "string",
+ "description": "Enumerates the ways that a service can be partitioned.",
+ "enum": [
+ "Invalid",
+ "Singleton",
+ "UniformInt64Range",
+ "Named"
+ ],
+ "x-ms-enum": {
+ "name": "PartitionScheme",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Singleton",
+ "description": "Indicates that the partition is based on string names, and is a SingletonPartitionSchemeDescription object, The value is 1."
+ },
+ {
+ "value": "UniformInt64Range",
+ "description": "Indicates that the partition is based on Int64 key ranges, and is a UniformInt64RangePartitionSchemeDescription object. The value is 2."
+ },
+ {
+ "value": "Named",
+ "description": "Indicates that the partition is based on string names, and is a NamedPartitionSchemeDescription object. The value is 3"
+ }
+ ]
+ }
+ },
+ "ServiceCorrelationDescription": {
+ "description": "Creates a particular correlation between services.",
+ "required": [
+ "Scheme",
+ "ServiceName"
+ ],
+ "properties": {
+ "Scheme": {
+ "$ref": "#/definitions/ServiceCorrelationScheme",
+ "description": "The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName."
+ },
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The name of the service that the correlation relationship is established with."
+ }
+ }
+ },
+ "ServiceCorrelationScheme": {
+ "type": "string",
+ "description": "The service correlation scheme.",
+ "enum": [
+ "Invalid",
+ "Affinity",
+ "AlignedAffinity",
+ "NonAlignedAffinity"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceCorrelationScheme",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "An invalid correlation scheme. Cannot be used. The value is zero."
+ },
+ {
+ "value": "Affinity",
+ "description": "Indicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1."
+ },
+ {
+ "value": "AlignedAffinity",
+ "description": "Aligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2."
+ },
+ {
+ "value": "NonAlignedAffinity",
+ "description": "Non-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3."
+ }
+ ]
+ }
+ },
+ "ServiceLoadMetricsList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceLoadMetricDescription"
+ },
+ "description": "The service load metrics is given as an array of ServiceLoadMetricDescription objects."
+ },
+ "ServiceLoadMetricDescription": {
+ "description": "Specifies a metric to load balance a service during runtime.",
+ "required": [
+ "Name"
+ ],
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case-sensitive."
+ },
+ "Weight": {
+ "$ref": "#/definitions/ServiceLoadMetricWeight",
+ "description": "The service load metric relative weight, compared to other metrics configured for this service, as a number."
+ },
+ "PrimaryDefaultLoad": {
+ "type": "integer",
+ "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica."
+ },
+ "SecondaryDefaultLoad": {
+ "type": "integer",
+ "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica."
+ },
+ "DefaultLoad": {
+ "type": "integer",
+ "description": "Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric."
+ }
+ }
+ },
+ "ServiceLoadMetricWeight": {
+ "type": "string",
+ "description": "Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight.",
+ "enum": [
+ "Zero",
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLoadMetricWeight",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Zero",
+ "description": "Disables resource balancing for this metric. This value is zero."
+ },
+ {
+ "value": "Low",
+ "description": "Specifies the metric weight of the service load as Low. The value is 1."
+ },
+ {
+ "value": "Medium",
+ "description": "Specifies the metric weight of the service load as Medium. The value is 2."
+ },
+ {
+ "value": "High",
+ "description": "Specifies the metric weight of the service load as High. The value is 3."
+ }
+ ]
+ }
+ },
+ "ServicePackageActivationMode": {
+ "type": "string",
+ "description": "The activation mode of service package to be used for a Service Fabric service. This is specified at the time of creating the Service.",
+ "enum": [
+ "SharedProcess",
+ "ExclusiveProcess"
+ ],
+ "x-ms-enum": {
+ "name": "ServicePackageActivationMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "SharedProcess",
+ "description": "This is the default activation mode. With this activation mode, replicas or instances from different partition(s) of service, on a given node, will share same activation of service package on a node. The value is zero."
+ },
+ {
+ "value": "ExclusiveProcess",
+ "description": "With this activation mode, each replica or instance of service, on a given node, will have its own dedicated activation of service package on a node. The value is 1."
+ }
+ ]
+ }
+ },
+ "ServicePlacementPoliciesList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServicePlacementPolicyDescription"
+ },
+ "description": "A list that describes the correlation of the service with other services."
+ },
+ "PartitionSchemeDescription": {
+ "discriminator": "PartitionScheme",
+ "description": "Describes how the service is partitioned.",
+ "required": [
+ "PartitionScheme"
+ ],
+ "properties": {
+ "PartitionScheme": {
+ "$ref": "#/definitions/PartitionScheme",
+ "description": "Specifies how the service is partitioned."
+ }
+ }
+ },
+ "NamedPartitionSchemeDescription": {
+ "description": "Describes the named partition scheme of the service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSchemeDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Named",
+ "required": [
+ "Count",
+ "Names"
+ ],
+ "properties": {
+ "Count": {
+ "type": "integer",
+ "description": "The number of partitions."
+ },
+ "Names": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Array of size specified by the ‘Count’ parameter, for the names of the partitions."
+ }
+ }
+ },
+ "SingletonPartitionSchemeDescription": {
+ "description": "Describes the partition scheme of a singleton-partitioned, or non-partitioned service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSchemeDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Singleton"
+ },
+ "UniformInt64RangePartitionSchemeDescription": {
+ "description": "Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionSchemeDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "UniformInt64Range",
+ "required": [
+ "Count",
+ "LowKey",
+ "HighKey"
+ ],
+ "properties": {
+ "Count": {
+ "type": "integer",
+ "description": "The number of partitions."
+ },
+ "LowKey": {
+ "type": "string",
+ "description": "String indicating the lower bound of the partition key range that\nshould be split between the partitions."
+ },
+ "HighKey": {
+ "type": "string",
+ "description": "String indicating the upper bound of the partition key range that\nshould be split between the partitions."
+ }
+ }
+ },
+ "ServiceDescription": {
+ "discriminator": "ServiceKind",
+ "description": "A ServiceDescription contains all of the information necessary to create a service.",
+ "required": [
+ "ServiceKind",
+ "ServiceName",
+ "ServiceTypeName",
+ "PartitionDescription"
+ ],
+ "properties": {
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The service kind."
+ },
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ },
+ "ServiceTypeName": {
+ "$ref": "#/definitions/ServiceTypeName",
+ "description": "Name of the service type as specified in the service manifest."
+ },
+ "InitializationData": {
+ "$ref": "#/definitions/ByteArray",
+ "description": "The initialization data as an array of bytes. Initialization data is passed to service instances or replicas when they are created."
+ },
+ "PartitionDescription": {
+ "$ref": "#/definitions/PartitionSchemeDescription",
+ "description": "The partition description as an object."
+ },
+ "PlacementConstraints": {
+ "type": "string",
+ "description": "The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\"."
+ },
+ "CorrelationScheme": {
+ "$ref": "#/definitions/CorrelationSchemeList",
+ "description": "The correlation scheme."
+ },
+ "ServiceLoadMetrics": {
+ "$ref": "#/definitions/ServiceLoadMetricsList",
+ "description": "The service load metrics."
+ },
+ "ServicePlacementPolicies": {
+ "$ref": "#/definitions/ServicePlacementPoliciesList",
+ "description": "The service placement policies."
+ },
+ "DefaultMoveCost": {
+ "$ref": "#/definitions/MoveCost",
+ "description": "The move cost for the service."
+ },
+ "IsDefaultMoveCostSpecified": {
+ "type": "boolean",
+ "description": "Indicates if the DefaultMoveCost property is specified."
+ },
+ "ServicePackageActivationMode": {
+ "$ref": "#/definitions/ServicePackageActivationMode",
+ "description": "The activation mode of service package to be used for a service."
+ },
+ "ServiceDnsName": {
+ "type": "string",
+ "description": "The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster."
+ },
+ "ScalingPolicies": {
+ "$ref": "#/definitions/ScalingPolicyDescriptionList",
+ "description": "Scaling policies for this service."
+ }
+ }
+ },
+ "StatefulServiceDescription": {
+ "description": "Describes a stateful service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateful",
+ "required": [
+ "TargetReplicaSetSize",
+ "MinReplicaSetSize",
+ "HasPersistedState"
+ ],
+ "properties": {
+ "TargetReplicaSetSize": {
+ "type": "integer",
+ "minimum": 1,
+ "description": "The target replica set size as a number."
+ },
+ "MinReplicaSetSize": {
+ "type": "integer",
+ "minimum": 1,
+ "description": "The minimum replica set size as a number."
+ },
+ "HasPersistedState": {
+ "type": "boolean",
+ "description": "A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false."
+ },
+ "Flags": {
+ "type": "integer",
+ "description": "Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.\nThis property can be a combination of those flags obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then the flags for QuorumLossWaitDuration (2) and StandByReplicaKeepDuration(4) are set.\n\n- None - Does not indicate any other properties are set. The value is zero.\n- ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 1.\n- QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 2.\n- StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 4.\n- ServicePlacementTimeLimit - Indicates the ServicePlacementTimeLimit property is set. The value is 8."
+ },
+ "ReplicaRestartWaitDurationSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "The duration, in seconds, between when a replica goes down and when a new replica is created."
+ },
+ "QuorumLossWaitDurationSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "The maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss."
+ },
+ "StandByReplicaKeepDurationSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "The definition on how long StandBy replicas should be maintained before being removed."
+ },
+ "ServicePlacementTimeLimitSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "The duration for which replicas can stay InBuild before reporting that build is stuck."
+ }
+ }
+ },
+ "StatelessServiceDescription": {
+ "description": "Describes a stateless service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateless",
+ "required": [
+ "InstanceCount"
+ ],
+ "properties": {
+ "InstanceCount": {
+ "type": "integer",
+ "minimum": -1,
+ "description": "The instance count."
+ },
+ "MinInstanceCount": {
+ "$ref": "#/definitions/MinInstanceCount",
+ "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node.\nThe actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).\nNote, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
+ },
+ "MinInstancePercentage": {
+ "$ref": "#/definitions/MinInstancePercentage",
+ "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node.\nThe actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).\nNote, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
+ },
+ "Flags": {
+ "type": "integer",
+ "description": "Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.\nThis property can be a combination of those flags obtained using bitwise 'OR' operator.\nFor example, if the provided value is 1 then the flags for InstanceCloseDelayDuration is set.\n\n- None - Does not indicate any other properties are set. The value is zero.\n- InstanceCloseDelayDuration - Indicates the InstanceCloseDelayDuration property is set. The value is 1."
+ },
+ "InstanceCloseDelayDurationSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade and disabling node.\nThe endpoint exposed on this instance is removed prior to starting the delay, which prevents new connections to this instance.\nIn addition, clients that have subscribed to service endpoint change events(https://docs.microsoft.com/en-us/dotnet/api/system.fabric.fabricclient.servicemanagementclient.registerservicenotificationfilterasync), can do\nthe following upon receiving the endpoint removal notification:\n - Stop sending new requests to this instance.\n - Close existing connections after in-flight requests have completed.\n - Connect to a different instance of the service partition for future requests.\nNote, the default value of InstanceCloseDelayDuration is 0, which indicates that there won't be any delay or removal of the endpoint prior to closing the instance."
+ }
+ }
+ },
+ "ReplicatorQueueStatus": {
+ "description": "Provides various statistics of the queue used in the service fabric replicator.\nContains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.\nDepending on the role of the replicator, the properties in this type imply different meanings.",
+ "properties": {
+ "QueueUtilizationPercentage": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Represents the utilization of the queue. A value of 0 indicates that the queue is empty and a value of 100 indicates the queue is full."
+ },
+ "QueueMemorySize": {
+ "type": "string",
+ "description": "Represents the virtual memory consumed by the queue in bytes."
+ },
+ "FirstSequenceNumber": {
+ "type": "string",
+ "description": "On a primary replicator, this is semantically the sequence number of the operation for which all the secondary replicas have sent an acknowledgement.\nOn a secondary replicator, this is the smallest sequence number of the operation that is present in the queue."
+ },
+ "CompletedSequenceNumber": {
+ "type": "string",
+ "description": "On a primary replicator, this is semantically the highest sequence number of the operation for which all the secondary replicas have sent an acknowledgement.\nOn a secondary replicator, this is semantically the highest sequence number that has been applied to the persistent state."
+ },
+ "CommittedSequenceNumber": {
+ "type": "string",
+ "description": "On a primary replicator, this is semantically the highest sequence number of the operation for which a write quorum of the secondary replicas have sent an acknowledgement.\nOn a secondary replicator, this is semantically the highest sequence number of the in-order operation received from the primary."
+ },
+ "LastSequenceNumber": {
+ "type": "string",
+ "description": "Represents the latest sequence number of the operation that is available in the queue."
+ }
+ }
+ },
+ "ReplicatorStatus": {
+ "discriminator": "Kind",
+ "description": "Represents a base class for primary or secondary replicator status.\nContains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.",
+ "required": [
+ "Kind"
+ ],
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/ReplicaRole",
+ "description": "The role of a replica of a stateful service."
+ }
+ }
+ },
+ "PrimaryReplicatorStatus": {
+ "x-ms-discriminator-value": "Primary",
+ "description": "Provides statistics about the Service Fabric Replicator, when it is functioning in a Primary role.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicatorStatus"
+ }
+ ],
+ "properties": {
+ "ReplicationQueueStatus": {
+ "$ref": "#/definitions/ReplicatorQueueStatus",
+ "description": "Details about the replication queue on the primary replicator."
+ },
+ "RemoteReplicators": {
+ "$ref": "#/definitions/RemoteReplicatorStatusList",
+ "description": "The status of all the active and idle secondary replicators that the primary is aware of."
+ }
+ }
+ },
+ "SecondaryReplicatorStatus": {
+ "description": "Provides statistics about the Service Fabric Replicator, when it is functioning in a ActiveSecondary role.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicatorStatus"
+ }
+ ],
+ "properties": {
+ "ReplicationQueueStatus": {
+ "$ref": "#/definitions/ReplicatorQueueStatus",
+ "description": "Details about the replication queue on the secondary replicator."
+ },
+ "LastReplicationOperationReceivedTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time-stamp (UTC) at which a replication operation was received from the primary.\nUTC 0 represents an invalid value, indicating that a replication operation message was never received."
+ },
+ "IsInBuild": {
+ "type": "boolean",
+ "description": "Value that indicates whether the replica is currently being built."
+ },
+ "CopyQueueStatus": {
+ "$ref": "#/definitions/ReplicatorQueueStatus",
+ "description": "Details about the copy queue on the secondary replicator."
+ },
+ "LastCopyOperationReceivedTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time-stamp (UTC) at which a copy operation was received from the primary.\nUTC 0 represents an invalid value, indicating that a copy operation message was never received."
+ },
+ "LastAcknowledgementSentTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time-stamp (UTC) at which an acknowledgment was sent to the primary replicator.\nUTC 0 represents an invalid value, indicating that an acknowledgment message was never sent."
+ }
+ }
+ },
+ "SecondaryActiveReplicatorStatus": {
+ "x-ms-discriminator-value": "ActiveSecondary",
+ "description": "Status of the secondary replicator when it is in active mode and is part of the replica set.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SecondaryReplicatorStatus"
+ }
+ ]
+ },
+ "SecondaryIdleReplicatorStatus": {
+ "x-ms-discriminator-value": "IdleSecondary",
+ "description": "Status of the secondary replicator when it is in idle mode and is being built by the primary.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SecondaryReplicatorStatus"
+ }
+ ]
+ },
+ "RemoteReplicatorStatus": {
+ "description": "Represents the state of the secondary replicator from the primary replicator’s point of view.",
+ "properties": {
+ "ReplicaId": {
+ "$ref": "#/definitions/ReplicaId",
+ "description": "Represents the replica ID of the remote secondary replicator."
+ },
+ "LastAcknowledgementProcessedTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last timestamp (in UTC) when an acknowledgement from the secondary replicator was processed on the primary.\nUTC 0 represents an invalid value, indicating that no acknowledgement messages were ever processed."
+ },
+ "LastReceivedReplicationSequenceNumber": {
+ "type": "string",
+ "description": "The highest replication operation sequence number that the secondary has received from the primary."
+ },
+ "LastAppliedReplicationSequenceNumber": {
+ "type": "string",
+ "description": "The highest replication operation sequence number that the secondary has applied to its state."
+ },
+ "IsInBuild": {
+ "type": "boolean",
+ "description": "A value that indicates whether the secondary replica is in the process of being built."
+ },
+ "LastReceivedCopySequenceNumber": {
+ "type": "string",
+ "description": "The highest copy operation sequence number that the secondary has received from the primary.\nA value of -1 implies that the secondary has received all copy operations."
+ },
+ "LastAppliedCopySequenceNumber": {
+ "type": "string",
+ "description": "The highest copy operation sequence number that the secondary has applied to its state.\nA value of -1 implies that the secondary has applied all copy operations and the copy process is complete."
+ },
+ "RemoteReplicatorAcknowledgementStatus": {
+ "$ref": "#/definitions/RemoteReplicatorAcknowledgementStatus",
+ "description": "Represents the acknowledgment status for the remote secondary replicator."
+ }
+ }
+ },
+ "RemoteReplicatorStatusList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RemoteReplicatorStatus"
+ },
+ "description": "List of remote replicator status"
+ },
+ "RemoteReplicatorAcknowledgementStatus": {
+ "description": "Provides details about the remote replicators from the primary replicator's point of view.",
+ "properties": {
+ "ReplicationStreamAcknowledgementDetail": {
+ "$ref": "#/definitions/RemoteReplicatorAcknowledgementDetail",
+ "description": "Details about the acknowledgements for operations that are part of the replication stream data."
+ },
+ "CopyStreamAcknowledgementDetail": {
+ "$ref": "#/definitions/RemoteReplicatorAcknowledgementDetail",
+ "description": "Details about the acknowledgements for operations that are part of the copy stream data."
+ }
+ }
+ },
+ "RemoteReplicatorAcknowledgementDetail": {
+ "description": "Provides various statistics of the acknowledgements that are being received from the remote replicator.",
+ "properties": {
+ "AverageReceiveDuration": {
+ "type": "string",
+ "description": "Represents the average duration it takes for the remote replicator to receive an operation."
+ },
+ "AverageApplyDuration": {
+ "type": "string",
+ "description": "Represents the average duration it takes for the remote replicator to apply an operation. This usually entails writing the operation to disk."
+ },
+ "NotReceivedCount": {
+ "type": "string",
+ "description": "Represents the number of operations not yet received by a remote replicator."
+ },
+ "ReceivedAndNotAppliedCount": {
+ "type": "string",
+ "description": "Represents the number of operations received and not yet applied by a remote replicator."
+ }
+ }
+ },
+ "DeployedServiceReplicaDetailInfo": {
+ "discriminator": "ServiceKind",
+ "description": "Information about a Service Fabric service replica deployed on a node.",
+ "required": [
+ "ServiceKind"
+ ],
+ "properties": {
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The kind of service (Stateless or Stateful)."
+ },
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "Full hierarchical name of the service in URI format starting with `fabric:`."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different."
+ },
+ "CurrentServiceOperation": {
+ "$ref": "#/definitions/ServiceOperationName",
+ "description": "Specifies the current active life-cycle operation on a stateful service replica or stateless service instance."
+ },
+ "CurrentServiceOperationStartTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The start time of the current service operation in UTC format."
+ },
+ "ReportedLoad": {
+ "$ref": "#/definitions/LoadMetricReportInfoList",
+ "description": "List of load reported by replica."
+ }
+ }
+ },
+ "DeployedStatefulServiceReplicaDetailInfo": {
+ "description": "Information about a stateful replica running in a code package. Note DeployedServiceReplicaQueryResult will contain duplicate data like ServiceKind, ServiceName, PartitionId and replicaId.",
+ "x-ms-discriminator-value": "Stateful",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeployedServiceReplicaDetailInfo"
+ }
+ ],
+ "properties": {
+ "ReplicaId": {
+ "$ref": "#/definitions/ReplicaId",
+ "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id."
+ },
+ "CurrentReplicatorOperation": {
+ "$ref": "#/definitions/ReplicatorOperationName",
+ "description": "Specifies the operation currently being executed by the Replicator."
+ },
+ "ReadStatus": {
+ "$ref": "#/definitions/PartitionAccessStatus",
+ "description": "Specifies the access status of the partition."
+ },
+ "WriteStatus": {
+ "$ref": "#/definitions/PartitionAccessStatus",
+ "description": "Specifies the access status of the partition."
+ },
+ "ReplicatorStatus": {
+ "$ref": "#/definitions/ReplicatorStatus",
+ "description": "Represents a base class for primary or secondary replicator status.\nContains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc."
+ },
+ "ReplicaStatus": {
+ "$ref": "#/definitions/KeyValueStoreReplicaStatus",
+ "description": "Key value store related information for the replica."
+ },
+ "DeployedServiceReplicaQueryResult": {
+ "$ref": "#/definitions/DeployedStatefulServiceReplicaInfo",
+ "description": "Information about a stateful service replica deployed on a node."
+ }
+ }
+ },
+ "DeployedStatelessServiceInstanceDetailInfo": {
+ "description": "Information about a stateless instance running in a code package. Note that DeployedServiceReplicaQueryResult will contain duplicate data like ServiceKind, ServiceName, PartitionId and InstanceId.",
+ "x-ms-discriminator-value": "Stateless",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeployedServiceReplicaDetailInfo"
+ }
+ ],
+ "properties": {
+ "InstanceId": {
+ "$ref": "#/definitions/InstanceId",
+ "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId."
+ },
+ "DeployedServiceReplicaQueryResult": {
+ "$ref": "#/definitions/DeployedStatelessServiceInstanceInfo",
+ "description": "Information about a stateless service instance deployed on a node."
+ }
+ }
+ },
+ "FabricReplicaStatus": {
+ "type": "string",
+ "description": "Specifies the status of the replica.",
+ "enum": [
+ "Invalid",
+ "Down",
+ "Up"
+ ],
+ "x-ms-enum": {
+ "name": "FabricReplicaStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the read or write operation access status is not valid. This value is not returned to the caller."
+ },
+ {
+ "value": "Down",
+ "description": "Indicates that the replica is down."
+ },
+ {
+ "value": "Up",
+ "description": "Indicates that the replica is up."
+ }
+ ]
+ }
+ },
+ "LoadMetricReportInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LoadMetricReportInfo"
+ },
+ "description": "List of load reported by replica."
+ },
+ "LoadMetricReportInfo": {
+ "description": "Information about load reported by replica.",
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "The name of the metric."
+ },
+ "Value": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The value of the load for the metric. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentValue."
+ },
+ "CurrentValue": {
+ "type": "string",
+ "format": "double",
+ "description": "The double value of the load for the metric."
+ },
+ "LastReportedUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC time when the load is reported."
+ }
+ }
+ },
+ "PartitionAccessStatus": {
+ "type": "string",
+ "description": "Specifies the access status of the partition.",
+ "enum": [
+ "Invalid",
+ "Granted",
+ "ReconfigurationPending",
+ "NotPrimary",
+ "NoWriteQuorum"
+ ],
+ "x-ms-enum": {
+ "name": "PartitionAccessStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the read or write operation access status is not valid. This value is not returned to the caller."
+ },
+ {
+ "value": "Granted",
+ "description": "Indicates that the read or write operation access is granted and the operation is allowed."
+ },
+ {
+ "value": "ReconfigurationPending",
+ "description": "Indicates that the client should try again later, because a reconfiguration is in progress."
+ },
+ {
+ "value": "NotPrimary",
+ "description": "Indicates that this client request was received by a replica that is not a Primary replica."
+ },
+ {
+ "value": "NoWriteQuorum",
+ "description": "Indicates that no write quorum is available and, therefore, no write operation can be accepted."
+ }
+ ]
+ }
+ },
+ "ReplicatorOperationName": {
+ "type": "string",
+ "description": "Specifies the operation currently being executed by the Replicator.",
+ "enum": [
+ "Invalid",
+ "None",
+ "Open",
+ "ChangeRole",
+ "UpdateEpoch",
+ "Close",
+ "Abort",
+ "OnDataLoss",
+ "WaitForCatchup",
+ "Build"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicatorOperationName",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Default value if the replicator is not yet ready."
+ },
+ {
+ "value": "None",
+ "description": "Replicator is not running any operation from Service Fabric perspective."
+ },
+ {
+ "value": "Open",
+ "description": "Replicator is opening."
+ },
+ {
+ "value": "ChangeRole",
+ "description": "Replicator is in the process of changing its role."
+ },
+ {
+ "value": "UpdateEpoch",
+ "description": "Due to a change in the replica set, replicator is being updated with its Epoch."
+ },
+ {
+ "value": "Close",
+ "description": "Replicator is closing."
+ },
+ {
+ "value": "Abort",
+ "description": "Replicator is being aborted."
+ },
+ {
+ "value": "OnDataLoss",
+ "description": "Replicator is handling the data loss condition, where the user service may potentially be recovering state from an external source."
+ },
+ {
+ "value": "WaitForCatchup",
+ "description": "Replicator is waiting for a quorum of replicas to be caught up to the latest state."
+ },
+ {
+ "value": "Build",
+ "description": "Replicator is in the process of building one or more replicas."
+ }
+ ]
+ }
+ },
+ "ServiceOperationName": {
+ "type": "string",
+ "description": "Specifies the current active life-cycle operation on a stateful service replica or stateless service instance.",
+ "enum": [
+ "Unknown",
+ "None",
+ "Open",
+ "ChangeRole",
+ "Close",
+ "Abort"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceOperationName",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Reserved for future use."
+ },
+ {
+ "value": "None",
+ "description": "The service replica or instance is not going through any life-cycle changes."
+ },
+ {
+ "value": "Open",
+ "description": "The service replica or instance is being opened."
+ },
+ {
+ "value": "ChangeRole",
+ "description": "The service replica is changing roles."
+ },
+ {
+ "value": "Close",
+ "description": "The service replica or instance is being closed."
+ },
+ {
+ "value": "Abort",
+ "description": "The service replica or instance is being aborted."
+ }
+ ]
+ }
+ },
+ "ReplicaKind": {
+ "type": "string",
+ "description": "The role of a replica of a stateful service.",
+ "enum": [
+ "Invalid",
+ "KeyValueStore"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicaKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Represents an invalid replica kind. The value is zero."
+ },
+ {
+ "value": "KeyValueStore",
+ "description": "Represents a key value store replica. The value is 1"
+ }
+ ]
+ }
+ },
+ "ReplicaStatusBase": {
+ "discriminator": "Kind",
+ "description": "Information about the replica.",
+ "required": [
+ "Kind"
+ ],
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/ReplicaKind",
+ "description": "The role of a replica of a stateful service."
+ }
+ }
+ },
+ "KeyValueStoreReplicaStatus": {
+ "description": "Key value store related information for the replica.",
+ "x-ms-discriminator-value": "KeyValueStore",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaStatusBase"
+ }
+ ],
+ "properties": {
+ "DatabaseRowCountEstimate": {
+ "type": "string",
+ "description": "Value indicating the estimated number of rows in the underlying database."
+ },
+ "DatabaseLogicalSizeEstimate": {
+ "type": "string",
+ "description": "Value indicating the estimated size of the underlying database."
+ },
+ "CopyNotificationCurrentKeyFilter": {
+ "type": "string",
+ "description": "Value indicating the latest key-prefix filter applied to enumeration during the callback. Null if there is no pending callback."
+ },
+ "CopyNotificationCurrentProgress": {
+ "type": "string",
+ "description": "Value indicating the latest number of keys enumerated during the callback. 0 if there is no pending callback."
+ },
+ "StatusDetails": {
+ "type": "string",
+ "description": "Value indicating the current status details of the replica."
+ }
+ }
+ },
+ "ServiceUpdateDescription": {
+ "discriminator": "ServiceKind",
+ "description": "A ServiceUpdateDescription contains all of the information necessary to update a service.",
+ "required": [
+ "ServiceKind"
+ ],
+ "properties": {
+ "ServiceKind": {
+ "$ref": "#/definitions/ServiceKind",
+ "description": "The service kind."
+ },
+ "Flags": {
+ "type": "string",
+ "description": "Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.\nThis property can be a combination of those flags obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then the flags for ReplicaRestartWaitDuration (2) and QuorumLossWaitDuration (4) are set.\n\n- None - Does not indicate any other properties are set. The value is zero.\n- TargetReplicaSetSize/InstanceCount - Indicates whether the TargetReplicaSetSize property (for Stateful services) or the InstanceCount property (for Stateless services) is set. The value is 1.\n- ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 2.\n- QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 4.\n- StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 8.\n- MinReplicaSetSize - Indicates the MinReplicaSetSize property is set. The value is 16.\n- PlacementConstraints - Indicates the PlacementConstraints property is set. The value is 32.\n- PlacementPolicyList - Indicates the ServicePlacementPolicies property is set. The value is 64.\n- Correlation - Indicates the CorrelationScheme property is set. The value is 128.\n- Metrics - Indicates the ServiceLoadMetrics property is set. The value is 256.\n- DefaultMoveCost - Indicates the DefaultMoveCost property is set. The value is 512.\n- ScalingPolicy - Indicates the ScalingPolicies property is set. The value is 1024.\n- ServicePlacementTimeLimit - Indicates the ServicePlacementTimeLimit property is set. The value is 2048.\n- MinInstanceCount - Indicates the MinInstanceCount property is set. The value is 4096.\n- MinInstancePercentage - Indicates the MinInstancePercentage property is set. The value is 8192.\n- InstanceCloseDelayDuration - Indicates the InstanceCloseDelayDuration property is set. The value is 16384."
+ },
+ "PlacementConstraints": {
+ "type": "string",
+ "description": "The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\"."
+ },
+ "CorrelationScheme": {
+ "$ref": "#/definitions/CorrelationSchemeList",
+ "description": "The correlation scheme."
+ },
+ "LoadMetrics": {
+ "$ref": "#/definitions/ServiceLoadMetricsList",
+ "description": "The service load metrics."
+ },
+ "ServicePlacementPolicies": {
+ "$ref": "#/definitions/ServicePlacementPoliciesList",
+ "description": "The service placement policies."
+ },
+ "DefaultMoveCost": {
+ "$ref": "#/definitions/MoveCost",
+ "description": "The move cost for the service."
+ },
+ "ScalingPolicies": {
+ "$ref": "#/definitions/ScalingPolicyDescriptionList",
+ "description": "Scaling policies for this service."
+ }
+ }
+ },
+ "StatefulServiceUpdateDescription": {
+ "description": "Describes an update for a stateful service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceUpdateDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateful",
+ "properties": {
+ "TargetReplicaSetSize": {
+ "type": "integer",
+ "minimum": 1,
+ "description": "The target replica set size as a number."
+ },
+ "MinReplicaSetSize": {
+ "type": "integer",
+ "minimum": 1,
+ "description": "The minimum replica set size as a number."
+ },
+ "ReplicaRestartWaitDurationSeconds": {
+ "type": "string",
+ "description": "The duration, in seconds, between when a replica goes down and when a new replica is created."
+ },
+ "QuorumLossWaitDurationSeconds": {
+ "type": "string",
+ "description": "The maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss."
+ },
+ "StandByReplicaKeepDurationSeconds": {
+ "type": "string",
+ "description": "The definition on how long StandBy replicas should be maintained before being removed."
+ },
+ "ServicePlacementTimeLimitSeconds": {
+ "type": "string",
+ "description": "The duration for which replicas can stay InBuild before reporting that build is stuck."
+ }
+ }
+ },
+ "StatelessServiceUpdateDescription": {
+ "description": "Describes an update for a stateless service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceUpdateDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Stateless",
+ "properties": {
+ "InstanceCount": {
+ "type": "integer",
+ "minimum": -1,
+ "description": "The instance count."
+ },
+ "MinInstanceCount": {
+ "$ref": "#/definitions/MinInstanceCount",
+ "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node.\nThe actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).\nNote, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
+ },
+ "MinInstancePercentage": {
+ "$ref": "#/definitions/MinInstancePercentage",
+ "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node.\nThe actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).\nNote, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
+ },
+ "InstanceCloseDelayDurationSeconds": {
+ "type": "string",
+ "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade and disabling node.\nThe endpoint exposed on this instance is removed prior to starting the delay, which prevents new connections to this instance.\nIn addition, clients that have subscribed to service endpoint change events(https://docs.microsoft.com/en-us/dotnet/api/system.fabric.fabricclient.servicemanagementclient.registerservicenotificationfilterasync), can do\nthe following upon receiving the endpoint removal notification:\n - Stop sending new requests to this instance.\n - Close existing connections after in-flight requests have completed.\n - Connect to a different instance of the service partition for future requests."
+ }
+ }
+ },
+ "ImageStoreRelativePath": {
+ "type": "string",
+ "description": "The remote location within image store. This path is relative to the image store root."
+ },
+ "FileVersion": {
+ "description": "Information about the version of image store file.",
+ "properties": {
+ "VersionNumber": {
+ "type": "string",
+ "description": "The current image store version number for the file is used in image store for checking whether it need to be updated."
+ },
+ "EpochDataLossNumber": {
+ "type": "string",
+ "description": "The epoch data loss number of image store replica when this file entry was updated or created."
+ },
+ "EpochConfigurationNumber": {
+ "type": "string",
+ "description": "The epoch configuration version number of the image store replica when this file entry was created or updated."
+ }
+ }
+ },
+ "DiskInfo": {
+ "description": "Information about the disk",
+ "properties": {
+ "Capacity": {
+ "type": "string",
+ "description": "the disk size in bytes"
+ },
+ "AvailableSpace": {
+ "type": "string",
+ "description": "the available disk space in bytes"
+ }
+ }
+ },
+ "FileInfo": {
+ "description": "Information about a image store file.",
+ "properties": {
+ "FileSize": {
+ "type": "string",
+ "description": "The size of file in bytes."
+ },
+ "FileVersion": {
+ "$ref": "#/definitions/FileVersion",
+ "description": "Information about the version of image store file."
+ },
+ "ModifiedDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date and time when the image store file was last modified."
+ },
+ "StoreRelativePath": {
+ "type": "string",
+ "description": "The file path relative to the image store root path."
+ }
+ }
+ },
+ "FolderInfo": {
+ "description": "Information about a image store folder. It includes how many files this folder contains and its image store relative path.",
+ "properties": {
+ "StoreRelativePath": {
+ "$ref": "#/definitions/ImageStoreRelativePath",
+ "description": "The remote location within image store. This path is relative to the image store root."
+ },
+ "FileCount": {
+ "type": "string",
+ "description": "The number of files from within the image store folder."
+ }
+ }
+ },
+ "FolderSizeInfo": {
+ "description": "Information of a image store folder size",
+ "properties": {
+ "StoreRelativePath": {
+ "$ref": "#/definitions/ImageStoreRelativePath",
+ "description": "The remote location within image store. This path is relative to the image store root."
+ },
+ "FolderSize": {
+ "type": "string",
+ "description": "The size of folder in bytes."
+ }
+ }
+ },
+ "UsageInfo": {
+ "description": "Information about how much space and how many files in the file system the ImageStore is using in this category",
+ "properties": {
+ "UsedSpace": {
+ "type": "string",
+ "description": "the size of all files in this category"
+ },
+ "FileCount": {
+ "type": "string",
+ "description": "the number of all files in this category"
+ }
+ }
+ },
+ "ImageStoreContent": {
+ "description": "Information about the image store content.",
+ "properties": {
+ "StoreFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FileInfo"
+ },
+ "description": "The list of image store file info objects represents files found under the given image store relative path."
+ },
+ "StoreFolders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FolderInfo"
+ },
+ "description": "The list of image store folder info objects represents subfolders found under the given image store relative path."
+ }
+ }
+ },
+ "ImageStoreCopyDescription": {
+ "description": "Information about how to copy image store content from one image store relative path to another image store relative path.",
+ "required": [
+ "RemoteSource",
+ "RemoteDestination"
+ ],
+ "properties": {
+ "RemoteSource": {
+ "type": "string",
+ "description": "The relative path of source image store content to be copied from."
+ },
+ "RemoteDestination": {
+ "type": "string",
+ "description": "The relative path of destination image store content to be copied to."
+ },
+ "SkipFiles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of the file names to be skipped for copying."
+ },
+ "CheckMarkFile": {
+ "type": "boolean",
+ "description": "Indicates whether to check mark file during copying. The property is true if checking mark file is required, false otherwise. The mark file is used to check whether the folder is well constructed. If the property is true and mark file does not exist, the copy is skipped."
+ }
+ }
+ },
+ "ImageStoreInfo": {
+ "description": "Information about the ImageStore's resource usage",
+ "properties": {
+ "DiskInfo": {
+ "$ref": "#/definitions/DiskInfo",
+ "description": "disk capacity and available disk space on the node where the ImageStore primary is placed."
+ },
+ "UsedByMetadata": {
+ "$ref": "#/definitions/UsageInfo",
+ "description": "the ImageStore's file system usage for metadata."
+ },
+ "UsedByStaging": {
+ "$ref": "#/definitions/UsageInfo",
+ "description": "The ImageStore's file system usage for staging files that are being uploaded."
+ },
+ "UsedByCopy": {
+ "$ref": "#/definitions/UsageInfo",
+ "description": "the ImageStore's file system usage for copied application and cluster packages. [Removing application and cluster packages](https://docs.microsoft.com/en-us/rest/api/servicefabric/sfclient-api-deleteimagestorecontent) will free up this space."
+ },
+ "UsedByRegister": {
+ "$ref": "#/definitions/UsageInfo",
+ "description": "the ImageStore's file system usage for registered and cluster packages. [Unregistering application](https://docs.microsoft.com/en-us/rest/api/servicefabric/sfclient-api-unprovisionapplicationtype) and [cluster packages](https://docs.microsoft.com/en-us/rest/api/servicefabric/sfclient-api-unprovisionapplicationtype) will free up this space."
+ }
+ }
+ },
+ "InstanceId": {
+ "type": "string",
+ "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId."
+ },
+ "CodePackageInstanceId": {
+ "type": "string",
+ "description": "The instance ID for current running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance id will change."
+ },
+ "HostIsolationMode": {
+ "type": "string",
+ "description": "Specifies the isolation mode of main entry point of a code package when it's host type is ContainerHost. This is specified as part of container host policies in application manifest while importing service manifest.",
+ "enum": [
+ "None",
+ "Process",
+ "HyperV"
+ ],
+ "x-ms-enum": {
+ "name": "HostIsolationMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "None",
+ "description": "Indicates the isolation mode is not applicable for given HostType. The value is 0."
+ },
+ {
+ "value": "Process",
+ "description": "This is the default isolation mode for a ContainerHost. The value is 1."
+ },
+ {
+ "value": "HyperV",
+ "description": "Indicates the ContainerHost is a Hyper-V container. This applies to only Windows containers. The value is 2."
+ }
+ ]
+ }
+ },
+ "HostType": {
+ "type": "string",
+ "description": "Specifies the type of host for main entry point of a code package as specified in service manifest.",
+ "enum": [
+ "Invalid",
+ "ExeHost",
+ "ContainerHost"
+ ],
+ "x-ms-enum": {
+ "name": "HostType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the type of host is not known or invalid. The value is 0."
+ },
+ {
+ "value": "ExeHost",
+ "description": "Indicates the host is an executable. The value is 1."
+ },
+ {
+ "value": "ContainerHost",
+ "description": "Indicates the host is a container. The value is 2."
+ }
+ ]
+ }
+ },
+ "RestartDeployedCodePackageDescription": {
+ "description": "Defines description for restarting a deployed code package on Service Fabric node.",
+ "required": [
+ "ServiceManifestName",
+ "CodePackageName",
+ "CodePackageInstanceId"
+ ],
+ "properties": {
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of service manifest that specified this code package."
+ },
+ "ServicePackageActivationId": {
+ "$ref": "#/definitions/ServicePackageActivationId",
+ "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string."
+ },
+ "CodePackageName": {
+ "$ref": "#/definitions/CodePackageName",
+ "description": "The name of the code package defined in the service manifest."
+ },
+ "CodePackageInstanceId": {
+ "$ref": "#/definitions/CodePackageInstanceId",
+ "description": "The instance ID for currently running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started.\nEach time entry point executable is run, its instance ID will change. If 0 is passed in as the code package instance ID, the API will restart the code package with whatever instance ID it is currently running.\nIf an instance ID other than 0 is passed in, the API will restart the code package only if the current Instance ID matches the passed in instance ID.\nNote, passing in the exact instance ID (not 0) in the API is safer, because if ensures at most one restart of the code package."
+ }
+ }
+ },
+ "DeployedServiceTypeInfo": {
+ "description": "Information about service type deployed on a node, information such as the status of the service type registration on a node.",
+ "properties": {
+ "ServiceTypeName": {
+ "$ref": "#/definitions/ServiceTypeName",
+ "description": "Name of the service type as specified in the service manifest."
+ },
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of the service manifest in which this service type is defined."
+ },
+ "CodePackageName": {
+ "$ref": "#/definitions/CodePackageName",
+ "description": "The name of the code package that registered the service type."
+ },
+ "Status": {
+ "$ref": "#/definitions/ServiceTypeRegistrationStatus",
+ "description": "The status of the service type registration on the node."
+ },
+ "ServicePackageActivationId": {
+ "$ref": "#/definitions/ServicePackageActivationId",
+ "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string."
+ }
+ }
+ },
+ "DeployedServiceTypeInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeployedServiceTypeInfo"
+ },
+ "description": "List of information about service type deployed on a node."
+ },
+ "ServiceTypeRegistrationStatus": {
+ "type": "string",
+ "description": "The status of the service type registration on the node.",
+ "enum": [
+ "Invalid",
+ "Disabled",
+ "Enabled",
+ "Registered"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceTypeRegistrationStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the registration status is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Disabled",
+ "description": "Indicates that the service type is disabled on this node. A type gets disabled when there are too many failures of the code package hosting the service type. If the service type is disabled, new replicas of that service type will not be placed on the node until it is enabled again. The service type is enabled again after the process hosting it comes up and re-registers the type or a preconfigured time interval has passed. The value is 1."
+ },
+ {
+ "value": "Enabled",
+ "description": "Indicates that the service type is enabled on this node. Replicas of this service type can be placed on this node when the code package registers the service type. The value is 2."
+ },
+ {
+ "value": "Registered",
+ "description": "Indicates that the service type is enabled and registered on the node by a code package. Replicas of this service type can now be placed on this node. The value is 3."
+ }
+ ]
+ }
+ },
+ "ServiceEndpointRole": {
+ "type": "string",
+ "description": "The role of the replica where the endpoint is reported.",
+ "enum": [
+ "Invalid",
+ "Stateless",
+ "StatefulPrimary",
+ "StatefulSecondary"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceEndpointRole",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the service endpoint role is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Stateless",
+ "description": "Indicates that the service endpoint is of a stateless service. The value is 1."
+ },
+ {
+ "value": "StatefulPrimary",
+ "description": "Indicates that the service endpoint is of a primary replica of a stateful service. The value is 2."
+ },
+ {
+ "value": "StatefulSecondary",
+ "description": "Indicates that the service endpoint is of a secondary replica of a stateful service. The value is 3."
+ }
+ ]
+ }
+ },
+ "ResolvedServiceEndpoint": {
+ "description": "Endpoint of a resolved service partition.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/ServiceEndpointRole",
+ "description": "The role of the replica where the endpoint is reported."
+ },
+ "Address": {
+ "type": "string",
+ "description": "The address of the endpoint. If the endpoint has multiple listeners the address is a JSON object with one property per listener with the value as the address of that listener."
+ }
+ }
+ },
+ "ResolvedServicePartition": {
+ "description": "Information about a service partition and its associated endpoints.",
+ "required": [
+ "Name",
+ "PartitionInformation",
+ "Endpoints",
+ "Version"
+ ],
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ },
+ "PartitionInformation": {
+ "$ref": "#/definitions/PartitionInformation",
+ "description": "A representation of the resolved partition."
+ },
+ "Endpoints": {
+ "$ref": "#/definitions/ResolvedServiceEndpointList",
+ "description": "List of resolved service endpoints of a service partition."
+ },
+ "Version": {
+ "type": "string",
+ "description": "The version of this resolved service partition result. This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter."
+ }
+ }
+ },
+ "ResolvedServiceEndpointList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResolvedServiceEndpoint"
+ },
+ "description": "List of resolved service endpoints of a service partition."
+ },
+ "InvokeDataLossResult": {
+ "description": "Represents information about an operation in a terminal state (Completed or Faulted).",
+ "properties": {
+ "ErrorCode": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason."
+ },
+ "SelectedPartition": {
+ "$ref": "#/definitions/SelectedPartition",
+ "description": "This class returns information about the partition that the user-induced operation acted upon."
+ }
+ }
+ },
+ "InvokeQuorumLossResult": {
+ "description": "Represents information about an operation in a terminal state (Completed or Faulted).",
+ "properties": {
+ "ErrorCode": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason."
+ },
+ "SelectedPartition": {
+ "$ref": "#/definitions/SelectedPartition",
+ "description": "This class returns information about the partition that the user-induced operation acted upon."
+ }
+ }
+ },
+ "NodeResult": {
+ "description": "Contains information about a node that was targeted by a user-induced operation.",
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "NodeInstanceId": {
+ "type": "string",
+ "description": "The node instance id."
+ }
+ }
+ },
+ "NodeTransitionProgress": {
+ "description": "Information about an NodeTransition operation. This class contains an OperationState and a NodeTransitionResult. The NodeTransitionResult is not valid until OperationState\nis Completed or Faulted.",
+ "properties": {
+ "State": {
+ "$ref": "#/definitions/OperationState",
+ "description": "The state of the operation."
+ },
+ "NodeTransitionResult": {
+ "$ref": "#/definitions/NodeTransitionResult",
+ "description": "Represents information about an operation in a terminal state (Completed or Faulted)."
+ }
+ }
+ },
+ "NodeTransitionResult": {
+ "description": "Represents information about an operation in a terminal state (Completed or Faulted).",
+ "properties": {
+ "ErrorCode": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason."
+ },
+ "NodeResult": {
+ "$ref": "#/definitions/NodeResult",
+ "description": "Contains information about a node that was targeted by a user-induced operation."
+ }
+ }
+ },
+ "OperationId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "A GUID that identifies a call to this API. This is also passed into the corresponding GetProgress API."
+ },
+ "OperationState": {
+ "type": "string",
+ "description": "The state of the operation.",
+ "enum": [
+ "Invalid",
+ "Running",
+ "RollingBack",
+ "Completed",
+ "Faulted",
+ "Cancelled",
+ "ForceCancelled"
+ ],
+ "x-ms-enum": {
+ "name": "OperationState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "The operation state is invalid."
+ },
+ {
+ "value": "Running",
+ "description": "The operation is in progress."
+ },
+ {
+ "value": "RollingBack",
+ "description": "The operation is rolling back internal system state because it encountered a fatal error or was cancelled by the user. \"RollingBack\" does not refer to user state. For example, if CancelOperation is called on a command of type PartitionDataLoss, state of \"RollingBack\" does not mean service data is being restored (assuming the command has progressed far enough to cause data loss). It means the system is rolling back/cleaning up internal system state associated with the command."
+ },
+ {
+ "value": "Completed",
+ "description": "The operation has completed successfully and is no longer running."
+ },
+ {
+ "value": "Faulted",
+ "description": "The operation has failed and is no longer running."
+ },
+ {
+ "value": "Cancelled",
+ "description": "The operation was cancelled by the user using CancelOperation, and is no longer running."
+ },
+ {
+ "value": "ForceCancelled",
+ "description": "The operation was cancelled by the user using CancelOperation, with the force parameter set to true. It is no longer running. Refer to CancelOperation for more details."
+ }
+ ]
+ }
+ },
+ "OperationStatus": {
+ "description": "Contains the OperationId, OperationState, and OperationType for user-induced operations.",
+ "properties": {
+ "OperationId": {
+ "$ref": "#/definitions/OperationId",
+ "description": "A GUID that identifies a call to this API. This is also passed into the corresponding GetProgress API."
+ },
+ "State": {
+ "$ref": "#/definitions/OperationState",
+ "description": "The state of the operation."
+ },
+ "Type": {
+ "$ref": "#/definitions/OperationType",
+ "description": "The type of the operation."
+ }
+ }
+ },
+ "OperationStatusList": {
+ "type": "array",
+ "description": "A list of OperationStatus objects.",
+ "items": {
+ "$ref": "#/definitions/OperationStatus"
+ }
+ },
+ "OperationType": {
+ "type": "string",
+ "description": "The type of the operation.",
+ "enum": [
+ "Invalid",
+ "PartitionDataLoss",
+ "PartitionQuorumLoss",
+ "PartitionRestart",
+ "NodeTransition"
+ ],
+ "x-ms-enum": {
+ "name": "OperationType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "The operation state is invalid."
+ },
+ {
+ "value": "PartitionDataLoss",
+ "description": "An operation started using the StartDataLoss API."
+ },
+ {
+ "value": "PartitionQuorumLoss",
+ "description": "An operation started using the StartQuorumLoss API."
+ },
+ {
+ "value": "PartitionRestart",
+ "description": "An operation started using the StartPartitionRestart API."
+ },
+ {
+ "value": "NodeTransition",
+ "description": "An operation started using the StartNodeTransition API."
+ }
+ ]
+ }
+ },
+ "PartitionDataLossProgress": {
+ "description": "Information about a partition data loss user-induced operation.",
+ "properties": {
+ "State": {
+ "$ref": "#/definitions/OperationState",
+ "description": "The state of the operation."
+ },
+ "InvokeDataLossResult": {
+ "$ref": "#/definitions/InvokeDataLossResult",
+ "description": "Represents information about an operation in a terminal state (Completed or Faulted)."
+ }
+ }
+ },
+ "PartitionQuorumLossProgress": {
+ "description": "Information about a partition quorum loss user-induced operation.",
+ "properties": {
+ "State": {
+ "$ref": "#/definitions/OperationState",
+ "description": "The state of the operation."
+ },
+ "InvokeQuorumLossResult": {
+ "$ref": "#/definitions/InvokeQuorumLossResult",
+ "description": "Represents information about an operation in a terminal state (Completed or Faulted)."
+ }
+ }
+ },
+ "PartitionRestartProgress": {
+ "description": "Information about a partition restart user-induced operation.",
+ "properties": {
+ "State": {
+ "$ref": "#/definitions/OperationState",
+ "description": "The state of the operation."
+ },
+ "RestartPartitionResult": {
+ "$ref": "#/definitions/RestartPartitionResult",
+ "description": "Represents information about an operation in a terminal state (Completed or Faulted)."
+ }
+ }
+ },
+ "RestartPartitionResult": {
+ "description": "Represents information about an operation in a terminal state (Completed or Faulted).",
+ "properties": {
+ "ErrorCode": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason."
+ },
+ "SelectedPartition": {
+ "$ref": "#/definitions/SelectedPartition",
+ "description": "This class returns information about the partition that the user-induced operation acted upon."
+ }
+ }
+ },
+ "SelectedPartition": {
+ "description": "This class returns information about the partition that the user-induced operation acted upon.",
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The name of the service the partition belongs to."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different."
+ }
+ }
+ },
+ "DeployServicePackageToNodeDescription": {
+ "description": "Defines description for downloading packages associated with a service manifest to image cache on a Service Fabric node.",
+ "properties": {
+ "ServiceManifestName": {
+ "$ref": "#/definitions/ServiceManifestName",
+ "description": "The name of service manifest whose packages need to be downloaded."
+ },
+ "ApplicationTypeName": {
+ "$ref": "#/definitions/ApplicationTypeName",
+ "description": "The application type name as defined in the application manifest."
+ },
+ "ApplicationTypeVersion": {
+ "$ref": "#/definitions/ApplicationTypeVersion",
+ "description": "The version of the application type as defined in the application manifest."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "PackageSharingPolicy": {
+ "$ref": "#/definitions/PackageSharingPolicyInfoList",
+ "description": "List of package sharing policy information."
+ }
+ },
+ "required": [
+ "ServiceManifestName",
+ "ApplicationTypeName",
+ "ApplicationTypeVersion",
+ "NodeName"
+ ]
+ },
+ "PackageSharingPolicyInfo": {
+ "description": "Represents a policy for the package sharing.",
+ "properties": {
+ "SharedPackageName": {
+ "type": "string",
+ "description": "The name of code, configuration or data package that should be shared."
+ },
+ "PackageSharingScope": {
+ "$ref": "#/definitions/PackageSharingPolicyScope",
+ "description": "Represents the scope for PackageSharingPolicy. This is specified during DeployServicePackageToNode operation."
+ }
+ }
+ },
+ "PackageSharingPolicyInfoList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PackageSharingPolicyInfo"
+ },
+ "description": "List of package sharing policy information."
+ },
+ "PackageSharingPolicyScope": {
+ "type": "string",
+ "description": "Represents the scope for PackageSharingPolicy. This is specified during DeployServicePackageToNode operation.",
+ "enum": [
+ "None",
+ "All",
+ "Code",
+ "Config",
+ "Data"
+ ],
+ "x-ms-enum": {
+ "name": "PackageSharingPolicyScope",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "None",
+ "description": "No package sharing policy scope. The value is 0."
+ },
+ {
+ "value": "All",
+ "description": "Share all code, config and data packages from corresponding service manifest. The value is 1."
+ },
+ {
+ "value": "Code",
+ "description": "Share all code packages from corresponding service manifest. The value is 2."
+ },
+ {
+ "value": "Config",
+ "description": "Share all config packages from corresponding service manifest. The value is 3."
+ },
+ {
+ "value": "Data",
+ "description": "Share all data packages from corresponding service manifest. The value is 4."
+ }
+ ]
+ }
+ },
+ "ResumeApplicationUpgradeDescription": {
+ "description": "Describes the parameters for resuming an unmonitored manual Service Fabric application upgrade",
+ "properties": {
+ "UpgradeDomainName": {
+ "type": "string",
+ "description": "The name of the upgrade domain in which to resume the upgrade."
+ }
+ },
+ "required": [
+ "UpgradeDomainName"
+ ]
+ },
+ "ApplicationUpgradeUpdateDescription": {
+ "description": "Describes the parameters for updating an ongoing application upgrade.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ },
+ "UpgradeKind": {
+ "$ref": "#/definitions/UpgradeKind",
+ "description": "The kind of upgrade out of the following possible values."
+ },
+ "ApplicationHealthPolicy": {
+ "$ref": "#/definitions/ApplicationHealthPolicy",
+ "description": "Defines a health policy used to evaluate the health of an application or one of its children entities."
+ },
+ "UpdateDescription": {
+ "$ref": "#/definitions/RollingUpgradeUpdateDescription",
+ "description": "Describes the parameters for updating a rolling upgrade of application or cluster."
+ }
+ },
+ "required": [
+ "Name",
+ "UpgradeKind"
+ ]
+ },
+ "RollingUpgradeUpdateDescription": {
+ "description": "Describes the parameters for updating a rolling upgrade of application or cluster.",
+ "properties": {
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/UpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "ForceRestart": {
+ "$ref": "#/definitions/ForceRestart",
+ "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)."
+ },
+ "ReplicaSetCheckTimeoutInMilliseconds": {
+ "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout",
+ "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)."
+ },
+ "FailureAction": {
+ "$ref": "#/definitions/FailureAction",
+ "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations.\nInvalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically.\nManual indicates that the upgrade will switch to UnmonitoredManual upgrade mode."
+ },
+ "HealthCheckWaitDurationInMilliseconds": {
+ "$ref": "#/definitions/HealthCheckWaitDuration",
+ "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "HealthCheckStableDurationInMilliseconds": {
+ "$ref": "#/definitions/HealthCheckStableDuration",
+ "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "HealthCheckRetryTimeoutInMilliseconds": {
+ "$ref": "#/definitions/HealthCheckRetryTimeout",
+ "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "UpgradeTimeoutInMilliseconds": {
+ "$ref": "#/definitions/UpgradeTimeout",
+ "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "UpgradeDomainTimeoutInMilliseconds": {
+ "$ref": "#/definitions/UpgradeDomainTimeout",
+ "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
+ },
+ "InstanceCloseDelayDurationInSeconds": {
+ "$ref": "#/definitions/InstanceCloseDelayDurationInSeconds",
+ "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster\nupgrade, only for those instances which have a non-zero delay duration configured in the service description. See InstanceCloseDelayDurationSeconds property in $ref: \"#/definitions/StatelessServiceDescription.yaml\" for details.\nNote, the default value of InstanceCloseDelayDurationInSeconds is 4294967295, which indicates that the behavior will entirely depend on the delay configured in the stateless service description."
+ }
+ },
+ "required": [
+ "RollingUpgradeMode"
+ ]
+ },
+ "NameDescription": {
+ "description": "Describes a Service Fabric name.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/FabricName",
+ "description": "The Service Fabric name, including the 'fabric:' URI scheme."
+ }
+ },
+ "required": [
+ "Name"
+ ]
+ },
+ "FabricName": {
+ "type": "string",
+ "description": "The Service Fabric name, including the 'fabric:' URI scheme."
+ },
+ "PagedSubNameInfoList": {
+ "description": "A paged list of Service Fabric names. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "IsConsistent": {
+ "type": "boolean",
+ "description": "Indicates whether any name under the given name has been modified during the enumeration. If there was a modification, this property value is false."
+ },
+ "SubNames": {
+ "type": "array",
+ "description": "List of the child names.",
+ "items": {
+ "$ref": "#/definitions/FabricName"
+ }
+ }
+ }
+ },
+ "PropertyValueKind": {
+ "type": "string",
+ "description": "The kind of property, determined by the type of data. Following are the possible values.",
+ "enum": [
+ "Invalid",
+ "Binary",
+ "Int64",
+ "Double",
+ "String",
+ "Guid"
+ ],
+ "x-ms-enum": {
+ "name": "PropertyValueKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the property is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Binary",
+ "description": "The data inside the property is a binary blob. The value is 1."
+ },
+ {
+ "value": "Int64",
+ "description": "The data inside the property is an int64. The value is 2."
+ },
+ {
+ "value": "Double",
+ "description": "The data inside the property is a double. The value is 3."
+ },
+ {
+ "value": "String",
+ "description": "The data inside the property is a string. The value is 4."
+ },
+ {
+ "value": "Guid",
+ "description": "The data inside the property is a guid. The value is 5."
+ }
+ ]
+ }
+ },
+ "PropertyValue": {
+ "discriminator": "Kind",
+ "description": "Describes a Service Fabric property value.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/PropertyValueKind",
+ "description": "The kind of property, determined by the type of data. Following are the possible values."
+ }
+ },
+ "required": [
+ "Kind"
+ ]
+ },
+ "BinaryPropertyValue": {
+ "description": "Describes a Service Fabric property value of type Binary.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyValue"
+ }
+ ],
+ "x-ms-discriminator-value": "Binary",
+ "required": [
+ "Data"
+ ],
+ "properties": {
+ "Data": {
+ "$ref": "#/definitions/ByteArray",
+ "description": "Array of bytes to be sent as an integer array. Each element of array is a number between 0 and 255."
+ }
+ }
+ },
+ "Int64PropertyValue": {
+ "description": "Describes a Service Fabric property value of type Int64.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyValue"
+ }
+ ],
+ "x-ms-discriminator-value": "Int64",
+ "required": [
+ "Data"
+ ],
+ "properties": {
+ "Data": {
+ "type": "string",
+ "description": "The data of the property value."
+ }
+ }
+ },
+ "DoublePropertyValue": {
+ "description": "Describes a Service Fabric property value of type Double.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyValue"
+ }
+ ],
+ "x-ms-discriminator-value": "Double",
+ "required": [
+ "Data"
+ ],
+ "properties": {
+ "Data": {
+ "type": "number",
+ "format": "double",
+ "description": "The data of the property value."
+ }
+ }
+ },
+ "StringPropertyValue": {
+ "description": "Describes a Service Fabric property value of type String.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyValue"
+ }
+ ],
+ "x-ms-discriminator-value": "String",
+ "required": [
+ "Data"
+ ],
+ "properties": {
+ "Data": {
+ "type": "string",
+ "description": "The data of the property value."
+ }
+ }
+ },
+ "GuidPropertyValue": {
+ "description": "Describes a Service Fabric property value of type Guid.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyValue"
+ }
+ ],
+ "x-ms-discriminator-value": "Guid",
+ "required": [
+ "Data"
+ ],
+ "properties": {
+ "Data": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The data of the property value."
+ }
+ }
+ },
+ "PropertyInfo": {
+ "description": "Information about a Service Fabric property.",
+ "properties": {
+ "Name": {
+ "$ref": "#/definitions/PropertyName",
+ "description": "The name of the Service Fabric property."
+ },
+ "Value": {
+ "$ref": "#/definitions/PropertyValue",
+ "description": "Describes a Service Fabric property value."
+ },
+ "Metadata": {
+ "$ref": "#/definitions/PropertyMetadata",
+ "description": "The metadata associated with a property, including the property's name."
+ }
+ },
+ "required": [
+ "Name",
+ "Metadata"
+ ]
+ },
+ "PagedPropertyInfoList": {
+ "description": "The paged list of Service Fabric properties under a given name. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "IsConsistent": {
+ "type": "boolean",
+ "description": "Indicates whether any property under the given name has been modified during the enumeration. If there was a modification, this property value is false."
+ },
+ "Properties": {
+ "type": "array",
+ "description": "List of property information.",
+ "items": {
+ "$ref": "#/definitions/PropertyInfo"
+ }
+ }
+ }
+ },
+ "PropertyDescription": {
+ "description": "Description of a Service Fabric property.",
+ "properties": {
+ "PropertyName": {
+ "$ref": "#/definitions/PropertyName",
+ "description": "The name of the Service Fabric property."
+ },
+ "CustomTypeId": {
+ "$ref": "#/definitions/PropertyCustomTypeId",
+ "description": "The property's custom type ID. Using this property, the user is able to tag the type of the value of the property."
+ },
+ "Value": {
+ "$ref": "#/definitions/PropertyValue",
+ "description": "Describes a Service Fabric property value."
+ }
+ },
+ "required": [
+ "PropertyName",
+ "Value"
+ ]
+ },
+ "PropertyName": {
+ "type": "string",
+ "description": "The name of the Service Fabric property."
+ },
+ "PropertyMetadata": {
+ "description": "The metadata associated with a property, including the property's name.",
+ "properties": {
+ "TypeId": {
+ "$ref": "#/definitions/PropertyValueKind",
+ "description": "The kind of property, determined by the type of data. Following are the possible values."
+ },
+ "CustomTypeId": {
+ "$ref": "#/definitions/PropertyCustomTypeId",
+ "description": "The property's custom type ID."
+ },
+ "Parent": {
+ "$ref": "#/definitions/FabricName",
+ "description": "The name of the parent Service Fabric Name for the property. It could be thought of as the name-space/table under which the property exists."
+ },
+ "SizeInBytes": {
+ "type": "integer",
+ "description": "The length of the serialized property value."
+ },
+ "LastModifiedUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Represents when the Property was last modified. Only write operations will cause this field to be updated."
+ },
+ "SequenceNumber": {
+ "type": "string",
+ "description": "The version of the property. Every time a property is modified, its sequence number is increased."
+ }
+ }
+ },
+ "PropertyCustomTypeId": {
+ "type": "string",
+ "description": "The property's custom type ID. Using this property, the user is able to tag the type of the value of the property."
+ },
+ "PropertyBatchDescriptionList": {
+ "description": "Describes a list of property batch operations to be executed. Either all or none of the operations will be committed.",
+ "properties": {
+ "Operations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PropertyBatchOperation"
+ },
+ "description": "A list of the property batch operations to be executed."
+ }
+ }
+ },
+ "PropertyBatchOperationKind": {
+ "type": "string",
+ "description": "The kind of property batch operation, determined by the operation to be performed. The following are the possible values.",
+ "enum": [
+ "Invalid",
+ "Put",
+ "Get",
+ "CheckExists",
+ "CheckSequence",
+ "Delete",
+ "CheckValue"
+ ],
+ "x-ms-enum": {
+ "name": "PropertyBatchOperationKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the property operation is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Put",
+ "description": "The operation will create or edit a property. The value is 1."
+ },
+ {
+ "value": "Get",
+ "description": "The operation will get a property. The value is 2."
+ },
+ {
+ "value": "CheckExists",
+ "description": "The operation will check that a property exists or doesn't exists, depending on the provided value. The value is 3."
+ },
+ {
+ "value": "CheckSequence",
+ "description": "The operation will ensure that the sequence number is equal to the provided value. The value is 4."
+ },
+ {
+ "value": "Delete",
+ "description": "The operation will delete a property. The value is 5."
+ },
+ {
+ "value": "CheckValue",
+ "description": "The operation will ensure that the value of a property is equal to the provided value. The value is 7."
+ }
+ ]
+ }
+ },
+ "PropertyBatchOperation": {
+ "discriminator": "Kind",
+ "description": "Represents the base type for property operations that can be put into a batch and submitted.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/PropertyBatchOperationKind",
+ "description": "The kind of property batch operation, determined by the operation to be performed. The following are the possible values."
+ },
+ "PropertyName": {
+ "$ref": "#/definitions/PropertyName",
+ "description": "The name of the Service Fabric property."
+ }
+ },
+ "required": [
+ "Kind",
+ "PropertyName"
+ ]
+ },
+ "CheckExistsPropertyBatchOperation": {
+ "description": "Represents a PropertyBatchOperation that compares the Boolean existence of a property with the Exists argument.\nThe PropertyBatchOperation operation fails if the property's existence is not equal to the Exists argument.\nThe CheckExistsPropertyBatchOperation is generally used as a precondition for the write operations in the batch.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyBatchOperation"
+ }
+ ],
+ "x-ms-discriminator-value": "CheckExists",
+ "properties": {
+ "Exists": {
+ "type": "boolean",
+ "description": "Whether or not the property should exist for the operation to pass."
+ }
+ },
+ "required": [
+ "Exists"
+ ]
+ },
+ "CheckSequencePropertyBatchOperation": {
+ "description": "Compares the Sequence Number of a property with the SequenceNumber argument.\nA property's sequence number can be thought of as that property's version.\nEvery time the property is modified, its sequence number is increased.\nThe sequence number can be found in a property's metadata.\nThe comparison fails if the sequence numbers are not equal.\nCheckSequencePropertyBatchOperation is generally used as a precondition for the write operations in the batch.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyBatchOperation"
+ }
+ ],
+ "x-ms-discriminator-value": "CheckSequence",
+ "properties": {
+ "SequenceNumber": {
+ "type": "string",
+ "description": "The expected sequence number."
+ }
+ },
+ "required": [
+ "SequenceNumber"
+ ]
+ },
+ "CheckValuePropertyBatchOperation": {
+ "description": "Represents a PropertyBatchOperation that compares the value of the property with the expected value.\nThe CheckValuePropertyBatchOperation is generally used as a precondition for the write operations in the batch.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyBatchOperation"
+ }
+ ],
+ "x-ms-discriminator-value": "CheckValue",
+ "properties": {
+ "Value": {
+ "$ref": "#/definitions/PropertyValue",
+ "description": "The expected property value."
+ }
+ },
+ "required": [
+ "Value"
+ ]
+ },
+ "DeletePropertyBatchOperation": {
+ "description": "Represents a PropertyBatchOperation that deletes a specified property if it exists.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyBatchOperation"
+ }
+ ],
+ "x-ms-discriminator-value": "Delete"
+ },
+ "GetPropertyBatchOperation": {
+ "description": "Represents a PropertyBatchOperation that gets the specified property if it exists.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyBatchOperation"
+ }
+ ],
+ "x-ms-discriminator-value": "Get",
+ "properties": {
+ "IncludeValue": {
+ "type": "boolean",
+ "default": false,
+ "description": "Whether or not to return the property value with the metadata.\nTrue if values should be returned with the metadata; False to return only property metadata."
+ }
+ }
+ },
+ "PutPropertyBatchOperation": {
+ "description": "Puts the specified property under the specified name.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyBatchOperation"
+ }
+ ],
+ "x-ms-discriminator-value": "Put",
+ "properties": {
+ "Value": {
+ "$ref": "#/definitions/PropertyValue",
+ "description": "Describes a Service Fabric property value."
+ },
+ "CustomTypeId": {
+ "$ref": "#/definitions/PropertyCustomTypeId",
+ "description": "The property's custom type ID. Using this property, the user is able to tag the type of the value of the property."
+ }
+ },
+ "required": [
+ "Value"
+ ]
+ },
+ "PropertyBatchInfoKind": {
+ "type": "string",
+ "description": "The kind of property batch info, determined by the results of a property batch. The following are the possible values.",
+ "enum": [
+ "Invalid",
+ "Successful",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "PropertyBatchInfoKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the property batch info is invalid. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Successful",
+ "description": "The property batch succeeded."
+ },
+ {
+ "value": "Failed",
+ "description": "The property batch failed."
+ }
+ ]
+ }
+ },
+ "PropertyBatchInfo": {
+ "discriminator": "Kind",
+ "description": "Information about the results of a property batch.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/PropertyBatchInfoKind",
+ "description": "The kind of property batch info, determined by the results of a property batch. The following are the possible values."
+ }
+ },
+ "required": [
+ "Kind"
+ ]
+ },
+ "SuccessfulPropertyBatchInfo": {
+ "description": "Derived from PropertyBatchInfo. Represents the property batch succeeding. Contains the results of any \"Get\" operations in the batch.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyBatchInfo"
+ }
+ ],
+ "x-ms-discriminator-value": "Successful",
+ "properties": {
+ "Properties": {
+ "additionalProperties": {
+ "$ref": "#/definitions/PropertyInfo"
+ },
+ "description": "A map containing the properties that were requested through any \"Get\" property batch operations. The key represents the index of the \"Get\" operation in the original request, in string form. The value is the property. If a property is not found, it will not be in the map."
+ }
+ }
+ },
+ "FailedPropertyBatchInfo": {
+ "description": "Derived from PropertyBatchInfo. Represents the property batch failing. Contains information about the specific batch failure.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PropertyBatchInfo"
+ }
+ ],
+ "x-ms-discriminator-value": "Failed",
+ "properties": {
+ "ErrorMessage": {
+ "type": "string",
+ "description": "The error message of the failed operation. Describes the exception thrown due to the first unsuccessful operation in the property batch."
+ },
+ "OperationIndex": {
+ "type": "integer",
+ "description": "The index of the unsuccessful operation in the property batch."
+ }
+ }
+ },
+ "EntityKind": {
+ "type": "string",
+ "description": "The entity type of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc.",
+ "enum": [
+ "Invalid",
+ "Node",
+ "Partition",
+ "Service",
+ "Application",
+ "Replica",
+ "DeployedApplication",
+ "DeployedServicePackage",
+ "Cluster"
+ ],
+ "x-ms-enum": {
+ "name": "EntityKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid entity kind. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "Node",
+ "description": "Indicates the entity is a Service Fabric node. The value is 1."
+ },
+ {
+ "value": "Partition",
+ "description": "Indicates the entity is a Service Fabric partition. The value is 2."
+ },
+ {
+ "value": "Service",
+ "description": "Indicates the entity is a Service Fabric service. The value is 3."
+ },
+ {
+ "value": "Application",
+ "description": "Indicates the entity is a Service Fabric application. The value is 4."
+ },
+ {
+ "value": "Replica",
+ "description": "Indicates the entity is a Service Fabric replica. The value is 5."
+ },
+ {
+ "value": "DeployedApplication",
+ "description": "Indicates the entity is a Service Fabric deployed application. The value is 6."
+ },
+ {
+ "value": "DeployedServicePackage",
+ "description": "Indicates the entity is a Service Fabric deployed service package. The value is 7."
+ },
+ {
+ "value": "Cluster",
+ "description": "Indicates the entity is a Service Fabric cluster. The value is 8."
+ }
+ ]
+ }
+ },
+ "HealthStateCount": {
+ "description": "Represents information about how many health entities are in Ok, Warning and Error health state.",
+ "properties": {
+ "OkCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of health entities with aggregated health state Ok.",
+ "minimum": 0
+ },
+ "WarningCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of health entities with aggregated health state Warning.",
+ "minimum": 0
+ },
+ "ErrorCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of health entities with aggregated health state Error.",
+ "minimum": 0
+ }
+ }
+ },
+ "EntityKindHealthStateCount": {
+ "description": "Represents health state count for entities of the specified entity kind.",
+ "properties": {
+ "EntityKind": {
+ "$ref": "#/definitions/EntityKind",
+ "description": "The entity kind for which health states are evaluated."
+ },
+ "HealthStateCount": {
+ "$ref": "#/definitions/HealthStateCount",
+ "description": "The health state count for the entities of the specified kind."
+ }
+ }
+ },
+ "HealthStatistics": {
+ "description": "The health statistics of an entity, returned as part of the health query result when the query description is configured to include statistics.\nThe statistics include health state counts for all children types of the current entity.\nFor example, for cluster, the health statistics include health state counts for nodes, applications, services, partitions, replicas, deployed applications and deployed service packages.\nFor partition, the health statistics include health counts for replicas.",
+ "properties": {
+ "HealthStateCountList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EntityKindHealthStateCount"
+ },
+ "description": "List of health state counts per entity kind, which keeps track of how many children of the queried entity are in Ok, Warning and Error state."
+ }
+ }
+ },
+ "BackupPolicyDescription": {
+ "description": "Describes a backup policy for configuring periodic backup.",
+ "required": [
+ "Name",
+ "AutoRestoreOnDataLoss",
+ "Schedule",
+ "MaxIncrementalBackups",
+ "Storage"
+ ],
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "The unique name identifying this backup policy."
+ },
+ "AutoRestoreOnDataLoss": {
+ "type": "boolean",
+ "description": "Specifies whether to trigger restore automatically using the latest available backup in case the partition experiences a data loss event."
+ },
+ "MaxIncrementalBackups": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 255,
+ "description": "Defines the maximum number of incremental backups to be taken between two full backups. This is just the upper limit. A full backup may be taken before specified number of incremental backups are completed in one of the following conditions\n- The replica has never taken a full backup since it has become primary,\n- Some of the log records since the last backup has been truncated, or\n- Replica passed the MaxAccumulatedBackupLogSizeInMB limit."
+ },
+ "Schedule": {
+ "$ref": "#/definitions/BackupScheduleDescription",
+ "description": "Describes the backup schedule parameters."
+ },
+ "Storage": {
+ "$ref": "#/definitions/BackupStorageDescription",
+ "description": "Describes the details of backup storage where to store the periodic backups."
+ },
+ "RetentionPolicy": {
+ "$ref": "#/definitions/RetentionPolicyDescription",
+ "description": "Describes the policy to retain backups in storage."
+ }
+ }
+ },
+ "PagedBackupPolicyDescriptionList": {
+ "description": "The list of backup policies configured in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "The list of backup policies information.",
+ "items": {
+ "$ref": "#/definitions/BackupPolicyDescription"
+ }
+ }
+ }
+ },
+ "BasicRetentionPolicyDescription": {
+ "description": "Describes basic retention policy.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RetentionPolicyDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "Basic",
+ "required": [
+ "RetentionDuration"
+ ],
+ "properties": {
+ "RetentionDuration": {
+ "type": "string",
+ "format": "duration",
+ "description": "It is the minimum duration for which a backup created, will remain stored in the storage and might get deleted after that span of time. It should be specified in ISO8601 format."
+ },
+ "MinimumNumberOfBackups": {
+ "type": "integer",
+ "minimum": 0,
+ "description": "It is the minimum number of backups to be retained at any point of time. If specified with a non zero value, backups will not be deleted even if the backups have gone past retention duration and have number of backups less than or equal to it."
+ }
+ }
+ },
+ "RetentionPolicyType": {
+ "type": "string",
+ "description": "The type of retention policy. Currently only \"Basic\" retention policy is supported.",
+ "enum": [
+ "Basic",
+ "Invalid"
+ ],
+ "x-ms-enum": {
+ "name": "RetentionPolicyType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Basic",
+ "description": "Indicates a basic retention policy type."
+ },
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid retention policy type."
+ }
+ ]
+ }
+ },
+ "DisableBackupDescription": {
+ "description": "It describes the body parameters while disabling backup of a backup entity(Application/Service/Partition).",
+ "required": [
+ "CleanBackup"
+ ],
+ "properties": {
+ "CleanBackup": {
+ "type": "boolean",
+ "description": "Boolean flag to delete backups. It can be set to true for deleting all the backups which were created for the backup entity that is getting disabled for backup."
+ }
+ }
+ },
+ "RetentionPolicyDescription": {
+ "description": "Describes the retention policy configured.",
+ "required": [
+ "RetentionPolicyType"
+ ],
+ "discriminator": "RetentionPolicyType",
+ "properties": {
+ "RetentionPolicyType": {
+ "$ref": "#/definitions/RetentionPolicyType",
+ "description": "The type of retention policy. Currently only \"Basic\" retention policy is supported."
+ }
+ }
+ },
+ "BackupStorageDescription": {
+ "required": [
+ "StorageKind"
+ ],
+ "discriminator": "StorageKind",
+ "properties": {
+ "StorageKind": {
+ "$ref": "#/definitions/BackupStorageKind",
+ "description": "The kind of backup storage, where backups are saved."
+ },
+ "FriendlyName": {
+ "type": "string",
+ "description": "Friendly name for this backup storage."
+ }
+ },
+ "description": "Describes the parameters for the backup storage."
+ },
+ "BackupStorageKind": {
+ "type": "string",
+ "description": "The kind of backup storage, where backups are saved.",
+ "enum": [
+ "Invalid",
+ "FileShare",
+ "AzureBlobStore"
+ ],
+ "x-ms-enum": {
+ "name": "BackupStorageKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid backup storage kind. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "FileShare",
+ "description": "Indicates file/ SMB share to be used as backup storage."
+ },
+ {
+ "value": "AzureBlobStore",
+ "description": "Indicates Azure blob store to be used as backup storage."
+ }
+ ]
+ }
+ },
+ "BackupScheduleDescription": {
+ "description": "Describes the backup schedule parameters.",
+ "required": [
+ "ScheduleKind"
+ ],
+ "discriminator": "ScheduleKind",
+ "properties": {
+ "ScheduleKind": {
+ "$ref": "#/definitions/BackupScheduleKind",
+ "description": "The kind of backup schedule, time based or frequency based."
+ }
+ }
+ },
+ "BackupScheduleKind": {
+ "type": "string",
+ "description": "The kind of backup schedule, time based or frequency based.",
+ "enum": [
+ "Invalid",
+ "TimeBased",
+ "FrequencyBased"
+ ],
+ "x-ms-enum": {
+ "name": "BackupScheduleKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid backup schedule kind. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "TimeBased",
+ "description": "Indicates a time-based backup schedule."
+ },
+ {
+ "value": "FrequencyBased",
+ "description": "Indicates a frequency-based backup schedule."
+ }
+ ]
+ }
+ },
+ "ApplicationBackupConfigurationInfo": {
+ "description": "Backup configuration information for a specific Service Fabric application specifying what backup policy is being applied and suspend description, if any.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupConfigurationInfo"
+ }
+ ],
+ "properties": {
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ }
+ },
+ "x-ms-discriminator-value": "Application"
+ },
+ "ServiceBackupConfigurationInfo": {
+ "description": "Backup configuration information for a specific Service Fabric service specifying what backup policy is being applied and suspend description, if any.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupConfigurationInfo"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ }
+ },
+ "x-ms-discriminator-value": "Service"
+ },
+ "PagedBackupConfigurationInfoList": {
+ "description": "The list of backup configuration information. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of backup configuration information.",
+ "items": {
+ "$ref": "#/definitions/BackupConfigurationInfo"
+ }
+ }
+ }
+ },
+ "BackupPolicyScope": {
+ "type": "string",
+ "description": "Specifies the scope at which the backup policy is applied.",
+ "enum": [
+ "Invalid",
+ "Partition",
+ "Service",
+ "Application"
+ ],
+ "x-ms-enum": {
+ "name": "BackupPolicyScope",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid backup policy scope type. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Partition",
+ "description": "Indicates the backup policy is applied at partition level. Hence overriding any policy which may have applied at partition's service or application level."
+ },
+ {
+ "value": "Service",
+ "description": "Indicates the backup policy is applied at service level. All partitions of the service inherit this policy unless explicitly overridden at partition level."
+ },
+ {
+ "value": "Application",
+ "description": "Indicates the backup policy is applied at application level. All services and partitions of the application inherit this policy unless explicitly overridden at service or partition level."
+ }
+ ]
+ }
+ },
+ "BackupSuspensionScope": {
+ "type": "string",
+ "description": "Specifies the scope at which the backup suspension was applied.",
+ "enum": [
+ "Invalid",
+ "Partition",
+ "Service",
+ "Application"
+ ],
+ "x-ms-enum": {
+ "name": "BackupSuspensionScope",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid backup suspension scope type also indicating entity is not suspended. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Partition",
+ "description": "Indicates the backup suspension is applied at partition level."
+ },
+ {
+ "value": "Service",
+ "description": "Indicates the backup suspension is applied at service level. All partitions of the service are hence suspended for backup."
+ },
+ {
+ "value": "Application",
+ "description": "Indicates the backup suspension is applied at application level. All services and partitions of the application are hence suspended for backup."
+ }
+ ]
+ }
+ },
+ "RestorePartitionDescription": {
+ "description": "Specifies the parameters needed to trigger a restore of a specific partition.",
+ "required": [
+ "BackupId",
+ "BackupLocation"
+ ],
+ "properties": {
+ "BackupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Unique backup ID."
+ },
+ "BackupLocation": {
+ "type": "string",
+ "description": "Location of the backup relative to the backup storage specified/ configured."
+ },
+ "BackupStorage": {
+ "$ref": "#/definitions/BackupStorageDescription",
+ "description": "Location of the backup from where the partition will be restored."
+ }
+ }
+ },
+ "RestoreProgressInfo": {
+ "description": "Describes the progress of a restore operation on a partition.",
+ "properties": {
+ "RestoreState": {
+ "$ref": "#/definitions/RestoreState",
+ "description": "Represents the current state of the partition restore operation."
+ },
+ "TimeStampUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Timestamp when operation succeeded or failed."
+ },
+ "RestoredEpoch": {
+ "$ref": "#/definitions/Epoch",
+ "description": "Describes the epoch at which the partition is restored."
+ },
+ "RestoredLsn": {
+ "type": "string",
+ "description": "Restored LSN."
+ },
+ "FailureError": {
+ "$ref": "#/definitions/FabricErrorError",
+ "description": "Denotes the failure encountered in performing restore operation."
+ }
+ }
+ },
+ "RestoreState": {
+ "type": "string",
+ "description": "Represents the current state of the partition restore operation.",
+ "enum": [
+ "Invalid",
+ "Accepted",
+ "RestoreInProgress",
+ "Success",
+ "Failure",
+ "Timeout"
+ ],
+ "x-ms-enum": {
+ "name": "RestoreState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid restore state. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Accepted",
+ "description": "Operation has been validated and accepted. Restore is yet to be triggered."
+ },
+ {
+ "value": "RestoreInProgress",
+ "description": "Restore operation has been triggered and is under process."
+ },
+ {
+ "value": "Success",
+ "description": "Operation completed with success."
+ },
+ {
+ "value": "Failure",
+ "description": "Operation completed with failure."
+ },
+ {
+ "value": "Timeout",
+ "description": "Operation timed out."
+ }
+ ]
+ }
+ },
+ "BackupPartitionDescription": {
+ "description": "Describes the parameters for triggering partition's backup.",
+ "properties": {
+ "BackupStorage": {
+ "$ref": "#/definitions/BackupStorageDescription",
+ "description": "Specifies the details of the backup storage where to save the backup."
+ }
+ }
+ },
+ "BackupInfo": {
+ "description": "Represents a backup point which can be used to trigger a restore.",
+ "properties": {
+ "BackupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Unique backup ID ."
+ },
+ "BackupChainId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Unique backup chain ID. All backups part of the same chain has the same backup chain id. A backup chain is comprised of 1 full backup and multiple incremental backups."
+ },
+ "ApplicationName": {
+ "type": "string",
+ "description": "Name of the Service Fabric application this partition backup belongs to."
+ },
+ "ServiceName": {
+ "type": "string",
+ "description": "Name of the Service Fabric service this partition backup belongs to."
+ },
+ "PartitionInformation": {
+ "$ref": "#/definitions/PartitionInformation",
+ "description": "Information about the partition to which this backup belongs to"
+ },
+ "BackupLocation": {
+ "type": "string",
+ "description": "Location of the backup, relative to the backup store."
+ },
+ "BackupType": {
+ "$ref": "#/definitions/BackupType",
+ "description": "Describes the type of backup, whether its full or incremental."
+ },
+ "EpochOfLastBackupRecord": {
+ "$ref": "#/definitions/Epoch",
+ "description": "Epoch of the last record in this backup."
+ },
+ "LsnOfLastBackupRecord": {
+ "type": "string",
+ "description": "LSN of the last record in this backup."
+ },
+ "CreationTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date time when this backup was taken."
+ },
+ "ServiceManifestVersion": {
+ "type": "string",
+ "description": "Manifest Version of the service this partition backup belongs to."
+ },
+ "FailureError": {
+ "$ref": "#/definitions/FabricErrorError",
+ "description": "Denotes the failure encountered in getting backup point information."
+ }
+ }
+ },
+ "PagedBackupInfoList": {
+ "description": "The list of backups. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of backup information.",
+ "items": {
+ "$ref": "#/definitions/BackupInfo"
+ }
+ }
+ }
+ },
+ "BackupType": {
+ "type": "string",
+ "description": "Describes the type of backup, whether its full or incremental.",
+ "enum": [
+ "Invalid",
+ "Full",
+ "Incremental"
+ ],
+ "x-ms-enum": {
+ "name": "BackupType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid backup type. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Full",
+ "description": "Indicates a full backup."
+ },
+ {
+ "value": "Incremental",
+ "description": "Indicates an incremental backup. A backup chain is comprised of a full backup followed by 0 or more incremental backups."
+ }
+ ]
+ }
+ },
+ "AzureBlobBackupStorageDescription": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupStorageDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "AzureBlobStore",
+ "required": [
+ "ConnectionString",
+ "ContainerName"
+ ],
+ "properties": {
+ "ConnectionString": {
+ "type": "string",
+ "description": "The connection string to connect to the Azure blob store."
+ },
+ "ContainerName": {
+ "type": "string",
+ "description": "The name of the container in the blob store to store and enumerate backups from."
+ }
+ },
+ "description": "Describes the parameters for Azure blob store used for storing and enumerating backups."
+ },
+ "FileShareBackupStorageDescription": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupStorageDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "FileShare",
+ "required": [
+ "Path"
+ ],
+ "description": "Describes the parameters for file share storage used for storing or enumerating backups.",
+ "properties": {
+ "Path": {
+ "type": "string",
+ "description": "UNC path of the file share where to store or enumerate backups from."
+ },
+ "PrimaryUserName": {
+ "type": "string",
+ "description": "Primary user name to access the file share."
+ },
+ "PrimaryPassword": {
+ "type": "string",
+ "description": "Primary password to access the share location."
+ },
+ "SecondaryUserName": {
+ "type": "string",
+ "description": "Secondary user name to access the file share."
+ },
+ "SecondaryPassword": {
+ "type": "string",
+ "description": "Secondary password to access the share location"
+ }
+ }
+ },
+ "FrequencyBasedBackupScheduleDescription": {
+ "description": "Describes the frequency based backup schedule.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupScheduleDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "FrequencyBased",
+ "required": [
+ "Interval"
+ ],
+ "properties": {
+ "Interval": {
+ "type": "string",
+ "format": "duration",
+ "description": "Defines the interval with which backups are periodically taken. It should be specified in ISO8601 format. Timespan in seconds is not supported and will be ignored while creating the policy."
+ }
+ }
+ },
+ "TimeBasedBackupScheduleDescription": {
+ "description": "Describes the time based backup schedule.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupScheduleDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "TimeBased",
+ "required": [
+ "ScheduleFrequencyType",
+ "RunTimes"
+ ],
+ "properties": {
+ "ScheduleFrequencyType": {
+ "$ref": "#/definitions/BackupScheduleFrequencyType",
+ "description": "Describes the frequency with which to run the time based backup schedule."
+ },
+ "RunDays": {
+ "$ref": "#/definitions/DayOfWeekList",
+ "description": "List of days of a week when to trigger the periodic backup. This is valid only when the backup schedule frequency type is weekly."
+ },
+ "RunTimes": {
+ "$ref": "#/definitions/TimeList",
+ "description": "Represents the list of exact time during the day in ISO8601 format. Like '19:00:00' will represent '7PM' during the day. Date specified along with time will be ignored."
+ }
+ }
+ },
+ "BackupScheduleFrequencyType": {
+ "type": "string",
+ "description": "Describes the frequency with which to run the time based backup schedule.",
+ "enum": [
+ "Invalid",
+ "Daily",
+ "Weekly"
+ ],
+ "x-ms-enum": {
+ "name": "BackupScheduleFrequencyType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid backup schedule frequency type. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Daily",
+ "description": "Indicates that the time based backup schedule is repeated at a daily frequency."
+ },
+ {
+ "value": "Weekly",
+ "description": "Indicates that the time based backup schedule is repeated at a weekly frequency."
+ }
+ ]
+ }
+ },
+ "TimeList": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "description": "Represents the list of exact time during the day in ISO8601 format. Like '19:00:00' will represent '7PM' during the day. Date specified along with time will be ignored."
+ },
+ "DayOfWeekList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DayOfWeek"
+ },
+ "description": "List of days of a week when to trigger the periodic backup. This is valid only when the backup schedule frequency type is weekly."
+ },
+ "DayOfWeek": {
+ "type": "string",
+ "description": "Describes the days in a week.",
+ "enum": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Sunday",
+ "description": "Indicates the Day referred is Sunday."
+ },
+ {
+ "value": "Monday",
+ "description": "Indicates the Day referred is Monday."
+ },
+ {
+ "value": "Tuesday",
+ "description": "Indicates the Day referred is Tuesday."
+ },
+ {
+ "value": "Wednesday",
+ "description": "Indicates the Day referred is Wednesday."
+ },
+ {
+ "value": "Thursday",
+ "description": "Indicates the Day referred is Thursday."
+ },
+ {
+ "value": "Friday",
+ "description": "Indicates the Day referred is Friday."
+ },
+ {
+ "value": "Saturday",
+ "description": "Indicates the Day referred is Saturday."
+ }
+ ]
+ }
+ },
+ "BackupProgressInfo": {
+ "description": "Describes the progress of a partition's backup.",
+ "properties": {
+ "BackupState": {
+ "$ref": "#/definitions/BackupState",
+ "description": "Represents the current state of the partition backup operation."
+ },
+ "TimeStampUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "TimeStamp in UTC when operation succeeded or failed."
+ },
+ "BackupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Unique ID of the newly created backup."
+ },
+ "BackupLocation": {
+ "type": "string",
+ "description": "Location, relative to the backup store, of the newly created backup."
+ },
+ "EpochOfLastBackupRecord": {
+ "$ref": "#/definitions/Epoch",
+ "description": "Specifies the epoch of the last record included in backup."
+ },
+ "LsnOfLastBackupRecord": {
+ "type": "string",
+ "description": "The LSN of last record included in backup."
+ },
+ "FailureError": {
+ "$ref": "#/definitions/FabricErrorError",
+ "description": "Denotes the failure encountered in performing backup operation."
+ }
+ }
+ },
+ "BackupConfigurationInfo": {
+ "discriminator": "Kind",
+ "description": "Describes the backup configuration information.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/BackupEntityKind",
+ "description": "The entity type of a Service Fabric entity such as Application, Service or a Partition where periodic backups can be enabled."
+ },
+ "PolicyName": {
+ "description": "The name of the backup policy which is applicable to this Service Fabric application or service or partition.",
+ "type": "string"
+ },
+ "PolicyInheritedFrom": {
+ "$ref": "#/definitions/BackupPolicyScope",
+ "description": "Specifies the scope at which the backup policy is applied."
+ },
+ "SuspensionInfo": {
+ "$ref": "#/definitions/BackupSuspensionInfo",
+ "description": "Describes the backup suspension details."
+ }
+ },
+ "required": [
+ "Kind"
+ ]
+ },
+ "PartitionBackupConfigurationInfo": {
+ "description": "Backup configuration information, for a specific partition, specifying what backup policy is being applied and suspend description, if any.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupConfigurationInfo"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "The partition ID identifying the partition."
+ }
+ },
+ "x-ms-discriminator-value": "Partition"
+ },
+ "BackupState": {
+ "type": "string",
+ "description": "Represents the current state of the partition backup operation.",
+ "enum": [
+ "Invalid",
+ "Accepted",
+ "BackupInProgress",
+ "Success",
+ "Failure",
+ "Timeout"
+ ],
+ "x-ms-enum": {
+ "name": "BackupState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid backup state. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Accepted",
+ "description": "Operation has been validated and accepted. Backup is yet to be triggered."
+ },
+ {
+ "value": "BackupInProgress",
+ "description": "Backup operation has been triggered and is under process."
+ },
+ {
+ "value": "Success",
+ "description": "Operation completed with success."
+ },
+ {
+ "value": "Failure",
+ "description": "Operation completed with failure."
+ },
+ {
+ "value": "Timeout",
+ "description": "Operation timed out."
+ }
+ ]
+ }
+ },
+ "BackupEntity": {
+ "discriminator": "EntityKind",
+ "description": "Describes the Service Fabric entity that is configured for backup.",
+ "properties": {
+ "EntityKind": {
+ "$ref": "#/definitions/BackupEntityKind",
+ "description": "The entity type of a Service Fabric entity such as Application, Service or a Partition where periodic backups can be enabled."
+ }
+ },
+ "required": [
+ "EntityKind"
+ ]
+ },
+ "ApplicationBackupEntity": {
+ "description": "Identifies the Service Fabric application which is being backed up.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupEntity"
+ }
+ ],
+ "properties": {
+ "ApplicationName": {
+ "$ref": "#/definitions/ApplicationName",
+ "description": "The name of the application, including the 'fabric:' URI scheme."
+ }
+ },
+ "x-ms-discriminator-value": "Application"
+ },
+ "ServiceBackupEntity": {
+ "description": "Identifies the Service Fabric stateful service which is being backed up.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupEntity"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ }
+ },
+ "x-ms-discriminator-value": "Service"
+ },
+ "PartitionBackupEntity": {
+ "description": "Identifies the Service Fabric stateful partition which is being backed up.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackupEntity"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The full name of the service with 'fabric:' URI scheme."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "The partition ID identifying the partition."
+ }
+ },
+ "x-ms-discriminator-value": "Partition"
+ },
+ "EnableBackupDescription": {
+ "description": "Specifies the parameters needed to enable periodic backup.",
+ "required": [
+ "BackupPolicyName"
+ ],
+ "properties": {
+ "BackupPolicyName": {
+ "type": "string",
+ "description": "Name of the backup policy to be used for enabling periodic backups."
+ }
+ }
+ },
+ "PagedBackupEntityList": {
+ "description": "The list of backup entities that are being periodically backed. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of backup entity information.",
+ "items": {
+ "$ref": "#/definitions/BackupEntity"
+ }
+ }
+ }
+ },
+ "BackupSuspensionInfo": {
+ "description": "Describes the backup suspension details.",
+ "properties": {
+ "IsSuspended": {
+ "type": "boolean",
+ "description": "Indicates whether periodic backup is suspended at this level or not."
+ },
+ "SuspensionInheritedFrom": {
+ "$ref": "#/definitions/BackupSuspensionScope",
+ "description": "Specifies the scope at which the backup suspension was applied."
+ }
+ }
+ },
+ "BackupEntityKind": {
+ "type": "string",
+ "description": "The entity type of a Service Fabric entity such as Application, Service or a Partition where periodic backups can be enabled.",
+ "enum": [
+ "Invalid",
+ "Partition",
+ "Service",
+ "Application"
+ ],
+ "x-ms-enum": {
+ "name": "BackupEntityKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid entity kind. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "Partition",
+ "description": "Indicates the entity is a Service Fabric partition."
+ },
+ {
+ "value": "Service",
+ "description": "Indicates the entity is a Service Fabric service."
+ },
+ {
+ "value": "Application",
+ "description": "Indicates the entity is a Service Fabric application."
+ }
+ ]
+ }
+ },
+ "GetBackupByStorageQueryDescription": {
+ "description": "Describes additional filters to be applied, while listing backups, and backup storage details from where to fetch the backups.",
+ "required": [
+ "Storage",
+ "BackupEntity"
+ ],
+ "properties": {
+ "StartDateTimeFilter": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Specifies the start date time in ISO8601 from which to enumerate backups. If not specified, backups are enumerated from the beginning."
+ },
+ "EndDateTimeFilter": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Specifies the end date time in ISO8601 till which to enumerate backups. If not specified, backups are enumerated till the end."
+ },
+ "Latest": {
+ "type": "boolean",
+ "default": false,
+ "description": "If specified as true, gets the most recent backup (within the specified time range) for every partition under the specified backup entity."
+ },
+ "Storage": {
+ "$ref": "#/definitions/BackupStorageDescription",
+ "description": "Describes the parameters for the backup storage from where to enumerate backups. This is optional and by default backups are enumerated from the backup storage where this backup entity is currently being backed up (as specified in backup policy). This parameter is useful to be able to enumerate backups from another cluster where you may intend to restore."
+ },
+ "BackupEntity": {
+ "$ref": "#/definitions/BackupEntity",
+ "description": "Indicates the entity for which to enumerate backups."
+ }
+ }
+ },
+ "NodeImpact": {
+ "description": "Describes the expected impact of a repair to a particular node.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "NodeName": {
+ "type": "string",
+ "description": "The name of the impacted node."
+ },
+ "ImpactLevel": {
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "None",
+ "Restart",
+ "RemoveData",
+ "RemoveNode"
+ ],
+ "description": "The level of impact expected.",
+ "x-ms-enum": {
+ "name": "ImpactLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid"
+ },
+ {
+ "value": "None"
+ },
+ {
+ "value": "Restart"
+ },
+ {
+ "value": "RemoveData"
+ },
+ {
+ "value": "RemoveNode"
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "NodeName"
+ ]
+ },
+ "NodeRepairImpactDescription": {
+ "description": "Describes the expected impact of a repair on a set of nodes.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "x-ms-discriminator-value": "Node",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RepairImpactDescriptionBase"
+ }
+ ],
+ "properties": {
+ "NodeImpactList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeImpact"
+ },
+ "description": "The list of nodes impacted by a repair action and their respective expected impact."
+ }
+ }
+ },
+ "NodeRepairTargetDescription": {
+ "description": "Describes the list of nodes targeted by a repair action.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "x-ms-discriminator-value": "Node",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RepairTargetDescriptionBase"
+ }
+ ],
+ "properties": {
+ "NodeNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of nodes targeted by a repair action."
+ }
+ }
+ },
+ "RepairImpactDescriptionBase": {
+ "discriminator": "Kind",
+ "description": "Describes the expected impact of executing a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/RepairImpactKind",
+ "description": "The kind of repair impact represented by the current object."
+ }
+ },
+ "required": [
+ "Kind"
+ ]
+ },
+ "RepairImpactKind": {
+ "description": "Specifies the kind of the impact. This type supports the Service Fabric platform; it is not meant to be used directly from your code.'",
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "Node"
+ ],
+ "x-ms-enum": {
+ "name": "RepairImpactKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "The repair impact is not valid or is of an unknown type."
+ },
+ {
+ "value": "Node",
+ "description": "The repair impact affects a set of Service Fabric nodes."
+ }
+ ]
+ }
+ },
+ "RepairTargetDescriptionBase": {
+ "discriminator": "Kind",
+ "description": "Describes the entities targeted by a repair action.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/RepairTargetKind",
+ "description": "The kind of repair target described by the current object."
+ }
+ },
+ "required": [
+ "Kind"
+ ]
+ },
+ "RepairTargetKind": {
+ "description": "Specifies the kind of the repair target. This type supports the Service Fabric platform; it is not meant to be used directly from your code.'",
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "Node"
+ ],
+ "x-ms-enum": {
+ "name": "RepairTargetKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "The repair target is not valid or is of an unknown type."
+ },
+ {
+ "value": "Node",
+ "description": "The repair target is a set of Service Fabric nodes."
+ }
+ ]
+ }
+ },
+ "RepairTask": {
+ "description": "Represents a repair task, which includes information about what kind of repair was requested, what its progress is, and what its final result was.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "TaskId": {
+ "type": "string",
+ "description": "The ID of the repair task."
+ },
+ "Version": {
+ "type": "string",
+ "description": "The version of the repair task.\nWhen creating a new repair task, the version must be set to zero. When updating a repair task,\nthe version is used for optimistic concurrency checks. If the version is\nset to zero, the update will not check for write conflicts. If the version is set to a non-zero value, then the\nupdate will only succeed if the actual current version of the repair task matches this value."
+ },
+ "Description": {
+ "type": "string",
+ "description": "A description of the purpose of the repair task, or other informational details.\nMay be set when the repair task is created, and is immutable once set."
+ },
+ "State": {
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "Created",
+ "Claimed",
+ "Preparing",
+ "Approved",
+ "Executing",
+ "Restoring",
+ "Completed"
+ ],
+ "description": "The workflow state of the repair task. Valid initial states are Created, Claimed, and Preparing.",
+ "x-ms-enum": {
+ "name": "State",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the repair task state is invalid. All Service Fabric enumerations have the invalid value."
+ },
+ {
+ "value": "Created",
+ "description": "Indicates that the repair task has been created."
+ },
+ {
+ "value": "Claimed",
+ "description": "Indicates that the repair task has been claimed by a repair executor."
+ },
+ {
+ "value": "Preparing",
+ "description": "Indicates that the Repair Manager is preparing the system to handle the impact of the repair task, usually by taking resources offline gracefully."
+ },
+ {
+ "value": "Approved",
+ "description": "Indicates that the repair task has been approved by the Repair Manager and is safe to execute."
+ },
+ {
+ "value": "Executing",
+ "description": "Indicates that execution of the repair task is in progress."
+ },
+ {
+ "value": "Restoring",
+ "description": "Indicates that the Repair Manager is restoring the system to its pre-repair state, usually by bringing resources back online."
+ },
+ {
+ "value": "Completed",
+ "description": "Indicates that the repair task has completed, and no further state changes will occur."
+ }
+ ]
+ }
+ },
+ "Flags": {
+ "type": "integer",
+ "description": "A bitwise-OR of the following values, which gives additional details about the status of the repair task.\n- 1 - Cancellation of the repair has been requested\n- 2 - Abort of the repair has been requested\n- 4 - Approval of the repair was forced via client request"
+ },
+ "Action": {
+ "type": "string",
+ "description": "The requested repair action. Must be specified when the repair task is created, and is immutable once set."
+ },
+ "Target": {
+ "$ref": "#/definitions/RepairTargetDescriptionBase",
+ "description": "The target object determines what actions the system will take to prepare for the impact of the repair, prior to approving execution of the repair.\nMay be set when the repair task is created, and is immutable once set."
+ },
+ "Executor": {
+ "type": "string",
+ "description": "The name of the repair executor. Must be specified in Claimed and later states, and is immutable once set."
+ },
+ "ExecutorData": {
+ "type": "string",
+ "description": "A data string that the repair executor can use to store its internal state."
+ },
+ "Impact": {
+ "$ref": "#/definitions/RepairImpactDescriptionBase",
+ "description": "The impact object determines what actions the system will take to prepare for the impact of the repair, prior to approving execution of the repair.\nImpact must be specified by the repair executor when transitioning to the Preparing state, and is immutable once set."
+ },
+ "ResultStatus": {
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "Succeeded",
+ "Cancelled",
+ "Interrupted",
+ "Failed",
+ "Pending"
+ ],
+ "description": "A value describing the overall result of the repair task execution. Must be specified in the Restoring and later states, and is immutable once set.",
+ "x-ms-enum": {
+ "name": "ResultStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates that the repair task result is invalid. All Service Fabric enumerations have the invalid value."
+ },
+ {
+ "value": "Succeeded",
+ "description": "Indicates that the repair task completed execution successfully."
+ },
+ {
+ "value": "Cancelled",
+ "description": "Indicates that the repair task was cancelled prior to execution."
+ },
+ {
+ "value": "Interrupted",
+ "description": "Indicates that execution of the repair task was interrupted by a cancellation request after some work had already been performed."
+ },
+ {
+ "value": "Failed",
+ "description": "Indicates that there was a failure during execution of the repair task. Some work may have been performed."
+ },
+ {
+ "value": "Pending",
+ "description": "Indicates that the repair task result is not yet available, because the repair task has not finished executing."
+ }
+ ]
+ }
+ },
+ "ResultCode": {
+ "type": "integer",
+ "description": "A numeric value providing additional details about the result of the repair task execution.\nMay be specified in the Restoring and later states, and is immutable once set."
+ },
+ "ResultDetails": {
+ "type": "string",
+ "description": "A string providing additional details about the result of the repair task execution.\nMay be specified in the Restoring and later states, and is immutable once set."
+ },
+ "History": {
+ "$ref": "#/definitions/RepairTaskHistory",
+ "description": "An object that contains timestamps of the repair task's state transitions.\nThese timestamps are updated by the system, and cannot be directly modified."
+ },
+ "PreparingHealthCheckState": {
+ "$ref": "#/definitions/RepairTaskHealthCheckState",
+ "description": "The workflow state of the health check when the repair task is in the Preparing state."
+ },
+ "RestoringHealthCheckState": {
+ "$ref": "#/definitions/RepairTaskHealthCheckState",
+ "description": "The workflow state of the health check when the repair task is in the Restoring state."
+ },
+ "PerformPreparingHealthCheck": {
+ "type": "boolean",
+ "description": "A value to determine if health checks will be performed when the repair task enters the Preparing state."
+ },
+ "PerformRestoringHealthCheck": {
+ "type": "boolean",
+ "description": "A value to determine if health checks will be performed when the repair task enters the Restoring state."
+ }
+ },
+ "required": [
+ "TaskId",
+ "Action",
+ "State"
+ ]
+ },
+ "RepairTaskApproveDescription": {
+ "description": "Describes a request for forced approval of a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "TaskId": {
+ "type": "string",
+ "description": "The ID of the repair task."
+ },
+ "Version": {
+ "type": "string",
+ "description": "The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed."
+ }
+ },
+ "required": [
+ "TaskId"
+ ]
+ },
+ "RepairTaskCancelDescription": {
+ "description": "Describes a request to cancel a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "TaskId": {
+ "type": "string",
+ "description": "The ID of the repair task."
+ },
+ "Version": {
+ "type": "string",
+ "description": "The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed."
+ },
+ "RequestAbort": {
+ "type": "boolean",
+ "description": "_True_ if the repair should be stopped as soon as possible even if it has already started executing. _False_ if the repair should be cancelled only if execution has not yet started."
+ }
+ },
+ "required": [
+ "TaskId"
+ ]
+ },
+ "RepairTaskDeleteDescription": {
+ "description": "Describes a request to delete a completed repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "TaskId": {
+ "type": "string",
+ "description": "The ID of the completed repair task to be deleted."
+ },
+ "Version": {
+ "type": "string",
+ "description": "The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed."
+ }
+ },
+ "required": [
+ "TaskId"
+ ]
+ },
+ "RepairTaskHealthCheckState": {
+ "description": "Specifies the workflow state of a repair task's health check. This type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "type": "string",
+ "enum": [
+ "NotStarted",
+ "InProgress",
+ "Succeeded",
+ "Skipped",
+ "TimedOut"
+ ],
+ "x-ms-enum": {
+ "name": "RepairTaskHealthCheckState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "NotStarted",
+ "description": "Indicates that the health check has not started."
+ },
+ {
+ "value": "InProgress",
+ "description": "Indicates that the health check is in progress."
+ },
+ {
+ "value": "Succeeded",
+ "description": "Indicates that the health check succeeded."
+ },
+ {
+ "value": "Skipped",
+ "description": "Indicates that the health check was skipped."
+ },
+ {
+ "value": "TimedOut",
+ "description": "Indicates that the health check timed out."
+ }
+ ]
+ }
+ },
+ "RepairTaskHistory": {
+ "description": "A record of the times when the repair task entered each state.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "CreatedUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task entered the Created state."
+ },
+ "ClaimedUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task entered the Claimed state."
+ },
+ "PreparingUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task entered the Preparing state."
+ },
+ "ApprovedUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task entered the Approved state"
+ },
+ "ExecutingUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task entered the Executing state"
+ },
+ "RestoringUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task entered the Restoring state"
+ },
+ "CompletedUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task entered the Completed state"
+ },
+ "PreparingHealthCheckStartUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task started the health check in the Preparing state."
+ },
+ "PreparingHealthCheckEndUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task completed the health check in the Preparing state."
+ },
+ "RestoringHealthCheckStartUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task started the health check in the Restoring state."
+ },
+ "RestoringHealthCheckEndUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the repair task completed the health check in the Restoring state."
+ }
+ }
+ },
+ "RepairTaskList": {
+ "type": "array",
+ "description": "A list of repair tasks.",
+ "items": {
+ "$ref": "#/definitions/RepairTask"
+ }
+ },
+ "RepairTaskUpdateHealthPolicyDescription": {
+ "description": "Describes a request to update the health policy of a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "TaskId": {
+ "type": "string",
+ "description": "The ID of the repair task to be updated."
+ },
+ "Version": {
+ "type": "string",
+ "description": "The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current value of the repair task. If zero, then no version check is performed."
+ },
+ "PerformPreparingHealthCheck": {
+ "type": "boolean",
+ "description": "A boolean indicating if health check is to be performed in the Preparing stage of the repair task. If not specified the existing value should not be altered. Otherwise, specify the desired new value."
+ },
+ "PerformRestoringHealthCheck": {
+ "type": "boolean",
+ "description": "A boolean indicating if health check is to be performed in the Restoring stage of the repair task. If not specified the existing value should not be altered. Otherwise, specify the desired new value."
+ }
+ },
+ "required": [
+ "TaskId"
+ ]
+ },
+ "RepairTaskUpdateInfo": {
+ "description": "Describes the result of an operation that created or updated a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.",
+ "properties": {
+ "Version": {
+ "type": "string",
+ "description": "The new version of the repair task."
+ }
+ },
+ "required": [
+ "Version"
+ ]
+ },
+ "ReconfigurationInformation": {
+ "description": "Information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.",
+ "properties": {
+ "PreviousConfigurationRole": {
+ "$ref": "#/definitions/ReplicaRole",
+ "description": "Replica role before reconfiguration started."
+ },
+ "ReconfigurationPhase": {
+ "$ref": "#/definitions/ReconfigurationPhase",
+ "description": "Current phase of ongoing reconfiguration. If no reconfiguration is taking place then this value will be \"None\"."
+ },
+ "ReconfigurationType": {
+ "$ref": "#/definitions/ReconfigurationType",
+ "description": "Type of current ongoing reconfiguration. If no reconfiguration is taking place then this value will be \"None\"."
+ },
+ "ReconfigurationStartTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Start time (in UTC) of the ongoing reconfiguration. If no reconfiguration is taking place then this value will be zero date-time."
+ }
+ }
+ },
+ "ReconfigurationPhase": {
+ "type": "string",
+ "description": "The reconfiguration phase of a replica of a stateful service.",
+ "enum": [
+ "Unknown",
+ "None",
+ "Phase0",
+ "Phase1",
+ "Phase2",
+ "Phase3",
+ "Phase4",
+ "AbortPhaseZero"
+ ],
+ "x-ms-enum": {
+ "name": "ReconfigurationPhase",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Indicates the invalid reconfiguration phase."
+ },
+ {
+ "value": "None",
+ "description": "Specifies that there is no reconfiguration in progress."
+ },
+ {
+ "value": "Phase0",
+ "description": "Refers to the phase where the reconfiguration is transferring data from the previous primary to the new primary."
+ },
+ {
+ "value": "Phase1",
+ "description": "Refers to the phase where the reconfiguration is querying the replica set for the progress."
+ },
+ {
+ "value": "Phase2",
+ "description": "Refers to the phase where the reconfiguration is ensuring that data from the current primary is present in a majority of the replica set."
+ },
+ {
+ "value": "Phase3",
+ "description": "This phase is for internal use only."
+ },
+ {
+ "value": "Phase4",
+ "description": "This phase is for internal use only."
+ },
+ {
+ "value": "AbortPhaseZero",
+ "description": "This phase is for internal use only."
+ }
+ ]
+ }
+ },
+ "ReconfigurationType": {
+ "type": "string",
+ "description": "The type of reconfiguration for replica of a stateful service.",
+ "enum": [
+ "Unknown",
+ "SwapPrimary",
+ "Failover",
+ "Other"
+ ],
+ "x-ms-enum": {
+ "name": "ReconfigurationType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Indicates the invalid reconfiguration type."
+ },
+ {
+ "value": "SwapPrimary",
+ "description": "Specifies that the primary replica is being swapped with a different replica."
+ },
+ {
+ "value": "Failover",
+ "description": "Reconfiguration triggered in response to a primary going down. This could be due to many reasons such as primary replica crashing etc."
+ },
+ {
+ "value": "Other",
+ "description": "Reconfigurations where the primary replica is not changing."
+ }
+ ]
+ }
+ },
+ "InfrastructureServiceResponse": {
+ "type": "string",
+ "format": "binary",
+ "description": "This is a weakly-typed response stream to the client. It contains the JSON response from the infrastructure service without deserialization.\nThe content of the response depends on which command was issued to the infrastructure service."
+ },
+ "UploadChunkRange": {
+ "description": "Information about which portion of the file to upload.",
+ "properties": {
+ "StartPosition": {
+ "type": "string",
+ "description": "The start position of the portion of the file. It's represented by the number of bytes."
+ },
+ "EndPosition": {
+ "type": "string",
+ "description": "The end position of the portion of the file. It's represented by the number of bytes."
+ }
+ }
+ },
+ "UploadSessionInfo": {
+ "description": "Information about an image store upload session. A session is associated with a relative path in the image store.",
+ "properties": {
+ "StoreRelativePath": {
+ "type": "string",
+ "description": "The remote location within image store. This path is relative to the image store root."
+ },
+ "SessionId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "A unique ID of the upload session. A session ID can be reused only if the session was committed or removed."
+ },
+ "ModifiedDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date and time when the upload session was last modified."
+ },
+ "FileSize": {
+ "type": "string",
+ "description": "The size in bytes of the uploading file."
+ },
+ "ExpectedRanges": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UploadChunkRange"
+ },
+ "description": "List of chunk ranges that image store has not received yet."
+ }
+ }
+ },
+ "UploadSession": {
+ "description": "Information about a image store upload session",
+ "properties": {
+ "UploadSessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UploadSessionInfo"
+ },
+ "description": "When querying upload session by upload session ID, the result contains only one upload session. When querying upload session by image store relative path, the result might contain multiple upload sessions."
+ }
+ }
+ },
+ "ScalingPolicyDescription": {
+ "description": "Describes how the scaling should be performed",
+ "required": [
+ "ScalingTrigger",
+ "ScalingMechanism"
+ ],
+ "properties": {
+ "ScalingTrigger": {
+ "$ref": "#/definitions/ScalingTriggerDescription",
+ "description": "Specifies the trigger associated with this scaling policy"
+ },
+ "ScalingMechanism": {
+ "$ref": "#/definitions/ScalingMechanismDescription",
+ "description": "Specifies the mechanism associated with this scaling policy"
+ }
+ }
+ },
+ "ScalingPolicyDescriptionList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScalingPolicyDescription"
+ },
+ "description": "A list that describes the scaling policies."
+ },
+ "ScalingTriggerDescription": {
+ "discriminator": "Kind",
+ "description": "Describes the trigger for performing a scaling operation.",
+ "required": [
+ "Kind"
+ ],
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/ScalingTriggerKind",
+ "description": "Specifies the kind of scaling trigger"
+ }
+ }
+ },
+ "ScalingMechanismDescription": {
+ "discriminator": "Kind",
+ "description": "Describes the mechanism for performing a scaling operation.",
+ "required": [
+ "Kind"
+ ],
+ "properties": {
+ "Kind": {
+ "$ref": "#/definitions/ScalingMechanismKind",
+ "description": "Specifies the kind of scaling mechanism"
+ }
+ }
+ },
+ "ScalingTriggerKind": {
+ "type": "string",
+ "description": "Enumerates the ways that a service can be scaled.",
+ "enum": [
+ "Invalid",
+ "AveragePartitionLoad",
+ "AverageServiceLoad"
+ ],
+ "x-ms-enum": {
+ "name": "ScalingTriggerKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the scaling trigger is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "AveragePartitionLoad",
+ "description": "Indicates a trigger where scaling decisions are made based on average load of a partition. The value is 1."
+ },
+ {
+ "value": "AverageServiceLoad",
+ "description": "Indicates a trigger where scaling decisions are made based on average load of a service. The value is 2."
+ }
+ ]
+ }
+ },
+ "ScalingMechanismKind": {
+ "type": "string",
+ "description": "Enumerates the ways that a service can be scaled.",
+ "enum": [
+ "Invalid",
+ "PartitionInstanceCount",
+ "AddRemoveIncrementalNamedPartition"
+ ],
+ "x-ms-enum": {
+ "name": "ScalingMechanismKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the scaling mechanism is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "PartitionInstanceCount",
+ "description": "Indicates a mechanism for scaling where new instances are added or removed from a partition. The value is 1."
+ },
+ {
+ "value": "AddRemoveIncrementalNamedPartition",
+ "description": "Indicates a mechanism for scaling where new named partitions are added or removed from a service. The value is 2."
+ }
+ ]
+ }
+ },
+ "AveragePartitionLoadScalingTrigger": {
+ "description": "Represents a scaling trigger related to an average load of a metric/resource of a partition.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScalingTriggerDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "AveragePartitionLoad",
+ "required": [
+ "MetricName",
+ "LowerLoadThreshold",
+ "UpperLoadThreshold",
+ "ScaleIntervalInSeconds"
+ ],
+ "properties": {
+ "MetricName": {
+ "type": "string",
+ "description": "The name of the metric for which usage should be tracked."
+ },
+ "LowerLoadThreshold": {
+ "type": "string",
+ "format": "double",
+ "description": "The lower limit of the load below which a scale in operation should be performed."
+ },
+ "UpperLoadThreshold": {
+ "type": "string",
+ "format": "double",
+ "description": "The upper limit of the load beyond which a scale out operation should be performed."
+ },
+ "ScaleIntervalInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "The period in seconds on which a decision is made whether to scale or not."
+ }
+ }
+ },
+ "AverageServiceLoadScalingTrigger": {
+ "description": "Represents a scaling policy related to an average load of a metric/resource of a service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScalingTriggerDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "AverageServiceLoad",
+ "required": [
+ "MetricName",
+ "LowerLoadThreshold",
+ "UpperLoadThreshold",
+ "ScaleIntervalInSeconds"
+ ],
+ "properties": {
+ "MetricName": {
+ "type": "string",
+ "description": "The name of the metric for which usage should be tracked."
+ },
+ "LowerLoadThreshold": {
+ "type": "string",
+ "format": "double",
+ "description": "The lower limit of the load below which a scale in operation should be performed."
+ },
+ "UpperLoadThreshold": {
+ "type": "string",
+ "format": "double",
+ "description": "The upper limit of the load beyond which a scale out operation should be performed."
+ },
+ "ScaleIntervalInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "The period in seconds on which a decision is made whether to scale or not."
+ }
+ }
+ },
+ "PartitionInstanceCountScaleMechanism": {
+ "description": "Represents a scaling mechanism for adding or removing instances of stateless service partition.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScalingMechanismDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "PartitionInstanceCount",
+ "required": [
+ "MinInstanceCount",
+ "MaxInstanceCount",
+ "ScaleIncrement"
+ ],
+ "properties": {
+ "MinInstanceCount": {
+ "type": "integer",
+ "description": "Minimum number of instances of the partition."
+ },
+ "MaxInstanceCount": {
+ "type": "integer",
+ "description": "Maximum number of instances of the partition."
+ },
+ "ScaleIncrement": {
+ "type": "integer",
+ "description": "The number of instances to add or remove during a scaling operation."
+ }
+ }
+ },
+ "AddRemoveIncrementalNamedPartitionScalingMechanism": {
+ "description": "Represents a scaling mechanism for adding or removing named partitions of a stateless service. Partition names are in the format '0','1''N-1'",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScalingMechanismDescription"
+ }
+ ],
+ "x-ms-discriminator-value": "AddRemoveIncrementalNamedPartition",
+ "required": [
+ "MinPartitionCount",
+ "MaxPartitionCount",
+ "ScaleIncrement"
+ ],
+ "properties": {
+ "MinPartitionCount": {
+ "type": "integer",
+ "description": "Minimum number of named partitions of the service."
+ },
+ "MaxPartitionCount": {
+ "type": "integer",
+ "description": "Maximum number of named partitions of the service."
+ },
+ "ScaleIncrement": {
+ "type": "integer",
+ "description": "The number of instances to add or remove during a scaling operation."
+ }
+ }
+ },
+ "UnplacedReplicaInformation": {
+ "description": "Contains information for an unplaced replica.",
+ "properties": {
+ "ServiceName": {
+ "$ref": "#/definitions/ServiceName",
+ "description": "The name of the service."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "The ID of the partition."
+ },
+ "UnplacedReplicaDetails": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of reasons due to which a replica cannot be placed."
+ }
+ }
+ },
+ "ApplicationCreatedEvent": {
+ "description": "Application Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "ApplicationTypeVersion": {
+ "type": "string",
+ "description": "Application type version."
+ },
+ "ApplicationDefinitionKind": {
+ "type": "string",
+ "description": "Application definition kind."
+ }
+ },
+ "required": [
+ "ApplicationTypeName",
+ "ApplicationTypeVersion",
+ "ApplicationDefinitionKind"
+ ],
+ "x-ms-discriminator-value": "ApplicationCreated"
+ },
+ "ApplicationDeletedEvent": {
+ "description": "Application Deleted event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "ApplicationTypeVersion": {
+ "type": "string",
+ "description": "Application type version."
+ }
+ },
+ "required": [
+ "ApplicationTypeName",
+ "ApplicationTypeVersion"
+ ],
+ "x-ms-discriminator-value": "ApplicationDeleted"
+ },
+ "ApplicationNewHealthReportEvent": {
+ "description": "Application Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Application instance."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "ApplicationInstanceId",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "ApplicationNewHealthReport"
+ },
+ "ApplicationHealthReportExpiredEvent": {
+ "description": "Application Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Application instance."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "ApplicationInstanceId",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "ApplicationHealthReportExpired"
+ },
+ "ApplicationUpgradeCompletedEvent": {
+ "description": "Application Upgrade Completed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "ApplicationTypeVersion": {
+ "type": "string",
+ "description": "Application type version."
+ },
+ "OverallUpgradeElapsedTimeInMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Overall upgrade time in milli-seconds."
+ }
+ },
+ "required": [
+ "ApplicationTypeName",
+ "ApplicationTypeVersion",
+ "OverallUpgradeElapsedTimeInMs"
+ ],
+ "x-ms-discriminator-value": "ApplicationUpgradeCompleted"
+ },
+ "ApplicationUpgradeDomainCompletedEvent": {
+ "description": "Application Upgrade Domain Completed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "CurrentApplicationTypeVersion": {
+ "type": "string",
+ "description": "Current Application type version."
+ },
+ "ApplicationTypeVersion": {
+ "type": "string",
+ "description": "Target Application type version."
+ },
+ "UpgradeState": {
+ "type": "string",
+ "description": "State of upgrade."
+ },
+ "UpgradeDomains": {
+ "type": "string",
+ "description": "Upgrade domains."
+ },
+ "UpgradeDomainElapsedTimeInMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Upgrade time of domain in milli-seconds."
+ }
+ },
+ "required": [
+ "ApplicationTypeName",
+ "CurrentApplicationTypeVersion",
+ "ApplicationTypeVersion",
+ "UpgradeState",
+ "UpgradeDomains",
+ "UpgradeDomainElapsedTimeInMs"
+ ],
+ "x-ms-discriminator-value": "ApplicationUpgradeDomainCompleted"
+ },
+ "ApplicationUpgradeRollbackCompletedEvent": {
+ "description": "Application Upgrade Rollback Completed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "ApplicationTypeVersion": {
+ "type": "string",
+ "description": "Application type version."
+ },
+ "FailureReason": {
+ "type": "string",
+ "description": "Describes reason of failure."
+ },
+ "OverallUpgradeElapsedTimeInMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Overall upgrade time in milli-seconds."
+ }
+ },
+ "required": [
+ "ApplicationTypeName",
+ "ApplicationTypeVersion",
+ "FailureReason",
+ "OverallUpgradeElapsedTimeInMs"
+ ],
+ "x-ms-discriminator-value": "ApplicationUpgradeRollbackCompleted"
+ },
+ "ApplicationUpgradeRollbackStartedEvent": {
+ "description": "Application Upgrade Rollback Started event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "CurrentApplicationTypeVersion": {
+ "type": "string",
+ "description": "Current Application type version."
+ },
+ "ApplicationTypeVersion": {
+ "type": "string",
+ "description": "Target Application type version."
+ },
+ "FailureReason": {
+ "type": "string",
+ "description": "Describes reason of failure."
+ },
+ "OverallUpgradeElapsedTimeInMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Overall upgrade time in milli-seconds."
+ }
+ },
+ "required": [
+ "ApplicationTypeName",
+ "CurrentApplicationTypeVersion",
+ "ApplicationTypeVersion",
+ "FailureReason",
+ "OverallUpgradeElapsedTimeInMs"
+ ],
+ "x-ms-discriminator-value": "ApplicationUpgradeRollbackStarted"
+ },
+ "ApplicationUpgradeStartedEvent": {
+ "description": "Application Upgrade Started event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "CurrentApplicationTypeVersion": {
+ "type": "string",
+ "description": "Current Application type version."
+ },
+ "ApplicationTypeVersion": {
+ "type": "string",
+ "description": "Target Application type version."
+ },
+ "UpgradeType": {
+ "type": "string",
+ "description": "Type of upgrade."
+ },
+ "RollingUpgradeMode": {
+ "type": "string",
+ "description": "Mode of upgrade."
+ },
+ "FailureAction": {
+ "type": "string",
+ "description": "Action if failed."
+ }
+ },
+ "required": [
+ "ApplicationTypeName",
+ "CurrentApplicationTypeVersion",
+ "ApplicationTypeVersion",
+ "UpgradeType",
+ "RollingUpgradeMode",
+ "FailureAction"
+ ],
+ "x-ms-discriminator-value": "ApplicationUpgradeStarted"
+ },
+ "DeployedApplicationNewHealthReportEvent": {
+ "description": "Deployed Application Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Application instance."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "ApplicationInstanceId",
+ "NodeName",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "DeployedApplicationNewHealthReport"
+ },
+ "DeployedApplicationHealthReportExpiredEvent": {
+ "description": "Deployed Application Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ApplicationInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Application instance."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "ApplicationInstanceId",
+ "NodeName",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "DeployedApplicationHealthReportExpired"
+ },
+ "ApplicationProcessExitedEvent": {
+ "description": "Process Exited event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "type": "string",
+ "description": "Name of Service."
+ },
+ "ServicePackageName": {
+ "type": "string",
+ "description": "Name of Service package."
+ },
+ "ServicePackageActivationId": {
+ "type": "string",
+ "description": "Activation Id of Service package."
+ },
+ "IsExclusive": {
+ "type": "boolean",
+ "description": "Indicates IsExclusive flag."
+ },
+ "CodePackageName": {
+ "type": "string",
+ "description": "Name of Code package."
+ },
+ "EntryPointType": {
+ "type": "string",
+ "description": "Type of EntryPoint."
+ },
+ "ExeName": {
+ "type": "string",
+ "description": "Name of executable."
+ },
+ "ProcessId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Process Id."
+ },
+ "HostId": {
+ "type": "string",
+ "description": "Host Id."
+ },
+ "ExitCode": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Exit code of process."
+ },
+ "UnexpectedTermination": {
+ "type": "boolean",
+ "description": "Indicates if termination is unexpected."
+ },
+ "StartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Start time of process."
+ }
+ },
+ "required": [
+ "ServiceName",
+ "ServicePackageName",
+ "ServicePackageActivationId",
+ "IsExclusive",
+ "CodePackageName",
+ "EntryPointType",
+ "ExeName",
+ "ProcessId",
+ "HostId",
+ "ExitCode",
+ "UnexpectedTermination",
+ "StartTime"
+ ],
+ "x-ms-discriminator-value": "ApplicationProcessExited"
+ },
+ "ApplicationContainerInstanceExitedEvent": {
+ "description": "Container Exited event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ServiceName": {
+ "type": "string",
+ "description": "Name of Service."
+ },
+ "ServicePackageName": {
+ "type": "string",
+ "description": "Name of Service package."
+ },
+ "ServicePackageActivationId": {
+ "type": "string",
+ "description": "Activation Id of Service package."
+ },
+ "IsExclusive": {
+ "type": "boolean",
+ "description": "Indicates IsExclusive flag."
+ },
+ "CodePackageName": {
+ "type": "string",
+ "description": "Name of Code package."
+ },
+ "EntryPointType": {
+ "type": "string",
+ "description": "Type of EntryPoint."
+ },
+ "ImageName": {
+ "type": "string",
+ "description": "Name of Container image."
+ },
+ "ContainerName": {
+ "type": "string",
+ "description": "Name of Container."
+ },
+ "HostId": {
+ "type": "string",
+ "description": "Host Id."
+ },
+ "ExitCode": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Exit code of process."
+ },
+ "UnexpectedTermination": {
+ "type": "boolean",
+ "description": "Indicates if termination is unexpected."
+ },
+ "StartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Start time of process."
+ }
+ },
+ "required": [
+ "ServiceName",
+ "ServicePackageName",
+ "ServicePackageActivationId",
+ "IsExclusive",
+ "CodePackageName",
+ "EntryPointType",
+ "ImageName",
+ "ContainerName",
+ "HostId",
+ "ExitCode",
+ "UnexpectedTermination",
+ "StartTime"
+ ],
+ "x-ms-discriminator-value": "ApplicationContainerInstanceExited"
+ },
+ "NodeAbortedEvent": {
+ "description": "Node Aborted event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "NodeId": {
+ "type": "string",
+ "description": "Id of Node."
+ },
+ "UpgradeDomain": {
+ "type": "string",
+ "description": "Upgrade domain of Node."
+ },
+ "FaultDomain": {
+ "type": "string",
+ "description": "Fault domain of Node."
+ },
+ "IpAddressOrFQDN": {
+ "type": "string",
+ "description": "IP address or FQDN."
+ },
+ "Hostname": {
+ "type": "string",
+ "description": "Name of Host."
+ },
+ "IsSeedNode": {
+ "type": "boolean",
+ "description": "Indicates if it is seed node."
+ },
+ "NodeVersion": {
+ "type": "string",
+ "description": "Version of Node."
+ }
+ },
+ "required": [
+ "NodeInstance",
+ "NodeId",
+ "UpgradeDomain",
+ "FaultDomain",
+ "IpAddressOrFQDN",
+ "Hostname",
+ "IsSeedNode",
+ "NodeVersion"
+ ],
+ "x-ms-discriminator-value": "NodeAborted"
+ },
+ "NodeAddedToClusterEvent": {
+ "description": "Node Added event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeId": {
+ "type": "string",
+ "description": "Id of Node."
+ },
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "NodeType": {
+ "type": "string",
+ "description": "Type of Node."
+ },
+ "FabricVersion": {
+ "type": "string",
+ "description": "Fabric version."
+ },
+ "IpAddressOrFQDN": {
+ "type": "string",
+ "description": "IP address or FQDN."
+ },
+ "NodeCapacities": {
+ "type": "string",
+ "description": "Capacities."
+ }
+ },
+ "required": [
+ "NodeId",
+ "NodeInstance",
+ "NodeType",
+ "FabricVersion",
+ "IpAddressOrFQDN",
+ "NodeCapacities"
+ ],
+ "x-ms-discriminator-value": "NodeAddedToCluster"
+ },
+ "NodeClosedEvent": {
+ "description": "Node Closed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeId": {
+ "type": "string",
+ "description": "Id of Node."
+ },
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "Error": {
+ "type": "string",
+ "description": "Describes error."
+ }
+ },
+ "required": [
+ "NodeId",
+ "NodeInstance",
+ "Error"
+ ],
+ "x-ms-discriminator-value": "NodeClosed"
+ },
+ "NodeDeactivateCompletedEvent": {
+ "description": "Node Deactivate Completed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "EffectiveDeactivateIntent": {
+ "type": "string",
+ "description": "Describes deactivate intent."
+ },
+ "BatchIdsWithDeactivateIntent": {
+ "type": "string",
+ "description": "Batch Ids."
+ },
+ "StartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Start time."
+ }
+ },
+ "required": [
+ "NodeInstance",
+ "EffectiveDeactivateIntent",
+ "BatchIdsWithDeactivateIntent",
+ "StartTime"
+ ],
+ "x-ms-discriminator-value": "NodeDeactivateCompleted"
+ },
+ "NodeDeactivateStartedEvent": {
+ "description": "Node Deactivate Started event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "BatchId": {
+ "type": "string",
+ "description": "Batch Id."
+ },
+ "DeactivateIntent": {
+ "type": "string",
+ "description": "Describes deactivate intent."
+ }
+ },
+ "required": [
+ "NodeInstance",
+ "BatchId",
+ "DeactivateIntent"
+ ],
+ "x-ms-discriminator-value": "NodeDeactivateStarted"
+ },
+ "NodeDownEvent": {
+ "description": "Node Down event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "LastNodeUpAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when Node was last up."
+ }
+ },
+ "required": [
+ "NodeInstance",
+ "LastNodeUpAt"
+ ],
+ "x-ms-discriminator-value": "NodeDown"
+ },
+ "NodeNewHealthReportEvent": {
+ "description": "Node Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "NodeInstanceId",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "NodeNewHealthReport"
+ },
+ "NodeHealthReportExpiredEvent": {
+ "description": "Node Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "NodeInstanceId",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "NodeHealthReportExpired"
+ },
+ "NodeOpenSucceededEvent": {
+ "description": "Node Opened Succeeded event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "NodeId": {
+ "type": "string",
+ "description": "Id of Node."
+ },
+ "UpgradeDomain": {
+ "type": "string",
+ "description": "Upgrade domain of Node."
+ },
+ "FaultDomain": {
+ "type": "string",
+ "description": "Fault domain of Node."
+ },
+ "IpAddressOrFQDN": {
+ "type": "string",
+ "description": "IP address or FQDN."
+ },
+ "Hostname": {
+ "type": "string",
+ "description": "Name of Host."
+ },
+ "IsSeedNode": {
+ "type": "boolean",
+ "description": "Indicates if it is seed node."
+ },
+ "NodeVersion": {
+ "type": "string",
+ "description": "Version of Node."
+ }
+ },
+ "required": [
+ "NodeInstance",
+ "NodeId",
+ "UpgradeDomain",
+ "FaultDomain",
+ "IpAddressOrFQDN",
+ "Hostname",
+ "IsSeedNode",
+ "NodeVersion"
+ ],
+ "x-ms-discriminator-value": "NodeOpenSucceeded"
+ },
+ "NodeOpenFailedEvent": {
+ "description": "Node Open Failed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "NodeId": {
+ "type": "string",
+ "description": "Id of Node."
+ },
+ "UpgradeDomain": {
+ "type": "string",
+ "description": "Upgrade domain of Node."
+ },
+ "FaultDomain": {
+ "type": "string",
+ "description": "Fault domain of Node."
+ },
+ "IpAddressOrFQDN": {
+ "type": "string",
+ "description": "IP address or FQDN."
+ },
+ "Hostname": {
+ "type": "string",
+ "description": "Name of Host."
+ },
+ "IsSeedNode": {
+ "type": "boolean",
+ "description": "Indicates if it is seed node."
+ },
+ "NodeVersion": {
+ "type": "string",
+ "description": "Version of Node."
+ },
+ "Error": {
+ "type": "string",
+ "description": "Describes the error."
+ }
+ },
+ "required": [
+ "NodeInstance",
+ "NodeId",
+ "UpgradeDomain",
+ "FaultDomain",
+ "IpAddressOrFQDN",
+ "Hostname",
+ "IsSeedNode",
+ "NodeVersion",
+ "Error"
+ ],
+ "x-ms-discriminator-value": "NodeOpenFailed"
+ },
+ "NodeRemovedFromClusterEvent": {
+ "description": "Node Removed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeId": {
+ "type": "string",
+ "description": "Id of Node."
+ },
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "NodeType": {
+ "type": "string",
+ "description": "Type of Node."
+ },
+ "FabricVersion": {
+ "type": "string",
+ "description": "Fabric version."
+ },
+ "IpAddressOrFQDN": {
+ "type": "string",
+ "description": "IP address or FQDN."
+ },
+ "NodeCapacities": {
+ "type": "string",
+ "description": "Capacities."
+ }
+ },
+ "required": [
+ "NodeId",
+ "NodeInstance",
+ "NodeType",
+ "FabricVersion",
+ "IpAddressOrFQDN",
+ "NodeCapacities"
+ ],
+ "x-ms-discriminator-value": "NodeRemovedFromCluster"
+ },
+ "NodeUpEvent": {
+ "description": "Node Up event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "LastNodeDownAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when Node was last down."
+ }
+ },
+ "required": [
+ "NodeInstance",
+ "LastNodeDownAt"
+ ],
+ "x-ms-discriminator-value": "NodeUp"
+ },
+ "PartitionNewHealthReportEvent": {
+ "description": "Partition Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionEvent"
+ }
+ ],
+ "properties": {
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "PartitionNewHealthReport"
+ },
+ "PartitionHealthReportExpiredEvent": {
+ "description": "Partition Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionEvent"
+ }
+ ],
+ "properties": {
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "PartitionHealthReportExpired"
+ },
+ "PartitionReconfiguredEvent": {
+ "description": "Partition Reconfiguration event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionEvent"
+ }
+ ],
+ "properties": {
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "NodeInstanceId": {
+ "type": "string",
+ "description": "Id of Node instance."
+ },
+ "ServiceType": {
+ "type": "string",
+ "description": "Type of Service."
+ },
+ "CcEpochDataLossVersion": {
+ "type": "integer",
+ "format": "int64",
+ "description": "CcEpochDataLoss version."
+ },
+ "CcEpochConfigVersion": {
+ "type": "integer",
+ "format": "int64",
+ "description": "CcEpochConfig version."
+ },
+ "ReconfigType": {
+ "type": "string",
+ "description": "Type of reconfiguration."
+ },
+ "Result": {
+ "type": "string",
+ "description": "Describes reconfiguration result."
+ },
+ "Phase0DurationMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Duration of Phase0 in milli-seconds."
+ },
+ "Phase1DurationMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Duration of Phase1 in milli-seconds."
+ },
+ "Phase2DurationMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Duration of Phase2 in milli-seconds."
+ },
+ "Phase3DurationMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Duration of Phase3 in milli-seconds."
+ },
+ "Phase4DurationMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Duration of Phase4 in milli-seconds."
+ },
+ "TotalDurationMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Total duration in milli-seconds."
+ }
+ },
+ "required": [
+ "NodeName",
+ "NodeInstanceId",
+ "ServiceType",
+ "CcEpochDataLossVersion",
+ "CcEpochConfigVersion",
+ "ReconfigType",
+ "Result",
+ "Phase0DurationMs",
+ "Phase1DurationMs",
+ "Phase2DurationMs",
+ "Phase3DurationMs",
+ "Phase4DurationMs",
+ "TotalDurationMs"
+ ],
+ "x-ms-discriminator-value": "PartitionReconfigured"
+ },
+ "PartitionPrimaryMoveAnalysisEvent": {
+ "description": "Partition Primary Move Analysis event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionAnalysisEvent"
+ }
+ ],
+ "properties": {
+ "WhenMoveCompleted": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when the move was completed."
+ },
+ "PreviousNode": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "CurrentNode": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "MoveReason": {
+ "type": "string",
+ "description": "Move reason."
+ },
+ "RelevantTraces": {
+ "type": "string",
+ "description": "Relevant traces."
+ }
+ },
+ "required": [
+ "WhenMoveCompleted",
+ "PreviousNode",
+ "CurrentNode",
+ "MoveReason",
+ "RelevantTraces"
+ ],
+ "x-ms-discriminator-value": "PartitionPrimaryMoveAnalysis"
+ },
+ "ServiceCreatedEvent": {
+ "description": "Service Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceEvent"
+ }
+ ],
+ "properties": {
+ "ServiceTypeName": {
+ "type": "string",
+ "description": "Service type name."
+ },
+ "ApplicationName": {
+ "type": "string",
+ "description": "Application name."
+ },
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "ServiceInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Service instance."
+ },
+ "IsStateful": {
+ "type": "boolean",
+ "description": "Indicates if Service is stateful."
+ },
+ "PartitionCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of partitions."
+ },
+ "TargetReplicaSetSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Size of target replicas set."
+ },
+ "MinReplicaSetSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum size of replicas set."
+ },
+ "ServicePackageVersion": {
+ "type": "string",
+ "description": "Version of Service package."
+ },
+ "PartitionId": {
+ "$ref": "#/definitions/PartitionId",
+ "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different."
+ }
+ },
+ "required": [
+ "ServiceTypeName",
+ "ApplicationName",
+ "ApplicationTypeName",
+ "ServiceInstance",
+ "IsStateful",
+ "PartitionCount",
+ "TargetReplicaSetSize",
+ "MinReplicaSetSize",
+ "ServicePackageVersion",
+ "PartitionId"
+ ],
+ "x-ms-discriminator-value": "ServiceCreated"
+ },
+ "ServiceDeletedEvent": {
+ "description": "Service Deleted event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceEvent"
+ }
+ ],
+ "properties": {
+ "ServiceTypeName": {
+ "type": "string",
+ "description": "Service type name."
+ },
+ "ApplicationName": {
+ "type": "string",
+ "description": "Application name."
+ },
+ "ApplicationTypeName": {
+ "type": "string",
+ "description": "Application type name."
+ },
+ "ServiceInstance": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Service instance."
+ },
+ "IsStateful": {
+ "type": "boolean",
+ "description": "Indicates if Service is stateful."
+ },
+ "PartitionCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of partitions."
+ },
+ "TargetReplicaSetSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Size of target replicas set."
+ },
+ "MinReplicaSetSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum size of replicas set."
+ },
+ "ServicePackageVersion": {
+ "type": "string",
+ "description": "Version of Service package."
+ }
+ },
+ "required": [
+ "ServiceTypeName",
+ "ApplicationName",
+ "ApplicationTypeName",
+ "ServiceInstance",
+ "IsStateful",
+ "PartitionCount",
+ "TargetReplicaSetSize",
+ "MinReplicaSetSize",
+ "ServicePackageVersion"
+ ],
+ "x-ms-discriminator-value": "ServiceDeleted"
+ },
+ "ServiceNewHealthReportEvent": {
+ "description": "Service Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceEvent"
+ }
+ ],
+ "properties": {
+ "InstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Service instance."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "InstanceId",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "ServiceNewHealthReport"
+ },
+ "ServiceHealthReportExpiredEvent": {
+ "description": "Service Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceEvent"
+ }
+ ],
+ "properties": {
+ "InstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Service instance."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "InstanceId",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "ServiceHealthReportExpired"
+ },
+ "DeployedServicePackageNewHealthReportEvent": {
+ "description": "Deployed Service Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ServiceManifestName": {
+ "type": "string",
+ "description": "Service manifest name."
+ },
+ "ServicePackageInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Service package instance."
+ },
+ "ServicePackageActivationId": {
+ "type": "string",
+ "description": "Id of Service package activation."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "ServiceManifestName",
+ "ServicePackageInstanceId",
+ "ServicePackageActivationId",
+ "NodeName",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "DeployedServicePackageNewHealthReport"
+ },
+ "DeployedServicePackageHealthReportExpiredEvent": {
+ "description": "Deployed Service Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "ServiceManifest": {
+ "type": "string",
+ "description": "Service manifest name."
+ },
+ "ServicePackageInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Service package instance."
+ },
+ "ServicePackageActivationId": {
+ "type": "string",
+ "description": "Id of Service package activation."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "ServiceManifest",
+ "ServicePackageInstanceId",
+ "ServicePackageActivationId",
+ "NodeName",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "DeployedServicePackageHealthReportExpired"
+ },
+ "StatefulReplicaNewHealthReportEvent": {
+ "description": "Stateful Replica Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaEvent"
+ }
+ ],
+ "properties": {
+ "ReplicaInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Replica instance."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "ReplicaInstanceId",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "StatefulReplicaNewHealthReport"
+ },
+ "StatefulReplicaHealthReportExpiredEvent": {
+ "description": "Stateful Replica Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaEvent"
+ }
+ ],
+ "properties": {
+ "ReplicaInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Replica instance."
+ },
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "ReplicaInstanceId",
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "StatefulReplicaHealthReportExpired"
+ },
+ "StatelessReplicaNewHealthReportEvent": {
+ "description": "Stateless Replica Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaEvent"
+ }
+ ],
+ "properties": {
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "StatelessReplicaNewHealthReport"
+ },
+ "StatelessReplicaHealthReportExpiredEvent": {
+ "description": "Stateless Replica Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaEvent"
+ }
+ ],
+ "properties": {
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "StatelessReplicaHealthReportExpired"
+ },
+ "ClusterNewHealthReportEvent": {
+ "description": "Cluster Health Report Created event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "ClusterNewHealthReport"
+ },
+ "ClusterHealthReportExpiredEvent": {
+ "description": "Cluster Health Report Expired event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "SourceId": {
+ "type": "string",
+ "description": "Id of report source."
+ },
+ "Property": {
+ "type": "string",
+ "description": "Describes the property."
+ },
+ "HealthState": {
+ "type": "string",
+ "description": "Describes the property health state."
+ },
+ "TimeToLiveMs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Time to live in milli-seconds."
+ },
+ "SequenceNumber": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Sequence number of report."
+ },
+ "Description": {
+ "type": "string",
+ "description": "Description of report."
+ },
+ "RemoveWhenExpired": {
+ "type": "boolean",
+ "description": "Indicates the removal when it expires."
+ },
+ "SourceUtcTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Source time."
+ }
+ },
+ "required": [
+ "SourceId",
+ "Property",
+ "HealthState",
+ "TimeToLiveMs",
+ "SequenceNumber",
+ "Description",
+ "RemoveWhenExpired",
+ "SourceUtcTimestamp"
+ ],
+ "x-ms-discriminator-value": "ClusterHealthReportExpired"
+ },
+ "ClusterUpgradeCompletedEvent": {
+ "description": "Cluster Upgrade Completed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "TargetClusterVersion": {
+ "type": "string",
+ "description": "Target Cluster version."
+ },
+ "OverallUpgradeElapsedTimeInMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Overall duration of upgrade in milli-seconds."
+ }
+ },
+ "required": [
+ "TargetClusterVersion",
+ "OverallUpgradeElapsedTimeInMs"
+ ],
+ "x-ms-discriminator-value": "ClusterUpgradeCompleted"
+ },
+ "ClusterUpgradeDomainCompletedEvent": {
+ "description": "Cluster Upgrade Domain Completed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "TargetClusterVersion": {
+ "type": "string",
+ "description": "Target Cluster version."
+ },
+ "UpgradeState": {
+ "type": "string",
+ "description": "State of upgrade."
+ },
+ "UpgradeDomains": {
+ "type": "string",
+ "description": "Upgrade domains."
+ },
+ "UpgradeDomainElapsedTimeInMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Duration of domain upgrade in milli-seconds."
+ }
+ },
+ "required": [
+ "TargetClusterVersion",
+ "UpgradeState",
+ "UpgradeDomains",
+ "UpgradeDomainElapsedTimeInMs"
+ ],
+ "x-ms-discriminator-value": "ClusterUpgradeDomainCompleted"
+ },
+ "ClusterUpgradeRollbackCompletedEvent": {
+ "description": "Cluster Upgrade Rollback Completed event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "TargetClusterVersion": {
+ "type": "string",
+ "description": "Target Cluster version."
+ },
+ "FailureReason": {
+ "type": "string",
+ "description": "Describes failure."
+ },
+ "OverallUpgradeElapsedTimeInMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Overall duration of upgrade in milli-seconds."
+ }
+ },
+ "required": [
+ "TargetClusterVersion",
+ "FailureReason",
+ "OverallUpgradeElapsedTimeInMs"
+ ],
+ "x-ms-discriminator-value": "ClusterUpgradeRollbackCompleted"
+ },
+ "ClusterUpgradeRollbackStartedEvent": {
+ "description": "Cluster Upgrade Rollback Started event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "TargetClusterVersion": {
+ "type": "string",
+ "description": "Target Cluster version."
+ },
+ "FailureReason": {
+ "type": "string",
+ "description": "Describes failure."
+ },
+ "OverallUpgradeElapsedTimeInMs": {
+ "type": "number",
+ "format": "double",
+ "description": "Overall duration of upgrade in milli-seconds."
+ }
+ },
+ "required": [
+ "TargetClusterVersion",
+ "FailureReason",
+ "OverallUpgradeElapsedTimeInMs"
+ ],
+ "x-ms-discriminator-value": "ClusterUpgradeRollbackStarted"
+ },
+ "ClusterUpgradeStartedEvent": {
+ "description": "Cluster Upgrade Started event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "CurrentClusterVersion": {
+ "type": "string",
+ "description": "Current Cluster version."
+ },
+ "TargetClusterVersion": {
+ "type": "string",
+ "description": "Target Cluster version."
+ },
+ "UpgradeType": {
+ "type": "string",
+ "description": "Type of upgrade."
+ },
+ "RollingUpgradeMode": {
+ "type": "string",
+ "description": "Mode of upgrade."
+ },
+ "FailureAction": {
+ "type": "string",
+ "description": "Action if failed."
+ }
+ },
+ "required": [
+ "CurrentClusterVersion",
+ "TargetClusterVersion",
+ "UpgradeType",
+ "RollingUpgradeMode",
+ "FailureAction"
+ ],
+ "x-ms-discriminator-value": "ClusterUpgradeStarted"
+ },
+ "ChaosStoppedEvent": {
+ "description": "Chaos Stopped event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "Reason": {
+ "type": "string",
+ "description": "Describes reason."
+ }
+ },
+ "required": [
+ "Reason"
+ ],
+ "x-ms-discriminator-value": "ChaosStopped"
+ },
+ "ChaosStartedEvent": {
+ "description": "Chaos Started event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClusterEvent"
+ }
+ ],
+ "properties": {
+ "MaxConcurrentFaults": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum number of concurrent faults."
+ },
+ "TimeToRunInSeconds": {
+ "type": "number",
+ "format": "double",
+ "description": "Time to run in seconds."
+ },
+ "MaxClusterStabilizationTimeoutInSeconds": {
+ "type": "number",
+ "format": "double",
+ "description": "Maximum timeout for cluster stabilization in seconds."
+ },
+ "WaitTimeBetweenIterationsInSeconds": {
+ "type": "number",
+ "format": "double",
+ "description": "Wait time between iterations in seconds."
+ },
+ "WaitTimeBetweenFaultsInSeconds": {
+ "type": "number",
+ "format": "double",
+ "description": "Wait time between faults in seconds."
+ },
+ "MoveReplicaFaultEnabled": {
+ "type": "boolean",
+ "description": "Indicates MoveReplica fault is enabled."
+ },
+ "IncludedNodeTypeList": {
+ "type": "string",
+ "description": "List of included Node types."
+ },
+ "IncludedApplicationList": {
+ "type": "string",
+ "description": "List of included Applications."
+ },
+ "ClusterHealthPolicy": {
+ "type": "string",
+ "description": "Health policy."
+ },
+ "ChaosContext": {
+ "type": "string",
+ "description": "Chaos Context."
+ }
+ },
+ "required": [
+ "MaxConcurrentFaults",
+ "TimeToRunInSeconds",
+ "MaxClusterStabilizationTimeoutInSeconds",
+ "WaitTimeBetweenIterationsInSeconds",
+ "WaitTimeBetweenFaultsInSeconds",
+ "MoveReplicaFaultEnabled",
+ "IncludedNodeTypeList",
+ "IncludedApplicationList",
+ "ClusterHealthPolicy",
+ "ChaosContext"
+ ],
+ "x-ms-discriminator-value": "ChaosStarted"
+ },
+ "ChaosCodePackageRestartScheduledEvent": {
+ "description": "Chaos Restart Code Package Fault Scheduled event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationEvent"
+ }
+ ],
+ "properties": {
+ "FaultGroupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault group."
+ },
+ "FaultId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault."
+ },
+ "NodeName": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "ServiceManifestName": {
+ "type": "string",
+ "description": "Service manifest name."
+ },
+ "CodePackageName": {
+ "type": "string",
+ "description": "Code package name."
+ },
+ "ServicePackageActivationId": {
+ "type": "string",
+ "description": "Id of Service package activation."
+ }
+ },
+ "required": [
+ "FaultGroupId",
+ "FaultId",
+ "NodeName",
+ "ServiceManifestName",
+ "CodePackageName",
+ "ServicePackageActivationId"
+ ],
+ "x-ms-discriminator-value": "ChaosCodePackageRestartScheduled"
+ },
+ "ChaosReplicaRemovalScheduledEvent": {
+ "description": "Chaos Remove Replica Fault Scheduled event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaEvent"
+ }
+ ],
+ "properties": {
+ "FaultGroupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault group."
+ },
+ "FaultId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault."
+ },
+ "ServiceUri": {
+ "type": "string",
+ "description": "Service name."
+ }
+ },
+ "required": [
+ "FaultGroupId",
+ "FaultId",
+ "ServiceUri"
+ ],
+ "x-ms-discriminator-value": "ChaosReplicaRemovalScheduled"
+ },
+ "ChaosPartitionSecondaryMoveScheduledEvent": {
+ "description": "Chaos Move Secondary Fault Scheduled event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionEvent"
+ }
+ ],
+ "properties": {
+ "FaultGroupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault group."
+ },
+ "FaultId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault."
+ },
+ "ServiceName": {
+ "type": "string",
+ "description": "Service name."
+ },
+ "SourceNode": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "DestinationNode": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "ForcedMove": {
+ "type": "boolean",
+ "description": "Indicates a forced move."
+ }
+ },
+ "required": [
+ "FaultGroupId",
+ "FaultId",
+ "ServiceName",
+ "SourceNode",
+ "DestinationNode",
+ "ForcedMove"
+ ],
+ "x-ms-discriminator-value": "ChaosPartitionSecondaryMoveScheduled"
+ },
+ "ChaosPartitionPrimaryMoveScheduledEvent": {
+ "description": "Chaos Move Primary Fault Scheduled event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/PartitionEvent"
+ }
+ ],
+ "properties": {
+ "FaultGroupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault group."
+ },
+ "FaultId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault."
+ },
+ "ServiceName": {
+ "type": "string",
+ "description": "Service name."
+ },
+ "NodeTo": {
+ "$ref": "#/definitions/NodeName",
+ "description": "The name of a Service Fabric node."
+ },
+ "ForcedMove": {
+ "type": "boolean",
+ "description": "Indicates a forced move."
+ }
+ },
+ "required": [
+ "FaultGroupId",
+ "FaultId",
+ "ServiceName",
+ "NodeTo",
+ "ForcedMove"
+ ],
+ "x-ms-discriminator-value": "ChaosPartitionPrimaryMoveScheduled"
+ },
+ "ChaosReplicaRestartScheduledEvent": {
+ "description": "Chaos Restart Replica Fault Scheduled event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ReplicaEvent"
+ }
+ ],
+ "properties": {
+ "FaultGroupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault group."
+ },
+ "FaultId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault."
+ },
+ "ServiceUri": {
+ "type": "string",
+ "description": "Service name."
+ }
+ },
+ "required": [
+ "FaultGroupId",
+ "FaultId",
+ "ServiceUri"
+ ],
+ "x-ms-discriminator-value": "ChaosReplicaRestartScheduled"
+ },
+ "ChaosNodeRestartScheduledEvent": {
+ "description": "Chaos Restart Node Fault Scheduled event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NodeEvent"
+ }
+ ],
+ "properties": {
+ "NodeInstanceId": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Id of Node instance."
+ },
+ "FaultGroupId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault group."
+ },
+ "FaultId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Id of fault."
+ }
+ },
+ "required": [
+ "NodeInstanceId",
+ "FaultGroupId",
+ "FaultId"
+ ],
+ "x-ms-discriminator-value": "ChaosNodeRestartScheduled"
+ },
+ "ManagedApplicationIdentityDescription": {
+ "description": "Managed application identity description.",
+ "properties": {
+ "TokenServiceEndpoint": {
+ "type": "string",
+ "description": "Token service endpoint."
+ },
+ "ManagedIdentities": {
+ "$ref": "#/definitions/ManagedApplicationIdentityList",
+ "description": "A list of managed application identity objects."
+ }
+ }
+ },
+ "ManagedApplicationIdentityList": {
+ "description": "A list of managed application identity objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedApplicationIdentity"
+ }
+ },
+ "ManagedApplicationIdentity": {
+ "description": "Describes a managed application identity.",
+ "required": [
+ "Name"
+ ],
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "The name of the identity."
+ },
+ "PrincipalId": {
+ "type": "string",
+ "description": "The identity's PrincipalId."
+ }
+ }
+ },
+ "InstanceCloseDelayDurationInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster\nupgrade, only for those instances which have a non-zero delay duration configured in the service description. See InstanceCloseDelayDurationSeconds property in $ref: \"#/definitions/StatelessServiceDescription.yaml\" for details.\nNote, the default value of InstanceCloseDelayDurationInSeconds is 4294967295, which indicates that the behavior will entirely depend on the delay configured in the stateless service description.",
+ "default": 4294967295
+ },
+ "ResourceStatus": {
+ "description": "Status of the resource.",
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Ready",
+ "Upgrading",
+ "Creating",
+ "Deleting",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Indicates the resource status is unknown. The value is zero."
+ },
+ {
+ "value": "Ready",
+ "description": "Indicates the resource is ready. The value is 1."
+ },
+ {
+ "value": "Upgrading",
+ "description": "Indicates the resource is upgrading. The value is 2."
+ },
+ {
+ "value": "Creating",
+ "description": "Indicates the resource is being created. The value is 3."
+ },
+ {
+ "value": "Deleting",
+ "description": "Indicates the resource is being deleted. The value is 4."
+ },
+ {
+ "value": "Failed",
+ "description": "Indicates the resource is not functional due to persistent failures. See statusDetails property for more details. The value is 5."
+ }
+ ]
+ }
+ },
+ "SecretKind": {
+ "type": "string",
+ "description": "Describes the kind of secret.",
+ "enum": [
+ "inlinedValue",
+ "keyVaultVersionedReference"
+ ],
+ "x-ms-enum": {
+ "name": "SecretKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "inlinedValue",
+ "description": "A simple secret resource whose plaintext value is provided by the user."
+ },
+ {
+ "value": "keyVaultVersionedReference",
+ "description": "A secret resource that references a specific version of a secret stored in Azure Key Vault; the expected value is a versioned KeyVault URI corresponding to the version of the secret being referenced."
+ }
+ ]
+ }
+ },
+ "SecretResourceProperties": {
+ "description": "Describes the properties of a secret resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SecretResourcePropertiesBase"
+ }
+ ],
+ "properties": {
+ "description": {
+ "description": "User readable description of the secret.",
+ "type": "string"
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceStatus",
+ "description": "Status of the resource."
+ },
+ "statusDetails": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gives additional information about the current status of the secret."
+ },
+ "contentType": {
+ "type": "string",
+ "description": "The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed."
+ }
+ }
+ },
+ "InlinedValueSecretResourceProperties": {
+ "description": "Describes the properties of a secret resource whose value is provided explicitly as plaintext. The secret resource may have multiple values, each being uniquely versioned. The secret value of each version is stored encrypted, and delivered as plaintext into the context of applications referencing it.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SecretResourceProperties"
+ }
+ ],
+ "x-ms-discriminator-value": "inlinedValue"
+ },
+ "SecretResourceName": {
+ "type": "string",
+ "description": "Name of the Secret resource."
+ },
+ "SecretResourceDescription": {
+ "description": "This type describes a secret resource.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SecretResourceProperties",
+ "description": "Describes the properties of a secret resource."
+ },
+ "name": {
+ "$ref": "#/definitions/SecretResourceName",
+ "description": "Name of the Secret resource."
+ }
+ },
+ "required": [
+ "name",
+ "properties"
+ ]
+ },
+ "PagedSecretResourceDescriptionList": {
+ "type": "object",
+ "description": "The list of secret resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "One page of the list.",
+ "items": {
+ "$ref": "#/definitions/SecretResourceDescription"
+ }
+ }
+ }
+ },
+ "SecretResourcePropertiesBase": {
+ "discriminator": "kind",
+ "description": "This type describes the properties of a secret resource, including its kind.",
+ "type": "object",
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/SecretKind",
+ "description": "Describes the kind of secret."
+ }
+ },
+ "required": [
+ "kind"
+ ]
+ },
+ "SecretValue": {
+ "type": "object",
+ "description": "This type represents the unencrypted value of the secret.",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The actual value of the secret."
+ }
+ }
+ },
+ "SecretValueProperties": {
+ "type": "object",
+ "description": "This type describes properties of secret value resource.",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The actual value of the secret."
+ }
+ }
+ },
+ "SecretValueResourceDescription": {
+ "description": "This type describes a value of a secret resource. The name of this resource is the version identifier corresponding to this secret value.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Version identifier of the secret value."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SecretValueResourceProperties",
+ "description": "This type describes properties of a secret value resource."
+ }
+ },
+ "required": [
+ "name",
+ "properties"
+ ]
+ },
+ "PagedSecretValueResourceDescriptionList": {
+ "type": "object",
+ "description": "The list of values of a secret resource, paged if the number of results exceeds the limits of a single message. The next set of results can be obtained by executing the same query with the continuation token provided in the previous page.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecretValueResourceDescription"
+ },
+ "description": "One page of the list."
+ }
+ }
+ },
+ "SecretValueResourceProperties": {
+ "description": "This type describes properties of a secret value resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SecretValueProperties"
+ }
+ ]
+ },
+ "VolumeProperties": {
+ "description": "Describes properties of a volume resource.",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "User readable description of the volume."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceStatus",
+ "description": "Status of the volume."
+ },
+ "statusDetails": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gives additional information about the current status of the volume."
+ },
+ "provider": {
+ "$ref": "#/definitions/VolumeProvider",
+ "description": "Provider of the volume."
+ },
+ "azureFileParameters": {
+ "$ref": "#/definitions/VolumeProviderParametersAzureFile",
+ "description": "This type describes a volume provided by an Azure Files file share."
+ }
+ },
+ "required": [
+ "provider"
+ ]
+ },
+ "VolumeProvider": {
+ "type": "string",
+ "description": "Describes the provider of the volume resource.",
+ "enum": [
+ "SFAzureFile"
+ ],
+ "x-ms-enum": {
+ "name": "VolumeProvider",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "SFAzureFile",
+ "description": "Provides volumes that are backed by Azure Files."
+ }
+ ]
+ }
+ },
+ "VolumeProviderParametersAzureFile": {
+ "description": "This type describes a volume provided by an Azure Files file share.",
+ "properties": {
+ "accountName": {
+ "description": "Name of the Azure storage account for the File Share.",
+ "type": "string"
+ },
+ "accountKey": {
+ "description": "Access key of the Azure storage account for the File Share.",
+ "type": "string"
+ },
+ "shareName": {
+ "description": "Name of the Azure Files file share that provides storage for the volume.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "accountName",
+ "shareName"
+ ]
+ },
+ "VolumeReference": {
+ "description": "Describes a reference to a volume resource.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the volume being referenced."
+ },
+ "readOnly": {
+ "type": "boolean",
+ "description": "The flag indicating whether the volume is read only. Default is 'false'."
+ },
+ "destinationPath": {
+ "type": "string",
+ "description": "The path within the container at which the volume should be mounted. Only valid path characters are allowed."
+ }
+ },
+ "required": [
+ "name",
+ "destinationPath"
+ ]
+ },
+ "ApplicationScopedVolume": {
+ "description": "Describes a volume whose lifetime is scoped to the application's lifetime.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/VolumeReference"
+ }
+ ],
+ "properties": {
+ "creationParameters": {
+ "$ref": "#/definitions/ApplicationScopedVolumeCreationParameters",
+ "description": "Describes parameters for creating application-scoped volumes."
+ }
+ },
+ "required": [
+ "creationParameters"
+ ]
+ },
+ "ApplicationScopedVolumeCreationParameters": {
+ "description": "Describes parameters for creating application-scoped volumes.",
+ "type": "object",
+ "discriminator": "kind",
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/ApplicationScopedVolumeKind",
+ "description": "Specifies the application-scoped volume kind."
+ },
+ "description": {
+ "description": "User readable description of the volume.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ]
+ },
+ "ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk": {
+ "description": "Describes parameters for creating application-scoped volumes provided by Service Fabric Volume Disks",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApplicationScopedVolumeCreationParameters"
+ }
+ ],
+ "properties": {
+ "sizeDisk": {
+ "description": "Volume size",
+ "type": "string",
+ "enum": [
+ "Small",
+ "Medium",
+ "Large"
+ ],
+ "x-ms-enum": {
+ "name": "SizeTypes",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "sizeDisk"
+ ],
+ "x-ms-discriminator-value": "ServiceFabricVolumeDisk"
+ },
+ "ApplicationScopedVolumeKind": {
+ "description": "Specifies the application-scoped volume kind.",
+ "type": "string",
+ "enum": [
+ "ServiceFabricVolumeDisk"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationScopedVolumeKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "ServiceFabricVolumeDisk",
+ "description": "Provides Service Fabric High Availability Volume Disk"
+ }
+ ]
+ }
+ },
+ "VolumeResourceName": {
+ "type": "string",
+ "description": "Name of the Volume resource."
+ },
+ "VolumeResourceDescription": {
+ "description": "This type describes a volume resource.",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/VolumeResourceName",
+ "description": "Name of the Volume resource."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VolumeProperties",
+ "description": "Describes properties of a volume resource."
+ }
+ },
+ "required": [
+ "name",
+ "properties"
+ ]
+ },
+ "PagedVolumeResourceDescriptionList": {
+ "type": "object",
+ "description": "The list of volume resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "One page of the list.",
+ "items": {
+ "$ref": "#/definitions/VolumeResourceDescription"
+ }
+ }
+ }
+ },
+ "NetworkAddressPrefix": {
+ "type": "string",
+ "description": "Address space for a container network. This is expressed in CIDR notation."
+ },
+ "NetworkRef": {
+ "description": "Describes a network reference in a service.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the network"
+ },
+ "endpointRefs": {
+ "description": "A list of endpoints that are exposed on this network.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EndpointRef"
+ }
+ }
+ }
+ },
+ "EndpointRef": {
+ "description": "Describes a reference to a service endpoint.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the endpoint."
+ }
+ }
+ },
+ "NetworkKind": {
+ "type": "string",
+ "description": "The type of a Service Fabric container network.",
+ "enum": [
+ "Local"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Local",
+ "description": "Indicates a container network local to a single Service Fabric cluster. The value is 1."
+ }
+ ]
+ }
+ },
+ "NetworkResourceProperties": {
+ "description": "Describes properties of a network resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NetworkResourcePropertiesBase"
+ }
+ ],
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "User readable description of the network."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceStatus",
+ "description": "Status of the network."
+ },
+ "statusDetails": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gives additional information about the current status of the network."
+ }
+ }
+ },
+ "LocalNetworkResourceProperties": {
+ "description": "Information about a Service Fabric container network local to a single Service Fabric cluster.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NetworkResourceProperties"
+ }
+ ],
+ "x-ms-discriminator-value": "Local",
+ "properties": {
+ "networkAddressPrefix": {
+ "$ref": "#/definitions/NetworkAddressPrefix",
+ "description": "Address space for the local container network."
+ }
+ }
+ },
+ "NetworkResourceName": {
+ "type": "string",
+ "description": "Name of the Network resource."
+ },
+ "NetworkResourceDescription": {
+ "description": "This type describes a network resource.",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/NetworkResourceName",
+ "description": "Name of the Network resource."
+ },
+ "properties": {
+ "$ref": "#/definitions/NetworkResourceProperties",
+ "description": "Describes properties of a network resource."
+ }
+ },
+ "required": [
+ "name",
+ "properties"
+ ]
+ },
+ "NetworkResourcePropertiesBase": {
+ "discriminator": "kind",
+ "description": "This type describes the properties of a network resource, including its kind.",
+ "type": "object",
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/NetworkKind",
+ "description": "The type of a Service Fabric container network."
+ }
+ },
+ "required": [
+ "kind"
+ ]
+ },
+ "PagedNetworkResourceDescriptionList": {
+ "type": "object",
+ "description": "The list of network resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "One page of the list.",
+ "items": {
+ "$ref": "#/definitions/NetworkResourceDescription"
+ }
+ }
+ }
+ },
+ "GatewayDestination": {
+ "description": "Describes destination endpoint for routing traffic.",
+ "type": "object",
+ "properties": {
+ "applicationName": {
+ "type": "string",
+ "description": "Name of the service fabric Mesh application."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "service that contains the endpoint."
+ },
+ "endpointName": {
+ "type": "string",
+ "description": "name of the endpoint in the service."
+ }
+ },
+ "required": [
+ "applicationName",
+ "endpointName",
+ "serviceName"
+ ]
+ },
+ "GatewayProperties": {
+ "description": "Describes properties of a gateway resource.",
+ "properties": {
+ "description": {
+ "description": "User readable description of the gateway.",
+ "type": "string"
+ },
+ "sourceNetwork": {
+ "$ref": "#/definitions/NetworkRef",
+ "description": "Network the gateway should listen on for requests."
+ },
+ "destinationNetwork": {
+ "$ref": "#/definitions/NetworkRef",
+ "description": "Network that the Application is using."
+ },
+ "tcp": {
+ "description": "Configuration for tcp connectivity for this gateway.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TcpConfig"
+ }
+ },
+ "http": {
+ "description": "Configuration for http connectivity for this gateway.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HttpConfig"
+ }
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceStatus",
+ "description": "Status of the resource."
+ },
+ "statusDetails": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gives additional information about the current status of the gateway."
+ },
+ "ipAddress": {
+ "readOnly": true,
+ "type": "string",
+ "description": "IP address of the gateway. This is populated in the response and is ignored for incoming requests."
+ }
+ },
+ "required": [
+ "destinationNetwork",
+ "sourceNetwork"
+ ]
+ },
+ "HttpConfig": {
+ "description": "Describes the http configuration for external connectivity for this network.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "http gateway config name."
+ },
+ "port": {
+ "type": "integer",
+ "description": "Specifies the port at which the service endpoint below needs to be exposed."
+ },
+ "hosts": {
+ "type": "array",
+ "description": "description for routing.",
+ "items": {
+ "$ref": "#/definitions/HttpHostConfig"
+ }
+ }
+ },
+ "required": [
+ "hosts",
+ "name",
+ "port"
+ ]
+ },
+ "HttpHostConfig": {
+ "description": "Describes the hostname properties for http routing.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "http hostname config name."
+ },
+ "routes": {
+ "type": "array",
+ "description": "Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.",
+ "items": {
+ "$ref": "#/definitions/HttpRouteConfig"
+ }
+ }
+ },
+ "required": [
+ "name",
+ "routes"
+ ]
+ },
+ "HttpRouteConfig": {
+ "description": "Describes the hostname properties for http routing.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "http route name."
+ },
+ "match": {
+ "$ref": "#/definitions/HttpRouteMatchRule",
+ "description": "Describes a rule for http route matching."
+ },
+ "destination": {
+ "$ref": "#/definitions/GatewayDestination",
+ "description": "Describes destination endpoint for routing traffic."
+ }
+ },
+ "required": [
+ "destination",
+ "match",
+ "name"
+ ]
+ },
+ "HttpRouteMatchHeader": {
+ "description": "Describes header information for http route matching.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of header to match in request."
+ },
+ "value": {
+ "type": "string",
+ "description": "Value of header to match in request."
+ },
+ "type": {
+ "type": "string",
+ "description": "how to match header value",
+ "enum": [
+ "exact"
+ ],
+ "x-ms-enum": {
+ "name": "HeaderMatchType",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "HttpRouteMatchPath": {
+ "description": "Path to match for routing.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Uri path to match for request."
+ },
+ "rewrite": {
+ "type": "string",
+ "description": "replacement string for matched part of the Uri."
+ },
+ "type": {
+ "type": "string",
+ "description": "how to match value in the Uri",
+ "enum": [
+ "prefix"
+ ],
+ "x-ms-enum": {
+ "name": "PathMatchType",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "type",
+ "value"
+ ]
+ },
+ "HttpRouteMatchRule": {
+ "description": "Describes a rule for http route matching.",
+ "type": "object",
+ "properties": {
+ "path": {
+ "$ref": "#/definitions/HttpRouteMatchPath",
+ "description": "Path to match for routing."
+ },
+ "headers": {
+ "type": "array",
+ "description": "headers and their values to match in request.",
+ "items": {
+ "$ref": "#/definitions/HttpRouteMatchHeader"
+ }
+ }
+ },
+ "required": [
+ "path"
+ ]
+ },
+ "TcpConfig": {
+ "description": "Describes the tcp configuration for external connectivity for this network.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "tcp gateway config name."
+ },
+ "port": {
+ "type": "integer",
+ "description": "Specifies the port at which the service endpoint below needs to be exposed."
+ },
+ "destination": {
+ "$ref": "#/definitions/GatewayDestination",
+ "description": "Describes destination endpoint for routing traffic."
+ }
+ },
+ "required": [
+ "destination",
+ "name",
+ "port"
+ ]
+ },
+ "GatewayResourceName": {
+ "type": "string",
+ "description": "Name of the Gateway resource."
+ },
+ "GatewayResourceDescription": {
+ "description": "This type describes a gateway resource.",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/GatewayResourceName",
+ "description": "Name of the Gateway resource."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GatewayProperties",
+ "description": "Describes properties of a gateway resource."
+ }
+ },
+ "required": [
+ "name",
+ "properties"
+ ]
+ },
+ "PagedGatewayResourceDescriptionList": {
+ "type": "object",
+ "description": "The list of gateway resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "One page of the list.",
+ "items": {
+ "$ref": "#/definitions/GatewayResourceDescription"
+ }
+ }
+ }
+ },
+ "ApplicationProperties": {
+ "description": "Describes properties of a application resource.",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "User readable description of the application."
+ },
+ "services": {
+ "type": "array",
+ "description": "Describes the services in the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource.",
+ "items": {
+ "$ref": "#/definitions/ServiceResourceDescription"
+ }
+ },
+ "diagnostics": {
+ "$ref": "#/definitions/DiagnosticsDescription",
+ "description": "Describes the diagnostics definition and usage for an application resource."
+ },
+ "debugParams": {
+ "description": "Internal - used by Visual Studio to setup the debugging session on the local development environment.",
+ "type": "string"
+ },
+ "serviceNames": {
+ "readOnly": true,
+ "description": "Names of the services in the application.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceStatus",
+ "description": "Status of the application."
+ },
+ "statusDetails": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gives additional information about the current status of the application."
+ },
+ "healthState": {
+ "readOnly": true,
+ "$ref": "#/definitions/HealthState",
+ "description": "Describes the health state of an application resource."
+ },
+ "unhealthyEvaluation": {
+ "readOnly": true,
+ "type": "string",
+ "description": "When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy."
+ }
+ }
+ },
+ "ApplicationResourceUpgradeProgressInfo": {
+ "description": "This type describes an application resource upgrade.",
+ "properties": {
+ "Name": {
+ "type": "string",
+ "description": "Name of the Application resource."
+ },
+ "TargetApplicationTypeVersion": {
+ "type": "string",
+ "description": "The target application version for the application upgrade."
+ },
+ "StartTimestampUtc": {
+ "type": "string",
+ "description": "The estimated UTC datetime when the upgrade started."
+ },
+ "UpgradeState": {
+ "$ref": "#/definitions/ApplicationResourceUpgradeState",
+ "description": "The state of the application resource upgrade."
+ },
+ "PercentCompleted": {
+ "type": "string",
+ "description": "The estimated percent of replicas are completed in the upgrade."
+ },
+ "ServiceUpgradeProgress": {
+ "$ref": "#/definitions/ServiceUpgradeProgressList",
+ "description": "List of service upgrade progresses."
+ },
+ "RollingUpgradeMode": {
+ "$ref": "#/definitions/RollingUpgradeMode",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
+ },
+ "UpgradeDuration": {
+ "type": "string",
+ "description": "The estimated amount of time that the overall upgrade elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.",
+ "default": "PT0H2M0S"
+ },
+ "ApplicationUpgradeStatusDetails": {
+ "type": "string",
+ "description": "Additional detailed information about the status of the pending upgrade."
+ },
+ "UpgradeReplicaSetCheckTimeoutInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).",
+ "default": 42949672925
+ },
+ "FailureTimestampUtc": {
+ "type": "string",
+ "description": "The estimated UTC datetime when the upgrade failed and FailureAction was executed."
+ }
+ }
+ },
+ "ApplicationResourceUpgradeState": {
+ "type": "string",
+ "description": "The state of the application resource upgrade.",
+ "enum": [
+ "Invalid",
+ "ProvisioningTarget",
+ "RollingForward",
+ "UnprovisioningCurrent",
+ "CompletedRollforward",
+ "RollingBack",
+ "UnprovisioningTarget",
+ "CompletedRollback",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationResourceUpgradeState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade state is invalid. All Service Fabric enumerations have the invalid type. The value is 0."
+ },
+ {
+ "value": "ProvisioningTarget",
+ "description": "The upgrade is in the progress of provisioning target application type version. The value is 1."
+ },
+ {
+ "value": "RollingForward",
+ "description": "The upgrade is rolling forward to the target version but is not complete yet. The value is 2."
+ },
+ {
+ "value": "UnprovisioningCurrent",
+ "description": "The upgrade is in the progress of unprovisioning current application type version and rolling forward to the target version is completed. The value is 3."
+ },
+ {
+ "value": "CompletedRollforward",
+ "description": "The upgrade has finished rolling forward. The value is 4."
+ },
+ {
+ "value": "RollingBack",
+ "description": "The upgrade is rolling back to the previous version but is not complete yet. The value is 5."
+ },
+ {
+ "value": "UnprovisioningTarget",
+ "description": "The upgrade is in the progress of unprovisioning target application type version and rolling back to the current version is completed. The value is 6."
+ },
+ {
+ "value": "CompletedRollback",
+ "description": "The upgrade has finished rolling back. The value is 7."
+ },
+ {
+ "value": "Failed",
+ "description": "The upgrade has failed and is unable to execute FailureAction. The value is 8."
+ }
+ ]
+ }
+ },
+ "AzureInternalMonitoringPipelineSinkDescription": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DiagnosticsSinkProperties"
+ }
+ ],
+ "x-ms-discriminator-value": "AzureInternalMonitoringPipeline",
+ "description": "Diagnostics settings for Geneva.",
+ "properties": {
+ "accountName": {
+ "description": "Azure Internal monitoring pipeline account.",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "Azure Internal monitoring pipeline account namespace.",
+ "type": "string"
+ },
+ "maConfigUrl": {
+ "description": "Azure Internal monitoring agent configuration.",
+ "type": "string"
+ },
+ "fluentdConfigUrl": {
+ "description": "Azure Internal monitoring agent fluentd configuration.",
+ "type": "string"
+ },
+ "autoKeyConfigUrl": {
+ "description": "Azure Internal monitoring pipeline autokey associated with the certificate.",
+ "type": "string"
+ }
+ }
+ },
+ "DiagnosticsDescription": {
+ "description": "Describes the diagnostics options available",
+ "properties": {
+ "sinks": {
+ "description": "List of supported sinks that can be referenced.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnosticsSinkProperties"
+ }
+ },
+ "enabled": {
+ "description": "Status of whether or not sinks are enabled.",
+ "type": "boolean"
+ },
+ "defaultSinkRefs": {
+ "description": "The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DiagnosticsRef": {
+ "description": "Reference to sinks in DiagnosticsDescription.",
+ "properties": {
+ "enabled": {
+ "description": "Status of whether or not sinks are enabled.",
+ "type": "boolean"
+ },
+ "sinkRefs": {
+ "description": "List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DiagnosticsSinkKind": {
+ "type": "string",
+ "description": "The kind of DiagnosticsSink.",
+ "enum": [
+ "Invalid",
+ "AzureInternalMonitoringPipeline"
+ ],
+ "x-ms-enum": {
+ "name": "DiagnosticsSinkKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates an invalid sink kind. All Service Fabric enumerations have the invalid type."
+ },
+ {
+ "value": "AzureInternalMonitoringPipeline",
+ "description": "Diagnostics settings for Geneva."
+ }
+ ]
+ }
+ },
+ "DiagnosticsSinkProperties": {
+ "description": "Properties of a DiagnosticsSink.",
+ "discriminator": "kind",
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/DiagnosticsSinkKind",
+ "description": "The kind of DiagnosticsSink."
+ },
+ "name": {
+ "description": "Name of the sink. This value is referenced by DiagnosticsReferenceDescription",
+ "type": "string"
+ },
+ "description": {
+ "description": "A description of the sink.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ]
+ },
+ "IdentityDescription": {
+ "description": "Information describing the identities associated with this application.",
+ "properties": {
+ "tokenServiceEndpoint": {
+ "type": "string",
+ "description": "the endpoint for the token service managing this identity"
+ },
+ "type": {
+ "type": "string",
+ "description": "the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'"
+ },
+ "tenantId": {
+ "type": "string",
+ "description": "the identifier of the tenant containing the application's identity."
+ },
+ "principalId": {
+ "type": "string",
+ "description": "the object identifier of the Service Principal of the identity associated with this resource."
+ },
+ "userAssignedIdentities": {
+ "$ref": "#/definitions/UserAssignedIdentityMap",
+ "description": "represents user assigned identities map."
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "IdentityItemDescription": {
+ "description": "Describes a single user-assigned identity associated with the application.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "the object identifier of the Service Principal which this identity represents."
+ },
+ "clientId": {
+ "type": "string",
+ "description": "the client identifier of the Service Principal which this identity represents."
+ }
+ }
+ },
+ "RollingUpgradeMode": {
+ "type": "string",
+ "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored.",
+ "enum": [
+ "Invalid",
+ "UnmonitoredAuto",
+ "UnmonitoredManual",
+ "Monitored"
+ ],
+ "default": "Monitored",
+ "x-ms-enum": {
+ "name": "RollingUpgradeMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Indicates the upgrade mode is invalid. All Service Fabric enumerations have the invalid type. The value is zero."
+ },
+ {
+ "value": "UnmonitoredAuto",
+ "description": "The upgrade will proceed automatically without performing any health monitoring. The value is 1"
+ },
+ {
+ "value": "UnmonitoredManual",
+ "description": "The upgrade will stop after completing each upgrade domain, giving the opportunity to manually monitor health before proceeding. The value is 2"
+ },
+ {
+ "value": "Monitored",
+ "description": "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 3"
+ }
+ ]
+ }
+ },
+ "ServiceUpgradeProgressList": {
+ "type": "array",
+ "description": "List of service upgrade progresses.",
+ "items": {
+ "$ref": "#/definitions/ServiceUpgradeProgress"
+ }
+ },
+ "ServiceUpgradeProgress": {
+ "description": "Information about how many replicas are completed or pending for a specific service during upgrade.",
+ "properties": {
+ "ServiceName": {
+ "type": "string",
+ "description": "Name of the Service resource."
+ },
+ "CompletedReplicaCount": {
+ "type": "string",
+ "description": "The number of replicas that completes the upgrade in the service."
+ },
+ "PendingReplicaCount": {
+ "type": "string",
+ "description": "The number of replicas that are waiting to be upgraded in the service."
+ }
+ }
+ },
+ "UserAssignedIdentityMap": {
+ "type": "object",
+ "description": "Defines a map that contains user assigned identities.",
+ "additionalProperties": {
+ "$ref": "#/definitions/IdentityItemDescription"
+ }
+ },
+ "AddRemoveReplicaScalingMechanism": {
+ "description": "Describes the horizontal auto scaling mechanism that adds or removes replicas (containers or container groups).",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutoScalingMechanism"
+ },
+ {
+ "type": "object"
+ }
+ ],
+ "x-ms-discriminator-value": "AddRemoveReplica",
+ "properties": {
+ "minCount": {
+ "type": "integer",
+ "description": "Minimum number of containers (scale down won't be performed below this number)."
+ },
+ "maxCount": {
+ "type": "integer",
+ "description": "Maximum number of containers (scale up won't be performed above this number)."
+ },
+ "scaleIncrement": {
+ "type": "integer",
+ "description": "Each time auto scaling is performed, this number of containers will be added or removed."
+ }
+ },
+ "required": [
+ "minCount",
+ "maxCount",
+ "scaleIncrement"
+ ]
+ },
+ "AutoScalingMechanism": {
+ "type": "object",
+ "discriminator": "kind",
+ "description": "Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism.",
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/AutoScalingMechanismKind",
+ "description": "The type of auto scaling mechanism."
+ }
+ },
+ "required": [
+ "kind"
+ ]
+ },
+ "AutoScalingMechanismKind": {
+ "type": "string",
+ "description": "Enumerates the mechanisms for auto scaling.",
+ "enum": [
+ "AddRemoveReplica"
+ ],
+ "x-ms-enum": {
+ "name": "AutoScalingMechanismKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "AddRemoveReplica",
+ "description": "Indicates that scaling should be performed by adding or removing replicas."
+ }
+ ]
+ }
+ },
+ "AutoScalingMetric": {
+ "type": "object",
+ "discriminator": "kind",
+ "description": "Describes the metric that is used for triggering auto scaling operation. Derived classes will describe resources or metrics.",
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/AutoScalingMetricKind",
+ "description": "The type of auto scaling metric"
+ }
+ },
+ "required": [
+ "kind"
+ ]
+ },
+ "AutoScalingMetricKind": {
+ "type": "string",
+ "description": "Enumerates the metrics that are used for triggering auto scaling.",
+ "enum": [
+ "Resource"
+ ],
+ "x-ms-enum": {
+ "name": "AutoScalingMetricKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Resource",
+ "description": "Indicates that the metric is one of resources, like cpu or memory."
+ }
+ ]
+ }
+ },
+ "AutoScalingPolicy": {
+ "description": "Describes the auto scaling policy",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the auto scaling policy.",
+ "type": "string"
+ },
+ "trigger": {
+ "$ref": "#/definitions/AutoScalingTrigger",
+ "description": "Determines when auto scaling operation will be invoked."
+ },
+ "mechanism": {
+ "$ref": "#/definitions/AutoScalingMechanism",
+ "description": "The mechanism that is used to scale when auto scaling operation is invoked."
+ }
+ },
+ "required": [
+ "name",
+ "trigger",
+ "mechanism"
+ ]
+ },
+ "AutoScalingResourceMetric": {
+ "description": "Describes the resource that is used for triggering auto scaling.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutoScalingMetric"
+ },
+ {
+ "type": "object"
+ }
+ ],
+ "x-ms-discriminator-value": "Resource",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/AutoScalingResourceMetricName",
+ "description": "Name of the resource."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "AutoScalingResourceMetricName": {
+ "type": "string",
+ "description": "Enumerates the resources that are used for triggering auto scaling.",
+ "enum": [
+ "cpu",
+ "memoryInGB"
+ ],
+ "x-ms-enum": {
+ "name": "AutoScalingResourceMetricName",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "cpu",
+ "description": "Indicates that the resource is CPU cores."
+ },
+ {
+ "value": "memoryInGB",
+ "description": "Indicates that the resource is memory in GB."
+ }
+ ]
+ }
+ },
+ "AutoScalingTrigger": {
+ "type": "object",
+ "discriminator": "kind",
+ "description": "Describes the trigger for performing auto scaling operation.",
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/AutoScalingTriggerKind",
+ "description": "The type of auto scaling trigger"
+ }
+ },
+ "required": [
+ "kind"
+ ]
+ },
+ "AutoScalingTriggerKind": {
+ "type": "string",
+ "description": "Enumerates the triggers for auto scaling.",
+ "enum": [
+ "AverageLoad"
+ ],
+ "x-ms-enum": {
+ "name": "AutoScalingTriggerKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "AverageLoad",
+ "description": "Indicates that scaling should be performed based on average load of all replicas in the service."
+ }
+ ]
+ }
+ },
+ "ContainerCodePackageProperties": {
+ "description": "Describes a container and its runtime properties.",
+ "properties": {
+ "name": {
+ "description": "The name of the code package.",
+ "type": "string"
+ },
+ "image": {
+ "description": "The Container image to use.",
+ "type": "string"
+ },
+ "imageRegistryCredential": {
+ "$ref": "#/definitions/ImageRegistryCredential",
+ "description": "Image registry credential."
+ },
+ "entrypoint": {
+ "description": "Override for the default entry point in the container.",
+ "type": "string"
+ },
+ "commands": {
+ "description": "Command array to execute within the container in exec form.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "environmentVariables": {
+ "description": "The environment variables to set in this container",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentVariable"
+ }
+ },
+ "settings": {
+ "description": "The settings to set in this container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\".",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Setting"
+ }
+ },
+ "labels": {
+ "description": "The labels to set in this container.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerLabel"
+ }
+ },
+ "endpoints": {
+ "description": "The endpoints exposed by this container.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EndpointProperties"
+ }
+ },
+ "resources": {
+ "description": "The resources required by this container.",
+ "$ref": "#/definitions/ResourceRequirements"
+ },
+ "volumeRefs": {
+ "description": "Volumes to be attached to the container. The lifetime of these volumes is independent of the application's lifetime.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VolumeReference"
+ }
+ },
+ "volumes": {
+ "description": "Volumes to be attached to the container. The lifetime of these volumes is scoped to the application's lifetime.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationScopedVolume"
+ }
+ },
+ "diagnostics": {
+ "$ref": "#/definitions/DiagnosticsRef",
+ "description": "Reference to sinks in DiagnosticsDescription."
+ },
+ "reliableCollectionsRefs": {
+ "description": "A list of ReliableCollection resources used by this particular code package. Please refer to ReliableCollectionsRef for more details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReliableCollectionsRef"
+ }
+ },
+ "instanceView": {
+ "readOnly": true,
+ "$ref": "#/definitions/ContainerInstanceView",
+ "description": "Runtime information of a container instance."
+ },
+ "livenessProbe": {
+ "description": "An array of liveness probes for a code package. It determines when to restart a code package.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Probe"
+ }
+ },
+ "readinessProbe": {
+ "description": "An array of readiness probes for a code package. It determines when to unpublish an endpoint.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Probe"
+ }
+ }
+ },
+ "required": [
+ "name",
+ "image",
+ "resources"
+ ]
+ },
+ "ContainerEvent": {
+ "description": "A container event.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the container event."
+ },
+ "count": {
+ "type": "integer",
+ "description": "The count of the event."
+ },
+ "firstTimestamp": {
+ "type": "string",
+ "description": "Date/time of the first event."
+ },
+ "lastTimestamp": {
+ "type": "string",
+ "description": "Date/time of the last event."
+ },
+ "message": {
+ "type": "string",
+ "description": "The event message"
+ },
+ "type": {
+ "type": "string",
+ "description": "The event type."
+ }
+ }
+ },
+ "ContainerInstanceView": {
+ "description": "Runtime information of a container instance.",
+ "properties": {
+ "restartCount": {
+ "type": "integer",
+ "description": "The number of times the container has been restarted."
+ },
+ "currentState": {
+ "$ref": "#/definitions/ContainerState",
+ "description": "Current container instance state."
+ },
+ "previousState": {
+ "$ref": "#/definitions/ContainerState",
+ "description": "Previous container instance state."
+ },
+ "events": {
+ "description": "The events of this container instance.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerEvent"
+ }
+ }
+ }
+ },
+ "ContainerLabel": {
+ "description": "Describes a container label.",
+ "properties": {
+ "name": {
+ "description": "The name of the container label.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the container label.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ]
+ },
+ "ContainerState": {
+ "description": "The container state.",
+ "properties": {
+ "state": {
+ "type": "string",
+ "description": "The state of this container"
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Date/time when the container state started."
+ },
+ "exitCode": {
+ "type": "string",
+ "description": "The container exit code."
+ },
+ "finishTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Date/time when the container state finished."
+ },
+ "detailStatus": {
+ "description": "Human-readable status of this state.",
+ "type": "string"
+ }
+ }
+ },
+ "EndpointProperties": {
+ "description": "Describes a container endpoint.",
+ "properties": {
+ "name": {
+ "description": "The name of the endpoint.",
+ "type": "string"
+ },
+ "port": {
+ "description": "Port used by the container.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "EnvironmentVariable": {
+ "description": "Describes an environment variable for the container.",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/EnvironmentVariableType",
+ "description": "The type of the environment variable being given in value"
+ },
+ "name": {
+ "description": "The name of the environment variable.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the environment variable, will be processed based on the type provided.",
+ "type": "string"
+ }
+ }
+ },
+ "EnvironmentVariableType": {
+ "type": "string",
+ "description": "The type of the environment variable being given in value",
+ "default": "ClearText",
+ "enum": [
+ "ClearText",
+ "KeyVaultReference",
+ "SecretValueReference"
+ ],
+ "x-ms-enum": {
+ "name": "EnvironmentVariableType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "ClearText",
+ "description": "The environment variable in clear text, will not be processed in any way and passed in as is"
+ },
+ {
+ "value": "KeyVaultReference",
+ "description": "The URI to a KeyVault secret version, will be resolved using the application's managed identity (this type is only valid if the app was assigned a managed identity) before getting passed in"
+ },
+ {
+ "value": "SecretValueReference",
+ "description": "The reference to a SecretValue resource, will be resolved before getting passed in"
+ }
+ ]
+ }
+ },
+ "ExecutionPolicy": {
+ "type": "object",
+ "discriminator": "type",
+ "description": "The execution policy of the service",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/ExecutionPolicyType",
+ "description": "Enumerates the execution policy types for services."
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "ExecutionPolicyType": {
+ "type": "string",
+ "description": "Enumerates the execution policy types for services.",
+ "enum": [
+ "runToCompletion"
+ ],
+ "x-ms-enum": {
+ "name": "ExecutionPolicyType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "runToCompletion",
+ "description": "Indicates that the service will perform its desired operation and complete successfully. If the service encounters failure, it will restarted based on restart policy specified. If the service completes its operation successfully, it will not be restarted again."
+ }
+ ]
+ }
+ },
+ "ImageRegistryCredential": {
+ "description": "Image registry credential.",
+ "properties": {
+ "server": {
+ "type": "string",
+ "description": "Docker image registry server, without protocol such as `http` and `https`."
+ },
+ "username": {
+ "type": "string",
+ "description": "The username for the private registry."
+ },
+ "passwordType": {
+ "$ref": "#/definitions/ImageRegistryPasswordType",
+ "description": "The type of the image registry password being given in password"
+ },
+ "password": {
+ "type": "string",
+ "description": "The password for the private registry. The password is required for create or update operations, however it is not returned in the get or list operations. Will be processed based on the type provided."
+ }
+ },
+ "required": [
+ "server",
+ "username"
+ ]
+ },
+ "ImageRegistryPasswordType": {
+ "type": "string",
+ "description": "The type of the image registry password being given in password",
+ "default": "ClearText",
+ "enum": [
+ "ClearText",
+ "KeyVaultReference",
+ "SecretValueReference"
+ ],
+ "x-ms-enum": {
+ "name": "ImageRegistryPasswordType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "ClearText",
+ "description": "The image registry password in clear text, will not be processed in any way and used directly"
+ },
+ {
+ "value": "KeyVaultReference",
+ "description": "The URI to a KeyVault secret version, will be resolved using the application's managed identity (this type is only valid if the app was assigned a managed identity) before getting used"
+ },
+ {
+ "value": "SecretValueReference",
+ "description": "The reference to a SecretValue resource, will be resolved before getting used"
+ }
+ ]
+ }
+ },
+ "OperatingSystemType": {
+ "type": "string",
+ "description": "The operation system required by the code in service.",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Linux",
+ "description": "The required operating system is Linux."
+ },
+ {
+ "value": "Windows",
+ "description": "The required operating system is Windows."
+ }
+ ]
+ }
+ },
+ "Probe": {
+ "description": "Probes have a number of fields that you can use to control their behavior.",
+ "properties": {
+ "initialDelaySeconds": {
+ "type": "integer",
+ "description": "The initial delay in seconds to start executing probe once code package has started."
+ },
+ "periodSeconds": {
+ "type": "integer",
+ "description": "Periodic seconds to execute probe."
+ },
+ "timeoutSeconds": {
+ "type": "integer",
+ "description": "Period after which probe is considered as failed if it hasn't completed successfully."
+ },
+ "successThreshold": {
+ "type": "integer",
+ "description": "The count of successful probe executions after which probe is considered success."
+ },
+ "failureThreshold": {
+ "type": "integer",
+ "description": "The count of failures after which probe is considered failed."
+ },
+ "exec": {
+ "$ref": "#/definitions/ProbeExec",
+ "description": "Exec command to run inside the container."
+ },
+ "httpGet": {
+ "$ref": "#/definitions/ProbeHttpGet",
+ "description": "Http probe for the container."
+ },
+ "tcpSocket": {
+ "$ref": "#/definitions/ProbeTcpSocket",
+ "description": "Tcp port to probe inside the container."
+ }
+ }
+ },
+ "ProbeExec": {
+ "description": "Exec command to run inside the container.",
+ "properties": {
+ "command": {
+ "description": "Comma separated command to run inside the container for example \"sh, -c, echo hello world\".",
+ "type": "string"
+ }
+ },
+ "required": [
+ "command"
+ ]
+ },
+ "ProbeHttpGet": {
+ "description": "Http probe for the container.",
+ "properties": {
+ "port": {
+ "description": "Port to access for probe.",
+ "type": "integer"
+ },
+ "path": {
+ "description": "Path to access on the HTTP request.",
+ "type": "string"
+ },
+ "host": {
+ "description": "Host IP to connect to.",
+ "type": "string"
+ },
+ "httpHeaders": {
+ "description": "Headers to set in the request.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProbeHttpGetHeaders"
+ }
+ },
+ "scheme": {
+ "type": "string",
+ "description": "Scheme for the http probe. Can be Http or Https.",
+ "enum": [
+ "http",
+ "https"
+ ],
+ "x-ms-enum": {
+ "name": "scheme",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "http",
+ "description": "Indicates that the probe is http."
+ },
+ {
+ "value": "https",
+ "description": "Indicates that the probe is https. No cert validation."
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "port"
+ ]
+ },
+ "ProbeHttpGetHeaders": {
+ "description": "Http headers.",
+ "properties": {
+ "name": {
+ "description": "The name of the header.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the header.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ]
+ },
+ "ProbeTcpSocket": {
+ "description": "Tcp port to probe inside the container.",
+ "properties": {
+ "port": {
+ "description": "Port to access for probe.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "port"
+ ]
+ },
+ "ReliableCollectionsRef": {
+ "description": "Specifying this parameter adds support for reliable collections",
+ "properties": {
+ "name": {
+ "description": "Name of ReliableCollection resource. Right now it's not used and you can use any string.",
+ "type": "string"
+ },
+ "doNotPersistState": {
+ "description": "False (the default) if ReliableCollections state is persisted to disk as usual. True if you do not want to persist state, in which case replication is still enabled and you can use ReliableCollections as distributed cache.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "ResourceLimits": {
+ "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted.",
+ "properties": {
+ "memoryInGB": {
+ "description": "The memory limit in GB.",
+ "type": "number",
+ "format": "double"
+ },
+ "cpu": {
+ "description": "CPU limits in cores. At present, only full cores are supported.",
+ "type": "number",
+ "format": "double"
+ }
+ }
+ },
+ "ResourceRequests": {
+ "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.",
+ "properties": {
+ "memoryInGB": {
+ "description": "The memory request in GB for this container.",
+ "type": "number",
+ "format": "double"
+ },
+ "cpu": {
+ "description": "Requested number of CPU cores. At present, only full cores are supported.",
+ "type": "number",
+ "format": "double"
+ }
+ },
+ "required": [
+ "memoryInGB",
+ "cpu"
+ ]
+ },
+ "ResourceRequirements": {
+ "description": "This type describes the resource requirements for a container or a service.",
+ "properties": {
+ "requests": {
+ "$ref": "#/definitions/ResourceRequests",
+ "description": "Describes the requested resources for a given container."
+ },
+ "limits": {
+ "$ref": "#/definitions/ResourceLimits",
+ "description": "Describes the maximum limits on the resources for a given container."
+ }
+ },
+ "required": [
+ "requests"
+ ]
+ },
+ "RestartPolicy": {
+ "type": "string",
+ "description": "Enumerates the restart policy for RunToCompletionExecutionPolicy",
+ "enum": [
+ "onFailure",
+ "never"
+ ],
+ "x-ms-enum": {
+ "name": "RestartPolicy",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "onFailure",
+ "description": "Service will be restarted when it encounters a failure."
+ },
+ {
+ "value": "never",
+ "description": "Service will never be restarted. If the service encounters a failure, it will move to Failed state."
+ }
+ ]
+ }
+ },
+ "RunToCompletionExecutionPolicy": {
+ "description": "The run to completion execution policy",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ExecutionPolicy"
+ },
+ {
+ "type": "object"
+ }
+ ],
+ "x-ms-discriminator-value": "runToCompletion",
+ "properties": {
+ "restart": {
+ "$ref": "#/definitions/RestartPolicy",
+ "description": "Enumerates the restart policy for RunToCompletionExecutionPolicy"
+ }
+ },
+ "required": [
+ "restart"
+ ]
+ },
+ "ServiceProperties": {
+ "description": "Describes properties of a service resource.",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "User readable description of the service."
+ },
+ "replicaCount": {
+ "type": "integer",
+ "description": "The number of replicas of the service to create. Defaults to 1 if not specified."
+ },
+ "executionPolicy": {
+ "$ref": "#/definitions/ExecutionPolicy",
+ "description": "The execution policy of the service"
+ },
+ "autoScalingPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutoScalingPolicy"
+ },
+ "description": "Auto scaling policies"
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceStatus",
+ "description": "Status of the service."
+ },
+ "statusDetails": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gives additional information about the current status of the service."
+ },
+ "healthState": {
+ "readOnly": true,
+ "$ref": "#/definitions/HealthState",
+ "description": "Describes the health state of an application resource."
+ },
+ "unhealthyEvaluation": {
+ "readOnly": true,
+ "type": "string",
+ "description": "When the service's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the service is marked unhealthy."
+ },
+ "identityRefs": {
+ "description": "The service identity list.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceIdentity"
+ }
+ },
+ "dnsName": {
+ "type": "string",
+ "description": "Dns name of the service."
+ }
+ }
+ },
+ "ServiceReplicaProperties": {
+ "description": "Describes the properties of a service replica.",
+ "properties": {
+ "osType": {
+ "$ref": "#/definitions/OperatingSystemType",
+ "description": "The operation system required by the code in service."
+ },
+ "codePackages": {
+ "description": "Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerCodePackageProperties"
+ }
+ },
+ "networkRefs": {
+ "type": "array",
+ "description": "The names of the private networks that this service needs to be part of.",
+ "items": {
+ "$ref": "#/definitions/NetworkRef"
+ }
+ },
+ "diagnostics": {
+ "$ref": "#/definitions/DiagnosticsRef",
+ "description": "Reference to sinks in DiagnosticsDescription."
+ }
+ },
+ "required": [
+ "osType",
+ "codePackages"
+ ]
+ },
+ "Setting": {
+ "description": "Describes a setting for the container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\".",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/SettingType",
+ "description": "The type of the setting being given in value"
+ },
+ "name": {
+ "description": "The name of the setting.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the setting, will be processed based on the type provided.",
+ "type": "string"
+ }
+ }
+ },
+ "SettingType": {
+ "type": "string",
+ "description": "The type of the setting being given in value",
+ "default": "ClearText",
+ "enum": [
+ "ClearText",
+ "KeyVaultReference",
+ "SecretValueReference"
+ ],
+ "x-ms-enum": {
+ "name": "SettingType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "ClearText",
+ "description": "The setting in clear text, will not be processed in any way and passed in as is"
+ },
+ {
+ "value": "KeyVaultReference",
+ "description": "The URI to a KeyVault secret version, will be resolved using the application's managed identity (this type is only valid if the app was assigned a managed identity) before getting passed in"
+ },
+ {
+ "value": "SecretValueReference",
+ "description": "The reference to a SecretValue resource, will be resolved before getting passed in"
+ }
+ ]
+ }
+ },
+ "ServiceReplicaDescription": {
+ "description": "Describes a replica of a service resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceReplicaProperties"
+ }
+ ],
+ "properties": {
+ "replicaName": {
+ "type": "string",
+ "description": "Name of the replica."
+ }
+ },
+ "required": [
+ "replicaName"
+ ]
+ },
+ "AverageLoadScalingTrigger": {
+ "description": "Describes the average load trigger used for auto scaling.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AutoScalingTrigger"
+ },
+ {
+ "type": "object"
+ }
+ ],
+ "x-ms-discriminator-value": "AverageLoad",
+ "properties": {
+ "metric": {
+ "$ref": "#/definitions/AutoScalingMetric",
+ "description": "Description of the metric that is used for scaling."
+ },
+ "lowerLoadThreshold": {
+ "type": "number",
+ "format": "double",
+ "description": "Lower load threshold (if average load is below this threshold, service will scale down)."
+ },
+ "upperLoadThreshold": {
+ "type": "number",
+ "format": "double",
+ "description": "Upper load threshold (if average load is above this threshold, service will scale up)."
+ },
+ "scaleIntervalInSeconds": {
+ "type": "integer",
+ "description": "Scale interval that indicates how often will this trigger be checked.",
+ "minimum": 60
+ }
+ },
+ "required": [
+ "metric",
+ "lowerLoadThreshold",
+ "upperLoadThreshold",
+ "scaleIntervalInSeconds"
+ ]
+ },
+ "ServiceIdentity": {
+ "description": "Map service identity friendly name to an application identity.",
+ "properties": {
+ "name": {
+ "description": "The identity friendly name.",
+ "type": "string"
+ },
+ "identityRef": {
+ "description": "The application identity name.",
+ "type": "string"
+ }
+ }
+ },
+ "ServiceResourceName": {
+ "type": "string",
+ "description": "Name of the Service resource."
+ },
+ "ServiceResourceDescription": {
+ "description": "This type describes a service resource.",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/ServiceResourceName",
+ "description": "Name of the Service resource."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ServiceResourceProperties",
+ "description": "This type describes properties of a service resource."
+ }
+ },
+ "required": [
+ "name",
+ "properties"
+ ]
+ },
+ "ServiceResourceProperties": {
+ "description": "This type describes properties of a service resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceReplicaProperties"
+ },
+ {
+ "$ref": "#/definitions/ServiceProperties"
+ }
+ ]
+ },
+ "PagedServiceResourceDescriptionList": {
+ "type": "object",
+ "description": "The list of service resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "One page of the list.",
+ "items": {
+ "$ref": "#/definitions/ServiceResourceDescription"
+ }
+ }
+ }
+ },
+ "PagedServiceReplicaDescriptionList": {
+ "description": "The list of service resource replicas in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "List of service resource replica description.",
+ "items": {
+ "$ref": "#/definitions/ServiceReplicaDescription"
+ }
+ }
+ }
+ },
+ "ApplicationResourceName": {
+ "type": "string",
+ "description": "Name of the Application resource."
+ },
+ "ApplicationResourceDescription": {
+ "description": "This type describes a application resource.",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/ApplicationResourceName",
+ "description": "Name of the Application resource."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationProperties",
+ "description": "Describes properties of a application resource."
+ },
+ "identity": {
+ "$ref": "#/definitions/IdentityDescription",
+ "description": "Describes the identity of the application."
+ }
+ },
+ "required": [
+ "name",
+ "properties"
+ ]
+ },
+ "PagedApplicationResourceDescriptionList": {
+ "type": "object",
+ "description": "The list of application resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.",
+ "properties": {
+ "ContinuationToken": {
+ "$ref": "#/definitions/ContinuationToken",
+ "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response."
+ },
+ "Items": {
+ "type": "array",
+ "description": "One page of the list.",
+ "items": {
+ "$ref": "#/definitions/ApplicationResourceDescription"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "CodePackageNameRequiredPathParam": {
+ "name": "codePackageName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The name of code package of the service."
+ },
+ "ApiVersion_6-4-Preview_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.4-preview"
+ ],
+ "required": true,
+ "default": "6.4-preview",
+ "description": "The version of the API. This parameter is required and its value must be '6.4-preview'.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-4-Preview_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.4-preview",
+ "description": "The version number for the preview functionality of 6.4 runtime"
+ }
+ ]
+ }
+ },
+ "TailOptionalQueryParam": {
+ "name": "Tail",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "Number of lines to show from the end of the logs. Default is 100. 'all' to show the complete logs."
+ },
+ "ApiVersion_6-0-Preview_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.0-preview"
+ ],
+ "required": true,
+ "default": "6.0-preview",
+ "description": "The version of the API. This parameter is required and its value must be '\"6.0-preview'.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-0-Preview_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.0-preview",
+ "description": "The version number for the preview functionality of 6.0 runtime."
+ }
+ ]
+ }
+ },
+ "ApiVersion_6-0_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.0"
+ ],
+ "required": true,
+ "default": "6.0",
+ "description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-0_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.0",
+ "description": "The 6.0 version of the API."
+ }
+ ]
+ }
+ },
+ "ApiVersion_6-1_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.1"
+ ],
+ "required": true,
+ "default": "6.1",
+ "description": "The version of the API. This parameter is required and its value must be '6.1'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-1_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.1",
+ "description": "The 6.1 version of the API."
+ }
+ ]
+ }
+ },
+ "ApiVersion_6-2_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.2"
+ ],
+ "required": true,
+ "default": "6.2",
+ "description": "The version of the API. This parameter is required and its value must be '6.2'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-2_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.2",
+ "description": "The 6.2 version of the API."
+ }
+ ]
+ }
+ },
+ "ApiVersion_6-2-Preview_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.2-preview"
+ ],
+ "required": true,
+ "default": "6.2-preview",
+ "description": "The version of the API. This parameter is required and its value must be '6.2-preview'.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-2-Preview_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.2-preview",
+ "description": "The version number for the preview functionality of 6.2 runtime"
+ }
+ ]
+ }
+ },
+ "ApiVersion_6-3_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.3"
+ ],
+ "required": true,
+ "default": "6.3",
+ "description": "The version of the API. This parameter is required and its value must be '6.3'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-3_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.3",
+ "description": "The 6.3 version of the API."
+ }
+ ]
+ }
+ },
+ "ApiVersion_6-3-Preview_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.3-preview"
+ ],
+ "required": true,
+ "default": "6.3-preview",
+ "description": "The version of the API. This parameter is required and its value must be '6.3-preview'.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-3-Preview_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.3-preview",
+ "description": "The version number for the preview functionality of 6.3 runtime"
+ }
+ ]
+ }
+ },
+ "ApiVersion_6-4_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.4"
+ ],
+ "required": true,
+ "default": "6.4",
+ "description": "The version of the API. This parameter is required and its value must be '6.4'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-4_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.4",
+ "description": "The 6.4 version of the API."
+ }
+ ]
+ }
+ },
+ "ApiVersion_6-5_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "6.5"
+ ],
+ "required": true,
+ "default": "6.5",
+ "description": "The version of the API. This parameter is required and its value must be '6.5'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.",
+ "x-ms-enum": {
+ "name": "ApiVersion_6-5_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "6.5",
+ "description": "The 6.5 version of the API."
+ }
+ ]
+ }
+ },
+ "ApiVersion_7-0_RequiredQueryParam": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "7.0"
+ ],
+ "required": true,
+ "default": "7.0",
+ "description": "The version of the API. This parameter is required and its value must be '7.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.",
+ "x-ms-enum": {
+ "name": "ApiVersion_7-0_RequiredQueryParam",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "7.0",
+ "description": "The 7.0 version of the API."
+ }
+ ]
+ }
+ },
+ "ApplicationDefinitionKindFilterOptionalQueryParam": {
+ "name": "ApplicationDefinitionKindFilter",
+ "description": "Used to filter on ApplicationDefinitionKind, which is the mechanism used to define a Service Fabric application.\n- Default - Default value, which performs the same function as selecting \"All\". The value is 0.\n- All - Filter that matches input with any ApplicationDefinitionKind value. The value is 65535.\n- ServiceFabricApplicationDescription - Filter that matches input with ApplicationDefinitionKind value ServiceFabricApplicationDescription. The value is 1.\n- Compose - Filter that matches input with ApplicationDefinitionKind value Compose. The value is 2.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "ApplicationHealthPolicyOptionalBodyParam": {
+ "name": "ApplicationHealthPolicy",
+ "in": "body",
+ "description": "Describes the health policies used to evaluate the health of an application or one of its children.\nIf not present, the health evaluation uses the health policy from application manifest or the default health policy.",
+ "required": false,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ApplicationHealthPolicy"
+ }
+ },
+ "ApplicationIdRequiredPathParam": {
+ "name": "applicationId",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme.\nStarting from version 6.0, hierarchical names are delimited with the \"~\" character.\nFor example, if the application name is \"fabric:/myapp/app1\", the application identity would be \"myapp~app1\" in 6.0+ and \"myapp/app1\" in previous versions."
+ },
+ "ApplicationsHealthStateFilterOptionalQueryParam": {
+ "name": "ApplicationsHealthStateFilter",
+ "description": "Allows filtering of the application health state objects returned in the result of cluster health\nquery based on their health state.\nThe possible values for this parameter include integer value obtained from members or bitwise operations\non members of HealthStateFilter enumeration. Only applications that match the filter are returned.\nAll applications are used to evaluate the aggregated health state. If not specified, all entries are returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then health state of applications with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "ApplicationTypeDefinitionKindFilterOptionalQueryParam": {
+ "name": "ApplicationTypeDefinitionKindFilter",
+ "description": "Used to filter on ApplicationTypeDefinitionKind which is the mechanism used to define a Service Fabric application type.\n- Default - Default value, which performs the same function as selecting \"All\". The value is 0.\n- All - Filter that matches input with any ApplicationTypeDefinitionKind value. The value is 65535.\n- ServiceFabricApplicationPackage - Filter that matches input with ApplicationTypeDefinitionKind value ServiceFabricApplicationPackage. The value is 1.\n- Compose - Filter that matches input with ApplicationTypeDefinitionKind value Compose. The value is 2.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "ApplicationTypeNameOptionalQueryParam": {
+ "name": "ApplicationTypeName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The application type name used to filter the applications to query for. This value should not contain the application type version."
+ },
+ "ApplicationTypeNameRequiredPathParam": {
+ "name": "applicationTypeName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The name of the application type."
+ },
+ "ApplicationTypeVersionOptionalQueryParam": {
+ "name": "ApplicationTypeVersion",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The version of the application type."
+ },
+ "ApplicationTypeVersionRequiredQueryParam": {
+ "name": "ApplicationTypeVersion",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The version of the application type."
+ },
+ "ProvisionApplicationTypeDescriptionBaseRequiredBodyParam": {
+ "name": "ProvisionApplicationTypeDescriptionBaseRequiredBodyParam",
+ "in": "body",
+ "description": "The base type of provision application type description which supports either image store-based provision or external store-based provision.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ProvisionApplicationTypeDescriptionBase"
+ }
+ },
+ "ClusterConfigurationUpgradeDescriptionRequiredBodyParam": {
+ "name": "ClusterConfigurationUpgradeDescription",
+ "in": "body",
+ "description": "Parameters for a standalone cluster configuration upgrade.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ClusterConfigurationUpgradeDescription"
+ }
+ },
+ "ClusterHealthPoliciesOptionalBodyParam": {
+ "name": "ClusterHealthPolicies",
+ "in": "body",
+ "description": "Describes the health policies used to evaluate the cluster health.\nIf not present, the health evaluation uses the cluster health policy defined in the cluster manifest or the default cluster health policy.\nBy default, each application is evaluated using its specific application health policy, defined in the application manifest, or the default health policy, if no policy is defined in manifest.\nIf the application health policy map is specified, and it has an entry for an application, the specified application health policy\nis used to evaluate the application health.",
+ "required": false,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ClusterHealthPolicies"
+ }
+ },
+ "ClusterHealthPolicyOptionalBodyParam": {
+ "name": "ClusterHealthPolicy",
+ "in": "body",
+ "description": "Describes the health policies used to evaluate the health of a cluster or node. If not present, the health evaluation uses the health policy from cluster manifest or the default health policy.",
+ "required": false,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ClusterHealthPolicy"
+ }
+ },
+ "ClusterHealthChunkQueryDescriptionOptionalBodyParam": {
+ "name": "ClusterHealthChunkQueryDescription",
+ "in": "body",
+ "description": "Describes the cluster and application health policies used to evaluate the cluster health and the filters to select which cluster entities to be returned.\nIf the cluster health policy is present, it is used to evaluate the cluster events and the cluster nodes. If not present, the health evaluation uses the cluster health policy defined in the cluster manifest or the default cluster health policy.\nBy default, each application is evaluated using its specific application health policy, defined in the application manifest, or the default health policy, if no policy is defined in manifest.\nIf the application health policy map is specified, and it has an entry for an application, the specified application health policy\nis used to evaluate the application health.\nUsers can specify very flexible filters to select which cluster entities to include in response. The selection can be done based on the entities health state and based on the hierarchy.\nThe query can return multi-level children of the entities based on the specified filters. For example, it can return one application with a specified name, and for this application, return\nonly services that are in Error or Warning, and all partitions and replicas for one of these services.",
+ "required": false,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ClusterHealthChunkQueryDescription"
+ }
+ },
+ "CodePackageInstanceIdRequiredQueryParam": {
+ "name": "CodePackageInstanceId",
+ "description": "ID that uniquely identifies a code package instance deployed on a service fabric node.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ },
+ "CodePackageNameRequiredQueryParam": {
+ "name": "CodePackageName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster."
+ },
+ "CodeVersionOptionalQueryParam": {
+ "name": "CodeVersion",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The product version of Service Fabric."
+ },
+ "ConfigVersionOptionalQueryParam": {
+ "name": "ConfigVersion",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The config version of Service Fabric."
+ },
+ "ConfigurationApiVersionRequiredQueryParam": {
+ "name": "ConfigurationApiVersion",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The API version of the Standalone cluster json configuration."
+ },
+ "ContainerApiRequiredBodyParam": {
+ "name": "ContainerApiRequestBody",
+ "in": "body",
+ "description": "Parameters for making container API call",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ContainerApiRequestBody"
+ }
+ },
+ "ContinuationTokenOptionalQueryParam": {
+ "name": "ContinuationToken",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": false,
+ "description": "The continuation token parameter is used to obtain next set of results. A continuation token with a non-empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token does not contain a value. The value of this parameter should not be URL encoded."
+ },
+ "DeployedApplicationsHealthStateFilterOptionalQueryParam": {
+ "name": "DeployedApplicationsHealthStateFilter",
+ "description": "Allows filtering of the deployed applications health state objects returned in the result of application health query based on their health state.\nThe possible values for this parameter include integer value of one of the following health states. Only deployed applications that match the filter will be returned.\nAll deployed applications are used to evaluate the aggregated health state. If not specified, all entries are returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values, obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then health state of deployed applications with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "DeployedServicePackagesHealthStateFilterOptionalQueryParam": {
+ "name": "DeployedServicePackagesHealthStateFilter",
+ "description": "Allows filtering of the deployed service package health state objects returned in the result of deployed application health query based on their health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly deployed service packages that match the filter are returned. All deployed service packages are used to evaluate the aggregated health state of the deployed application.\nIf not specified, all entries are returned.\nThe state values are flag-based enumeration, so the value can be a combination of these values, obtained using the bitwise 'OR' operator.\nFor example, if the provided value is 6 then health state of service packages with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "DeploymentNameRequiredPathParam": {
+ "name": "deploymentName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identity of the deployment."
+ },
+ "EventsHealthStateFilterOptionalQueryParam": {
+ "name": "EventsHealthStateFilter",
+ "description": "Allows filtering the collection of HealthEvent objects returned based on health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly events that match the filter are returned. All events are used to evaluate the aggregated health state.\nIf not specified, all entries are returned. The state values are flag-based enumeration, so the value could be a combination of these values, obtained using the bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "ExcludeApplicationParametersOptionalQueryParam": {
+ "name": "ExcludeApplicationParameters",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false,
+ "description": "The flag that specifies whether application parameters will be excluded from the result."
+ },
+ "HealthInformationRequiredBodyParam": {
+ "name": "HealthInformation",
+ "in": "body",
+ "description": "Describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/HealthInformation"
+ }
+ },
+ "NodeNameRequiredPathParam": {
+ "name": "nodeName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The name of the node."
+ },
+ "NodesHealthStateFilterOptionalQueryParam": {
+ "name": "NodesHealthStateFilter",
+ "description": "Allows filtering of the node health state objects returned in the result of cluster health query\nbased on their health state. The possible values for this parameter include integer value of one of the\nfollowing health states. Only nodes that match the filter are returned. All nodes are used to evaluate the aggregated health state.\nIf not specified, all entries are returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then health state of nodes with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "NodeStatusFilterOptionalQueryParam": {
+ "name": "NodeStatusFilter",
+ "description": "Allows filtering the nodes based on the NodeStatus. Only the nodes that are matching the specified filter value will be returned. The filter value can be one of the following.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "default",
+ "all",
+ "up",
+ "down",
+ "enabling",
+ "disabling",
+ "disabled",
+ "unknown",
+ "removed"
+ ],
+ "required": false,
+ "default": "default",
+ "x-ms-enum": {
+ "name": "NodeStatusFilter",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "default",
+ "description": "This filter value will match all of the nodes excepts the ones with status as Unknown or Removed."
+ },
+ {
+ "value": "all",
+ "description": "This filter value will match all of the nodes."
+ },
+ {
+ "value": "up",
+ "description": "This filter value will match nodes that are Up."
+ },
+ {
+ "value": "down",
+ "description": "This filter value will match nodes that are Down."
+ },
+ {
+ "value": "enabling",
+ "description": "This filter value will match nodes that are in the process of being enabled with status as Enabling."
+ },
+ {
+ "value": "disabling",
+ "description": "This filter value will match nodes that are in the process of being disabled with status as Disabling."
+ },
+ {
+ "value": "disabled",
+ "description": "This filter value will match nodes that are Disabled."
+ },
+ {
+ "value": "unknown",
+ "description": "This filter value will match nodes whose status is Unknown. A node would be in Unknown state if Service Fabric does not have authoritative information about that node. This can happen if the system learns about a node at runtime."
+ },
+ {
+ "value": "removed",
+ "description": "This filter value will match nodes whose status is Removed. These are the nodes that are removed from the cluster using the RemoveNodeState API."
+ }
+ ]
+ }
+ },
+ "PartitionIdOptionalQueryParam": {
+ "name": "PartitionId",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "format": "uuid",
+ "required": false,
+ "description": "The identity of the partition."
+ },
+ "PartitionIdRequiredPathParam": {
+ "name": "partitionId",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "format": "uuid",
+ "required": true,
+ "description": "The identity of the partition."
+ },
+ "ProvisionFabricDescriptionRequiredBodyParam": {
+ "name": "ProvisionFabricDescription",
+ "in": "body",
+ "description": "Describes the parameters for provisioning a cluster.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ProvisionFabricDescription"
+ }
+ },
+ "UnprovisionFabricDescriptionRequiredBodyParam": {
+ "name": "UnprovisionFabricDescription",
+ "in": "body",
+ "description": "Describes the parameters for unprovisioning a cluster.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/UnprovisionFabricDescription"
+ }
+ },
+ "ResumeClusterUpgradeDescriptionRequiredBodyParam": {
+ "name": "ResumeClusterUpgradeDescription",
+ "in": "body",
+ "description": "Describes the parameters for resuming a cluster upgrade.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ResumeClusterUpgradeDescription"
+ }
+ },
+ "UpdateClusterUpgradeDescriptionRequiredBodyParam": {
+ "name": "UpdateClusterUpgradeDescription",
+ "in": "body",
+ "description": "Parameters for updating a cluster upgrade.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/UpdateClusterUpgradeDescription"
+ }
+ },
+ "StartClusterUpgradeDescriptionRequiredBodyParam": {
+ "name": "StartClusterUpgradeDescription",
+ "in": "body",
+ "description": "Describes the parameters for starting a cluster upgrade.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/StartClusterUpgradeDescription"
+ }
+ },
+ "ReplicaHealthReportServiceKindRequiredQueryParam": {
+ "name": "ServiceKind",
+ "in": "query",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "description": "The kind of service replica (Stateless or Stateful) for which the health is being reported. Following are the possible values.",
+ "type": "string",
+ "enum": [
+ "Stateless",
+ "Stateful"
+ ],
+ "default": "Stateful",
+ "x-ms-enum": {
+ "name": "ReplicaHealthReportServiceKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Stateless",
+ "description": "Does not use Service Fabric to make its state highly available or reliable. The value is 1"
+ },
+ {
+ "value": "Stateful",
+ "description": "Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2."
+ }
+ ]
+ }
+ },
+ "ReplicaIdRequiredPathParam": {
+ "name": "replicaId",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identifier of the replica."
+ },
+ "ReplicasHealthStateFilerOptionalQueryParam": {
+ "name": "ReplicasHealthStateFilter",
+ "description": "Allows filtering the collection of ReplicaHealthState objects on the partition. The value can be obtained from members or bitwise operations on members of HealthStateFilter. Only replicas that match the filter will be returned. All replicas will be used to evaluate the aggregated health state. If not specified, all entries will be returned.The state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) will be returned. The possible values for this parameter include integer value of one of the following health states.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "ServiceIdRequiredPathParam": {
+ "name": "serviceId",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme.\nStarting from version 6.0, hierarchical names are delimited with the \"~\" character.\nFor example, if the service name is \"fabric:/myapp/app1/svc1\", the service identity would be \"myapp~app1~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
+ },
+ "ServiceManifestNameOptionalQueryParam": {
+ "name": "ServiceManifestName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The name of a service manifest registered as part of an application type in a Service Fabric cluster."
+ },
+ "ServiceManifestNameRequiredQueryParam": {
+ "name": "ServiceManifestName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The name of a service manifest registered as part of an application type in a Service Fabric cluster."
+ },
+ "ServicePackageNameRequiredPathParam": {
+ "name": "servicePackageName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The name of the service package."
+ },
+ "ServicesHealthStateFilterOptionalQueryParam": {
+ "name": "ServicesHealthStateFilter",
+ "description": "Allows filtering of the services health state objects returned in the result of services health query based on their health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly services that match the filter are returned. All services are used to evaluate the aggregated health state.\nIf not specified, all entries are returned. The state values are flag-based enumeration, so the value could be a combination of these values,\nobtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of services with HealthState value of OK (2) and Warning (4) will be returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "CreateServiceFromTemplateRequiredBodyParam": {
+ "name": "ServiceFromTemplateDescription",
+ "in": "body",
+ "description": "Describes the service that needs to be created from the template defined in the application manifest.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ServiceFromTemplateDescription"
+ }
+ },
+ "ServiceTypeNameOptionalQueryParam": {
+ "name": "ServiceTypeName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The service type name used to filter the services to query for."
+ },
+ "InfrastructureCommandRequiredQueryParam": {
+ "name": "Command",
+ "description": "The text of the command to be invoked. The content of the command is infrastructure-specific.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ },
+ "InfrastructureServiceIdOptionalQueryParam": {
+ "name": "ServiceId",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "The identity of the infrastructure service. This is the full name of the infrastructure service without the 'fabric:' URI scheme. This parameter required only for the cluster that has more than one instance of infrastructure service running.",
+ "required": false
+ },
+ "ForceRemoveOptionalQueryParam": {
+ "name": "ForceRemove",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "description": "Remove a Service Fabric application or service forcefully without going through the graceful shutdown sequence. This parameter can be used to forcefully delete an application or service for which delete is timing out due to issues in the service code that prevents graceful close of replicas."
+ },
+ "ForceRemoveReplicaOptionalQueryParam": {
+ "name": "ForceRemove",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "description": "Remove a Service Fabric application or service forcefully without going through the graceful shutdown sequence. This parameter can be used to forcefully delete an application or service for which delete is timing out due to issues in the service code that prevents graceful close of replicas."
+ },
+ "DeactivationIntentDescriptionRequiredBodyParam": {
+ "name": "DeactivationIntentDescription",
+ "in": "body",
+ "description": "Describes the intent or reason for deactivating the node.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/DeactivationIntentDescription"
+ }
+ },
+ "RestartNodeDescriptionRequiredBodyParam": {
+ "name": "RestartNodeDescription",
+ "in": "body",
+ "description": "The instance of the node to be restarted and a flag indicating the need to take dump of the fabric process.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/RestartNodeDescription"
+ }
+ },
+ "ApplicationUpgradeDescriptionRequiredBodyParam": {
+ "name": "ApplicationUpgradeDescription",
+ "in": "body",
+ "description": "Parameters for an application upgrade.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ApplicationUpgradeDescription"
+ }
+ },
+ "ComposeDeploymentUpgradeDescriptionRequiredBodyParam": {
+ "name": "ComposeDeploymentUpgradeDescription",
+ "in": "body",
+ "description": "Parameters for upgrading compose deployment.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ComposeDeploymentUpgradeDescription"
+ }
+ },
+ "ApplicationTypeImageStorePathRequiredBodyParam": {
+ "name": "ApplicationTypeImageStorePath",
+ "in": "body",
+ "description": "The relative path for the application package in the image store specified during the prior copy operation.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ApplicationTypeImageStorePath"
+ }
+ },
+ "UnprovisionApplicationTypeRequiredBodyParam": {
+ "name": "UnprovisionApplicationTypeDescriptionInfo",
+ "in": "body",
+ "description": "The relative path for the application package in the image store specified during the prior copy operation.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/UnprovisionApplicationTypeDescriptionInfo"
+ }
+ },
+ "UpgradeOrchestrationServiceStateRequiredBodyParam": {
+ "name": "UpgradeOrchestrationServiceState",
+ "in": "body",
+ "x-ms-parameter-location": "method",
+ "required": true,
+ "description": "Service state of Service Fabric Upgrade Orchestration Service.",
+ "schema": {
+ "$ref": "#/definitions/UpgradeOrchestrationServiceState"
+ }
+ },
+ "ChaosParametersRequiredBodyParam": {
+ "name": "ChaosParameters",
+ "in": "body",
+ "description": "Describes all the parameters to configure a Chaos run.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ChaosParameters"
+ }
+ },
+ "StartTimeUtcOptionalQueryParam": {
+ "name": "StartTimeUtc",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The Windows file time representing the start time of the time range for which a Chaos report is to be generated. Consult [DateTime.ToFileTimeUtc Method](https://msdn.microsoft.com/library/system.datetime.tofiletimeutc(v=vs.110).aspx) for details."
+ },
+ "EndTimeUtcOptionalQueryParam": {
+ "name": "EndTimeUtc",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The Windows file time representing the end time of the time range for which a Chaos report is to be generated. Consult [DateTime.ToFileTimeUtc Method](https://msdn.microsoft.com/library/system.datetime.tofiletimeutc(v=vs.110).aspx) for details."
+ },
+ "ApplicationNameRequiredQueryParam": {
+ "name": "ApplicationName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The name of application to create from compose file. This is typically the full name of the application including 'fabric:' URI scheme."
+ },
+ "CreateComposeDeploymentRequiredBodyParam": {
+ "name": "CreateComposeDeploymentDescription",
+ "in": "body",
+ "description": "Describes the compose deployment that needs to be created.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/CreateComposeDeploymentDescription"
+ }
+ },
+ "PasswordEncryptedOptionalQueryParam": {
+ "name": "PasswordEncrypted",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "description": "Indicates that supplied container repository password is encrypted."
+ },
+ "RepositoryPasswordOptionalQueryParam": {
+ "name": "RepositoryPassword",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The password for supplied username to connect to container repository."
+ },
+ "RepositoryUserNameOptionalQueryParam": {
+ "name": "RepositoryUserName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The user name to connect to container repository."
+ },
+ "MaxResultsOptionalQueryParam": {
+ "name": "MaxResults",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0,
+ "default": 0,
+ "required": false,
+ "description": "The maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged query includes as many results as possible that fit in the return message."
+ },
+ "ApplicationDescriptionRequiredBodyParam": {
+ "name": "ApplicationDescription",
+ "in": "body",
+ "description": "Description for creating an application.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ApplicationDescription"
+ }
+ },
+ "ServiceDescriptionRequiredBodyParam": {
+ "name": "ServiceDescription",
+ "in": "body",
+ "description": "The information necessary to create a service.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ServiceDescription"
+ }
+ },
+ "ServiceUpdateDescriptionRequiredBodyParam": {
+ "name": "ServiceUpdateDescription",
+ "in": "body",
+ "description": "The information necessary to update a service.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ServiceUpdateDescription"
+ }
+ },
+ "ImageStoreCopyDescriptionRequiredBodyParam": {
+ "name": "ImageStoreCopyDescription",
+ "in": "body",
+ "description": "Describes the copy description for the image store.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ImageStoreCopyDescription"
+ }
+ },
+ "CodePackageNameOptionalQueryParam": {
+ "name": "CodePackageName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster."
+ },
+ "RestartDeployedCodePackageRequiredBodyParam": {
+ "name": "RestartDeployedCodePackageDescription",
+ "in": "body",
+ "description": "Describes the deployed code package on Service Fabric node to restart.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/RestartDeployedCodePackageDescription"
+ }
+ },
+ "PartitionsHealthStateFilterOptionalQueryParam": {
+ "name": "PartitionsHealthStateFilter",
+ "description": "Allows filtering of the partitions health state objects returned in the result of service health query based on their health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly partitions that match the filter are returned. All partitions are used to evaluate the aggregated health state.\nIf not specified, all entries are returned. The state values are flag-based enumeration, so the value could be a combination of these value\nobtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of partitions with HealthState value of OK (2) and Warning (4) will be returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 0
+ },
+ "DeployedServiceType_ServiceManifestNameOptionalQueryParam": {
+ "name": "ServiceManifestName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The name of the service manifest to filter the list of deployed service type information. If specified, the response will only contain the information about service types that are defined in this service manifest."
+ },
+ "ServiceTypeNameRequiredPathParam": {
+ "name": "serviceTypeName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "Specifies the name of a Service Fabric service type."
+ },
+ "ImageStoreContentPathRequiredPathParam": {
+ "name": "contentPath",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "Relative path to file or folder in the image store from its root."
+ },
+ "PartitionKeyTypeOptionalQueryParam": {
+ "name": "PartitionKeyType",
+ "description": "Key type for the partition. This parameter is required if the partition scheme for the service is Int64Range or Named. The possible values are following.\n- None (1) - Indicates that the PartitionKeyValue parameter is not specified. This is valid for the partitions with partitioning scheme as Singleton. This is the default value. The value is 1.\n- Int64Range (2) - Indicates that the PartitionKeyValue parameter is an int64 partition key. This is valid for the partitions with partitioning scheme as Int64Range. The value is 2.\n- Named (3) - Indicates that the PartitionKeyValue parameter is a name of the partition. This is valid for the partitions with partitioning scheme as Named. The value is 3.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false
+ },
+ "PartitionKeyValueOptionalQueryParam": {
+ "name": "PartitionKeyValue",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": false,
+ "description": "Partition key. This is required if the partition scheme for the service is Int64Range or Named. \nThis is not the partition ID, but rather, either the integer key value, or the name of the partition ID.\nFor example, if your service is using ranged partitions from 0 to 10, then they PartitionKeyValue would be an\ninteger in that range. Query service description to see the range or name."
+ },
+ "PreviousRspVersionOptionalQueryParam": {
+ "name": "PreviousRspVersion",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": false,
+ "description": "The value in the Version field of the response that was received previously. This is required if the user knows that the result that was gotten previously is stale."
+ },
+ "DataLossModeRequiredQueryParam": {
+ "name": "DataLossMode",
+ "description": "This enum is passed to the StartDataLoss API to indicate what type of data loss to induce.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "PartialDataLoss",
+ "FullDataLoss"
+ ],
+ "required": true,
+ "x-ms-enum": {
+ "name": "DataLossMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Reserved. Do not pass into API."
+ },
+ {
+ "value": "PartialDataLoss",
+ "description": "PartialDataLoss option will cause a quorum of replicas to go down, triggering an OnDataLoss event in the system for the given partition."
+ },
+ {
+ "value": "FullDataLoss",
+ "description": "FullDataLoss option will drop all the replicas which means that all the data will be lost."
+ }
+ ]
+ }
+ },
+ "FaultOperationIdRequiredQueryParam": {
+ "name": "OperationId",
+ "description": "A GUID that identifies a call of this API. This is passed into the corresponding GetProgress API",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "format": "uuid",
+ "required": true
+ },
+ "ForceRequiredQueryParam": {
+ "name": "Force",
+ "description": "Indicates whether to gracefully roll back and clean up internal system state modified by executing the user-induced operation.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": true,
+ "default": false
+ },
+ "NodeInstanceIdRequiredQueryParam": {
+ "name": "NodeInstanceId",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The node instance ID of the target node. This can be determined through GetNodeInfo API."
+ },
+ "NodeTransitionTypeRequiredQueryParam": {
+ "name": "NodeTransitionType",
+ "description": "Indicates the type of transition to perform. NodeTransitionType.Start will start a stopped node. NodeTransitionType.Stop will stop a node that is up.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "Start",
+ "Stop"
+ ],
+ "required": true,
+ "x-ms-enum": {
+ "name": "NodeTransitionType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Reserved. Do not pass into API."
+ },
+ {
+ "value": "Start",
+ "description": "Transition a stopped node to up."
+ },
+ {
+ "value": "Stop",
+ "description": "Transition an up node to stopped."
+ }
+ ]
+ }
+ },
+ "QuorumLossDurationRequiredQueryParam": {
+ "name": "QuorumLossDuration",
+ "description": "The amount of time for which the partition will be kept in quorum loss. This must be specified in seconds.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": true
+ },
+ "QuorumLossModeRequiredQueryParam": {
+ "name": "QuorumLossMode",
+ "description": "This enum is passed to the StartQuorumLoss API to indicate what type of quorum loss to induce.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "QuorumReplicas",
+ "AllReplicas"
+ ],
+ "required": true,
+ "x-ms-enum": {
+ "name": "QuorumLossMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Reserved. Do not pass into API."
+ },
+ {
+ "value": "QuorumReplicas",
+ "description": "Partial Quorum loss mode : Minimum number of replicas for a partition will be down that will cause a quorum loss."
+ },
+ {
+ "value": "AllReplicas"
+ }
+ ]
+ }
+ },
+ "RestartPartitionModeRequiredQueryParam": {
+ "name": "RestartPartitionMode",
+ "description": "Describe which partitions to restart.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "AllReplicasOrInstances",
+ "OnlyActiveSecondaries"
+ ],
+ "required": true,
+ "x-ms-enum": {
+ "name": "RestartPartitionMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Invalid",
+ "description": "Reserved. Do not pass into API."
+ },
+ {
+ "value": "AllReplicasOrInstances",
+ "description": "All replicas or instances in the partition are restarted at once."
+ },
+ {
+ "value": "OnlyActiveSecondaries",
+ "description": "Only the secondary replicas are restarted."
+ }
+ ]
+ }
+ },
+ "StateFilterRequiredQueryParam": {
+ "name": "StateFilter",
+ "description": "Used to filter on OperationState's for user-induced operations.\n\n- 65535 - select All\n- 1 - select Running\n- 2 - select RollingBack\n- 8 - select Completed\n- 16 - select Faulted\n- 32 - select Cancelled\n- 64 - select ForceCancelled",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": true,
+ "default": 65535
+ },
+ "StopDurationInSecondsRequiredQueryParam": {
+ "name": "StopDurationInSeconds",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "required": true,
+ "description": "The duration, in seconds, to keep the node stopped. The minimum value is 600, the maximum is 14400. After this time expires, the node will automatically come back up."
+ },
+ "TypeFilterRequiredQueryParam": {
+ "name": "TypeFilter",
+ "description": "Used to filter on OperationType for user-induced operations.\n\n- 65535 - select all\n- 1 - select PartitionDataLoss.\n- 2 - select PartitionQuorumLoss.\n- 4 - select PartitionRestart.\n- 8 - select NodeTransition.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": true,
+ "default": 65535
+ },
+ "DeployServicePackageToNodeRequiredBodyParam": {
+ "name": "DeployServicePackageToNodeDescription",
+ "in": "body",
+ "description": "Describes information for deploying a service package to a Service Fabric node.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/DeployServicePackageToNodeDescription"
+ }
+ },
+ "ResumeApplicationUpgradeDescriptionRequiredBodyParam": {
+ "name": "ResumeApplicationUpgradeDescription",
+ "in": "body",
+ "description": "Describes the parameters for resuming an application upgrade.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ResumeApplicationUpgradeDescription"
+ }
+ },
+ "ApplicationUpgradeUpdateDescriptionRequiredBodyParam": {
+ "name": "ApplicationUpgradeUpdateDescription",
+ "in": "body",
+ "description": "Parameters for updating an existing application upgrade.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ApplicationUpgradeUpdateDescription"
+ }
+ },
+ "TimeoutOptionalQueryParam": {
+ "name": "timeout",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "format": "int64",
+ "required": false,
+ "minimum": 1,
+ "maximum": 4294967295,
+ "default": 60,
+ "description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
+ },
+ "NameDescriptionRequiredBodyParam": {
+ "name": "NameDescription",
+ "in": "body",
+ "description": "Describes the Service Fabric name to be created.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/NameDescription"
+ }
+ },
+ "NameIdRequiredPathParam": {
+ "name": "nameId",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The Service Fabric name, without the 'fabric:' URI scheme."
+ },
+ "RecursiveOptionalQueryParam": {
+ "name": "Recursive",
+ "description": "Allows specifying that the search performed should be recursive.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false
+ },
+ "IncludeValuesOptionalQueryParam": {
+ "name": "IncludeValues",
+ "description": "Allows specifying whether to include the values of the properties returned. True if values should be returned with the metadata; False to return only property metadata.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false
+ },
+ "PropertyDescriptionRequiredBodyParam": {
+ "name": "PropertyDescription",
+ "in": "body",
+ "description": "Describes the Service Fabric property to be created.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/PropertyDescription"
+ }
+ },
+ "PropertyNameRequiredQueryParam": {
+ "name": "PropertyName",
+ "description": "Specifies the name of the property to get.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ },
+ "PropertyBatchDescriptionListRequiredBodyParam": {
+ "name": "PropertyBatchDescriptionList",
+ "in": "body",
+ "description": "Describes the property batch operations to be submitted.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/PropertyBatchDescriptionList"
+ }
+ },
+ "ImmediateOptionalQueryParam": {
+ "name": "Immediate",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false,
+ "description": "A flag that indicates whether the report should be sent immediately.\nA health report is sent to a Service Fabric gateway Application, which forwards to the health store.\nIf Immediate is set to true, the report is sent immediately from HTTP Gateway to the health store, regardless of the fabric client settings that the HTTP Gateway Application is using.\nThis is useful for critical reports that should be sent as soon as possible.\nDepending on timing and other conditions, sending the report may still fail, for example if the HTTP Gateway is closed or the message doesn't reach the Gateway.\nIf Immediate is set to false, the report is sent based on the health client settings from the HTTP Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration.\nThis is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing.\nBy default, reports are not sent immediately."
+ },
+ "ExcludeHealthStatisticsOptionalQueryParam": {
+ "name": "ExcludeHealthStatistics",
+ "description": "Indicates whether the health statistics should be returned as part of the query result. False by default.\nThe statistics show the number of children entities in health state Ok, Warning, and Error.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false
+ },
+ "IncludeSystemApplicationHealthStatisticsOptionalQueryParam": {
+ "name": "IncludeSystemApplicationHealthStatistics",
+ "description": "Indicates whether the health statistics should include the fabric:/System application health statistics. False by default.\nIf IncludeSystemApplicationHealthStatistics is set to true, the health statistics include the entities that belong to the fabric:/System application.\nOtherwise, the query result includes health statistics only for user applications.\nThe health statistics must be included in the query result for this parameter to be applied.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false
+ },
+ "IncludeHealthStateOptionalQueryParam": {
+ "name": "IncludeHealthState",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false,
+ "description": "Include the health state of an entity.\nIf this parameter is false or not specified, then the health state returned is \"Unknown\".\nWhen set to true, the query goes in parallel to the node and the health system service before the results are merged.\nAs a result, the query is more expensive and may take a longer time."
+ },
+ "BackupPolicyDescriptionRequiredBodyParam": {
+ "name": "BackupPolicyDescription",
+ "in": "body",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "description": "Describes the backup policy.",
+ "schema": {
+ "$ref": "#/definitions/BackupPolicyDescription"
+ }
+ },
+ "DisableBackupDescriptionOptionalBodyParam": {
+ "name": "DisableBackupDescription",
+ "in": "body",
+ "description": "Specifies the parameters to disable backup for any backup entity.",
+ "required": false,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/DisableBackupDescription"
+ }
+ },
+ "BackupPolicyNameRequiredPathParam": {
+ "name": "backupPolicyName",
+ "in": "path",
+ "description": "The name of the backup policy.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string"
+ },
+ "EnableBackupDescriptionRequiredBodyParam": {
+ "name": "EnableBackupDescription",
+ "in": "body",
+ "description": "Specifies the parameters for enabling backup.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/EnableBackupDescription"
+ }
+ },
+ "RestorePartitionDescriptionRequiredBodyParam": {
+ "name": "RestorePartitionDescription",
+ "in": "body",
+ "description": "Describes the parameters to restore the partition.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/RestorePartitionDescription"
+ }
+ },
+ "RestoreTimeoutOptionalQueryParam": {
+ "name": "RestoreTimeout",
+ "description": "Specifies the maximum amount of time to wait, in minutes, for the restore operation to complete. Post that, the operation returns back with timeout error. However, in certain corner cases it could be that the restore operation goes through even though it completes with timeout. In case of timeout error, its recommended to invoke this operation again with a greater timeout value. the default value for the same is 10 minutes.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "default": 10
+ },
+ "BackupPartitionDescriptionOptionalBodyParam": {
+ "name": "BackupPartitionDescription",
+ "in": "body",
+ "required": false,
+ "x-ms-parameter-location": "method",
+ "description": "Describes the parameters to backup the partition now. If not present, backup operation uses default parameters from the backup policy current associated with this partition.",
+ "schema": {
+ "$ref": "#/definitions/BackupPartitionDescription"
+ }
+ },
+ "BackupTimeoutOptionalQueryParam": {
+ "name": "BackupTimeout",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false,
+ "description": "Specifies the maximum amount of time, in minutes, to wait for the backup operation to complete. Post that, the operation completes with timeout error. However, in certain corner cases it could be that though the operation returns back timeout, the backup actually goes through. In case of timeout error, its recommended to invoke this operation again with a greater timeout value. The default value for the same is 10 minutes.",
+ "default": 10
+ },
+ "LatestOptionalQueryParam": {
+ "name": "Latest",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "description": "Specifies whether to get only the most recent backup available for a partition for the specified time range.",
+ "required": false,
+ "default": false
+ },
+ "StartDateTimeFilterOptionalQueryParam": {
+ "name": "StartDateTimeFilter",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "format": "date-time",
+ "required": false,
+ "description": "Specify the start date time from which to enumerate backups, in datetime format. The date time must be specified in ISO8601 format. This is an optional parameter. If not specified, all backups from the beginning are enumerated."
+ },
+ "EndDateTimeFilterOptionalQueryParam": {
+ "name": "EndDateTimeFilter",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "format": "date-time",
+ "required": false,
+ "description": "Specify the end date time till which to enumerate backups, in datetime format. The date time must be specified in ISO8601 format. This is an optional parameter. If not specified, enumeration is done till the most recent backup."
+ },
+ "GetBackupByStorageQueryDescriptionRequiredBodyParam": {
+ "name": "GetBackupByStorageQueryDescription",
+ "in": "body",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "description": "Describes the filters and backup storage details to be used for enumerating backups.",
+ "schema": {
+ "$ref": "#/definitions/GetBackupByStorageQueryDescription"
+ }
+ },
+ "RepairTaskApproveDescriptionRequiredBodyParam": {
+ "name": "RepairTaskApproveDescription",
+ "in": "body",
+ "description": "Describes the repair task to be approved.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskApproveDescription"
+ }
+ },
+ "RepairTaskCancelDescriptionRequiredBodyParam": {
+ "name": "RepairTaskCancelDescription",
+ "in": "body",
+ "description": "Describes the repair task to be cancelled.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskCancelDescription"
+ }
+ },
+ "RepairTaskDeleteDescriptionRequiredBodyParam": {
+ "name": "RepairTaskDeleteDescription",
+ "in": "body",
+ "description": "Describes the repair task to be deleted.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/RepairTaskDeleteDescription"
+ }
+ },
+ "RepairTaskExecutorFilterOptionalQueryParam": {
+ "name": "ExecutorFilter",
+ "description": "The name of the repair executor whose claimed tasks should be included in the list.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false
+ },
+ "RepairTaskIdFilterOptionalQueryParam": {
+ "name": "TaskIdFilter",
+ "description": "The repair task ID prefix to be matched.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false
+ },
+ "RepairTaskRequiredBodyParam": {
+ "name": "RepairTask",
+ "in": "body",
+ "description": "Describes the repair task to be created or updated.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/RepairTask"
+ }
+ },
+ "RepairTaskStateFilterOptionalQueryParam": {
+ "name": "StateFilter",
+ "description": "A bitwise-OR of the following values, specifying which task states should be included in the result list.\n\n- 1 - Created\n- 2 - Claimed\n- 4 - Preparing\n- 8 - Approved\n- 16 - Executing\n- 32 - Restoring\n- 64 - Completed",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "integer",
+ "required": false
+ },
+ "RepairTaskUpdateHealthPolicyDescriptionRequiredBodyParam": {
+ "name": "RepairTaskUpdateHealthPolicyDescription",
+ "in": "body",
+ "description": "Describes the repair task healthy policy to be updated.",
+ "x-ms-parameter-location": "method",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RepairTaskUpdateHealthPolicyDescription"
+ }
+ },
+ "UploadSessionIdRequiredQueryParam": {
+ "name": "session-id",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "format": "uuid",
+ "required": true,
+ "description": "A GUID generated by the user for a file uploading. It identifies an image store upload session which keeps track of all file chunks until it is committed."
+ },
+ "UploadFileChunkContentRangeHeaderParam": {
+ "name": "Content-Range",
+ "in": "header",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "When uploading file chunks to the image store, the Content-Range header field need to be configured and sent with a request. The format should looks like \"bytes {First-Byte-Position}-{Last-Byte-Position}/{File-Length}\". For example, Content-Range:bytes 300-5000/20000 indicates that user is sending bytes 300 through 5,000 and the total file length is 20,000 bytes."
+ },
+ "ChaosScheduleRequiredBodyParam": {
+ "name": "ChaosSchedule",
+ "in": "body",
+ "description": "Describes the schedule used by Chaos.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ChaosScheduleDescription"
+ }
+ },
+ "StartTimeUtcRequiredQueryParam": {
+ "name": "StartTimeUtc",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ."
+ },
+ "EndTimeUtcRequiredQueryParam": {
+ "name": "EndTimeUtc",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ."
+ },
+ "EventsTypesFilterOptionalQueryParam": {
+ "name": "EventsTypesFilter",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "This is a comma separated string specifying the types of FabricEvents that should only be included in the response."
+ },
+ "ExcludeAnalysisEventsOptionalQueryParam": {
+ "name": "ExcludeAnalysisEvents",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "description": "This param disables the retrieval of AnalysisEvents if true is passed."
+ },
+ "SkipCorrelationLookupOptionalQueryParam": {
+ "name": "SkipCorrelationLookup",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "description": "This param disables the search of CorrelatedEvents information if true is passed. otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated."
+ },
+ "EventInstanceIdRequiredPathParam": {
+ "name": "eventInstanceId",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The EventInstanceId."
+ },
+ "PreviousOptionalQueryParam": {
+ "name": "Previous",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "description": "Specifies whether to get container logs from exited/dead containers of the code package instance.",
+ "required": false,
+ "default": false
+ },
+ "IgnoreConstraintsOptionalParam": {
+ "name": "IgnoreConstraints",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false,
+ "description": "Ignore constraints when moving a replica. If this parameter is not specified, all constraints are honored."
+ },
+ "NodeNameOptionalParam": {
+ "name": "NodeName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The name of the node."
+ },
+ "VerboseServicePlacementHealthReportingParam": {
+ "name": "Enabled",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": true,
+ "description": "The verbosity of service placement health reporting."
+ },
+ "NewNodeNameOptionalParam": {
+ "name": "NewNodeName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": false,
+ "description": "The name of the target node for secondary replica move. If not specified, replica is moved to a random node."
+ },
+ "CurrentNodeNameRequiredParam": {
+ "name": "CurrentNodeName",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true,
+ "description": "The name of the source node for secondary replica move."
+ },
+ "OnlyQueryPrimariesOptionalQueryParam": {
+ "name": "OnlyQueryPrimaries",
+ "description": "Indicates that unplaced replica information will be queries only for primary replicas.",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "default": false
+ },
+ "ForceConfigurationOverrideOptionalParam": {
+ "name": "Force",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "required": false,
+ "description": "Force adding configuration overrides on specified nodes."
+ },
+ "ConfigurationOverrideListRequiredParam": {
+ "name": "ConfigParameterOverrideList",
+ "in": "body",
+ "description": "Description for adding list of configuration overrides.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ConfigParameterOverrideList"
+ }
+ },
+ "SecretResourceDescriptionRequiredBodyParam": {
+ "name": "secretResourceDescription",
+ "in": "body",
+ "description": "Description for creating a secret resource.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/SecretResourceDescription"
+ }
+ },
+ "SecretResourceNameRequiredPathParam": {
+ "name": "secretResourceName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The name of the secret resource."
+ },
+ "SecretValueResourceDescriptionRequiredBodyParam": {
+ "name": "secretValueResourceDescription",
+ "in": "body",
+ "description": "Description for creating a value of a secret resource.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/SecretValueResourceDescription"
+ }
+ },
+ "SecretValueResourceNameRequiredPathParam": {
+ "name": "secretValueResourceName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The name of the secret resource value which is typically the version identifier for the value."
+ },
+ "VolumeResourceDescriptionRequiredBodyParam": {
+ "name": "volumeResourceDescription",
+ "in": "body",
+ "description": "Description for creating a Volume resource.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/VolumeResourceDescription"
+ }
+ },
+ "VolumeResourceNameRequiredPathParam": {
+ "name": "volumeResourceName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identity of the volume."
+ },
+ "NetworkResourceDescriptionRequiredBodyParam": {
+ "name": "networkResourceDescription",
+ "in": "body",
+ "description": "Description for creating a Network resource.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/NetworkResourceDescription"
+ }
+ },
+ "NetworkResourceNameRequiredPathParam": {
+ "name": "networkResourceName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identity of the network."
+ },
+ "ApplicationResourceDescriptionRequiredBodyParam": {
+ "name": "applicationResourceDescription",
+ "in": "body",
+ "description": "Description for creating a Application resource.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/ApplicationResourceDescription"
+ }
+ },
+ "ApplicationResourceNameRequiredPathParam": {
+ "name": "applicationResourceName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identity of the application."
+ },
+ "ServiceResourceNameRequiredPathParam": {
+ "name": "serviceResourceName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identity of the service."
+ },
+ "ReplicaNameRequiredPathParam": {
+ "name": "replicaName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "Service Fabric replica name."
+ },
+ "GatewayResourceDescriptionRequiredBodyParam": {
+ "name": "gatewayResourceDescription",
+ "in": "body",
+ "description": "Description for creating a Gateway resource.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/GatewayResourceDescription"
+ }
+ },
+ "GatewayResourceNameRequiredPathParam": {
+ "name": "gatewayResourceName",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "required": true,
+ "description": "The identity of the gateway."
+ }
+ }
+}
diff --git a/specification/servicefabric/data-plane/readme.go.md b/specification/servicefabric/data-plane/readme.go.md
index 1a8e1c6e5597..e11163673d21 100644
--- a/specification/servicefabric/data-plane/readme.go.md
+++ b/specification/servicefabric/data-plane/readme.go.md
@@ -17,6 +17,7 @@ batch:
- tag: "6.3"
- tag: "6.4"
- tag: "6.5"
+ - tag: "7.0"
```
### Tag: 6.2 and go
@@ -50,4 +51,12 @@ These settings apply only when `--tag=6.5 --go` is specified on the command line
``` yaml $(tag) == '6.5' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/6.5/$(namespace)
+```
+
+### Tag: 7.0 and go
+
+These settings apply only when `--tag=7.0 --go` is specified on the command line.
+
+``` yaml $(tag) == '7.0' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/7.0/$(namespace)
```
\ No newline at end of file
diff --git a/specification/servicefabric/data-plane/readme.md b/specification/servicefabric/data-plane/readme.md
index 9fe8898b65d4..43e0805b6273 100644
--- a/specification/servicefabric/data-plane/readme.md
+++ b/specification/servicefabric/data-plane/readme.md
@@ -25,7 +25,7 @@ These are the global settings for the ServiceFabricClient API.
``` yaml
openapi-type: data-plane
-tag: '6.5'
+tag: '7.0'
```
### Suppression
@@ -105,6 +105,15 @@ input-file:
```
+### Tag: 7.0
+
+These settings apply only when `--tag=7.0` is specified on the command line.
+
+``` yaml $(tag) == '7.0'
+input-file:
+- Microsoft.ServiceFabric/stable/7.0/servicefabric.json
+
+```
---
# Code Generation
@@ -158,7 +167,7 @@ input-file:
- $(this-folder)/Microsoft.ServiceFabric/stable/6.3/servicefabric.json
- $(this-folder)/Microsoft.ServiceFabric/stable/6.4/servicefabric.json
- $(this-folder)/Microsoft.ServiceFabric/stable/6.5/servicefabric.json
-
+ - $(this-folder)/Microsoft.ServiceFabric/stable/7.0/servicefabric.json
```
If there are files that should not be in the `all-api-versions` set,
diff --git a/specification/servicefabric/data-plane/readme.python.md b/specification/servicefabric/data-plane/readme.python.md
index 08a032a5d831..ab41c8694c10 100644
--- a/specification/servicefabric/data-plane/readme.python.md
+++ b/specification/servicefabric/data-plane/readme.python.md
@@ -11,7 +11,7 @@ python:
payload-flattening-threshold: 2
namespace: azure.servicefabric
package-name: azure-servicefabric
- package-version: 6.5.0.0
+ package-version: 7.0.0.0
add-credentials: true
clear-output-folder: true
```
From c3466cd85b7bd10dfca25299b2a89138b10afc03 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Mon, 2 Dec 2019 18:34:44 +0000
Subject: [PATCH 028/469] regenerated all-api-versions
---
specification/servicefabric/data-plane/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/servicefabric/data-plane/readme.md b/specification/servicefabric/data-plane/readme.md
index 43e0805b6273..36eb6843dd17 100644
--- a/specification/servicefabric/data-plane/readme.md
+++ b/specification/servicefabric/data-plane/readme.md
@@ -168,6 +168,7 @@ input-file:
- $(this-folder)/Microsoft.ServiceFabric/stable/6.4/servicefabric.json
- $(this-folder)/Microsoft.ServiceFabric/stable/6.5/servicefabric.json
- $(this-folder)/Microsoft.ServiceFabric/stable/7.0/servicefabric.json
+
```
If there are files that should not be in the `all-api-versions` set,
From 500dc2d15c3b4f3f2e8e81c7bb6da726521d6cf1 Mon Sep 17 00:00:00 2001
From: ramparab <49212302+ramparab@users.noreply.github.com>
Date: Mon, 2 Dec 2019 17:08:45 -0800
Subject: [PATCH 029/469] FRv2.0-preview: Minor change (#7795)
* Adding FR v2.0 API updates
* PR Validation: Fix typo, missing file ref.
* PR Validation: Fix missed typo
* PR Validation: fixing model verification errors, doc string fixes.
* Fixing model verification, added Receipts endpoints, related examples.
* Fixing semantic validation error
* Update labelFile param
* fixing types
* Fixing model validation errors
* Fixing model verification errors, other fixes.
* Fixing mode verification error.
* Fixing typo.
* Fixing doc strings, Location header update, Change response code for Analyze calls
* Incorporating feedback from Paul.
* Feedback from Florian, verification fix.
* Fixing for merge verification.
* fixing for model verification tests
* fixing model verification errors.
* fixing example file to correct useLabelFile option.
* Add param to receipt, update to use errorInformation
* fix minor syntax issues
* Make confidence field optional.
---
.../data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
index 1fa1ca8e2b16..44eaef160894 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
@@ -997,8 +997,7 @@
"type": "object",
"required": [
"boundingBox",
- "text",
- "confidence"
+ "text"
],
"properties": {
"text": {
From 212d6716c8ba100211e98a3378155f3c4f972cf0 Mon Sep 17 00:00:00 2001
From: Xu Yang
Date: Tue, 3 Dec 2019 09:41:21 +0800
Subject: [PATCH 030/469] update swagger for public ip (#7866)
---
.../stable/2018-06-01/entityTypes/IntegrationRuntime.json | 8 ++++++++
1 file changed, 8 insertions(+)
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 543e17451e10..df0fd8d28231 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
@@ -155,6 +155,14 @@
"subnet": {
"description": "The name of the subnet this integration runtime will join.",
"type": "string"
+ },
+ "publicIPs": {
+ "description": "Resource IDs of the public IP addresses that this integration runtime will use.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The ID of the public IP address."
+ }
}
},
"additionalProperties": {
From 3b494714b0ef2ba3e720f97d09c97de89873066f Mon Sep 17 00:00:00 2001
From: Jingshu923 <52914166+Jingshu923@users.noreply.github.com>
Date: Tue, 3 Dec 2019 09:58:35 +0800
Subject: [PATCH 031/469] Update Salesforce LinkedService Add ApiVersion
(#7865)
---
.../stable/2018-06-01/entityTypes/LinkedService.json | 4 ++++
1 file changed, 4 insertions(+)
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 b91fef4b4100..6b9f66440c45 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
@@ -2266,6 +2266,10 @@
"description": "The security token is required to remotely access Salesforce instance.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
+ "apiVersion": {
+ "type": "object",
+ "description": "The Salesforce API version used in ADF. Type: string (or Expression with resultType string)."
+ },
"encryptedCredential": {
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
From 1a9f8e392421b4767e1137586ec95b73c2858097 Mon Sep 17 00:00:00 2001
From: Sandip Shahane
Date: Mon, 2 Dec 2019 17:59:55 -0800
Subject: [PATCH 032/469] Cleaning up unused PolicyInsights preview api
versions. (#7836)
* clean unused preview api versions
* cleanup 2017 preview versions from readme
* cleanup 2017 preview versions from readme
---
.../PolicyEvents_FilterAndAggregateOnly.json | 35 -
...yEvents_FilterAndGroupByWithAggregate.json | 67 -
...ents_FilterAndGroupByWithoutAggregate.json | 60 -
.../PolicyEvents_FilterAndMultipleGroups.json | 74 -
...olicyEvents_QueryManagementGroupScope.json | 218 ---
...PolicyEvents_QueryNestedResourceScope.json | 217 ---
.../PolicyEvents_QueryResourceGroupScope.json | 218 ---
.../PolicyEvents_QueryResourceScope.json | 217 ---
...ySubscriptionLevelNestedResourceScope.json | 217 ---
...s_QuerySubscriptionLevelResourceScope.json | 217 ---
.../PolicyEvents_QuerySubscriptionScope.json | 217 ---
.../PolicyEvents_TimeRangeSortSelectTop.json | 75 -
.../PolicyStates_FilterAndAggregateOnly.json | 35 -
...yStates_FilterAndGroupByWithAggregate.json | 68 -
...ates_FilterAndGroupByWithoutAggregate.json | 60 -
.../PolicyStates_FilterAndMultipleGroups.json | 123 --
.../examples/PolicyStates_ListOperations.json | 40 -
...olicyStates_QueryManagementGroupScope.json | 204 ---
...PolicyStates_QueryNestedResourceScope.json | 203 ---
.../PolicyStates_QueryResourceGroupScope.json | 204 ---
.../PolicyStates_QueryResourceScope.json | 203 ---
...ySubscriptionLevelNestedResourceScope.json | 203 ---
...s_QuerySubscriptionLevelResourceScope.json | 203 ---
.../PolicyStates_QuerySubscriptionScope.json | 203 ---
.../PolicyStates_TimeRangeSortSelectTop.json | 75 -
.../2017-08-09-preview/policyEvents.json | 637 -------
.../2017-08-09-preview/policyStates.json | 706 --------
.../PolicyEvents_FilterAndAggregateOnly.json | 25 -
...yEvents_FilterAndGroupByWithAggregate.json | 39 -
...ents_FilterAndGroupByWithoutAggregate.json | 37 -
.../PolicyEvents_FilterAndMultipleGroups.json | 64 -
.../examples/PolicyEvents_GetMetadata.json | 14 -
...olicyEvents_QueryManagementGroupScope.json | 80 -
...PolicyEvents_QueryNestedResourceScope.json | 79 -
.../PolicyEvents_QueryResourceGroupScope.json | 80 -
.../PolicyEvents_QueryResourceScope.json | 79 -
...ySubscriptionLevelNestedResourceScope.json | 79 -
...s_QuerySubscriptionLevelResourceScope.json | 79 -
.../PolicyEvents_QuerySubscriptionScope.json | 79 -
.../PolicyEvents_TimeRangeSortSelectTop.json | 42 -
.../PolicyStates_FilterAndAggregateOnly.json | 25 -
...yStates_FilterAndGroupByWithAggregate.json | 40 -
...ates_FilterAndGroupByWithoutAggregate.json | 37 -
.../PolicyStates_FilterAndMultipleGroups.json | 111 --
.../examples/PolicyStates_GetMetadata.json | 14 -
.../examples/PolicyStates_ListOperations.json | 41 -
...olicyStates_QueryManagementGroupScope.json | 76 -
...PolicyStates_QueryNestedResourceScope.json | 75 -
.../PolicyStates_QueryResourceGroupScope.json | 76 -
.../PolicyStates_QueryResourceScope.json | 75 -
...ySubscriptionLevelNestedResourceScope.json | 75 -
...s_QuerySubscriptionLevelResourceScope.json | 75 -
.../PolicyStates_QuerySubscriptionScope.json | 75 -
.../PolicyStates_TimeRangeSortSelectTop.json | 42 -
.../2017-10-17-preview/policyEvents.json | 662 -------
.../2017-10-17-preview/policyStates.json | 737 --------
.../PolicyEvents_FilterAndAggregateOnly.json | 25 -
...yEvents_FilterAndGroupByWithAggregate.json | 39 -
...ents_FilterAndGroupByWithoutAggregate.json | 37 -
.../PolicyEvents_FilterAndMultipleGroups.json | 64 -
.../examples/PolicyEvents_GetMetadata.json | 14 -
...olicyEvents_QueryManagementGroupScope.json | 80 -
...PolicyEvents_QueryNestedResourceScope.json | 79 -
...sourceGroupLevelPolicyAssignmentScope.json | 82 -
.../PolicyEvents_QueryResourceGroupScope.json | 80 -
.../PolicyEvents_QueryResourceScope.json | 79 -
...ySubscriptionLevelNestedResourceScope.json | 79 -
...ubscriptionLevelPolicyAssignmentScope.json | 81 -
...ubscriptionLevelPolicyDefinitionScope.json | 81 -
...criptionLevelPolicySetDefinitionScope.json | 81 -
...s_QuerySubscriptionLevelResourceScope.json | 79 -
.../PolicyEvents_QuerySubscriptionScope.json | 79 -
.../PolicyEvents_TimeRangeSortSelectTop.json | 42 -
.../PolicyStates_FilterAndAggregateOnly.json | 25 -
...yStates_FilterAndGroupByWithAggregate.json | 40 -
...ates_FilterAndGroupByWithoutAggregate.json | 37 -
.../PolicyStates_FilterAndMultipleGroups.json | 111 --
.../examples/PolicyStates_GetMetadata.json | 14 -
.../examples/PolicyStates_ListOperations.json | 41 -
...olicyStates_QueryManagementGroupScope.json | 76 -
...PolicyStates_QueryNestedResourceScope.json | 75 -
...sourceGroupLevelPolicyAssignmentScope.json | 78 -
.../PolicyStates_QueryResourceGroupScope.json | 76 -
.../PolicyStates_QueryResourceScope.json | 75 -
...ySubscriptionLevelNestedResourceScope.json | 75 -
...ubscriptionLevelPolicyAssignmentScope.json | 77 -
...ubscriptionLevelPolicyDefinitionScope.json | 77 -
...criptionLevelPolicySetDefinitionScope.json | 77 -
...s_QuerySubscriptionLevelResourceScope.json | 75 -
.../PolicyStates_QuerySubscriptionScope.json | 75 -
...yStates_SummarizeManagementGroupScope.json | 32 -
...sourceGroupLevelPolicyAssignmentScope.json | 49 -
...icyStates_SummarizeResourceGroupScope.json | 67 -
.../PolicyStates_SummarizeResourceScope.json | 334 ----
...ubscriptionLevelPolicyAssignmentScope.json | 73 -
...ubscriptionLevelPolicyDefinitionScope.json | 106 --
...criptionLevelPolicySetDefinitionScope.json | 33 -
...licyStates_SummarizeSubscriptionScope.json | 140 --
.../PolicyStates_TimeRangeSortSelectTop.json | 42 -
.../2017-12-12-preview/policyEvents.json | 952 ----------
.../2017-12-12-preview/policyStates.json | 1564 -----------------
.../resource-manager/readme.go.md | 29 -
.../policyinsights/resource-manager/readme.md | 40 -
103 files changed, 13677 deletions(-)
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryManagementGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndAggregateOnly.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndMultipleGroups.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_ListOperations.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryManagementGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_GetMetadata.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryManagementGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndAggregateOnly.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndMultipleGroups.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_GetMetadata.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_ListOperations.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryManagementGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_GetMetadata.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryManagementGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndAggregateOnly.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndMultipleGroups.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_GetMetadata.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_ListOperations.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryManagementGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeManagementGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionScope.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json
delete mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
deleted file mode 100644
index 080f495d98ed..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "aggregate($count as NumDenyEvents)"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "NumDenyEvents": {
- "ordinal": 1,
- "name": "NumDenyEvents",
- "dataType": "Numeric"
- }
- },
- "rows": [
- [
- 40
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
deleted file mode 100644
index bea979bd4e18..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumEvents))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "PolicyAssignmentId": {
- "ordinal": 1,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 2,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 3,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "ResourceId": {
- "ordinal": 4,
- "name": "ResourceId",
- "dataType": "String"
- },
- "NumEvents": {
- "ordinal": 5,
- "name": "NumEvents",
- "dataType": "Numeric"
- }
- },
- "rows": [
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "audit",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/resourcescachemonitor/services/myService",
- 1
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d6be6bb37e5f4333baa95c2a",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/5948d091-78b7-4d3b-a404-cc6a0329b0c6",
- "audit",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/resourcescachemonitor/services/myService",
- 1
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
deleted file mode 100644
index 4c32292d05d3..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-01-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction ne 'audit' and PolicyDefinitionAction ne 'append'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "PolicyAssignmentId": {
- "ordinal": 1,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 2,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 3,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "ResourceId": {
- "ordinal": 4,
- "name": "ResourceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.authorization/policyassignments/storageaccountsku",
- "/providers/microsoft.authorization/policydefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
- "deny",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/mysa1"
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup2/providers/microsoft.authorization/policyassignments/da43b50031bf4bce84584faa",
- "/providers/microsoft.authorization/policydefinitions/1e30110a-5ceb-460c-a204-c1c3969c6d62",
- "deny",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup2/providers/microsoft.storage/storageaccounts/mysa2"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
deleted file mode 100644
index 8e430279583a..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-01-01T00:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, ResourceId))/groupby((PolicyAssignmentId, PolicyDefinitionId), aggregate($count as NumDeniedResources))",
- "$orderby": "NumDeniedResources desc",
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "PolicyAssignmentId": {
- "ordinal": 1,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 2,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "NumDeniedResources": {
- "ordinal": 3,
- "name": "NumDeniedResources",
- "dataType": "Numeric"
- }
- },
- "rows": [
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/0591f497c35344fcbaf7a393",
- "/providers/microsoft.authorization/policydefinitions/e56962a6-4747-49cd-b67b-bf8b01975c4c",
- 3
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/mypolicyassignment2",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mypolicydefinition2",
- 2
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/mypolicyassignment2",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mypolicydefinition3",
- 2
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/5bc427ca-0089-4d0d-85bd-e98d1e40b3bf/providers/microsoft.authorization/policyassignments/mypolicyassignment3",
- "/providers/microsoft.authorization/policydefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
- 1
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup2/providers/microsoft.authorization/policyassignments/da43b50031bf4bce84584faa",
- "/providers/microsoft.authorization/policydefinitions/1e30110a-5ceb-460c-a204-c1c3969c6d62",
- 1
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup2/providers/microsoft.authorization/policyassignments/mypolicyassignment1",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mypolicydefinition1",
- 1
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryManagementGroupScope.json
deleted file mode 100644
index 2d6d634a5f89..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryManagementGroupScope.json
+++ /dev/null
@@ -1,218 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "managementGroupsNamespace": "Microsoft.Management",
- "managementGroupName": "myManagementGroup",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- },
- "TenantId": {
- "ordinal": 26,
- "name": "TenantId",
- "dataType": "String"
- },
- "PrincipalOid": {
- "ordinal": 27,
- "name": "PrincipalOid",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-05T22:54:39.8128521Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/myWorkspace",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/fff5d536aec743a0aa801c1a",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.OperationalInsights/workspaces",
- "canadacentral",
- "myResourceGroup",
- "tbd",
- "fff5d536aec743a0aa801c1a",
- "tbd",
- "{}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- "audit",
- "tbd",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/fffcefd2-fff6-ffff-fff4-fffa170eb1d5",
- "fffcefd2-fff6-ffff-fff4-fffa170eb1d5",
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff21232277412542086",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "ffffb743-fff5-fff7-fffe-fffc2444f333"
- ],
- [
- "2018-02-05T22:54:39.8128521Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/myWorkspace",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/fff16fce53454b15a7ed803d",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/fff0414b-fff4-fffd-fff5-fff79a89232c",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.OperationalInsights/workspaces",
- "canadacentral",
- "myResourceGroup",
- "tbd",
- "fff16fce53454b15a7ed803d",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"eastus\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "fff0414b-fff4-fffd-fff5-fff79a89232c",
- "audit",
- "tbd",
- "",
- "",
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "ffffb743-fff5-fff7-fffe-fffc2444f333"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryNestedResourceScope.json
deleted file mode 100644
index 64ddbce20227..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryNestedResourceScope.json
+++ /dev/null
@@ -1,217 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- },
- "TenantId": {
- "ordinal": 26,
- "name": "TenantId",
- "dataType": "String"
- },
- "PrincipalOid": {
- "ordinal": 27,
- "name": "PrincipalOid",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-05T23:24:28.4444412Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/fffc58b7db524a9799381531",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/fff79b49-fff9-fff5-fffe-fff49ab8b474",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.ServiceFabric/clusters/applications",
- "eastus",
- "myResourceGroup",
- "tbd",
- "fffc58b7db524a9799381531",
- "tbd",
- "{\"TAGNAME_1\":{\"value\":\"NA\"}}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "fff79b49-fff9-fff5-fffe-fff49ab8b474",
- "audit",
- "tbd",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policySetDefinitions/fff58873-fff8-fff5-fffc-fffbe7c9d697",
- "fff58873-fff8-fff5-fffc-fffbe7c9d697",
- null,
- null,
- null,
- "",
- "2124621540977569058",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff3809a-fffc-fffe-fff1-fffe57573195"
- ],
- [
- "2018-02-05T23:24:28.4444412Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/fff044306c044a1d8c0ff76c",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.ServiceFabric/clusters/applications",
- "eastus",
- "myResourceGroup",
- "tbd",
- "fff044306c044a1d8c0ff76c",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- "audit",
- "tbd",
- "",
- "",
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff3809a-fffc-fffe-fff1-fffe57573195"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceGroupScope.json
deleted file mode 100644
index 161e144225e0..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceGroupScope.json
+++ /dev/null
@@ -1,218 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- },
- "TenantId": {
- "ordinal": 26,
- "name": "TenantId",
- "dataType": "String"
- },
- "PrincipalOid": {
- "ordinal": 27,
- "name": "PrincipalOid",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-05T22:54:39.8128521Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/myWorkspace",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/fff5d536aec743a0aa801c1a",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.OperationalInsights/workspaces",
- "canadacentral",
- "myResourceGroup",
- "tbd",
- "fff5d536aec743a0aa801c1a",
- "tbd",
- "{}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- "audit",
- "tbd",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/fffcefd2-fff6-ffff-fff4-fffa170eb1d5",
- "fffcefd2-fff6-ffff-fff4-fffa170eb1d5",
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff21232277412542086",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "ffffb743-fff5-fff7-fffe-fffc2444f333"
- ],
- [
- "2018-02-05T22:54:39.8128521Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/myWorkspace",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/fff16fce53454b15a7ed803d",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/fff0414b-fff4-fffd-fff5-fff79a89232c",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.OperationalInsights/workspaces",
- "canadacentral",
- "myResourceGroup",
- "tbd",
- "fff16fce53454b15a7ed803d",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"eastus\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "fff0414b-fff4-fffd-fff5-fff79a89232c",
- "audit",
- "tbd",
- "",
- "",
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "ffffb743-fff5-fff7-fffe-fffc2444f333"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceScope.json
deleted file mode 100644
index 5c09ca2cb17a..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceScope.json
+++ /dev/null
@@ -1,217 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- },
- "TenantId": {
- "ordinal": 26,
- "name": "TenantId",
- "dataType": "String"
- },
- "PrincipalOid": {
- "ordinal": 27,
- "name": "PrincipalOid",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-05T22:34:02.3475017Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/fff27f38-fff4-fff8-fff1-fffc84b8c017",
- "/providers/Microsoft.Authorization/policyDefinitions/fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.ClassicCompute/domainNames",
- "eastus",
- "myResourceGroup",
- "tbd",
- "fff27f38-fff4-fff8-fff1-fffc84b8c017",
- "tbd",
- "{}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- "audit",
- "tbd",
- "/providers/Microsoft.Authorization/policySetDefinitions/fffafdf9-fff9-fffd-ffff-fffa613e70a8",
- "fffafdf9-fff9-fffd-ffff-fffa613e70a8",
- null,
- null,
- null,
- "",
- null,
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff890fa-fff0-fff3-fff9-fffd7653f078"
- ],
- [
- "2018-02-05T22:34:01.6135357Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/Enable Monitoring in Azure Security Center",
- "/providers/Microsoft.Authorization/policyDefinitions/fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.ClassicCompute/domainNames",
- "eastus",
- "myResourceGroup",
- "tbd",
- "Enable Monitoring in Azure Security Center",
- "tbd",
- "{}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- "audit",
- "tbd",
- "/providers/Microsoft.Authorization/policySetDefinitions/fffafdf9-fff9-fffd-ffff-fffa613e70a8",
- "fffafdf9-fff9-fffd-ffff-fffa613e70a8",
- null,
- null,
- null,
- "",
- null,
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff890fa-fff0-fff3-fff9-fffd7653f078"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
deleted file mode 100644
index 361ef24672c1..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
+++ /dev/null
@@ -1,217 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- },
- "TenantId": {
- "ordinal": 26,
- "name": "TenantId",
- "dataType": "String"
- },
- "PrincipalOid": {
- "ordinal": 27,
- "name": "PrincipalOid",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-05T23:24:28.4444412Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/fffc58b7db524a9799381531",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/fff79b49-fff9-fff5-fffe-fff49ab8b474",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "eastus",
- "",
- "tbd",
- "fffc58b7db524a9799381531",
- "tbd",
- "{\"TAGNAME_1\":{\"value\":\"NA\"}}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "fff79b49-fff9-fff5-fffe-fff49ab8b474",
- "audit",
- "tbd",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policySetDefinitions/fff58873-fff8-fff5-fffc-fffbe7c9d697",
- "fff58873-fff8-fff5-fffc-fffbe7c9d697",
- null,
- null,
- null,
- "",
- "2124621540977569058",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff3809a-fffc-fffe-fff1-fffe57573195"
- ],
- [
- "2018-02-05T23:24:28.4444412Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/fff044306c044a1d8c0ff76c",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "eastus",
- "",
- "tbd",
- "fff044306c044a1d8c0ff76c",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- "audit",
- "tbd",
- "",
- "",
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff3809a-fffc-fffe-fff1-fffe57573195"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
deleted file mode 100644
index 35a8a5e7ce2c..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
+++ /dev/null
@@ -1,217 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- },
- "TenantId": {
- "ordinal": 26,
- "name": "TenantId",
- "dataType": "String"
- },
- "PrincipalOid": {
- "ordinal": 27,
- "name": "PrincipalOid",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-05T22:34:02.3475017Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/fff27f38-fff4-fff8-fff1-fffc84b8c017",
- "/providers/Microsoft.Authorization/policyDefinitions/fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.SomeNamespace/someResourceType",
- "eastus",
- "",
- "tbd",
- "fff27f38-fff4-fff8-fff1-fffc84b8c017",
- "tbd",
- "{}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- "audit",
- "tbd",
- "/providers/Microsoft.Authorization/policySetDefinitions/fffafdf9-fff9-fffd-ffff-fffa613e70a8",
- "fffafdf9-fff9-fffd-ffff-fffa613e70a8",
- null,
- null,
- null,
- "",
- null,
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff890fa-fff0-fff3-fff9-fffd7653f078"
- ],
- [
- "2018-02-05T22:34:01.6135357Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/Enable Monitoring in Azure Security Center",
- "/providers/Microsoft.Authorization/policyDefinitions/fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.SomeNamespace/someResourceType",
- "eastus",
- "",
- "tbd",
- "Enable Monitoring in Azure Security Center",
- "tbd",
- "{}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- "audit",
- "tbd",
- "/providers/Microsoft.Authorization/policySetDefinitions/fffafdf9-fff9-fffd-ffff-fffa613e70a8",
- "fffafdf9-fff9-fffd-ffff-fffa613e70a8",
- null,
- null,
- null,
- "",
- null,
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff890fa-fff0-fff3-fff9-fffd7653f078"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionScope.json
deleted file mode 100644
index c04d545cd0a1..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionScope.json
+++ /dev/null
@@ -1,217 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- },
- "TenantId": {
- "ordinal": 26,
- "name": "TenantId",
- "dataType": "String"
- },
- "PrincipalOid": {
- "ordinal": 27,
- "name": "PrincipalOid",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-05T22:54:39.8128521Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/myWorkspace",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/fff5d536aec743a0aa801c1a",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.OperationalInsights/workspaces",
- "canadacentral",
- "myResourceGroup",
- "tbd",
- "fff5d536aec743a0aa801c1a",
- "tbd",
- "{}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "fffd9357-fff0-fff7-fff4-fff30ce4c32d",
- "audit",
- "tbd",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/fffcefd2-fff6-ffff-fff4-fffa170eb1d5",
- "fffcefd2-fff6-ffff-fff4-fffa170eb1d5",
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "fff21232277412542086",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "ffffb743-fff5-fff7-fffe-fffc2444f333"
- ],
- [
- "2018-02-05T22:54:39.8128521Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/myWorkspace",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/fff16fce53454b15a7ed803d",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/fff0414b-fff4-fffd-fff5-fff79a89232c",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.OperationalInsights/workspaces",
- "canadacentral",
- "myResourceGroup",
- "tbd",
- "fff16fce53454b15a7ed803d",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"eastus\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "fff0414b-fff4-fffd-fff5-fff79a89232c",
- "audit",
- "tbd",
- "",
- "",
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "",
- "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "ffffb743-fff5-fff7-fffe-fffc2444f333"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
deleted file mode 100644
index 3e293614ac05..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$to": "2018-02-06T18:00:00Z",
- "$orderby": "Timestamp desc, PolicyAssignmentId asc, SubscriptionId asc, ResourceGroup asc, ResourceId",
- "$select": "Timestamp, PolicyAssignmentId, PolicyDefinitionId, SubscriptionId, ResourceGroup, ResourceId",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "PolicyAssignmentId": {
- "ordinal": 2,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 3,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "SubscriptionId": {
- "ordinal": 4,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 5,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceId": {
- "ordinal": 6,
- "name": "ResourceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-05T22:34:02.3475017Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/fff27f38-fff4-fff8-fff1-fffc84b8c017",
- "/providers/Microsoft.Authorization/policyDefinitions/fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "myResourceGroup",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName"
- ],
- [
- "2018-02-05T22:34:01.6135357Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/Enable Monitoring in Azure Security Center",
- "/providers/Microsoft.Authorization/policyDefinitions/fffea587-fff0-fff3-ffff-fff0ae01cfd6",
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "myResourceGroup",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndAggregateOnly.json
deleted file mode 100644
index 6b575c0de1d4..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndAggregateOnly.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "aggregate($count as NumDenyStates)"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "NumDenyStates": {
- "ordinal": 1,
- "name": "NumDenyStates",
- "dataType": "Numeric"
- }
- },
- "rows": [
- [
- 12
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
deleted file mode 100644
index 441a24f40e70..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))",
- "$orderby": "NumAuditDenyNonComplianceRecords desc",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "PolicyAssignmentId": {
- "ordinal": 1,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 2,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 3,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "ResourceId": {
- "ordinal": 4,
- "name": "ResourceId",
- "dataType": "String"
- },
- "NumAuditDenyNonComplianceRecords": {
- "ordinal": 5,
- "name": "NumAuditDenyNonComplianceRecords",
- "dataType": "Numeric"
- }
- },
- "rows": [
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "audit",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.classiccompute/domainnames/myDomainName",
- 8
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "audit",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.classiccompute/domainnames/myDomainName",
- 8
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
deleted file mode 100644
index 600502646e67..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-01-05T18:00:00Z",
- "$filter": "IsCompliant eq false and (PolicyDefinitionAction ne 'audit' and PolicyDefinitionAction ne 'append')",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "PolicyAssignmentId": {
- "ordinal": 1,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 2,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 3,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "ResourceId": {
- "ordinal": 4,
- "name": "ResourceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "/providers/microsoft.authorization/policydefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
- "auditifnotexists",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.network/virtualnetworks/vnet"
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "/providers/microsoft.authorization/policydefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
- "auditifnotexists",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.network/virtualnetworks/vnet"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndMultipleGroups.json
deleted file mode 100644
index 2bb7c23f1221..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndMultipleGroups.json
+++ /dev/null
@@ -1,123 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$filter": "IsCompliant eq false",
- "$apply": "groupby((PolicyAssignmentId, PolicySetDefinitionId, PolicyDefinitionId, PolicyDefinitionReferenceId, ResourceId))/groupby((PolicyAssignmentId, PolicySetDefinitionId, PolicyDefinitionId, PolicyDefinitionReferenceId), aggregate($count as NumNonCompliantResources))",
- "$orderby": "NumNonCompliantResources desc",
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "PolicyAssignmentId": {
- "ordinal": 1,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 2,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 3,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 4,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- },
- "NumNonCompliantResources": {
- "ordinal": 5,
- "name": "NumNonCompliantResources",
- "dataType": "Numeric"
- }
- },
- "rows": [
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "1679708035638239273",
- 557
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "14799174781370023846",
- 557
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "1679708035638239273",
- 557
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49",
- "",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "",
- 557
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7",
- "",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "",
- 557
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "14799174781370023846",
- 557
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "",
- 552
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/a03db67e-a286-43c3-9098-b2da83d361ad",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "8935913113203900114",
- 544
- ],
- [
- "/providers/microsoft.management/managementgroups/azgovtest1/providers/microsoft.authorization/policyassignments/8174043a1e2849179635b874",
- "",
- "/providers/microsoft.management/managementgroups/azgovtest1/providers/microsoft.authorization/policydefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "",
- 526
- ],
- [
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "2124621540977569058",
- 509
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_ListOperations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_ListOperations.json
deleted file mode 100644
index ddf1f237fc01..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_ListOperations.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "default/queryResults/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy Events",
- "operation": "Query Policy Events",
- "description": "Query information about policy events."
- }
- },
- {
- "name": "default/queryResults/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy States",
- "operation": "Query Policy States",
- "description": "Query information about policy states."
- }
- },
- {
- "name": "latest/queryResults/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy Latest States",
- "operation": "Query Policy Latest States",
- "description": "Query information about policy latest states."
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryManagementGroupScope.json
deleted file mode 100644
index b2108b58f0d8..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryManagementGroupScope.json
+++ /dev/null
@@ -1,204 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "managementGroupsNamespace": "Microsoft.Management",
- "managementGroupName": "myManagementGroup",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-08T23:19:37Z",
- "/subscriptions/fff83be3-fff8-fff8-fff5-fff2625f5bb5/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myResourceGroup-vnet",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/8174043a1e2849179635b874",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- null,
- false,
- "fff83be3-fff8-fff8-fff5-fff2625f5bb5",
- "/Microsoft.Network/virtualNetworks",
- "westcentralus",
- "myResourceGroup",
- "tbd",
- "8174043a1e2849179635b874",
- "tbd",
- "{\"allowedResourceGroups\":{\"value\":[\"value1\",\"value2\",\"value3\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ],
- [
- "2018-02-08T23:19:37Z",
- "/subscriptions/fff83be3-fff8-fff8-fff5-fff2625f5bb5/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myResourceGroup-vnet",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/95816fce53454b15a7ed803d",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/a2c0414b-82e4-459d-97d5-94c79a89232c",
- null,
- false,
- "fff83be3-fff8-fff8-fff5-fff2625f5bb5",
- "/Microsoft.Network/virtualNetworks",
- "westcentralus",
- "myResourceGroup",
- "tbd",
- "95816fce53454b15a7ed803d",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"eastus\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "a2c0414b-82e4-459d-97d5-94c79a89232c",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryNestedResourceScope.json
deleted file mode 100644
index 4e5ae94a1d4f..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryNestedResourceScope.json
+++ /dev/null
@@ -1,203 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-08T07:04:29Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/d6be6bb37e5f4333baa95c2a",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/5948d091-78b7-4d3b-a404-cc6a0329b0c6",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.ServiceFabric/clusters/applications",
- "eastus",
- "myResourceGroup",
- "tbd",
- "d6be6bb37e5f4333baa95c2a",
- "tbd",
- "{}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "5948d091-78b7-4d3b-a404-cc6a0329b0c6",
- "audit",
- "tbd",
- "",
- "",
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ],
- [
- "2018-02-08T07:04:29Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.ServiceFabric/clusters/applications",
- "eastus",
- "myResourceGroup",
- "tbd",
- "3f3c4330183b4e218fe6fd29",
- "tbd",
- "{}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "24813039-7534-408a-9842-eb99f45721b1",
- "audit",
- "tbd",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceGroupScope.json
deleted file mode 100644
index 0211bf24bbd7..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceGroupScope.json
+++ /dev/null
@@ -1,204 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-09T00:06:00Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/serviceCertificates/sha1-FFFBDAF1F25210FFFDD95BD0C9B0AFCD6F26FFFF",
- "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.ClassicCompute/domainNames/serviceCertificates",
- "eastus",
- "myResourceGroup",
- "tbd",
- "186044306c044a1d8c0ff76c",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "/providers/Microsoft.Management/managementGroups/mymg",
- "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ],
- [
- "2018-02-09T00:06:00Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.ClassicCompute/domainNames",
- "eastus",
- "myResourceGroup",
- "tbd",
- "186044306c044a1d8c0ff76c",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "/providers/Microsoft.Management/managementGroups/mymg",
- "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceScope.json
deleted file mode 100644
index 7d491681ad82..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceScope.json
+++ /dev/null
@@ -1,203 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-08T07:04:29Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.ClassicCompute/domainNames",
- "eastus",
- "myResourceGroup",
- "tbd",
- "186044306c044a1d8c0ff76c",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "/providers/Microsoft.Management/managementGroups/mymg",
- "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ],
- [
- "2018-02-08T07:04:29Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.ClassicCompute/domainNames",
- "eastus",
- "myResourceGroup",
- "tbd",
- "test",
- "tbd",
- "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "Audit a tag and it's value",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
deleted file mode 100644
index be719a34c81b..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
+++ /dev/null
@@ -1,203 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-08T07:04:29Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/d6be6bb37e5f4333baa95c2a",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/5948d091-78b7-4d3b-a404-cc6a0329b0c6",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "eastus",
- "",
- "tbd",
- "d6be6bb37e5f4333baa95c2a",
- "tbd",
- "{}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "5948d091-78b7-4d3b-a404-cc6a0329b0c6",
- "audit",
- "tbd",
- "",
- "",
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ],
- [
- "2018-02-08T07:04:29Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "eastus",
- "",
- "tbd",
- "3f3c4330183b4e218fe6fd29",
- "tbd",
- "{}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "24813039-7534-408a-9842-eb99f45721b1",
- "audit",
- "tbd",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
deleted file mode 100644
index 5a6de0c149be..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
+++ /dev/null
@@ -1,203 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-08T07:04:29Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.SomeNamespace/someResourceType",
- "eastus",
- "",
- "tbd",
- "186044306c044a1d8c0ff76c",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "/providers/Microsoft.Management/managementGroups/mymg",
- "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ],
- [
- "2018-02-08T07:04:29Z",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- null,
- false,
- "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "/Microsoft.SomeNamespace/someResourceType",
- "eastus",
- "",
- "tbd",
- "test",
- "tbd",
- "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "Audit a tag and it's value",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionScope.json
deleted file mode 100644
index 1a0e1bb082e3..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionScope.json
+++ /dev/null
@@ -1,203 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "ResourceId": {
- "ordinal": 2,
- "name": "ResourceId",
- "dataType": "String"
- },
- "PolicyAssignmentId": {
- "ordinal": 3,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 4,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "EffectiveParameters": {
- "ordinal": 5,
- "name": "EffectiveParameters",
- "dataType": "String"
- },
- "IsCompliant": {
- "ordinal": 6,
- "name": "IsCompliant",
- "dataType": "Boolean"
- },
- "SubscriptionId": {
- "ordinal": 7,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceType": {
- "ordinal": 8,
- "name": "ResourceType",
- "dataType": "String"
- },
- "ResourceLocation": {
- "ordinal": 9,
- "name": "ResourceLocation",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 10,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceTags": {
- "ordinal": 11,
- "name": "ResourceTags",
- "dataType": "String"
- },
- "PolicyAssignmentName": {
- "ordinal": 12,
- "name": "PolicyAssignmentName",
- "dataType": "String"
- },
- "PolicyAssignmentOwner": {
- "ordinal": 13,
- "name": "PolicyAssignmentOwner",
- "dataType": "String"
- },
- "PolicyAssignmentParameters": {
- "ordinal": 14,
- "name": "PolicyAssignmentParameters",
- "dataType": "String"
- },
- "PolicyAssignmentScope": {
- "ordinal": 15,
- "name": "PolicyAssignmentScope",
- "dataType": "String"
- },
- "PolicyDefinitionName": {
- "ordinal": 16,
- "name": "PolicyDefinitionName",
- "dataType": "String"
- },
- "PolicyDefinitionAction": {
- "ordinal": 17,
- "name": "PolicyDefinitionAction",
- "dataType": "String"
- },
- "PolicyDefinitionCategory": {
- "ordinal": 18,
- "name": "PolicyDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionId": {
- "ordinal": 19,
- "name": "PolicySetDefinitionId",
- "dataType": "String"
- },
- "PolicySetDefinitionName": {
- "ordinal": 20,
- "name": "PolicySetDefinitionName",
- "dataType": "String"
- },
- "PolicySetDefinitionOwner": {
- "ordinal": 21,
- "name": "PolicySetDefinitionOwner",
- "dataType": "String"
- },
- "PolicySetDefinitionCategory": {
- "ordinal": 22,
- "name": "PolicySetDefinitionCategory",
- "dataType": "String"
- },
- "PolicySetDefinitionParameters": {
- "ordinal": 23,
- "name": "PolicySetDefinitionParameters",
- "dataType": "String"
- },
- "ManagementGroupIds": {
- "ordinal": 24,
- "name": "ManagementGroupIds",
- "dataType": "String"
- },
- "PolicyDefinitionReferenceId": {
- "ordinal": 25,
- "name": "PolicyDefinitionReferenceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-08T23:26:49Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/services/myService",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.ServiceFabric/clusters/applications/services",
- "eastus",
- "myResourceGroup",
- "tbd",
- "186044306c044a1d8c0ff76c",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ],
- [
- "2018-02-08T23:26:49Z",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- null,
- false,
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "/Microsoft.ServiceFabric/clusters/applications",
- "eastus",
- "myResourceGroup",
- "tbd",
- "186044306c044a1d8c0ff76c",
- "tbd",
- "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "audit",
- "tbd",
- null,
- null,
- null,
- null,
- null,
- "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- null
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
deleted file mode 100644
index 0e1b4283742c..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-08-09-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$to": "2018-02-06T18:00:00Z",
- "$orderby": "Timestamp desc, PolicyAssignmentId asc, SubscriptionId asc, ResourceGroup asc, ResourceId",
- "$select": "Timestamp, PolicyAssignmentId, PolicyDefinitionId, SubscriptionId, ResourceGroup, ResourceId",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metadata": {
- "generatedQuery": ""
- },
- "columns": {
- "Timestamp": {
- "ordinal": 1,
- "name": "Timestamp",
- "dataType": "DateTime"
- },
- "PolicyAssignmentId": {
- "ordinal": 2,
- "name": "PolicyAssignmentId",
- "dataType": "String"
- },
- "PolicyDefinitionId": {
- "ordinal": 3,
- "name": "PolicyDefinitionId",
- "dataType": "String"
- },
- "SubscriptionId": {
- "ordinal": 4,
- "name": "SubscriptionId",
- "dataType": "String"
- },
- "ResourceGroup": {
- "ordinal": 5,
- "name": "ResourceGroup",
- "dataType": "String"
- },
- "ResourceId": {
- "ordinal": 6,
- "name": "ResourceId",
- "dataType": "String"
- }
- },
- "rows": [
- [
- "2018-02-06T17:58:00Z",
- "/providers/Microsoft.Management/managementGroups/8cb1e007-947f-423a-ad0c-7ab7dc7d0255/providers/Microsoft.Authorization/policyAssignments/1654a0254ab34920a60f94eb",
- "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "myResourceGroup1",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup1/providers/Microsoft.Storage/storageAccounts/mysa1"
- ],
- [
- "2018-02-06T17:58:00Z",
- "/providers/Microsoft.Management/managementGroups/8cb1e007-947f-423a-ad0c-7ab7dc7d0255/providers/Microsoft.Authorization/policyAssignments/1654a0254ab34920a60f94eb",
- "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
- "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "myResourceGroup2",
- "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup2/providers/Microsoft.Storage/storageAccounts/mysa2"
- ]
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json
deleted file mode 100644
index 96326ef6f47c..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json
+++ /dev/null
@@ -1,637 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyEventsClient",
- "version": "2017-08-09-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForManagementGroup",
- "description": "Queries policy events for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at management group scope": {
- "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForSubscription",
- "description": "Queries policy events for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at subscription scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResourceGroup",
- "description": "Queries policy events for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at resource group scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResource",
- "description": "Queries policy events for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at resource scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceScope.json"
- },
- "Query at subscription level resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json"
- },
- "Query at nested resource scope": {
- "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json"
- },
- "Query at subscription level nested resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyEventsQueryResults": {
- "description": "Query results.",
- "properties": {
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyEventsQueryResultsTable"
- }
- }
- }
- },
- "PolicyEventsQueryResultsTable": {
- "description": "Query results table.",
- "properties": {
- "metadata": {
- "description": "Metadata about the query results.",
- "properties": {
- "generatedQuery": {
- "description": "Internal query generated. Used for diagnostics purposes.",
- "type": "string"
- }
- }
- },
- "columns": {
- "type": "object",
- "description": "List of columns included in query results.",
- "properties": {
- "Timestamp": {
- "description": "Timestamp for the policy event record.",
- "$ref": "#/definitions/Column"
- },
- "ResourceId": {
- "description": "Resource ID.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentId": {
- "description": "Policy assignment ID.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionId": {
- "description": "Policy definition ID.",
- "$ref": "#/definitions/Column"
- },
- "EffectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "$ref": "#/definitions/Column"
- },
- "IsCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "$ref": "#/definitions/Column"
- },
- "SubscriptionId": {
- "description": "Subscription ID.",
- "$ref": "#/definitions/Column"
- },
- "ResourceType": {
- "description": "Resource type.",
- "$ref": "#/definitions/Column"
- },
- "ResourceLocation": {
- "description": "Resource location.",
- "$ref": "#/definitions/Column"
- },
- "ResourceGroup": {
- "description": "Resource group name.",
- "$ref": "#/definitions/Column"
- },
- "ResourceTags": {
- "description": "List of resource tags.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentName": {
- "description": "Policy assignment name.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentScope": {
- "description": "Policy assignment scope.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionName": {
- "description": "Policy definition name.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionCategory": {
- "description": "Policy definition category.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "ManagementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "TenantId": {
- "description": "Tenant ID for the policy event record.",
- "$ref": "#/definitions/Column"
- },
- "PrincipalOid": {
- "description": "Principal object ID for the user who initiated the resource operation that triggered the policy event.",
- "$ref": "#/definitions/Column"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "rows": {
- "description": "Query result rows, each representing a policy event record.",
- "type": "array",
- "items": {
- "description": "Query result row.",
- "type": "array",
- "items": {
- "description": "Each column of the query result row."
- }
- }
- }
- }
- },
- "Column": {
- "description": "Column definition.",
- "properties": {
- "ordinal": {
- "description": "Ordinal value of the column in a record.",
- "type": "integer",
- "format": "int32"
- },
- "name": {
- "description": "Name of the column.",
- "type": "string"
- },
- "dataType": {
- "description": "Data type of the column.",
- "type": "string"
- }
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string"
- },
- "message": {
- "description": "Description of the error.",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "parameters": {
- "policyEventsResourceParameter": {
- "name": "policyEventsResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "description": "The name of the virtual resource under PolicyEvents resource type; only \"default\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "description": "The namespace for Microsoft Management resource provider; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version to use with the client requests.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json
deleted file mode 100644
index c6381cb84eb2..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json
+++ /dev/null
@@ -1,706 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyStatesClient",
- "version": "2017-08-09-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForManagementGroup",
- "description": "Queries policy states for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at management group scope": {
- "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForSubscription",
- "description": "Queries policy states for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at subscription scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResourceGroup",
- "description": "Queries policy states for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at resource group scope": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResource",
- "description": "Queries policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query all policy states at resource scope": {
- "$ref": "./examples/PolicyStates_QueryResourceScope.json"
- },
- "Query all policy states at subscription level resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json"
- },
- "Query all policy states at nested resource scope": {
- "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json"
- },
- "Query all policy states at subscription level nested resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json"
- }
- }
- }
- },
- "/providers/Microsoft.PolicyInsights/operations": {
- "get": {
- "operationId": "Operations_List",
- "description": "Lists available operations.",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "List of available operations.",
- "schema": {
- "$ref": "#/definitions/OperationsListResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "List operations": {
- "$ref": "./examples/PolicyStates_ListOperations.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyStatesQueryResults": {
- "description": "Query results.",
- "properties": {
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyStatesQueryResultsTable"
- }
- }
- }
- },
- "PolicyStatesQueryResultsTable": {
- "description": "Query results table.",
- "properties": {
- "metadata": {
- "description": "Metadata about the query results.",
- "properties": {
- "generatedQuery": {
- "description": "Internal query generated. Used for diagnostics purposes.",
- "type": "string"
- }
- }
- },
- "columns": {
- "type": "object",
- "description": "List of columns included in query results.",
- "properties": {
- "Timestamp": {
- "description": "Timestamp for the policy state record.",
- "$ref": "#/definitions/Column"
- },
- "ResourceId": {
- "description": "Resource ID.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentId": {
- "description": "Policy assignment ID.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionId": {
- "description": "Policy definition ID.",
- "$ref": "#/definitions/Column"
- },
- "EffectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "$ref": "#/definitions/Column"
- },
- "IsCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "$ref": "#/definitions/Column"
- },
- "SubscriptionId": {
- "description": "Subscription ID.",
- "$ref": "#/definitions/Column"
- },
- "ResourceType": {
- "description": "Resource type.",
- "$ref": "#/definitions/Column"
- },
- "ResourceLocation": {
- "description": "Resource location.",
- "$ref": "#/definitions/Column"
- },
- "ResourceGroup": {
- "description": "Resource group name.",
- "$ref": "#/definitions/Column"
- },
- "ResourceTags": {
- "description": "List of resource tags.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentName": {
- "description": "Policy assignment name.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "$ref": "#/definitions/Column"
- },
- "PolicyAssignmentScope": {
- "description": "Policy assignment scope.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionName": {
- "description": "Policy definition name.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionCategory": {
- "description": "Policy definition category.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "PolicySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- },
- "ManagementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "$ref": "#/definitions/Column"
- },
- "PolicyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "$ref": "#/definitions/Column"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "rows": {
- "description": "Query result rows, each representing a policy state record.",
- "type": "array",
- "items": {
- "description": "Query result row.",
- "type": "array",
- "items": {
- "description": "Each column of the query result row."
- }
- }
- }
- }
- },
- "Column": {
- "description": "Column definition.",
- "properties": {
- "ordinal": {
- "description": "Ordinal value of the column in a record.",
- "type": "integer",
- "format": "int32"
- },
- "name": {
- "description": "Name of the column.",
- "type": "string"
- },
- "dataType": {
- "description": "Data type of the column.",
- "type": "string"
- }
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string"
- },
- "message": {
- "description": "Description of the error.",
- "type": "string"
- }
- }
- }
- }
- },
- "OperationsListResults": {
- "description": "List of available operations.",
- "properties": {
- "value": {
- "description": "List of available operations.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- }
- }
- }
- },
- "Operation": {
- "description": "Operation definition.",
- "properties": {
- "name": {
- "description": "Operation name.",
- "type": "string"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "properties": {
- "provider": {
- "description": "Resource provider name.",
- "type": "string"
- },
- "resource": {
- "description": "Resource name on which the operation is performed.",
- "type": "string"
- },
- "operation": {
- "description": "Operation name.",
- "type": "string"
- },
- "description": {
- "description": "Operation description.",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "parameters": {
- "policyStatesResourceParameter": {
- "name": "policyStatesResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default",
- "latest"
- ],
- "x-ms-enum": {
- "name": "PolicyStatesResource",
- "modelAsString": true
- },
- "description": "The virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "description": "The namespace for Microsoft Management resource provider; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version to use with the client requests.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
deleted file mode 100644
index f9287993f216..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "aggregate($count as NumDenyEvents)"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "NumDenyEvents": 40
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
deleted file mode 100644
index 0626349ed417..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumEvents))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/resourcescachemonitor/services/myService",
- "NumEvents": 1
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d6be6bb37e5f4333baa95c2a",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/5948d091-78b7-4d3b-a404-cc6a0329b0c6",
- "policyDefinitionAction": "audit",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/resourcescachemonitor/services/myService",
- "NumEvents": 1
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
deleted file mode 100644
index 9ea73c34941e..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-01-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction ne 'audit' and PolicyDefinitionAction ne 'append'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/5bc427ca-0089-4d0d-85bd-e98d1e40b3bf/providers/microsoft.authorization/policyassignments/storageaccountsku",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
- "policyDefinitionAction": "deny",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/5bc427ca-0089-4d0d-85bd-e98d1e40b3bf/providers/microsoft.storage/storageaccounts/7d528d3a"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.authorization/policyassignments/da43b50031bf4bce84584faa",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/1e30110a-5ceb-460c-a204-c1c3969c6d62",
- "policyDefinitionAction": "deny",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/mysa1"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
deleted file mode 100644
index f0c3e25cbdec..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-01-01T00:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, ResourceId))/groupby((PolicyAssignmentId, PolicyDefinitionId), aggregate($count as NumDeniedResources))",
- "$orderby": "NumDeniedResources desc",
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 6,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/0591f497c35344fcbaf7a393",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/e56962a6-4747-49cd-b67b-bf8b01975c4c",
- "NumDeniedResources": 3
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/myassignment1",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mydefinition1",
- "NumDeniedResources": 2
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/myassignment1",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mydefinition2",
- "NumDeniedResources": 2
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/5bc427ca-0089-4d0d-85bd-e98d1e40b3bf/providers/microsoft.authorization/policyassignments/storageaccountsku",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
- "NumDeniedResources": 1
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup2/providers/microsoft.authorization/policyassignments/da43b50031bf4bce84584faa",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/1e30110a-5ceb-460c-a204-c1c3969c6d62",
- "NumDeniedResources": 1
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup2/providers/microsoft.authorization/policyassignments/myassignment2",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mydefinition3",
- "NumDeniedResources": 1
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_GetMetadata.json
deleted file mode 100644
index 5d1fb26610ec..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_GetMetadata.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "headers": {
- "content-type": "application/xml"
- },
- "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true "
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryManagementGroupScope.json
deleted file mode 100644
index f74c50eda8bf..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryManagementGroupScope.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "managementGroupsNamespace": "Microsoft.Management",
- "managementGroupName": "myManagementGroup",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T22:19:18.8896095Z",
- "resourceId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myrg/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/DAExtension",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/1ef5d536aec743a0aa801c1a",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef",
- "resourceType": "/Microsoft.Compute/virtualMachines/extensions",
- "resourceLocation": "westeurope",
- "resourceGroup": "myrg",
- "resourceTags": "tbd",
- "policyAssignmentName": "1ef5d536aec743a0aa801c1a",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/335cefd2-ab16-430f-b364-974a170eb1d5",
- "policySetDefinitionName": "335cefd2-ab16-430f-b364-974a170eb1d5",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "15521232277412542086",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff3e452-fff2-fff1-fff8-fff12618f1b8"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T22:19:18.8896095Z",
- "resourceId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myrg/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/DAExtension",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/95816fce53454b15a7ed803d",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/a2c0414b-82e4-459d-97d5-94c79a89232c",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef",
- "resourceType": "/Microsoft.Compute/virtualMachines/extensions",
- "resourceLocation": "westeurope",
- "resourceGroup": "myrg",
- "resourceTags": "tbd",
- "policyAssignmentName": "95816fce53454b15a7ed803d",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"eastus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "a2c0414b-82e4-459d-97d5-94c79a89232c",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "",
- "policySetDefinitionName": "",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff3e452-fff2-fff1-fff8-fff12618f1b8"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryNestedResourceScope.json
deleted file mode 100644
index efdee749f550..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryNestedResourceScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "181565554491747128",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "624540685646900425",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceGroupScope.json
deleted file mode 100644
index 172c08a1003a..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceGroupScope.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "181565554491747128",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "624540685646900425",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceScope.json
deleted file mode 100644
index 2c1e88e196e1..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T15:14:39.8473851Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T15:14:39.5842458Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
deleted file mode 100644
index f22c55656fbc..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "181565554491747128",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "624540685646900425",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
deleted file mode 100644
index bd7a0fd4f478..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T15:14:39.8473851Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T15:14:39.5842458Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionScope.json
deleted file mode 100644
index b86d5e25e82a..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "181565554491747128",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "624540685646900425",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
deleted file mode 100644
index 2d44d5f45108..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$to": "2018-02-06T18:00:00Z",
- "$orderby": "Timestamp desc, PolicyAssignmentId asc, SubscriptionId asc, ResourceGroup asc, ResourceId",
- "$select": "Timestamp, PolicyAssignmentId, PolicyDefinitionId, SubscriptionId, ResourceGroup, ResourceId",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-05T22:34:02.3475017Z",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/89b27f38-e9e4-4468-ab81-801c84b8c017",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroup": "myResourceGroup",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomain"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-05T22:34:01.6135357Z",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/Enable Monitoring in Azure Security Center",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroup": "myResourceGroup",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomain"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndAggregateOnly.json
deleted file mode 100644
index 5bbea899ec5d..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndAggregateOnly.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "aggregate($count as NumDenyStates)"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "NumDenyStates": 6
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
deleted file mode 100644
index b909dd8c9312..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))",
- "$orderby": "NumAuditDenyNonComplianceRecords desc",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionAction": "audit",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myrg/providers/microsoft.classiccompute/domainnames/myDomainName",
- "NumAuditDenyNonComplianceRecords": 10
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myrg/providers/microsoft.classiccompute/domainnames/myDomainName",
- "NumAuditDenyNonComplianceRecords": 10
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
deleted file mode 100644
index 6cc2b32c348a..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-01-05T18:00:00Z",
- "$filter": "IsCompliant eq false and (PolicyDefinitionAction ne 'audit' and PolicyDefinitionAction ne 'append')",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/enable monitoring in azure security center",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
- "policyDefinitionAction": "auditifnotexists",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myrg/providers/microsoft.network/virtualnetworks/vnet"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/89b27f38-e9e4-4468-ab81-801c84b8c017",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
- "policyDefinitionAction": "auditifnotexists",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myrg/providers/microsoft.network/virtualnetworks/vnet"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndMultipleGroups.json
deleted file mode 100644
index b97bd3c718f5..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndMultipleGroups.json
+++ /dev/null
@@ -1,111 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$filter": "IsCompliant eq false",
- "$apply": "groupby((PolicyAssignmentId, PolicySetDefinitionId, PolicyDefinitionId, PolicyDefinitionReferenceId, ResourceId))/groupby((PolicyAssignmentId, PolicySetDefinitionId, PolicyDefinitionId, PolicyDefinitionReferenceId), aggregate($count as NumNonCompliantResources))",
- "$orderby": "NumNonCompliantResources desc",
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 10,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "14799174781370023846",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "1679708035638239273",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "14799174781370023846",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "1679708035638239273",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7",
- "policySetDefinitionId": "",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49",
- "policySetDefinitionId": "",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionReferenceId": "",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "",
- "NumNonCompliantResources": 552
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/a03db67e-a286-43c3-9098-b2da83d361ad",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionReferenceId": "8935913113203900114",
- "NumNonCompliantResources": 544
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/8174043a1e2849179635b874",
- "policySetDefinitionId": "",
- "policyDefinitionId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policydefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionReferenceId": "",
- "NumNonCompliantResources": 526
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionReferenceId": "2124621540977569058",
- "NumNonCompliantResources": 509
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_GetMetadata.json
deleted file mode 100644
index fa7a7ba8dd72..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_GetMetadata.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "headers": {
- "content-type": "application/xml"
- },
- "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true "
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_ListOperations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_ListOperations.json
deleted file mode 100644
index d92a9e40bcf8..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_ListOperations.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.count": 3,
- "value": [
- {
- "name": "default/queryResults/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy Events",
- "operation": "Query Policy Events",
- "description": "Query information about policy events."
- }
- },
- {
- "name": "default/queryResults/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy States",
- "operation": "Query Policy States",
- "description": "Query information about policy states."
- }
- },
- {
- "name": "latest/queryResults/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy Latest States",
- "operation": "Query Policy Latest States",
- "description": "Query information about policy latest states."
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryManagementGroupScope.json
deleted file mode 100644
index 056f90186abe..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryManagementGroupScope.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "managementGroupsNamespace": "Microsoft.Management",
- "managementGroupName": "myManagementGroup",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T17:41:47Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/microsoft.insights/autoscalesettings/mytest1",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/1ef5d536aec743a0aa801c1a",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/microsoft.insights/autoscalesettings",
- "resourceLocation": "westus",
- "resourceGroup": "myrg1",
- "resourceTags": "tbd",
- "policyAssignmentName": "1ef5d536aec743a0aa801c1a",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/335cefd2-ab16-430f-b364-974a170eb1d5",
- "policySetDefinitionName": "335cefd2-ab16-430f-b364-974a170eb1d5",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "15521232277412542086"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T17:41:47Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/microsoft.insights/autoscalesettings/mytest1",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/microsoft.insights/autoscalesettings",
- "resourceLocation": "westus",
- "resourceGroup": "myrg1",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "",
- "policySetDefinitionName": "",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": ""
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryNestedResourceScope.json
deleted file mode 100644
index edd479e4c1cc..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryNestedResourceScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyStates/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/mymg",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/mymg",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceGroupScope.json
deleted file mode 100644
index 5e2d9f295d2f..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceGroupScope.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T18:42:42Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mysa1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Storage/storageAccounts",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "3f3c4330183b4e218fe6fd29",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T18:42:42Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mysa1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e3682",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Storage/storageAccounts",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "3f3c4330183b4e218fe6fd29",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e3682",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceScope.json
deleted file mode 100644
index 5ed1a700ca7d..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "test",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "Audit a tag and it's value",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "test",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "Audit a tag and it's value",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
deleted file mode 100644
index 576fd8712c44..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyStates/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/mymg",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/mymg",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
deleted file mode 100644
index 43c7d7368139..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "test",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "Audit a tag and it's value",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "test",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "Audit a tag and it's value",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionScope.json
deleted file mode 100644
index 84f023c0c4a2..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T17:48:05Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/Microsoft.Network/publicIPAddresses/mypubip1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/Enable Monitoring in Azure Security Center",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Network/publicIPAddresses",
- "resourceLocation": "eastus",
- "resourceGroup": "myrg1",
- "resourceTags": "tbd",
- "policyAssignmentName": "Enable Monitoring in Azure Security Center",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "9daedab3-fb2d-461e-b861-71790eead4f6",
- "policyDefinitionAction": "AuditIfNotExists",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T17:48:05Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/Microsoft.Network/publicIPAddresses/mypubip1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/9ac09b0657d942e5ad4041a6",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Network/publicIPAddresses",
- "resourceLocation": "eastus",
- "resourceGroup": "myrg1",
- "resourceTags": "tbd",
- "policyAssignmentName": "9ac09b0657d942e5ad4041a6",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "9daedab3-fb2d-461e-b861-71790eead4f6",
- "policyDefinitionAction": "AuditIfNotExists",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
deleted file mode 100644
index 9cc4e6079eb1..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-10-17-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$to": "2018-02-06T18:00:00Z",
- "$orderby": "Timestamp desc, PolicyAssignmentId asc, SubscriptionId asc, ResourceGroup asc, ResourceId",
- "$select": "Timestamp, PolicyAssignmentId, PolicyDefinitionId, SubscriptionId, ResourceGroup, ResourceId",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-06T17:58:00Z",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/8cb1e007-947f-423a-ad0c-7ab7dc7d0255/providers/Microsoft.Authorization/policyAssignments/1654a0254ab34920a60f94eb",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroup": "myrg1",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/Microsoft.Storage/storageAccounts/mysa1"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-06T17:58:00Z",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/8cb1e007-947f-423a-ad0c-7ab7dc7d0255/providers/Microsoft.Authorization/policyAssignments/1654a0254ab34920a60f94eb",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroup": "myrg2",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg2/providers/Microsoft.Storage/storageAccounts/mysa2"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json
deleted file mode 100644
index aa5b43bebfef..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json
+++ /dev/null
@@ -1,662 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyEventsClient",
- "version": "2017-10-17-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForManagementGroup",
- "description": "Queries policy events for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at management group scope": {
- "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForSubscription",
- "description": "Queries policy events for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at subscription scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResourceGroup",
- "description": "Queries policy events for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at resource group scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResource",
- "description": "Queries policy events for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at resource scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceScope.json"
- },
- "Query at subscription level resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json"
- },
- "Query at nested resource scope": {
- "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json"
- },
- "Query at subscription level nested resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json"
- }
- }
- }
- },
- "/{scope}/providers/Microsoft.PolicyInsights/policyEvents/$metadata": {
- "get": {
- "operationId": "PolicyEvents_GetMetadata",
- "description": "Gets OData metadata XML document.",
- "produces": [
- "application/xml"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/scopeParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OData metadata XML document.",
- "schema": {
- "$ref": "#/definitions/MetadataDocument"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Get metadata": {
- "$ref": "./examples/PolicyEvents_GetMetadata.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyEventsQueryResults": {
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy event records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyEvent"
- }
- }
- }
- },
- "PolicyEvent": {
- "type": "object",
- "description": "Policy event record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since policy event records do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for the policy event record.",
- "type": "string",
- "format": "date-time"
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string"
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "type": "string"
- },
- "isCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "type": "boolean"
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string"
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string"
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string"
- },
- "resourceTags": {
- "description": "List of resource tags.",
- "type": "string"
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string"
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string"
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string"
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string"
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "managementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "tenantId": {
- "description": "Tenant ID for the policy event record.",
- "type": "string"
- },
- "principalOid": {
- "description": "Principal object ID for the user who initiated the resource operation that triggered the policy event.",
- "type": "string"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string"
- },
- "message": {
- "description": "Description of the error.",
- "type": "string"
- }
- }
- }
- }
- },
- "MetadataDocument": {
- "description": "Metadata XML document.",
- "type": "string"
- }
- },
- "parameters": {
- "policyEventsResourceParameter": {
- "name": "policyEventsResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "description": "The name of the virtual resource under PolicyEvents resource type; only \"default\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "description": "The namespace for Microsoft Management resource provider; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "scopeParameter": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version to use with the client requests.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json
deleted file mode 100644
index 3322b8b1b15d..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json
+++ /dev/null
@@ -1,737 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyStatesClient",
- "version": "2017-10-17-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForManagementGroup",
- "description": "Queries policy states for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at management group scope": {
- "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForSubscription",
- "description": "Queries policy states for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at subscription scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResourceGroup",
- "description": "Queries policy states for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at resource group scope": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResource",
- "description": "Queries policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query all policy states at resource scope": {
- "$ref": "./examples/PolicyStates_QueryResourceScope.json"
- },
- "Query all policy states at subscription level resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json"
- },
- "Query all policy states at nested resource scope": {
- "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json"
- },
- "Query all policy states at subscription level nested resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json"
- }
- }
- }
- },
- "/providers/Microsoft.PolicyInsights/operations": {
- "get": {
- "operationId": "Operations_List",
- "description": "Lists available operations.",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "List of available operations.",
- "schema": {
- "$ref": "#/definitions/OperationsListResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "List operations": {
- "$ref": "./examples/PolicyStates_ListOperations.json"
- }
- }
- }
- },
- "/{scope}/providers/Microsoft.PolicyInsights/policyStates/$metadata": {
- "get": {
- "operationId": "PolicyStates_GetMetadata",
- "description": "Gets OData metadata XML document.",
- "produces": [
- "application/xml"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/scopeParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OData metadata XML document.",
- "schema": {
- "$ref": "#/definitions/MetadataDocument"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Get metadata": {
- "$ref": "./examples/PolicyStates_GetMetadata.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyStatesQueryResults": {
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy state records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyState"
- }
- }
- }
- },
- "PolicyState": {
- "type": "object",
- "description": "Policy state record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since policy state records do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for the policy state record.",
- "type": "string",
- "format": "date-time"
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string"
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "type": "string"
- },
- "isCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "type": "boolean"
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string"
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string"
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string"
- },
- "resourceTags": {
- "description": "List of resource tags.",
- "type": "string"
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string"
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string"
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string"
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string"
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "managementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string"
- },
- "message": {
- "description": "Description of the error.",
- "type": "string"
- }
- }
- }
- }
- },
- "OperationsListResults": {
- "description": "List of available operations.",
- "properties": {
- "@odata.count": {
- "description": "OData entity count; represents the number of operations returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 1
- },
- "value": {
- "description": "List of available operations.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- }
- }
- }
- },
- "Operation": {
- "description": "Operation definition.",
- "properties": {
- "name": {
- "description": "Operation name.",
- "type": "string"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "properties": {
- "provider": {
- "description": "Resource provider name.",
- "type": "string"
- },
- "resource": {
- "description": "Resource name on which the operation is performed.",
- "type": "string"
- },
- "operation": {
- "description": "Operation name.",
- "type": "string"
- },
- "description": {
- "description": "Operation description.",
- "type": "string"
- }
- }
- }
- }
- },
- "MetadataDocument": {
- "description": "Metadata XML document.",
- "type": "string"
- }
- },
- "parameters": {
- "policyStatesResourceParameter": {
- "name": "policyStatesResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default",
- "latest"
- ],
- "x-ms-enum": {
- "name": "PolicyStatesResource",
- "modelAsString": true
- },
- "description": "The virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "description": "The namespace for Microsoft Management resource provider; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "scopeParameter": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version to use with the client requests.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
deleted file mode 100644
index 748d489a3080..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndAggregateOnly.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "aggregate($count as NumDenyEvents)"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "NumDenyEvents": 40
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
deleted file mode 100644
index a4789d0c6f44..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumEvents))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/resourcescachemonitor/services/myService",
- "NumEvents": 1
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d6be6bb37e5f4333baa95c2a",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/5948d091-78b7-4d3b-a404-cc6a0329b0c6",
- "policyDefinitionAction": "audit",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/resourcescachemonitor/services/myService",
- "NumEvents": 1
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
deleted file mode 100644
index d77a98dbbf85..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-01-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction ne 'audit' and PolicyDefinitionAction ne 'append'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/5bc427ca-0089-4d0d-85bd-e98d1e40b3bf/providers/microsoft.authorization/policyassignments/storageaccountsku",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
- "policyDefinitionAction": "deny",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/5bc427ca-0089-4d0d-85bd-e98d1e40b3bf/providers/microsoft.storage/storageaccounts/7d528d3a"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.authorization/policyassignments/da43b50031bf4bce84584faa",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/1e30110a-5ceb-460c-a204-c1c3969c6d62",
- "policyDefinitionAction": "deny",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/mysa1"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
deleted file mode 100644
index 53c0f3fa05ac..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndMultipleGroups.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-01-01T00:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, ResourceId))/groupby((PolicyAssignmentId, PolicyDefinitionId), aggregate($count as NumDeniedResources))",
- "$orderby": "NumDeniedResources desc",
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 6,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/0591f497c35344fcbaf7a393",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/e56962a6-4747-49cd-b67b-bf8b01975c4c",
- "NumDeniedResources": 3
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/myassignment1",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mydefinition1",
- "NumDeniedResources": 2
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup1/providers/microsoft.authorization/policyassignments/myassignment1",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mydefinition2",
- "NumDeniedResources": 2
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/5bc427ca-0089-4d0d-85bd-e98d1e40b3bf/providers/microsoft.authorization/policyassignments/storageaccountsku",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
- "NumDeniedResources": 1
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup2/providers/microsoft.authorization/policyassignments/da43b50031bf4bce84584faa",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/1e30110a-5ceb-460c-a204-c1c3969c6d62",
- "NumDeniedResources": 1
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup2/providers/microsoft.authorization/policyassignments/myassignment2",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/mydefinition3",
- "NumDeniedResources": 1
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_GetMetadata.json
deleted file mode 100644
index aee4220ba17e..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_GetMetadata.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "headers": {
- "content-type": "application/xml"
- },
- "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true "
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryManagementGroupScope.json
deleted file mode 100644
index c5048016855a..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryManagementGroupScope.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "managementGroupsNamespace": "Microsoft.Management",
- "managementGroupName": "myManagementGroup",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T22:19:18.8896095Z",
- "resourceId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myrg/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/DAExtension",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/1ef5d536aec743a0aa801c1a",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef",
- "resourceType": "/Microsoft.Compute/virtualMachines/extensions",
- "resourceLocation": "westeurope",
- "resourceGroup": "myrg",
- "resourceTags": "tbd",
- "policyAssignmentName": "1ef5d536aec743a0aa801c1a",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/335cefd2-ab16-430f-b364-974a170eb1d5",
- "policySetDefinitionName": "335cefd2-ab16-430f-b364-974a170eb1d5",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "15521232277412542086",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff3e452-fff2-fff1-fff8-fff12618f1b8"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T22:19:18.8896095Z",
- "resourceId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myrg/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/DAExtension",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/95816fce53454b15a7ed803d",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/a2c0414b-82e4-459d-97d5-94c79a89232c",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef",
- "resourceType": "/Microsoft.Compute/virtualMachines/extensions",
- "resourceLocation": "westeurope",
- "resourceGroup": "myrg",
- "resourceTags": "tbd",
- "policyAssignmentName": "95816fce53454b15a7ed803d",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"eastus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "a2c0414b-82e4-459d-97d5-94c79a89232c",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "",
- "policySetDefinitionName": "",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff3e452-fff2-fff1-fff8-fff12618f1b8"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryNestedResourceScope.json
deleted file mode 100644
index 498c651458f3..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryNestedResourceScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "181565554491747128",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/microsoft.servicefabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "624540685646900425",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json
deleted file mode 100644
index 1cc59cdabd02..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyAssignmentName": "myPolicyAssignment",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-08T00:07:16.2804863Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/defaultworkspace-fffedd8f-ffff-fffd-fffd-fffed2f84852-eus",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyDefinitions/myPolicyDefinition",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/microsoft.operationalinsights/workspaces",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "myPolicyAssignment",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": null,
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup",
- "policyDefinitionName": "myPolicyAssignment",
- "policyDefinitionAction": "deny",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff2f355-fff2-fffc-fffb-fff1639dff94"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-08T00:06:08.4302267Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/defaultworkspace-fffedd8f-ffff-fffd-fffd-fffed2f84852-eus",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyDefinitions/myPolicyDefinition",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/microsoft.operationalinsights/workspaces",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "myPolicyAssignment",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": null,
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup",
- "policyDefinitionName": "myPolicyAssignment",
- "policyDefinitionAction": "deny",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff2f355-fff2-fffc-fffb-fff1639dff94"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupScope.json
deleted file mode 100644
index 4587bced2bac..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupScope.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "181565554491747128",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "624540685646900425",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceScope.json
deleted file mode 100644
index 66dd9560c0dc..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T15:14:39.8473851Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T15:14:39.5842458Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
deleted file mode 100644
index 605dcf5393b5..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "181565554491747128",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "624540685646900425",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json
deleted file mode 100644
index cb7c761d61fd..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-08T19:59:38.6401747Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-08T19:59:34.2017762Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "9daedab3-fb2d-461e-b861-71790eead4f6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json
deleted file mode 100644
index 4eabcf6b414d..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-08T19:58:11.590596Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/deploymentSlots/production/state/start",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/f4cc58b7db524a9799381531",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.ClassicCompute/domainNames/deploymentSlots/state",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "f4cc58b7db524a9799381531",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"TAGNAME_1\":{\"value\":\"NA\"}}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policySetDefinitionName": "12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "14799174781370023846",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-08T19:58:11.590596Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/deploymentSlots/production/state/start",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/f4cc58b7db524a9799381531",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.ClassicCompute/domainNames/deploymentSlots/state",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "f4cc58b7db524a9799381531",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"TAGNAME_1\":{\"value\":\"NA\"}}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policySetDefinitionName": "12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "1679708035638239273",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json
deleted file mode 100644
index ae2bbed0b465..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-08T19:49:32.9539023Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/serviceCertificates/sha1-FFFBDAF1FFFF109FFFD95FFFC9B0FFFD6F264FFF",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.ClassicCompute/domainNames/serviceCertificates",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "3f3c4330183b4e218fe6fd29",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-08T19:49:32.9498186Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/serviceCertificates/sha1-FFF36C1CFFF4BEA57FFFEFCFFF17B9F81B710FFF",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.ClassicCompute/domainNames/serviceCertificates",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "3f3c4330183b4e218fe6fd29",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
deleted file mode 100644
index 7261bbad6dd6..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T15:14:39.8473851Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T15:14:39.5842458Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "d15545b8-ff50-409a-a6e3-5bd5cc954003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "201ea587-7c90-41c3-910f-c280ae01cfd6",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null,
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fff890fa-fff0-fff3-fff9-fffd7653f078"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionScope.json
deleted file mode 100644
index bb982632da73..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionScope.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "181565554491747128",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-07T20:43:04.6971328Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/ec62f9b2a454487296f2ccd4",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec62f9b2a454487296f2ccd4",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"ALLOWEDRESOURCEGROUPS_1\":{\"value\":[\"rg1\",\"rg2\"]},\"ALLOWEDRESOURCEGROUPS_2\":{\"value\":[\"myrg3\",\"myrg4\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionName": "00b36c66-612b-44e2-9f8e-b758296d40fe",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "624540685646900425",
- "tenantId": "fff988bf-fff1-ffff-fffb-fffcd011db47",
- "principalOid": "fffdfc0f-fff5-fff0-fff3-fff1a968dcc6"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
deleted file mode 100644
index c707350c9526..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "policyEventsResource": "default",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$to": "2018-02-06T18:00:00Z",
- "$orderby": "Timestamp desc, PolicyAssignmentId asc, SubscriptionId asc, ResourceGroup asc, ResourceId",
- "$select": "Timestamp, PolicyAssignmentId, PolicyDefinitionId, SubscriptionId, ResourceGroup, ResourceId",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-05T22:34:02.3475017Z",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/89b27f38-e9e4-4468-ab81-801c84b8c017",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroup": "myResourceGroup",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomain"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyEvents/$metadata#default/$entity",
- "timestamp": "2018-02-05T22:34:01.6135357Z",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/Enable Monitoring in Azure Security Center",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroup": "myResourceGroup",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomain"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndAggregateOnly.json
deleted file mode 100644
index 4621c4790a3b..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndAggregateOnly.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$apply": "aggregate($count as NumDenyStates)"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "NumDenyStates": 6
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
deleted file mode 100644
index 101ed7cbd2e2..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))",
- "$orderby": "NumAuditDenyNonComplianceRecords desc",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionAction": "audit",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myrg/providers/microsoft.classiccompute/domainnames/myDomainName",
- "NumAuditDenyNonComplianceRecords": 10
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myrg/providers/microsoft.classiccompute/domainnames/myDomainName",
- "NumAuditDenyNonComplianceRecords": 10
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
deleted file mode 100644
index 5c18b994cc9a..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-01-05T18:00:00Z",
- "$filter": "IsCompliant eq false and (PolicyDefinitionAction ne 'audit' and PolicyDefinitionAction ne 'append')",
- "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId))",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/enable monitoring in azure security center",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
- "policyDefinitionAction": "auditifnotexists",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myrg/providers/microsoft.network/virtualnetworks/vnet"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/89b27f38-e9e4-4468-ab81-801c84b8c017",
- "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
- "policyDefinitionAction": "auditifnotexists",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myrg/providers/microsoft.network/virtualnetworks/vnet"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndMultipleGroups.json
deleted file mode 100644
index 558c989210c5..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndMultipleGroups.json
+++ /dev/null
@@ -1,111 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$filter": "IsCompliant eq false",
- "$apply": "groupby((PolicyAssignmentId, PolicySetDefinitionId, PolicyDefinitionId, PolicyDefinitionReferenceId, ResourceId))/groupby((PolicyAssignmentId, PolicySetDefinitionId, PolicyDefinitionId, PolicyDefinitionReferenceId), aggregate($count as NumNonCompliantResources))",
- "$orderby": "NumNonCompliantResources desc",
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 10,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "14799174781370023846",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "1679708035638239273",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "14799174781370023846",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "1679708035638239273",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7",
- "policySetDefinitionId": "",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49",
- "policySetDefinitionId": "",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionReferenceId": "",
- "NumNonCompliantResources": 557
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionReferenceId": "",
- "NumNonCompliantResources": 552
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/a03db67e-a286-43c3-9098-b2da83d361ad",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionReferenceId": "8935913113203900114",
- "NumNonCompliantResources": 544
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/8174043a1e2849179635b874",
- "policySetDefinitionId": "",
- "policyDefinitionId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policydefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "policyDefinitionReferenceId": "",
- "NumNonCompliantResources": 526
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionReferenceId": "2124621540977569058",
- "NumNonCompliantResources": 509
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_GetMetadata.json
deleted file mode 100644
index 45a4e964c011..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_GetMetadata.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "headers": {
- "content-type": "application/xml"
- },
- "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true "
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_ListOperations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_ListOperations.json
deleted file mode 100644
index 5748e2171ccd..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_ListOperations.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.count": 3,
- "value": [
- {
- "name": "Microsoft.PolicyInsights/policyEvents/queryResults/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy Events",
- "operation": "Query Policy Events",
- "description": "Query information about policy events."
- }
- },
- {
- "name": "Microsoft.PolicyInsights/policyStates/queryResults/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy States",
- "operation": "Query Policy States",
- "description": "Query information about policy states."
- }
- },
- {
- "name": "Microsoft.PolicyInsights/policyStates/summarize/action",
- "display": {
- "provider": "Microsoft Policy Insights",
- "resource": "Policy States",
- "operation": "Query Policy Latest States Summary",
- "description": "Query summary information about policy latest states."
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryManagementGroupScope.json
deleted file mode 100644
index 101024b4e421..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryManagementGroupScope.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "managementGroupsNamespace": "Microsoft.Management",
- "managementGroupName": "myManagementGroup",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T17:41:47Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/microsoft.insights/autoscalesettings/mytest1",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/1ef5d536aec743a0aa801c1a",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/microsoft.insights/autoscalesettings",
- "resourceLocation": "westus",
- "resourceGroup": "myrg1",
- "resourceTags": "tbd",
- "policyAssignmentName": "1ef5d536aec743a0aa801c1a",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/335cefd2-ab16-430f-b364-974a170eb1d5",
- "policySetDefinitionName": "335cefd2-ab16-430f-b364-974a170eb1d5",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "15521232277412542086"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T17:41:47Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/microsoft.insights/autoscalesettings/mytest1",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/microsoft.insights/autoscalesettings",
- "resourceLocation": "westus",
- "resourceGroup": "myrg1",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/myManagementGroup",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "",
- "policySetDefinitionName": "",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "myManagementGroup,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": ""
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryNestedResourceScope.json
deleted file mode 100644
index 01e320f7a6a1..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryNestedResourceScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyStates/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/mymg",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/mymg",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json
deleted file mode 100644
index 0444622917a7..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyAssignmentName": "myPolicyAssignment",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-13T00:38:50Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Security/policies/mySecurityPolicy",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/4a0425e4-97bf-4ad0-ab36-145b94083c60",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Security/policies",
- "resourceLocation": null,
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "myPolicyAssignment",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"EUS, WEU\"]}}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup",
- "policyDefinitionName": "4a0425e4-97bf-4ad0-ab36-145b94083c60",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-13T00:38:50Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/test",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/4a0425e4-97bf-4ad0-ab36-145b94083c60",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Authorization/policyAssignments",
- "resourceLocation": null,
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "myPolicyAssignment",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"EUS, WEU\"]}}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup",
- "policyDefinitionName": "4a0425e4-97bf-4ad0-ab36-145b94083c60",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupScope.json
deleted file mode 100644
index 90530f5930a7..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupScope.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T18:42:42Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mysa1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Storage/storageAccounts",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "3f3c4330183b4e218fe6fd29",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T18:42:42Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mysa1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e3682",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Storage/storageAccounts",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "3f3c4330183b4e218fe6fd29",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e3682",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceScope.json
deleted file mode 100644
index 71dad938952b..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "test",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "Audit a tag and it's value",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourcegroups/myResourceGroup/providers/Microsoft.ClassicCompute/domainNames/myDomainName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.ClassicCompute/domainNames",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "test",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "Audit a tag and it's value",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
deleted file mode 100644
index a72fef261198..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyStates/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/mymg",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResource/someNestedResourceType/someNestedResource",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyAssignments/186044306c044a1d8c0ff76c",
- "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/mymg/providers/Microsoft.Authorization/policyDefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType/someNestedResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "186044306c044a1d8c0ff76c",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"allowedLocations\":{\"value\":[\"centralus\"]}}",
- "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/mymg",
- "policyDefinitionName": "022d9357-5a90-46f7-9554-21d30ce4c32d",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json
deleted file mode 100644
index a8f2e49db989..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-13T00:45:19Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/my-ip-1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Network/publicIPAddresses",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"TAGNAME_1\":{\"value\":\"test\"}}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "c8b79b49-a579-4045-984e-1b249ab8b474",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policySetDefinitionName": "12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "2124621540977569058"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-13T00:45:19Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/my-ip-1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Network/publicIPAddresses",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"TAGNAME_1\":{\"value\":\"test\"}}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policySetDefinitionName": "12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": "14799174781370023846"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json
deleted file mode 100644
index 0f51425e8c1f..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-13T00:50:27Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/services/myService",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/d9da7e80af6344ab9d342aa7",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications/services",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "d9da7e80af6344ab9d342aa7",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"MyTag\"}}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-13T00:50:27Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApplication/services/myService",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/d9da7e80af6344ab9d342aa7",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.ServiceFabric/clusters/applications/services",
- "resourceLocation": "eastus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "d9da7e80af6344ab9d342aa7",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"MyTag\"}}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json
deleted file mode 100644
index 22ed627848e8..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-13T00:54:58Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Web/sites/mySite",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Web/sites",
- "resourceLocation": "centralus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "3f3c4330183b4e218fe6fd29",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-13T00:54:58Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Web/sites/mySite",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/3f3c4330183b4e218fe6fd29",
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/LocationAuditDefinition",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Web/sites",
- "resourceLocation": "centralus",
- "resourceGroup": "myResourceGroup",
- "resourceTags": "tbd",
- "policyAssignmentName": "3f3c4330183b4e218fe6fd29",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "LocationAuditDefinition",
- "policyDefinitionAction": "Audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
deleted file mode 100644
index ec95e0a32de1..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "default",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "test",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "Audit a tag and it's value",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName/providers/Microsoft.PolicyInsights/policyStates/$metadata#default/$entity",
- "timestamp": "2018-02-09T16:04:31Z",
- "resourceId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.SomeNamespace/someResourceType/someResourceName",
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyAssignments/test",
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/Microsoft.Authorization/policyDefinitions/Audit a tag and it's value",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "resourceType": "/Microsoft.SomeNamespace/someResourceType",
- "resourceLocation": "eastus",
- "resourceGroup": "",
- "resourceTags": "tbd",
- "policyAssignmentName": "test",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{\"tagName\":{\"value\":\"no\"},\"tagValue\":{\"value\":\"no\"}}",
- "policyAssignmentScope": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5",
- "policyDefinitionName": "Audit a tag and it's value",
- "policyDefinitionAction": "audit",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": null,
- "policySetDefinitionName": null,
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionScope.json
deleted file mode 100644
index 88a63a0f5bd7..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionScope.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T17:48:05Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/Microsoft.Network/publicIPAddresses/mypubip1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/Enable Monitoring in Azure Security Center",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Network/publicIPAddresses",
- "resourceLocation": "eastus",
- "resourceGroup": "myrg1",
- "resourceTags": "tbd",
- "policyAssignmentName": "Enable Monitoring in Azure Security Center",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "9daedab3-fb2d-461e-b861-71790eead4f6",
- "policyDefinitionAction": "AuditIfNotExists",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-09T17:48:05Z",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/Microsoft.Network/publicIPAddresses/mypubip1",
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyAssignments/9ac09b0657d942e5ad4041a6",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6",
- "effectiveParameters": null,
- "isCompliant": false,
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceType": "/Microsoft.Network/publicIPAddresses",
- "resourceLocation": "eastus",
- "resourceGroup": "myrg1",
- "resourceTags": "tbd",
- "policyAssignmentName": "9ac09b0657d942e5ad4041a6",
- "policyAssignmentOwner": "tbd",
- "policyAssignmentParameters": "{}",
- "policyAssignmentScope": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "policyDefinitionName": "9daedab3-fb2d-461e-b861-71790eead4f6",
- "policyDefinitionAction": "AuditIfNotExists",
- "policyDefinitionCategory": "tbd",
- "policySetDefinitionId": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
- "policySetDefinitionOwner": null,
- "policySetDefinitionCategory": null,
- "policySetDefinitionParameters": null,
- "managementGroupIds": "mymg,fff988bf-fff1-ffff-fffb-fffcd011db47",
- "policyDefinitionReferenceId": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeManagementGroupScope.json
deleted file mode 100644
index afe18645adf7..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeManagementGroupScope.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "policyStatesSummaryResource": "latest",
- "managementGroupsNamespace": "Microsoft.Management",
- "managementGroupName": "myManagementGroup",
- "api-version": "2017-12-12-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$to": "2018-02-06T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny' or PolicyDefinitionAction eq 'audit'",
- "$top": 0
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary/$entity",
- "results": {
- "queryResultsUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/myManagementGroup/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-05 18:00:00Z&$to=2018-02-06 18:00:00Z&$filter=(PolicyDefinitionAction eq 'deny' or PolicyDefinitionAction eq 'audit') and IsCompliant eq false",
- "nonCompliantResources": 15410,
- "nonCompliantPolicies": 68
- },
- "policyAssignments": []
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json
deleted file mode 100644
index 008735589b93..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "parameters": {
- "policyStatesSummaryResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyAssignmentName": "b7a1ca2596524e3ab19597f2",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/b7a1ca2596524e3ab19597f2/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/b7a1ca2596524e3ab19597f2/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary/$entity",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/b7a1ca2596524e3ab19597f2/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-22 23:54:22Z&$to=2018-02-23 23:54:22Z&$filter=IsCompliant eq false",
- "nonCompliantResources": 7,
- "nonCompliantPolicies": 1
- },
- "policyAssignments": [
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b7a1ca2596524e3ab19597f2",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/b7a1ca2596524e3ab19597f2/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-22 23:54:22Z&$to=2018-02-23 23:54:22Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b7a1ca2596524e3ab19597f2'",
- "nonCompliantResources": 7,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/4a0425e4-97bf-4ad0-ab36-145b94083c60",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/b7a1ca2596524e3ab19597f2/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-22 23:54:22Z&$to=2018-02-23 23:54:22Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourcegroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b7a1ca2596524e3ab19597f2' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/4a0425e4-97bf-4ad0-ab36-145b94083c60'",
- "nonCompliantResources": 7
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupScope.json
deleted file mode 100644
index a0ebd225d786..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupScope.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "parameters": {
- "policyStatesSummaryResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary/$entity",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:55:09Z&$to=2018-02-13 19:55:09Z&$filter=IsCompliant eq false",
- "nonCompliantResources": 55,
- "nonCompliantPolicies": 20
- },
- "policyAssignments": [
- {
- "policyAssignmentId": "/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/186044306c044a1d8c0ff76c",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:55:09Z&$to=2018-02-13 19:55:09Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/186044306c044a1d8c0ff76c'",
- "nonCompliantResources": 55,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:55:09Z&$to=2018-02-13 19:55:09Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/186044306c044a1d8c0ff76c' and PolicyDefinitionId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d'",
- "nonCompliantResources": 55
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a",
- "policySetDefinitionId": "/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policysetdefinitions/335cefd2-ab16-430f-b364-974a170eb1d5",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:55:09Z&$to=2018-02-13 19:55:09Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a'",
- "nonCompliantResources": 55,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:55:09Z&$to=2018-02-13 19:55:09Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a' and PolicyDefinitionId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d'",
- "nonCompliantResources": 55
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceScope.json
deleted file mode 100644
index 644357a6f495..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceScope.json
+++ /dev/null
@@ -1,334 +0,0 @@
-{
- "parameters": {
- "policyStatesSummaryResource": "latest",
- "resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary/$entity",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 14
- },
- "policyAssignments": [
- {
- "policyAssignmentId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/8174043a1e2849179635b874",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/8174043a1e2849179635b874'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policydefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/8174043a1e2849179635b874' and PolicyDefinitionId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policydefinitions/72c0c41a-c752-4bc0-9c61-0d6adc567066'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a",
- "policySetDefinitionId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policysetdefinitions/335cefd2-ab16-430f-b364-974a170eb1d5",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a' and PolicyDefinitionId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/186044306c044a1d8c0ff76c",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/186044306c044a1d8c0ff76c'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policyassignments/186044306c044a1d8c0ff76c' and PolicyDefinitionId eq '/providers/microsoft.management/managementgroups/mymg/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/fed0d6ef-c76c-4a3d-a4ec-de07b1e7900b",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/fed0d6ef-c76c-4a3d-a4ec-de07b1e7900b'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/audit a tag and it's value",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/fed0d6ef-c76c-4a3d-a4ec-de07b1e7900b' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/audit a tag and it's value'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/f5f5249bd6124d0692c2af52",
- "policySetDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policysetdefinitions/bafcd34b-58c6-47b4-bc8b-f35198d6a025",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/f5f5249bd6124d0692c2af52'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/test",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/f5f5249bd6124d0692c2af52' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/testtest'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/e4a08f18-4e3e-47af-a2eb-cc96d8c9a030",
- "policySetDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policysetdefinitions/e4a08f18-4e3e-47af-a2eb-cc96d8c9a01f",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/e4a08f18-4e3e-47af-a2eb-cc96d8c9a030'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 2
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/audit a tag and its value",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/e4a08f18-4e3e-47af-a2eb-cc96d8c9a030' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/audit a tag and its value'",
- "nonCompliantResources": 1
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/audit a tag and it's value",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/e4a08f18-4e3e-47af-a2eb-cc96d8c9a030' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/audit a tag and it's value'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01",
- "policySetDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policysetdefinitions/a03db67e-a286-43c3-9098-b2da83d361ad",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/dc7c38a6-42a9-4261-b54e-92549cd6e010",
- "policySetDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policysetdefinitions/deny a resource based on owner tag",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/dc7c38a6-42a9-4261-b54e-92549cd6e010'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/audit a tag and it's value",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/dc7c38a6-42a9-4261-b54e-92549cd6e010' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/audit a tag and it's value'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/d6be6bb37e5f4333baa95c2a",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/d6be6bb37e5f4333baa95c2a'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/5948d091-78b7-4d3b-a404-cc6a0329b0c6",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/d6be6bb37e5f4333baa95c2a' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/5948d091-78b7-4d3b-a404-cc6a0329b0c6'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "policySetDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policysetdefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "policySetDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 3
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/locationauditdefinition",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/locationauditdefinition'",
- "nonCompliantResources": 1
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474'",
- "nonCompliantResources": 1
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 1
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policySetDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1'",
- "nonCompliantResources": 1,
- "nonCompliantPolicies": 3
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/locationauditdefinition",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/locationauditdefinition'",
- "nonCompliantResources": 1
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474'",
- "nonCompliantResources": 1
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/my-vault/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:59:17Z&$to=2018-02-13 19:59:17Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1' and PolicyDefinitionId eq '/subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 1
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json
deleted file mode 100644
index c3347bd7ba15..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "parameters": {
- "policyStatesSummaryResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary/$entity",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:09:24Z&$to=2018-02-13 20:09:24Z&$filter=IsCompliant eq false",
- "nonCompliantResources": 531,
- "nonCompliantPolicies": 1
- },
- "policyAssignments": [
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:09:24Z&$to=2018-02-13 20:09:24Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531'",
- "nonCompliantResources": 531,
- "nonCompliantPolicies": 4
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:09:24Z&$to=2018-02-13 20:09:24Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474'",
- "nonCompliantResources": 531
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:09:24Z&$to=2018-02-13 20:09:24Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 531
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/locationauditdefinition",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:09:24Z&$to=2018-02-13 20:09:24Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/locationauditdefinition'",
- "nonCompliantResources": 220
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e3682",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:09:24Z&$to=2018-02-13 20:09:24Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e3682'",
- "nonCompliantResources": 54
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json
deleted file mode 100644
index 46d441f52e99..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json
+++ /dev/null
@@ -1,106 +0,0 @@
-{
- "parameters": {
- "policyStatesSummaryResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
- "api-version": "2017-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary/$entity",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false",
- "nonCompliantResources": 561,
- "nonCompliantPolicies": 4
- },
- "policyAssignments": [
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7'",
- "nonCompliantResources": 558,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 558
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29'",
- "nonCompliantResources": 553,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 553
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1'",
- "nonCompliantResources": 531,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/ddd8ef92e3714a5ea3d208c1' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 531
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/12b58873-e0f8-4b95-936c-86cbe7c9d697",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531'",
- "nonCompliantResources": 531,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policyDefinitions/24813039-7534-408a-9842-eb99f45721b1/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 20:07:10Z&$to=2018-02-13 20:07:10Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/f4cc58b7db524a9799381531' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 531
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json
deleted file mode 100644
index e8b1afe37d58..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "parameters": {
- "policyStatesSummaryResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "authorizationNamespace": "Microsoft.Authorization",
- "policySetDefinitionName": "3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "api-version": "2017-12-12-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$to": "2018-02-06T18:00:00Z",
- "$filter": "PolicyDefinitionAction eq 'deny'",
- "$top": 1
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary/$entity",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.Authorization/policySetDefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-05 18:00:00Z&$to=2018-02-06 18:00:00Z&$filter=(PolicyDefinitionAction eq 'deny') and IsCompliant eq false",
- "nonCompliantResources": 0,
- "nonCompliantPolicies": 0
- },
- "policyAssignments": []
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionScope.json
deleted file mode 100644
index baed33b54d6d..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionScope.json
+++ /dev/null
@@ -1,140 +0,0 @@
-{
- "parameters": {
- "policyStatesSummaryResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$top": 5
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary",
- "@odata.count": 1,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#summary/$entity",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false",
- "nonCompliantResources": 619,
- "nonCompliantPolicies": 40
- },
- "policyAssignments": [
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/a03db67e-a286-43c3-9098-b2da83d361ad",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01'",
- "nonCompliantResources": 557,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/e46af646ebdb461dba708e01' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474'",
- "nonCompliantResources": 557
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7'",
- "nonCompliantResources": 557,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/d9da7e80af6344ab9d342aa7' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 557
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49",
- "policySetDefinitionId": "",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49'",
- "nonCompliantResources": 557,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/dcda79d769674aea8bfcaa49' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/c8b79b49-a579-4045-984e-1b249ab8b474'",
- "nonCompliantResources": 557
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a",
- "policySetDefinitionId": "/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policysetdefinitions/335cefd2-ab16-430f-b364-974a170eb1d5",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a'",
- "nonCompliantResources": 557,
- "nonCompliantPolicies": 1
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policyassignments/1ef5d536aec743a0aa801c1a' and PolicyDefinitionId eq '/providers/microsoft.management/managementgroups/myManagementGroup/providers/microsoft.authorization/policydefinitions/022d9357-5a90-46f7-9554-21d30ce4c32d'",
- "nonCompliantResources": 557
- }
- }
- ]
- },
- {
- "policyAssignmentId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29",
- "policySetDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policysetdefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e338c",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29'",
- "nonCompliantResources": 552,
- "nonCompliantPolicies": 3
- },
- "policyDefinitions": [
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/24813039-7534-408a-9842-eb99f45721b1'",
- "nonCompliantResources": 552
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/locationauditdefinition",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/locationauditdefinition'",
- "nonCompliantResources": 29
- }
- },
- {
- "policyDefinitionId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e3682",
- "effect": "audit",
- "results": {
- "queryResultsUri": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/latest/queryResults?api-version=2017-12-12-preview&$from=2018-02-12 19:48:53Z&$to=2018-02-13 19:48:53Z&$filter=IsCompliant eq false and PolicyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/3f3c4330183b4e218fe6fd29' and PolicyDefinitionId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policydefinitions/3e3807c1-65c9-49e0-a406-82d8ae3e3682'",
- "nonCompliantResources": 2
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
deleted file mode 100644
index 224d9c5f5c2a..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_TimeRangeSortSelectTop.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "policyStatesResource": "latest",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "api-version": "2017-12-12-preview",
- "$from": "2018-02-05T18:00:00Z",
- "$to": "2018-02-06T18:00:00Z",
- "$orderby": "Timestamp desc, PolicyAssignmentId asc, SubscriptionId asc, ResourceGroup asc, ResourceId",
- "$select": "Timestamp, PolicyAssignmentId, PolicyDefinitionId, SubscriptionId, ResourceGroup, ResourceId",
- "$top": 2
- },
- "responses": {
- "200": {
- "body": {
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest",
- "@odata.count": 2,
- "value": [
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-06T17:58:00Z",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/8cb1e007-947f-423a-ad0c-7ab7dc7d0255/providers/Microsoft.Authorization/policyAssignments/1654a0254ab34920a60f94eb",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroup": "myrg1",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg1/providers/Microsoft.Storage/storageAccounts/mysa1"
- },
- {
- "@odata.id": null,
- "@odata.context": "https://management.azure.com/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/Microsoft.PolicyInsights/policyStates/$metadata#latest/$entity",
- "timestamp": "2018-02-06T17:58:00Z",
- "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/8cb1e007-947f-423a-ad0c-7ab7dc7d0255/providers/Microsoft.Authorization/policyAssignments/1654a0254ab34920a60f94eb",
- "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
- "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
- "resourceGroup": "myrg2",
- "resourceId": "/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/resourceGroups/myrg2/providers/Microsoft.Storage/storageAccounts/mysa2"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json
deleted file mode 100644
index 1adc69d726e7..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json
+++ /dev/null
@@ -1,952 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyEventsClient",
- "version": "2017-12-12-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForManagementGroup",
- "description": "Queries policy events for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at management group scope": {
- "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForSubscription",
- "description": "Queries policy events for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at subscription scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResourceGroup",
- "description": "Queries policy events for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at resource group scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResource",
- "description": "Queries policy events for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at resource scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceScope.json"
- },
- "Query at subscription level resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json"
- },
- "Query at nested resource scope": {
- "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json"
- },
- "Query at subscription level nested resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForPolicySetDefinition",
- "description": "Queries policy events for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at subscription level policy set definition scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForPolicyDefinition",
- "description": "Queries policy events for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at subscription level policy definition scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForSubscriptionLevelPolicyAssignment",
- "description": "Queries policy events for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at subscription level policy assignment scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResourceGroupLevelPolicyAssignment",
- "description": "Queries policy events for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query at resource group level policy assignment scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/{scope}/providers/Microsoft.PolicyInsights/policyEvents/$metadata": {
- "get": {
- "operationId": "PolicyEvents_GetMetadata",
- "description": "Gets OData metadata XML document.",
- "produces": [
- "application/xml"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/scopeParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OData metadata XML document.",
- "schema": {
- "$ref": "#/definitions/MetadataDocument"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Get metadata": {
- "$ref": "./examples/PolicyEvents_GetMetadata.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyEventsQueryResults": {
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy event records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyEvent"
- }
- }
- }
- },
- "PolicyEvent": {
- "type": "object",
- "description": "Policy event record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since policy event records do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for the policy event record.",
- "type": "string",
- "format": "date-time"
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string"
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "type": "string"
- },
- "isCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "type": "boolean"
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string"
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string"
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string"
- },
- "resourceTags": {
- "description": "List of resource tags.",
- "type": "string"
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string"
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string"
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string"
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string"
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "managementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "tenantId": {
- "description": "Tenant ID for the policy event record.",
- "type": "string"
- },
- "principalOid": {
- "description": "Principal object ID for the user who initiated the resource operation that triggered the policy event.",
- "type": "string"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string"
- },
- "message": {
- "description": "Description of the error.",
- "type": "string"
- }
- }
- }
- }
- },
- "MetadataDocument": {
- "description": "Metadata XML document.",
- "type": "string"
- }
- },
- "parameters": {
- "policyEventsResourceParameter": {
- "name": "policyEventsResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "description": "The name of the virtual resource under PolicyEvents resource type; only \"default\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "authorizationNamespaceParameter": {
- "name": "authorizationNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Authorization"
- ],
- "description": "The namespace for Microsoft Authorization resource provider; only \"Microsoft.Authorization\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "policySetDefinitionNameParameter": {
- "name": "policySetDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy set definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyDefinitionNameParameter": {
- "name": "policyDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyAssignmentNameParameter": {
- "name": "policyAssignmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy assignment name.",
- "x-ms-parameter-location": "method"
- },
- "scopeParameter": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version to use with the client requests.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json
deleted file mode 100644
index f9802bfe8c16..000000000000
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json
+++ /dev/null
@@ -1,1564 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyStatesClient",
- "version": "2017-12-12-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForManagementGroup",
- "description": "Queries policy states for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at management group scope": {
- "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForManagementGroup",
- "description": "Summarizes policy states for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at management group scope": {
- "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForSubscription",
- "description": "Queries policy states for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at subscription scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForSubscription",
- "description": "Summarizes policy states for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at subscription scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResourceGroup",
- "description": "Queries policy states for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at resource group scope": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResourceGroup",
- "description": "Summarizes policy states for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at resource group scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResource",
- "description": "Queries policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query all policy states at resource scope": {
- "$ref": "./examples/PolicyStates_QueryResourceScope.json"
- },
- "Query all policy states at subscription level resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json"
- },
- "Query all policy states at nested resource scope": {
- "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json"
- },
- "Query all policy states at subscription level nested resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResource",
- "description": "Summarizes policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at resource scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForPolicySetDefinition",
- "description": "Queries policy states for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at subscription level policy set definition scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForPolicySetDefinition",
- "description": "Summarizes policy states for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy set definition scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForPolicyDefinition",
- "description": "Queries policy states for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at subscription level policy definition scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForPolicyDefinition",
- "description": "Summarizes policy states for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy definition scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForSubscriptionLevelPolicyAssignment",
- "description": "Queries policy states for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at subscription level policy assignment scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForSubscriptionLevelPolicyAssignment",
- "description": "Summarizes policy states for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy assignment scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResourceGroupLevelPolicyAssignment",
- "description": "Queries policy states for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at resource group level policy assignment scope": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResourceGroupLevelPolicyAssignment",
- "description": "Summarizes policy states for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy assignment scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/providers/Microsoft.PolicyInsights/operations": {
- "get": {
- "operationId": "Operations_List",
- "description": "Lists available operations.",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "List of available operations.",
- "schema": {
- "$ref": "#/definitions/OperationsListResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "List operations": {
- "$ref": "./examples/PolicyStates_ListOperations.json"
- }
- }
- }
- },
- "/{scope}/providers/Microsoft.PolicyInsights/policyStates/$metadata": {
- "get": {
- "operationId": "PolicyStates_GetMetadata",
- "description": "Gets OData metadata XML document.",
- "produces": [
- "application/xml"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/scopeParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OData metadata XML document.",
- "schema": {
- "$ref": "#/definitions/MetadataDocument"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Get metadata": {
- "$ref": "./examples/PolicyStates_GetMetadata.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyStatesQueryResults": {
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy state records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyState"
- }
- }
- }
- },
- "PolicyState": {
- "type": "object",
- "description": "Policy state record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since policy state records do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for the policy state record.",
- "type": "string",
- "format": "date-time"
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string"
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "type": "string"
- },
- "isCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "type": "boolean"
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string"
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string"
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string"
- },
- "resourceTags": {
- "description": "List of resource tags.",
- "type": "string"
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string"
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string"
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string"
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string"
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "managementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "SummarizeResults": {
- "description": "Summarize action results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of summaries returned; always set to 1.",
- "type": "integer",
- "format": "int32",
- "minimum": 1,
- "maximum": 1
- },
- "value": {
- "description": "Summarize action results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Summary"
- }
- }
- }
- },
- "Summary": {
- "description": "Summary results.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since summaries do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "results": {
- "description": "Non-compliance summary for all policy assignments.",
- "$ref": "#/definitions/SummaryResults"
- },
- "policyAssignments": {
- "description": "Policy assignments summary.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyAssignmentSummary"
- }
- }
- }
- },
- "SummaryResults": {
- "description": "Non-compliance summary on a particular summary level.",
- "properties": {
- "queryResultsUri": {
- "description": "HTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the non-compliance summary.",
- "type": "string"
- },
- "nonCompliantResources": {
- "description": "Number of non-compliant resources.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "nonCompliantPolicies": {
- "description": "Number of non-compliant policies.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- }
- }
- },
- "PolicyAssignmentSummary": {
- "description": "Policy assignment summary.",
- "properties": {
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "results": {
- "description": "Non-compliance summary for the policy assignment.",
- "$ref": "#/definitions/SummaryResults"
- },
- "policyDefinitions": {
- "description": "Policy definitions summary.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyDefinitionSummary"
- }
- }
- }
- },
- "PolicyDefinitionSummary": {
- "description": "Policy definition summary.",
- "properties": {
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effect": {
- "description": "Policy effect, i.e. policy definition action.",
- "type": "string"
- },
- "results": {
- "description": "Non-compliance summary for the policy definition.",
- "$ref": "#/definitions/SummaryResults"
- }
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string"
- },
- "message": {
- "description": "Description of the error.",
- "type": "string"
- }
- }
- }
- }
- },
- "OperationsListResults": {
- "description": "List of available operations.",
- "properties": {
- "@odata.count": {
- "description": "OData entity count; represents the number of operations returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 1
- },
- "value": {
- "description": "List of available operations.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- }
- }
- }
- },
- "Operation": {
- "description": "Operation definition.",
- "properties": {
- "name": {
- "description": "Operation name.",
- "type": "string"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "properties": {
- "provider": {
- "description": "Resource provider name.",
- "type": "string"
- },
- "resource": {
- "description": "Resource name on which the operation is performed.",
- "type": "string"
- },
- "operation": {
- "description": "Operation name.",
- "type": "string"
- },
- "description": {
- "description": "Operation description.",
- "type": "string"
- }
- }
- }
- }
- },
- "MetadataDocument": {
- "description": "Metadata XML document.",
- "type": "string"
- }
- },
- "parameters": {
- "policyStatesResourceParameter": {
- "name": "policyStatesResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default",
- "latest"
- ],
- "x-ms-enum": {
- "name": "PolicyStatesResource",
- "modelAsString": true
- },
- "description": "The virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).",
- "x-ms-parameter-location": "method"
- },
- "policyStatesSummaryResourceParameter": {
- "name": "policyStatesSummaryResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "latest"
- ],
- "description": "The virtual resource under PolicyStates resource type for summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the only allowed value.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "authorizationNamespaceParameter": {
- "name": "authorizationNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Authorization"
- ],
- "description": "The namespace for Microsoft Authorization resource provider; only \"Microsoft.Authorization\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "policySetDefinitionNameParameter": {
- "name": "policySetDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy set definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyDefinitionNameParameter": {
- "name": "policyDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyAssignmentNameParameter": {
- "name": "policyAssignmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy assignment name.",
- "x-ms-parameter-location": "method"
- },
- "scopeParameter": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version to use with the client requests.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- }
- }
-}
diff --git a/specification/policyinsights/resource-manager/readme.go.md b/specification/policyinsights/resource-manager/readme.go.md
index 5ffcee50ab45..fa3fa5126749 100644
--- a/specification/policyinsights/resource-manager/readme.go.md
+++ b/specification/policyinsights/resource-manager/readme.go.md
@@ -16,9 +16,6 @@ batch:
- tag: package-2019-10
- tag: package-2018-07
- tag: package-2018-04
- - tag: package-2017-12
- - tag: package-2017-10
- - tag: package-2017-08
```
### Tag: package-2019-10 and go
@@ -47,29 +44,3 @@ Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2017-12' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-12-12-preview/$(namespace)
-```
-
-### Tag: package-2017-10 and go
-
-These settings apply only when `--tag=package-2017-10 --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2017-10' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-10-17-preview/$(namespace)
-```
-
-### Tag: package-2017-08 and go
-
-These settings apply only when `--tag=package-2017-08 --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2017-08' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-08-09-preview/$(namespace)
-```
diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md
index 67ccba7f9e4e..3b88aeb0b6a8 100644
--- a/specification/policyinsights/resource-manager/readme.md
+++ b/specification/policyinsights/resource-manager/readme.md
@@ -105,40 +105,6 @@ input-file:
- Microsoft.PolicyInsights/stable/2018-04-04/policyStates.json
```
-
-### Tag: package-2017-12
-
-These settings apply only when `--tag=package-2017-12` is specified on the command line.
-
-``` yaml $(tag) == 'package-2017-12'
-input-file:
-- Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json
-- Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json
-```
-
-
-### Tag: package-2017-10
-
-These settings apply only when `--tag=package-2017-10` is specified on the command line.
-
-``` yaml $(tag) == 'package-2017-10'
-input-file:
-- Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json
-- Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json
-```
-
-
-### Tag: package-2017-08
-
-These settings apply only when `--tag=package-2017-08` is specified on the command line.
-
-``` yaml $(tag) == 'package-2017-08'
-input-file:
-- Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json
-- Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json
-```
-
-
---
# Code Generation
@@ -288,12 +254,6 @@ input-file:
- $(this-folder)/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json
- $(this-folder)/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json
- $(this-folder)/Microsoft.PolicyInsights/stable/2018-04-04/policyStates.json
- - $(this-folder)/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json
- - $(this-folder)/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json
- - $(this-folder)/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json
- - $(this-folder)/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json
- - $(this-folder)/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json
- - $(this-folder)/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json
```
From f424db6b1ea273e84e3679fb813bf82a235284e2 Mon Sep 17 00:00:00 2001
From: TinaHu1 <51737887+TinaHu1@users.noreply.github.com>
Date: Tue, 3 Dec 2019 13:04:12 +0800
Subject: [PATCH 033/469] [DataFactory]Support partition of SAP HANA (#7860)
---
.../2018-06-01/entityTypes/Pipeline.json | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
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 e8b24fb4337b..d43cf0b35252 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
@@ -1462,6 +1462,33 @@
"packetSize": {
"type": "object",
"description": "The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer)."
+ },
+ "partitionOption": {
+ "description": "The partition mechanism that will be used for SAP HANA read in parallel.",
+ "type": "string",
+ "enum": [
+ "None",
+ "PhysicalPartitionsOfTable",
+ "SapHanaDynamicRange"
+ ],
+ "x-ms-enum": {
+ "name": "SapHanaPartitionOption",
+ "modelAsString": true
+ }
+ },
+ "partitionSettings": {
+ "description": "The settings that will be leveraged for SAP HANA source partitioning.",
+ "$ref": "#/definitions/SapHanaPartitionSettings"
+ }
+ }
+ },
+ "SapHanaPartitionSettings": {
+ "description": "The settings that will be leveraged for SAP HANA source partitioning.",
+ "type": "object",
+ "properties": {
+ "partitionColumnName": {
+ "type": "object",
+ "description": "The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
}
}
},
From a52c5a467001513587ba1d22bf5016c1f68c82b2 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Tue, 3 Dec 2019 14:57:00 +0800
Subject: [PATCH 034/469] Change the order of parameters in swagger to comply
the convention in (#7874)
SDK
---
.../2019-05-01-preview/appplatform.json | 72 +++++++++----------
1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
index b5e58ba63dc4..add9b2d53457 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
@@ -64,15 +64,6 @@
"description": "Create a new Service or update an exiting Service.",
"operationId": "Services_CreateOrUpdate",
"parameters": [
- {
- "name": "resource",
- "in": "body",
- "description": "Parameters for the create or update operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServiceResource"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -84,6 +75,15 @@
},
{
"$ref": "#/parameters/ServiceNameParameter"
+ },
+ {
+ "name": "resource",
+ "in": "body",
+ "description": "Parameters for the create or update operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceResource"
+ }
}
],
"responses": {
@@ -450,15 +450,6 @@
"description": "Create a new App or update an exiting App.",
"operationId": "Apps_CreateOrUpdate",
"parameters": [
- {
- "name": "appResource",
- "in": "body",
- "description": "Parameters for the create or update operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AppResource"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -473,6 +464,15 @@
},
{
"$ref": "#/parameters/AppNameParameter"
+ },
+ {
+ "name": "appResource",
+ "in": "body",
+ "description": "Parameters for the create or update operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AppResource"
+ }
}
],
"responses": {
@@ -755,15 +755,6 @@
"description": "Create a new Binding or update an exiting Binding.",
"operationId": "Bindings_CreateOrUpdate",
"parameters": [
- {
- "name": "bindingResource",
- "in": "body",
- "description": "Parameters for the create or update operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/BindingResource"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -781,6 +772,15 @@
},
{
"$ref": "#/parameters/BindingNameParameter"
+ },
+ {
+ "name": "bindingResource",
+ "in": "body",
+ "description": "Parameters for the create or update operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BindingResource"
+ }
}
],
"responses": {
@@ -1059,15 +1059,6 @@
"description": "Create a new Deployment or update an exiting Deployment.",
"operationId": "Deployments_CreateOrUpdate",
"parameters": [
- {
- "name": "deploymentResource",
- "in": "body",
- "description": "Parameters for the create or update operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DeploymentResource"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -1085,6 +1076,15 @@
},
{
"$ref": "#/parameters/DeploymentNameParameter"
+ },
+ {
+ "name": "deploymentResource",
+ "in": "body",
+ "description": "Parameters for the create or update operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeploymentResource"
+ }
}
],
"responses": {
From d5032dbe6fb64da91f12d8e634205f7a6864f556 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Tue, 3 Dec 2019 16:06:15 +0800
Subject: [PATCH 035/469] Changed some orders that missed by previous commit
(#7877)
---
.../2019-05-01-preview/appplatform.json | 102 +++++++++---------
1 file changed, 51 insertions(+), 51 deletions(-)
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
index add9b2d53457..dd653a2a7d6f 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
@@ -167,15 +167,6 @@
"description": "Operation to update an exiting Service.",
"operationId": "Services_Update",
"parameters": [
- {
- "name": "resource",
- "in": "body",
- "description": "Parameters for the update operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServiceResource"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -187,6 +178,15 @@
},
{
"$ref": "#/parameters/ServiceNameParameter"
+ },
+ {
+ "name": "resource",
+ "in": "body",
+ "description": "Parameters for the update operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceResource"
+ }
}
],
"responses": {
@@ -270,15 +270,6 @@
"description": "Regenerate a test key for a Service.",
"operationId": "Services_RegenerateTestKey",
"parameters": [
- {
- "name": "regenerateTestKeyRequest",
- "in": "body",
- "description": "Parameters for the operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/RegenerateTestKeyRequestPayload"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -290,6 +281,15 @@
},
{
"$ref": "#/parameters/ServiceNameParameter"
+ },
+ {
+ "name": "regenerateTestKeyRequest",
+ "in": "body",
+ "description": "Parameters for the operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RegenerateTestKeyRequestPayload"
+ }
}
],
"responses": {
@@ -555,15 +555,6 @@
"description": "Operation to update an exiting App.",
"operationId": "Apps_Update",
"parameters": [
- {
- "name": "appResource",
- "in": "body",
- "description": "Parameters for the update operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AppResource"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -578,6 +569,15 @@
},
{
"$ref": "#/parameters/AppNameParameter"
+ },
+ {
+ "name": "appResource",
+ "in": "body",
+ "description": "Parameters for the update operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AppResource"
+ }
}
],
"responses": {
@@ -856,15 +856,6 @@
"description": "Operation to update an exiting Binding.",
"operationId": "Bindings_Update",
"parameters": [
- {
- "name": "bindingResource",
- "in": "body",
- "description": "Parameters for the update operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/BindingResource"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -882,6 +873,15 @@
},
{
"$ref": "#/parameters/BindingNameParameter"
+ },
+ {
+ "name": "bindingResource",
+ "in": "body",
+ "description": "Parameters for the update operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BindingResource"
+ }
}
],
"responses": {
@@ -968,6 +968,12 @@
"required": true,
"type": "string"
},
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
{
"name": "availabilityParameters",
"in": "body",
@@ -976,12 +982,6 @@
"schema": {
"$ref": "#/definitions/NameAvailabilityParameters"
}
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -1170,15 +1170,6 @@
"description": "Operation to update an exiting Deployment.",
"operationId": "Deployments_Update",
"parameters": [
- {
- "name": "deploymentResource",
- "in": "body",
- "description": "Parameters for the update operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DeploymentResource"
- }
- },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -1196,6 +1187,15 @@
},
{
"$ref": "#/parameters/DeploymentNameParameter"
+ },
+ {
+ "name": "deploymentResource",
+ "in": "body",
+ "description": "Parameters for the update operation",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeploymentResource"
+ }
}
],
"responses": {
From 23e6e5435ba5c1ecf37069ca6ab6d148aa004744 Mon Sep 17 00:00:00 2001
From: Jingshu923 <52914166+Jingshu923@users.noreply.github.com>
Date: Tue, 3 Dec 2019 18:03:46 +0800
Subject: [PATCH 036/469] Revert "Update Salesforce LinkedService Add
ApiVersion (#7865)" (#7878)
This reverts commit 3b494714b0ef2ba3e720f97d09c97de89873066f.
---
.../stable/2018-06-01/entityTypes/LinkedService.json | 4 ----
1 file changed, 4 deletions(-)
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 6b9f66440c45..b91fef4b4100 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
@@ -2266,10 +2266,6 @@
"description": "The security token is required to remotely access Salesforce instance.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
- "apiVersion": {
- "type": "object",
- "description": "The Salesforce API version used in ADF. Type: string (or Expression with resultType string)."
- },
"encryptedCredential": {
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
From df4187f875393a39197055e879ddd0c2ae63e84c Mon Sep 17 00:00:00 2001
From: cakarata <47228825+cakarata@users.noreply.github.com>
Date: Tue, 3 Dec 2019 10:43:25 -0800
Subject: [PATCH 037/469] Images swagger (#7396)
* Images swagger improvements
* fixes
* fixes
* missing example file
* fixes
* fixes
* fixes
---
.../stable/2019-03-01/compute.json | 221 +++++++++++-------
.../examples/CreateAnImageFromABlob.json | 9 +-
.../CreateAnImageFromAManagedDisk.json | 9 +-
.../examples/CreateAnImageFromASnapshot.json | 9 +-
.../examples/CreateAnImageFromAVM.json | 6 +-
...AnImageThatIncludesADataDiskFromABlob.json | 9 +-
...ThatIncludesADataDiskFromAManagedDisk.json | 9 +-
...ageThatIncludesADataDiskFromASnapshot.json | 9 +-
.../examples/GetInformationAboutAnImage.json | 3 +-
.../2019-03-01/examples/UpdateImage.json | 107 +++++++++
10 files changed, 281 insertions(+), 110 deletions(-)
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/UpdateImage.json
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 9e9efb445e11..5f2d800851f4 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
@@ -2058,99 +2058,104 @@
}
}
},
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Images"
- ],
- "operationId": "Images_Delete",
- "description": "Deletes an Image.",
- "parameters": [
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group."
- },
- {
- "name": "imageName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the image."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "No Content"
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Updates tags of an Image.": {
+ "$ref": "./examples/UpdateImage.json"
}
- },
- "x-ms-long-running-operation": true
+ }
},
- "get": {
- "tags": [
- "Images"
- ],
- "operationId": "Images_Get",
- "description": "Gets an image.",
- "parameters": [
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group."
- },
- {
- "name": "imageName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the image."
- },
- {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The expand expression to apply on the operation."
+ "delete": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_Delete",
+ "description": "Deletes an Image.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "imageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the image."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
},
- {
- "$ref": "#/parameters/ApiVersionParameter"
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_Get",
+ "description": "Gets an image.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "imageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the image."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Image"
+ }
+ }
},
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Image"
+ "x-ms-examples": {
+ "Get information about a virtual machine image.": {
+ "$ref": "./examples/GetInformationAboutAnImage.json"
}
}
- },
- "x-ms-examples": {
- "Get information about a virtual machine image.": {
- "$ref": "./examples/GetInformationAboutAnImage.json"
- }
}
- }
- },
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images": {
"get": {
"tags": [
@@ -6561,7 +6566,25 @@
],
"x-ms-enum": {
"name": "StorageAccountTypes",
- "modelAsString": true
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard_LRS",
+ "description": "Standard_LRS for StorageAccountType."
+ },
+ {
+ "value": "Premium_LRS",
+ "description": "Premium_LRS for StorageAccountType."
+ },
+ {
+ "value": "StandardSSD_LRS",
+ "description": "StandardSSD_LRS for StorageAccountType."
+ },
+ {
+ "value": "UltraSSD_LRS",
+ "description": "UltraSSD_LRS for StorageAccountType."
+ }
+ ]
}
},
"DiffDiskOption": {
@@ -7601,7 +7624,17 @@
],
"x-ms-enum": {
"name": "OperatingSystemTypes",
- "modelAsString": false
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "Windows",
+ "description": "Windows OS Type"
+ },
+ {
+ "value": "Linux",
+ "description": "Linux OS Type"
+ }
+ ]
}
},
"osState": {
@@ -7613,7 +7646,17 @@
],
"x-ms-enum": {
"name": "OperatingSystemStateTypes",
- "modelAsString": false
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "Generalized",
+ "description": "Generalized image. Needs to be provisioned during deployment time."
+ },
+ {
+ "value": "Specialized",
+ "description": "Specialized image. Contains already provisioned OS Disk."
+ }
+ ]
}
},
"snapshot": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromABlob.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromABlob.json
index 055debd6eca4..0b50b88fec63 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromABlob.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromABlob.json
@@ -12,7 +12,8 @@
"osType": "Linux",
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"osState": "Generalized"
- }
+ },
+ "zoneResilient": true
}
}
}
@@ -28,7 +29,8 @@
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
@@ -48,7 +50,8 @@
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromAManagedDisk.json
index edd1a07ae4d8..e6c97d0e3994 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromAManagedDisk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromAManagedDisk.json
@@ -14,7 +14,8 @@
"id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
},
"osState": "Generalized"
- }
+ },
+ "zoneResilient": true
}
}
}
@@ -32,7 +33,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
@@ -54,7 +56,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromASnapshot.json
index 459f8b7bd7b2..d3d0d827e5b5 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromASnapshot.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromASnapshot.json
@@ -14,7 +14,8 @@
"id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
},
"osState": "Generalized"
- }
+ },
+ "zoneResilient": false
}
}
}
@@ -32,7 +33,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
@@ -54,7 +56,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromAVM.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromAVM.json
index 92af3a9511f7..1a7b0dccc0b6 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromAVM.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageFromAVM.json
@@ -29,7 +29,8 @@
},
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
@@ -54,7 +55,8 @@
},
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
index 5b4cb0efae6d..353e494809c7 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
@@ -18,7 +18,8 @@
"lun": 1,
"blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
}
- ]
+ ],
+ "zoneResilient": false
}
}
}
@@ -39,7 +40,8 @@
"lun": 1,
"blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
}
- ]
+ ],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
@@ -64,7 +66,8 @@
"lun": 1,
"blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
}
- ]
+ ],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
index 8260512674b4..a9d6a635ce80 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
@@ -22,7 +22,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
}
}
- ]
+ ],
+ "zoneResilient": false
}
}
}
@@ -47,7 +48,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
}
}
- ]
+ ],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
@@ -76,7 +78,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
}
}
- ]
+ ],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
index d9e8bce3fc5a..1a39b0d86caf 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
@@ -22,7 +22,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
}
}
- ]
+ ],
+ "zoneResilient": true
}
}
}
@@ -47,7 +48,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
}
}
- ]
+ ],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
@@ -76,7 +78,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
}
}
- ]
+ ],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutAnImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutAnImage.json
index 14322734b054..2ce1651a8a1d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutAnImage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutAnImage.json
@@ -39,7 +39,8 @@
},
"storageAccountType": "Standard_LRS"
}
- ]
+ ],
+ "zoneResilient": true
},
"provisioningState": "created"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/UpdateImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/UpdateImage.json
new file mode 100644
index 000000000000..4b09489a0bf1
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/UpdateImage.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "imageName": "myImage",
+ "parameters": {
+ "properties": {
+ "sourceVirtualMachine": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
+ },
+ "hyperVGeneration": "V1"
+ },
+ "tags": {
+ "department": "HR"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage",
+ "type": "Microsoft.Compute/images",
+ "location": "West US",
+ "tags": {
+ "department": "HR"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "osState": "Generalized",
+ "storageAccountType": "Standard_LRS",
+ "diskSizeGB": 20
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ },
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "zoneResilient": true
+ },
+ "provisioningState": "created"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage",
+ "type": "Microsoft.Compute/images",
+ "location": "West US",
+ "tags": {
+ "department": "HR"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "osState": "Generalized",
+ "storageAccountType": "Standard_LRS",
+ "diskSizeGB": 20
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ },
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "zoneResilient": true
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+ }
From 96165d9bd3616080bc4e4203400af9de906da2c1 Mon Sep 17 00:00:00 2001
From: Shinil Mannadath
Date: Tue, 3 Dec 2019 17:08:58 -0800
Subject: [PATCH 038/469] =?UTF-8?q?PostgreSQL,=20MySQL,=20MariaDB=20Swagge?=
=?UTF-8?q?r=20for=20the=20data=20encryption=20key=20api's=20=E2=80=A6=20(?=
=?UTF-8?q?#7806)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
* PostgreSQL, MySQL, MariaDB Swagger for the data encryption key api's for BYOK feature
---
.../preview/2018-06-01-preview/mariadb.json | 33 ++
.../2018-06-01-privatepreview/mariadb.json | 33 ++
.../DataEncryptionKeys.json | 395 ++++++++++++++++++
.../examples/ServerKeyCreateOrUpdate.json | 31 ++
.../examples/ServerKeyDelete.json | 14 +
.../examples/ServerKeyGet.json | 24 ++
.../examples/ServerKeyList.json | 27 ++
.../mariadb/resource-manager/readme.md | 9 +
.../preview/2017-12-01-preview/mysql.json | 33 ++
.../2018-06-01-privatepreview/mysql.json | 33 ++
.../DataEncryptionKeys.json | 395 ++++++++++++++++++
.../examples/ServerKeyCreateOrUpdate.json | 31 ++
.../examples/ServerKeyDelete.json | 14 +
.../examples/ServerKeyGet.json | 24 ++
.../examples/ServerKeyList.json | 27 ++
.../mysql/resource-manager/readme.md | 9 +
.../2017-12-01-preview/postgresql.json | 33 ++
.../DataEncryptionKeys.json | 395 ++++++++++++++++++
.../examples/ServerKeyCreateOrUpdate.json | 31 ++
.../examples/ServerKeyDelete.json | 14 +
.../examples/ServerKeyGet.json | 24 ++
.../examples/ServerKeyList.json | 27 ++
.../postgresql/resource-manager/readme.md | 10 +
23 files changed, 1666 insertions(+)
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json
index 5a391f81e5cf..bedcb77ea9d4 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json
@@ -1619,8 +1619,41 @@
},
"description": "Billing information related properties of a server."
},
+ "ResourceIdentity": {
+ "description": "Azure Active Directory identity configuration for a resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory principal id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IdentityType",
+ "modelAsString": true
+ }
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory tenant id.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"Server": {
"properties": {
+ "identity": {
+ "$ref": "#/definitions/ResourceIdentity",
+ "description": "The Azure Active Directory identity of the server."
+ },
"sku": {
"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
index bb7ed03ce2ba..786f1c580abb 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
@@ -2179,8 +2179,41 @@
},
"description": "Billing information related properties of a server."
},
+ "ResourceIdentity": {
+ "description": "Azure Active Directory identity configuration for a resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory principal id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IdentityType",
+ "modelAsString": true
+ }
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory tenant id.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"Server": {
"properties": {
+ "identity": {
+ "$ref": "#/definitions/ResourceIdentity",
+ "description": "The Azure Active Directory identity of the server."
+ },
"sku": {
"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/DataEncryptionKeys.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
new file mode 100644
index 000000000000..1d83304cfc21
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
@@ -0,0 +1,395 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2020-01-01-privatepreview",
+ "title": "MariaDBManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, security alert policies, log files, encryption keys, active directory administrator and configurations."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/keys": {
+ "get": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Gets a list of Server keys.",
+ "operationId": "ServerKeys_ListByInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of MariaDB Server keys.",
+ "schema": {
+ "$ref": "#/definitions/ServerKeyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List the keys for a MariaDB Server.": {
+ "$ref": "./examples/ServerKeyList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/keys/{keyName}": {
+ "get": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Gets a MariaDB Server key.",
+ "operationId": "ServerKeys_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the MariaDB Server key to be retrieved.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the specified MariaDB Server key.",
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get the MariaDB Server key": {
+ "$ref": "./examples/ServerKeyGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Creates or updates a MariaDB Server key.",
+ "operationId": "ServerKeys_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the MariaDB Server key to be operated on (updated or created).",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested MariaDB Server key resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the MariaDB Server key.",
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Creates or updates a MariaDB Server key": {
+ "$ref": "./examples/ServerKeyCreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Deletes the MariaDB Server key with the given name.",
+ "operationId": "ServerKeys_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the MariaDB Server key to be deleted.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted the MariaDB Server key."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "The specified MariaDB Server key does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete the MariaDB Server key": {
+ "$ref": "./examples/ServerKeyDelete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ProxyResource": {
+ "description": "Resource properties.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ServerKeyListResult": {
+ "description": "A list of MariaDB Server keys.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServerKey"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServerKeyProperties": {
+ "description": "Properties for a key execution.",
+ "required": [
+ "serverKeyType"
+ ],
+ "type": "object",
+ "properties": {
+ "serverKeyType": {
+ "description": "The key type like 'AzureKeyVault'.",
+ "enum": [
+ "AzureKeyVault"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ServerKeyType",
+ "modelAsString": true
+ }
+ },
+ "uri": {
+ "description": "The URI of the key.",
+ "type": "string"
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The key creation date.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServerKey": {
+ "description": "A MariaDB Server key.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of encryption protector. This is metadata used for the Azure portal experience.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/ServerKeyProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The subscription ID that identifies an Azure subscription."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the request."
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the server.",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
new file mode 100644
index 000000000000..988412d37e2f
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview",
+ "parameters": {
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "omeVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforMariaDB/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2017-05-01T00:00:00.0Z"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
new file mode 100644
index 000000000000..804ad76cfc58
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
new file mode 100644
index 000000000000..c48c2339211b
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "someVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforMariaDB/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2019-12-01T00:00:00.0Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
new file mode 100644
index 000000000000..a1de12ced0c6
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "someVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforMariaDB/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2019-12-01T00:00:00.0Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md
index 50e4a595d03d..915fd71cdbb0 100644
--- a/specification/mariadb/resource-manager/readme.md
+++ b/specification/mariadb/resource-manager/readme.md
@@ -62,6 +62,15 @@ input-file:
- Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateLinkResources.json
```
+### Tag: package-2020-01-01-privatepreview
+
+These settings apply only when `--tag=package-2020-01-01-privatepreview` is specified on the command line.
+
+
+``` yaml $(tag) == 'package-2020-01-01-privatepreview'
+input-file:
+- Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
+```
---
# Code Generation
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
index 787296b53572..e59c1a6f7444 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
@@ -1812,8 +1812,41 @@
},
"description": "Billing information related properties of a server."
},
+ "ResourceIdentity": {
+ "description": "Azure Active Directory identity configuration for a resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory principal id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IdentityType",
+ "modelAsString": true
+ }
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory tenant id.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"Server": {
"properties": {
+ "identity": {
+ "$ref": "#/definitions/ResourceIdentity",
+ "description": "The Azure Active Directory identity of the server."
+ },
"sku": {
"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
index 196ad34dade8..1f59ebc01b05 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
@@ -2371,8 +2371,41 @@
},
"description": "Billing information related properties of a server."
},
+ "ResourceIdentity": {
+ "description": "Azure Active Directory identity configuration for a resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory principal id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IdentityType",
+ "modelAsString": true
+ }
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory tenant id.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"Server": {
"properties": {
+ "identity": {
+ "$ref": "#/definitions/ResourceIdentity",
+ "description": "The Azure Active Directory identity of the server."
+ },
"sku": {
"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
new file mode 100644
index 000000000000..68a43fcfc34a
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
@@ -0,0 +1,395 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2020-01-01-privatepreview",
+ "title": "MySQLManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files, encryption keys, active directory administrator and configurations."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys": {
+ "get": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Gets a list of Server keys.",
+ "operationId": "ServerKeys_ListByInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of MySQL Server keys.",
+ "schema": {
+ "$ref": "#/definitions/ServerKeyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List the keys for a MySQL Server.": {
+ "$ref": "./examples/ServerKeyList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}": {
+ "get": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Gets a MySQL Server key.",
+ "operationId": "ServerKeys_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the MySQL Server key to be retrieved.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the specified MySQL Server key.",
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get the MySQL Server key": {
+ "$ref": "./examples/ServerKeyGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Creates or updates a MySQL Server key.",
+ "operationId": "ServerKeys_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the MySQL Server key to be operated on (updated or created).",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested MySQL Server key resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the MySQL Server key.",
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Creates or updates a MySQL Server key": {
+ "$ref": "./examples/ServerKeyCreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Deletes the MySQL Server key with the given name.",
+ "operationId": "ServerKeys_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the MySQL Server key to be deleted.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted the MySQL Server key."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "The specified MySQL Server key does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete the MySQL Server key": {
+ "$ref": "./examples/ServerKeyDelete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ProxyResource": {
+ "description": "Resource properties.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ServerKeyListResult": {
+ "description": "A list of MySQL Server keys.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServerKey"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServerKeyProperties": {
+ "description": "Properties for a key execution.",
+ "required": [
+ "serverKeyType"
+ ],
+ "type": "object",
+ "properties": {
+ "serverKeyType": {
+ "description": "The key type like 'AzureKeyVault'.",
+ "enum": [
+ "AzureKeyVault"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ServerKeyType",
+ "modelAsString": true
+ }
+ },
+ "uri": {
+ "description": "The URI of the key.",
+ "type": "string"
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The key creation date.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServerKey": {
+ "description": "A MySQL Server key.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of encryption protector. This is metadata used for the Azure portal experience.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/ServerKeyProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The subscription ID that identifies an Azure subscription."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the request."
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the server.",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
new file mode 100644
index 000000000000..45d47ca7be77
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview",
+ "parameters": {
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "omeVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforMySQL/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2017-05-01T00:00:00.0Z"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
new file mode 100644
index 000000000000..804ad76cfc58
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
new file mode 100644
index 000000000000..84a15edf3f0a
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "someVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforMySQL/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2019-12-01T00:00:00.0Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
new file mode 100644
index 000000000000..bd1982e049c7
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "someVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforMySQL/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2019-12-01T00:00:00.0Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md
index 5477028ac7e3..40eef25d38a7 100644
--- a/specification/mysql/resource-manager/readme.md
+++ b/specification/mysql/resource-manager/readme.md
@@ -61,6 +61,15 @@ input-file:
- Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
```
+### Tag: package-2020-01-01-privatepreview
+
+These settings apply only when `--tag=package-2020-01-01-privatepreview` is specified on the command line.
+
+
+``` yaml $(tag) == 'package-2020-01-01-privatepreview'
+input-file:
+- Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
+```
---
# Code Generation
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json
index 3ee0b4461e5c..e36ae3cd778b 100644
--- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json
@@ -1815,8 +1815,41 @@
},
"description": "Billing information related properties of a server."
},
+ "ResourceIdentity": {
+ "description": "Azure Active Directory identity configuration for a resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory principal id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IdentityType",
+ "modelAsString": true
+ }
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "The Azure Active Directory tenant id.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"Server": {
"properties": {
+ "identity": {
+ "$ref": "#/definitions/ResourceIdentity",
+ "description": "The Azure Active Directory identity of the server."
+ },
"sku": {
"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
new file mode 100644
index 000000000000..38bef52ea2e5
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
@@ -0,0 +1,395 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2020-01-01-privatepreview",
+ "title": "PostgreSQLManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files, encryption keys, active directory administrator and configurations."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/keys": {
+ "get": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Gets a list of Server keys.",
+ "operationId": "ServerKeys_ListByInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of PostgreSQL Server keys.",
+ "schema": {
+ "$ref": "#/definitions/ServerKeyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List the keys for a PostgreSQL Server.": {
+ "$ref": "./examples/ServerKeyList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/keys/{keyName}": {
+ "get": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Gets a PostgreSQL Server key.",
+ "operationId": "ServerKeys_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the PostgreSQL Server key to be retrieved.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the specified PostgreSQL Server key.",
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get the PostgreSQL Server key": {
+ "$ref": "./examples/ServerKeyGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Creates or updates a PostgreSQL Server key.",
+ "operationId": "ServerKeys_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the PostgreSQL Server key to be operated on (updated or created).",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested PostgreSQL Server key resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the PostgreSQL Server key.",
+ "schema": {
+ "$ref": "#/definitions/ServerKey"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Creates or updates a PostgreSQL Server key": {
+ "$ref": "./examples/ServerKeyCreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ServerKeys"
+ ],
+ "description": "Deletes the PostgreSQL Server key with the given name.",
+ "operationId": "ServerKeys_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the PostgreSQL Server key to be deleted.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted the PostgreSQL Server key."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "The specified PostgreSQL Server key does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete the PostgreSQL Server key": {
+ "$ref": "./examples/ServerKeyDelete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ProxyResource": {
+ "description": "Resource properties.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ServerKeyListResult": {
+ "description": "A list of PostgreSQL Server keys.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServerKey"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServerKeyProperties": {
+ "description": "Properties for a key execution.",
+ "required": [
+ "serverKeyType"
+ ],
+ "type": "object",
+ "properties": {
+ "serverKeyType": {
+ "description": "The key type like 'AzureKeyVault'.",
+ "enum": [
+ "AzureKeyVault"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ServerKeyType",
+ "modelAsString": true
+ }
+ },
+ "uri": {
+ "description": "The URI of the key.",
+ "type": "string"
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The key creation date.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServerKey": {
+ "description": "A PostgreSQL Server key.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of encryption protector. This is metadata used for the Azure portal experience.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/ServerKeyProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The subscription ID that identifies an Azure subscription."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the request."
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the server.",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
new file mode 100644
index 000000000000..0de631cc09d7
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyCreateOrUpdate.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview",
+ "parameters": {
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "omeVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforPostgreSQL/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2017-05-01T00:00:00.0Z"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
new file mode 100644
index 000000000000..804ad76cfc58
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
new file mode 100644
index 000000000000..e33cd559e10b
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "keyName": "someVault_someKey_01234567890123456789012345678901",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "someVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforPostgreSQL/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2019-12-01T00:00:00.0Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
new file mode 100644
index 000000000000..a5b56b3cf06a
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/examples/ServerKeyList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testrg",
+ "serverName": "testserver",
+ "api-version": "2020-01-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901",
+ "name": "someVault_someKey_01234567890123456789012345678901",
+ "type": "Microsoft.DBforPostgreSQL/servers/keys",
+ "kind": "azurekeyvault",
+ "properties": {
+ "serverKeyType": "AzureKeyVault",
+ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
+ "creationDate": "2019-12-01T00:00:00.0Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md
index e221897fc7d4..4416a819dc0b 100644
--- a/specification/postgresql/resource-manager/readme.md
+++ b/specification/postgresql/resource-manager/readme.md
@@ -29,6 +29,16 @@ openapi-type: arm
tag: package-2017-12-01
```
+### Tag: package-2020-01-01-privatepreview
+
+These settings apply only when `--tag=package-2020-01-01-privatepreview` is specified on the command line.
+
+
+``` yaml $(tag) == 'package-2020-01-01-privatepreview'
+input-file:
+- Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
+```
+
### Tag: package-2018-06-01-privatepreview
These settings apply only when `--tag=package-2018-06-01-privatepreview` is specified on the command line.
From 407c741d3cd973fb4a9d7d818757ed192dd1416a Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Wed, 4 Dec 2019 01:10:17 +0000
Subject: [PATCH 039/469] regenerated all-api-versions
---
specification/mariadb/resource-manager/readme.md | 1 +
specification/mysql/resource-manager/readme.md | 1 +
specification/postgresql/resource-manager/readme.md | 1 +
3 files changed, 3 insertions(+)
diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md
index 915fd71cdbb0..b20c7e17bdd2 100644
--- a/specification/mariadb/resource-manager/readme.md
+++ b/specification/mariadb/resource-manager/readme.md
@@ -159,6 +159,7 @@ input-file:
- $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
- $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
- $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateLinkResources.json
+ - $(this-folder)/Microsoft.DBforMariaDB/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
```
diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md
index 40eef25d38a7..5398bb2d66a8 100644
--- a/specification/mysql/resource-manager/readme.md
+++ b/specification/mysql/resource-manager/readme.md
@@ -158,6 +158,7 @@ input-file:
- $(this-folder)/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
- $(this-folder)/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
- $(this-folder)/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
+ - $(this-folder)/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
```
diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md
index 4416a819dc0b..e7b7b0b0056c 100644
--- a/specification/postgresql/resource-manager/readme.md
+++ b/specification/postgresql/resource-manager/readme.md
@@ -152,6 +152,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json
- $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
- $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
- $(this-folder)/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json
From 91622e8f6528a4c5c02fe13db4b75aa6daaec508 Mon Sep 17 00:00:00 2001
From: bizarreWizard
Date: Tue, 3 Dec 2019 17:22:41 -0800
Subject: [PATCH 040/469] Fix Swagger - Add "resource" layer in the throughput
read response (#7885)
* Add new properties and fix CI
* Remove unrelated properties
* Remove unrelated properties
* revert unrelated change
* Add resource layer in the throughput read response
---
.../stable/2019-08-01/cosmos-db.json | 15 +++++++++++----
.../CosmosDBCassandraKeyspaceThroughputGet.json | 11 ++++++++---
...CosmosDBCassandraKeyspaceThroughputUpdate.json | 11 ++++++++---
.../CosmosDBCassandraTableThroughputGet.json | 11 ++++++++---
.../CosmosDBCassandraTableThroughputUpdate.json | 11 ++++++++---
.../CosmosDBGremlinDatabaseThroughputGet.json | 11 ++++++++---
.../CosmosDBGremlinDatabaseThroughputUpdate.json | 11 ++++++++---
.../CosmosDBGremlinGraphThroughputGet.json | 11 ++++++++---
.../CosmosDBGremlinGraphThroughputUpdate.json | 11 ++++++++---
.../CosmosDBMongoDBCollectionThroughputGet.json | 11 ++++++++---
...CosmosDBMongoDBCollectionThroughputUpdate.json | 11 ++++++++---
.../CosmosDBMongoDBDatabaseThroughputGet.json | 11 ++++++++---
.../CosmosDBMongoDBDatabaseThroughputUpdate.json | 11 ++++++++---
.../CosmosDBSqlContainerThroughputGet.json | 11 ++++++++---
.../CosmosDBSqlContainerThroughputUpdate.json | 11 ++++++++---
.../CosmosDBSqlDatabaseThroughputGet.json | 11 ++++++++---
.../CosmosDBSqlDatabaseThroughputUpdate.json | 11 ++++++++---
.../examples/CosmosDBTableThroughputGet.json | 11 ++++++++---
.../examples/CosmosDBTableThroughputUpdate.json | 11 ++++++++---
19 files changed, 155 insertions(+), 58 deletions(-)
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
index 5ae9710112a5..9e0e8dae1f18 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
@@ -4566,11 +4566,18 @@
"ThroughputSettingsGetProperties": {
"description": "The properties of an Azure Cosmos DB resource throughput",
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ThroughputSettingsResource"
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/ThroughputSettingsResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
}
- ]
+ }
},
"SqlDatabaseGetResults": {
"description": "An Azure Cosmos DB SQL database.",
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceThroughputGet.json
index 6575e0dc6fa0..351d9bdecb9f 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceThroughputGet.json
@@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
index 9b0c2b4f18ac..2ef009085f33 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
@@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableThroughputGet.json
index e732ddcc4976..84b1fc4cac4e 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableThroughputGet.json
@@ -16,9 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableThroughputUpdate.json
index d5d1eb77721f..74a6e8c484e1 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCassandraTableThroughputUpdate.json
@@ -23,9 +23,14 @@
"name": "default",
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/cassandraTables/throughputSettings",
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseThroughputGet.json
index a97f98b8a1a2..11114fea4332 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseThroughputGet.json
@@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
index e3aa8db7023d..ba55df841c5e 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
@@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphThroughputGet.json
index 39b9a7d1a53b..632fc34c6754 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphThroughputGet.json
@@ -16,9 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphThroughputUpdate.json
index 12990bf1f79e..e61f6c538da7 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBGremlinGraphThroughputUpdate.json
@@ -25,9 +25,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionThroughputGet.json
index 56d92fe1cea9..7b02023e72a0 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionThroughputGet.json
@@ -16,9 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
index 910237b6b9af..f16958625892 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
@@ -25,9 +25,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseThroughputGet.json
index 8142d273a557..6788390e79aa 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseThroughputGet.json
@@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
index 4e0820837fed..b6b35de790bc 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
@@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerThroughputGet.json
index 60c7662a5877..342748c7954f 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerThroughputGet.json
@@ -16,9 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerThroughputUpdate.json
index 520502b78f3e..0ba355234988 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlContainerThroughputUpdate.json
@@ -25,9 +25,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseThroughputGet.json
index b965d1eb7f4d..d7caebe04e19 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseThroughputGet.json
@@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseThroughputUpdate.json
index a2ee9fb5d209..8eeed244ebd6 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseThroughputUpdate.json
@@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableThroughputGet.json
index f4a79e5b7d0e..b31c7c146c19 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableThroughputGet.json
@@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableThroughputUpdate.json
index 4760c2ecfc9a..cb1ac02e2d6b 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBTableThroughputUpdate.json
@@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
- "throughput": 400,
- "minimumThroughput": "400",
- "offerReplacePending": "true"
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
}
}
},
From 05a8de2cd4dba29bf01f93464a912a1818bdf959 Mon Sep 17 00:00:00 2001
From: Rakesh Kumar
Date: Tue, 26 Nov 2019 13:35:51 -0800
Subject: [PATCH 041/469] fix for enum naming error in github issue #7822
---
.../preview/2015-11-01/Manifest.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Manifest.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Manifest.json
index ede98f5a13a7..aa38af5eefcb 100644
--- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Manifest.json
+++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Manifest.json
@@ -662,7 +662,7 @@
"Enabled"
],
"x-ms-enum": {
- "name": "ResourceDeletionPolicy",
+ "name": "LinkedAction",
"modelAsString": true,
"values": [
{
@@ -875,7 +875,7 @@
"Succeeded"
],
"x-ms-enum": {
- "name": "MetricPrimaryAggregationType",
+ "name": "ManifestProvisioningState",
"modelAsString": true,
"values": [
{
From 3d4319ea8ac7a12a064658da7c6d2d270739ad75 Mon Sep 17 00:00:00 2001
From: lebarano <55816355+lebarano@users.noreply.github.com>
Date: Tue, 3 Dec 2019 18:22:52 -0800
Subject: [PATCH 042/469] Updated Azure Stack Bridge API Descriptions (#7354)
* Aded missing APIs for RP
* Added DownloadedProductPut operation
* Added Configuration call description
* Fixed configuration url structure
* Updated APIs to comply with standard requirements
Added results to Product/download and DownloadedProduct/put calls
Allowed results of DownloadedProduct/get to be passed into DownloaedProduct/put call
* Styling changes
Updated IdentitySystem to be enum
Updated MarketplaceProductLogUpdate parameter name
* Fixed CI issues and renamed some apis
Fixed CI issues and renamed some apis
* Fixed naming issues
Fixed naming issues
* Ran vs code format on jsons
Ran vs code format on jsons
* Removed configuration API
Removed configuration API
---
.../preview/2016-01-01/AzureBridge.json | 259 ++++++++++++++
.../preview/2016-01-01/DownloadedProduct.json | 121 ++++---
.../preview/2016-01-01/Product.json | 13 +-
.../examples/DownloadedProduct/Put.json | 76 +++++
.../2016-01-01/examples/Product/download.json | 102 +++++-
.../stable/2017-06-01/Product.json | 318 ++++++++++++++++++
.../2017-06-01/examples/Product/GetPost.json | 49 +++
.../2017-06-01/examples/Product/ListPost.json | 182 ++++++++++
.../examples/Product/UploadLog.json | 31 ++
9 files changed, 1095 insertions(+), 56 deletions(-)
create mode 100644 specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/DownloadedProduct/Put.json
create mode 100644 specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/GetPost.json
create mode 100644 specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/ListPost.json
create mode 100644 specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/UploadLog.json
diff --git a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/AzureBridge.json b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/AzureBridge.json
index 44185c283f61..4e87b9374e78 100644
--- a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/AzureBridge.json
+++ b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/AzureBridge.json
@@ -35,6 +35,9 @@
}
}
},
+ "produces": [
+ "application/json"
+ ],
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
@@ -207,6 +210,10 @@
"productProperties": {
"description": "the product properties. At the moment only VirtualMachineProductProperties is allowed.",
"$ref": "#/definitions/ProductProperties"
+ },
+ "compatibility": {
+ "description": "Product compatibility with current device.",
+ "$ref": "#/definitions/Compatibility"
}
}
},
@@ -266,6 +273,258 @@
"items": {
"$ref": "#/definitions/ProductLink"
}
+ },
+ "Compatibility": {
+ "description": "Product compatibility",
+ "type": "object",
+ "properties": {
+ "isCompatible": {
+ "description": "Tells if product is compatible with current device",
+ "type": "boolean"
+ },
+ "message": {
+ "description": "Short error message if any compatibility issues are found",
+ "type": "string"
+ },
+ "description": {
+ "description": "Full error message if any compatibility issues are found",
+ "type": "string"
+ },
+ "issues": {
+ "description": "List of all issues found",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CompatibilityIssue"
+ }
+ }
+ }
+ },
+ "CompatibilityIssue": {
+ "description": "Compatibility issue",
+ "type": "string",
+ "enum": [
+ "HigherDeviceVersionRequired",
+ "LowerDeviceVersionRequired",
+ "CapacityBillingModelRequired",
+ "PayAsYouGoBillingModelRequired",
+ "DevelopmentBillingModelRequired",
+ "AzureADIdentitySystemRequired",
+ "ADFSIdentitySystemRequired",
+ "ConnectionToInternetRequired",
+ "ConnectionToAzureRequired",
+ "DisconnectedEnvironmentRequired"
+ ],
+ "x-ms-enum": {
+ "name": "CompatibilityIssue",
+ "modelAsString": true
+ }
+ },
+ "DownloadedProductResource": {
+ "description": "Downloaded product resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties of the resource.",
+ "$ref": "#/definitions/DownloadedProduct"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "AzureBridge.json#/definitions/Resource"
+ }
+ ]
+ },
+ "DownloadedProduct": {
+ "description": "Properties for aggregate usage.",
+ "type": "object",
+ "properties": {
+ "vmExtensionType": {
+ "description": "Extension type of the VM.",
+ "type": "string"
+ },
+ "links": {
+ "description": "Gallery item identity.",
+ "$ref": "AzureBridge.json#/definitions/ProductLinks"
+ },
+ "legalTerms": {
+ "description": "Legal terms for the product.",
+ "type": "string"
+ },
+ "privacyPolicy": {
+ "description": "Privacy policy of the product.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the resource.",
+ "$ref": "AzureBridge.json#/definitions/ProvisioningState"
+ },
+ "galleryPackageBlobSasUri": {
+ "description": "The URI to the .azpkg file that provides information required for showing product in the gallery.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productDetailsProperties": {
+ "description": "Specifies additional properties describing the product.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExtendedProductProperties",
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "AzureBridge.json#/definitions/ProductBase"
+ }
+ ]
+ },
+ "ExtendedProductProperties": {
+ "description": "Product information.",
+ "type": "object",
+ "properties": {},
+ "allOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineExtensionProductProperties"
+ },
+ {
+ "$ref": "#/definitions/VirtualMachineProductProperties"
+ }
+ ]
+ },
+ "VirtualMachineExtensionProductProperties": {
+ "description": "Product information.",
+ "type": "object",
+ "properties": {
+ "computeRole": {
+ "description": "Specifies kind of compute role included in the package.",
+ "$ref": "#/definitions/ComputeRole",
+ "readOnly": true
+ },
+ "isSystemExtension": {
+ "description": "Specifies if product is a Virtual Machine Extension.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "sourceBlob": {
+ "description": "Specifies a download location where content can be downloaded from.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/Uri",
+ "readOnly": true
+ },
+ "supportMultipleExtensions": {
+ "description": "Indicates if specified product supports multiple extensions.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "version": {
+ "description": "Specifies product version.",
+ "type": "string",
+ "readOnly": true
+ },
+ "vmOsType": {
+ "description": "Specifies operating system used by the product.",
+ "$ref": "#/definitions/OperatingSystem",
+ "readOnly": true
+ },
+ "vmScaleSetEnabled": {
+ "description": "Indicates if virtual machine Scale Set is enabled in the specified product.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "VirtualMachineProductProperties": {
+ "description": "Product information.",
+ "type": "object",
+ "properties": {
+ "version": {
+ "description": "Specifies product version.",
+ "type": "string",
+ "readOnly": true
+ },
+ "osDiskImage": {
+ "description": "OS disk image used by product.",
+ "$ref": "#/definitions/OsDiskImage",
+ "readOnly": true
+ },
+ "dataDiskImages": {
+ "description": "List of attached data disks.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDiskImage"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ComputeRole": {
+ "description": "Compute role type (IaaS or PaaS).",
+ "type": "string",
+ "enum": [
+ "None",
+ "IaaS",
+ "PaaS"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeRole",
+ "modelAsString": true
+ }
+ },
+ "Uri": {
+ "description": "The URI.",
+ "type": "object",
+ "properties": {
+ "uri": {
+ "description": "The URI.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "OperatingSystem": {
+ "description": "Operating system type (Windows or Linux).",
+ "type": "string",
+ "enum": [
+ "None",
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystem",
+ "modelAsString": true
+ }
+ },
+ "OsDiskImage": {
+ "description": "OS disk image.",
+ "type": "object",
+ "properties": {
+ "operatingSystem": {
+ "description": "OS operating system type.",
+ "$ref": "#/definitions/OperatingSystem",
+ "readOnly": true
+ },
+ "sourceBlobSasUri": {
+ "description": "SAS key for source blob.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DataDiskImage": {
+ "description": "Data disk image.",
+ "type": "object",
+ "properties": {
+ "lun": {
+ "description": "The LUN.",
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true
+ },
+ "sourceBlobSasUri": {
+ "description": "SAS key for source blob.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
}
},
"parameters": {
diff --git a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json
index be4944f5d1dd..6c45f1db8852 100644
--- a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json
+++ b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json
@@ -88,7 +88,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DownloadedProductResource"
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
}
},
"404": {
@@ -134,13 +134,13 @@
"200": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/DownloadedProductResource"
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/DownloadedProductResource"
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
}
},
"404": {
@@ -154,57 +154,63 @@
"consumes": [
"application/json"
]
+ },
+ "put": {
+ "x-ms-examples": {
+ "Puts the specified downloaded product.": {
+ "$ref": "./examples/DownloadedProduct/Put.json"
+ }
+ },
+ "description": "Creates a downloaded product.",
+ "tags": [
+ "DownloadedProducts"
+ ],
+ "operationId": "DownloadedProducts_Create",
+ "parameters": [
+ {
+ "$ref": "AzureBridge.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureBridge.json#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "AzureBridge.json#/parameters/ActivationNameParameter"
+ },
+ {
+ "$ref": "AzureBridge.json#/parameters/ProductNameParameter"
+ },
+ {
+ "$ref": "AzureBridge.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/DownloadedProductParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
}
}
},
"definitions": {
- "DownloadedProductResource": {
- "description": "Downloaded product resource.",
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Properties of the resource.",
- "$ref": "#/definitions/DownloadedProduct"
- }
- },
- "allOf": [
- {
- "$ref": "AzureBridge.json#/definitions/Resource"
- }
- ]
- },
- "DownloadedProduct": {
- "description": "Properties for aggregate usage.",
- "type": "object",
- "properties": {
- "vmExtensionType": {
- "description": "Extension type of the VM.",
- "type": "string"
- },
- "links": {
- "description": "Gallery item identity.",
- "$ref": "AzureBridge.json#/definitions/ProductLinks"
- },
- "legalTerms": {
- "description": "Legal terms for the product.",
- "type": "string"
- },
- "privacyPolicy": {
- "description": "Privacy policy of the product.",
- "type": "string"
- },
- "provisioningState": {
- "description": "Provisioning state of the resource.",
- "$ref": "AzureBridge.json#/definitions/ProvisioningState"
- }
- },
- "allOf": [
- {
- "$ref": "AzureBridge.json#/definitions/ProductBase"
- }
- ]
- },
"DownloadedProductResourcesPage": {
"description": "Holds an array of downloaded products and the URI to the next page.",
"properties": {
@@ -212,7 +218,7 @@
"description": "Array of downloaded products.",
"type": "array",
"items": {
- "$ref": "#/definitions/DownloadedProductResource"
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
}
},
"nextLink": {
@@ -222,7 +228,18 @@
}
}
},
- "parameters": {},
+ "parameters": {
+ "DownloadedProductParameter": {
+ "description": "Downloaded product resource definition.",
+ "name": "downloadedProduct",
+ "in": "body",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
+ }
+ }
+ },
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
diff --git a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json
index 12ce4926a147..7e1811d9ebf2 100644
--- a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json
+++ b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json
@@ -134,16 +134,25 @@
],
"responses": {
"200": {
- "description": "Accepted"
+ "description": "Accepted",
+ "schema": {
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
+ }
},
"202": {
- "description": "Accepted"
+ "description": "Accepted",
+ "schema": {
+ "$ref": "AzureBridge.json#/definitions/DownloadedProductResource"
+ }
},
"404": {
"description": "Not Found"
}
},
"x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
"produces": [
"application/json"
],
diff --git a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/DownloadedProduct/Put.json b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/DownloadedProduct/Put.json
new file mode 100644
index 000000000000..9b50491c0898
--- /dev/null
+++ b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/DownloadedProduct/Put.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "local",
+ "api-version": "2015-06-01-preview",
+ "resourceGroup": "azurestack",
+ "activationName": "default",
+ "productName": "Canonical.UbuntuServer1710-ARM.1.0.6",
+ "downloadedProduct": {
+ "id": "/subscriptions/b6a34e73-810f-4564-881a-8434c6c2e5c8/resourceGroups/azurestack-activation/providers/Microsoft.AzureBridge.Admin/activations/default/downloadedProducts/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "name": "default/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "type": "Microsoft.AzureBridge.Admin/activations/downloadedProducts",
+ "properties": {
+ "galleryPackageBlobSasUri": "https://azstrptestwcu001.blob.core.windows.net/packages/Canonical.UbuntuServer1710.ARM.1.0.6/gallery/package.azpkg?sv=2015-04-05&sr=b&sig=mnzKeDrSMWoDilUrfrETb7n%2BG0Shme6f3AYzl3uzkYA%3D&se=2018-02-13T10%3A46%3A24Z&sp=r",
+ "productKind": "virtualMachineExtension",
+ "productDetailsProperties": {
+ "version": "1.0.6",
+ "vmOsType": "Linux",
+ "sourceBlob": {
+ "uri": "https://azstrptestwcu001.blob.core.windows.net/packages/Canonical.UbuntuServer1710.ARM.1.0.6/extension/vmext.zip?sv=2015-04-05&sr=b&sig=XtLzuO2rlqxyZOzfoTEDZW4DU9OxBZVCOw%2FVgY2%2FiUo%3D&se=2018-02-13T10%3A46%3A24Z&sp=r"
+ },
+ "computeRole": "IaaS",
+ "vmScaleSetEnabled": false,
+ "supportMultipleExtensions": false,
+ "isSystemExtension": false
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b6a34e73-810f-4564-881a-8434c6c2e5c8/resourceGroups/azurestack-activation/providers/Microsoft.AzureBridge.Admin/activations/default/downloadedProducts/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "name": "default/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "type": "Microsoft.AzureBridge.Admin/activations/downloadedProducts",
+ "properties": {
+ "galleryPackageBlobSasUri": "https://azstrptestwcu001.blob.core.windows.net/packages/Canonical.UbuntuServer1710.ARM.1.0.6/gallery/package.azpkg?sv=2015-04-05&sr=b&sig=mnzKeDrSMWoDilUrfrETb7n%2BG0Shme6f3AYzl3uzkYA%3D&se=2018-02-13T10%3A46%3A24Z&sp=r",
+ "productKind": "virtualMachineExtension",
+ "productDetailsProperties": {
+ "version": "1.0.6",
+ "vmOsType": "Linux",
+ "sourceBlob": {
+ "uri": "https://azstrptestwcu001.blob.core.windows.net/packages/Canonical.UbuntuServer1710.ARM.1.0.6/extension/vmext.zip?sv=2015-04-05&sr=b&sig=XtLzuO2rlqxyZOzfoTEDZW4DU9OxBZVCOw%2FVgY2%2FiUo%3D&se=2018-02-13T10%3A46%3A24Z&sp=r"
+ },
+ "computeRole": "IaaS",
+ "vmScaleSetEnabled": false,
+ "supportMultipleExtensions": false,
+ "isSystemExtension": false
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/b6a34e73-810f-4564-881a-8434c6c2e5c8/resourceGroups/azurestack-activation/providers/Microsoft.AzureBridge.Admin/activations/default/downloadedProducts/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "name": "default/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "type": "Microsoft.AzureBridge.Admin/activations/downloadedProducts",
+ "properties": {
+ "galleryPackageBlobSasUri": "https://azstrptestwcu001.blob.core.windows.net/packages/Canonical.UbuntuServer1710.ARM.1.0.6/gallery/package.azpkg?sv=2015-04-05&sr=b&sig=mnzKeDrSMWoDilUrfrETb7n%2BG0Shme6f3AYzl3uzkYA%3D&se=2018-02-13T10%3A46%3A24Z&sp=r",
+ "productKind": "virtualMachineExtension",
+ "productDetailsProperties": {
+ "version": "1.0.6",
+ "vmOsType": "Linux",
+ "sourceBlob": {
+ "uri": "https://azstrptestwcu001.blob.core.windows.net/packages/Canonical.UbuntuServer1710.ARM.1.0.6/extension/vmext.zip?sv=2015-04-05&sr=b&sig=XtLzuO2rlqxyZOzfoTEDZW4DU9OxBZVCOw%2FVgY2%2FiUo%3D&se=2018-02-13T10%3A46%3A24Z&sp=r"
+ },
+ "computeRole": "IaaS",
+ "vmScaleSetEnabled": false,
+ "supportMultipleExtensions": false,
+ "isSystemExtension": false
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Product/download.json b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Product/download.json
index 4f614095ac96..b2140e732112 100644
--- a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Product/download.json
+++ b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Product/download.json
@@ -8,8 +8,106 @@
"productName": "Canonical.UbuntuServer1710-ARM.1.0.6"
},
"responses": {
- "200": {},
- "202": {},
+ "200": {
+ "body": {
+ "id": "/subscriptions/b6a34e73-810f-4564-881a-8434c6c2e5c8/resourceGroups/azurestack-activation/providers/Microsoft.AzureBridge.Admin/activations/default/downloadedProducts/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "name": "default/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "type": "Microsoft.AzureBridge.Admin/activations/downloadedProducts",
+ "properties": {
+ "displayName": "Ubuntu Server 17.10",
+ "description": "Ubuntu Server 17.10 amd64 20180109 Public Azure, 20180109 Azure China, 20180109 Azure Germany. Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu 17.10 will be available until July 2018. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.
By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.
",
+ "publisherDisplayName": "Canonical",
+ "publisherIdentifier": "Canonical",
+ "provisioningState": "Downloading",
+ "offer": "UbuntuServer",
+ "offerVersion": "1.0.6",
+ "sku": "17.10",
+ "billingPartNumber": "",
+ "galleryItemIdentity": "Canonical.UbuntuServer1710-ARM.1.0.6",
+ "iconUris": {
+ "large": "https://azstmktprod001.azureedge.net/Canonical.UbuntuServer1710-ARM.1.0.6/icons/Large.png",
+ "wide": "https://azstmktprod001.azureedge.net/Canonical.UbuntuServer1710-ARM.1.0.6/icons/Wide.png",
+ "medium": "https://azstmktprod001.azureedge.net/Canonical.UbuntuServer1710-ARM.1.0.6/icons/Medium.png",
+ "small": "https://azstmktprod001.azureedge.net/Canonical.UbuntuServer1710-ARM.1.0.6/icons/Small.png"
+ },
+ "links": [
+ {
+ "displayName": "Linux VM Documentation",
+ "uri": "https://docs.microsoft.com/azure/virtual-machines/linux/"
+ },
+ {
+ "displayName": "Ubuntu Documentation",
+ "uri": "https://help.ubuntu.com/17.10/index.html"
+ },
+ {
+ "displayName": "FAQ",
+ "uri": "https://help.ubuntu.com/community/ServerFaq"
+ },
+ {
+ "displayName": "Pricing details",
+ "uri": "http://azure.microsoft.com/en-us/pricing/details/virtual-machines/#linux"
+ }
+ ],
+ "legalTerms": "http://www.ubuntu.com/project/about-ubuntu/licensing",
+ "privacyPolicy": "http://www.ubuntu.com/aboutus/privacypolicy",
+ "payloadLength": 32212288186,
+ "productKind": "VirtualMachine",
+ "productProperties": {
+ "version": "17.10.201801090"
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/b6a34e73-810f-4564-881a-8434c6c2e5c8/resourceGroups/azurestack-activation/providers/Microsoft.AzureBridge.Admin/activations/default/downloadedProducts/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "name": "default/Canonical.UbuntuServer1710-ARM.1.0.6",
+ "type": "Microsoft.AzureBridge.Admin/activations/downloadedProducts",
+ "properties": {
+ "displayName": "Ubuntu Server 17.10",
+ "description": "Ubuntu Server 17.10 amd64 20180109 Public Azure, 20180109 Azure China, 20180109 Azure Germany. Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu 17.10 will be available until July 2018. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.
",
+ "publisherDisplayName": "Canonical",
+ "publisherIdentifier": "Canonical",
+ "provisioningState": "Downloading",
+ "offer": "UbuntuServer",
+ "offerVersion": "1.0.6",
+ "sku": "17.10",
+ "billingPartNumber": "",
+ "galleryItemIdentity": "Canonical.UbuntuServer1710-ARM.1.0.6",
+ "iconUris": {
+ "large": "https://azstmktprod001.azureedge.net/Canonical.UbuntuServer1710-ARM.1.0.6/icons/Large.png",
+ "wide": "https://azstmktprod001.azureedge.net/Canonical.UbuntuServer1710-ARM.1.0.6/icons/Wide.png",
+ "medium": "https://azstmktprod001.azureedge.net/Canonical.UbuntuServer1710-ARM.1.0.6/icons/Medium.png",
+ "small": "https://azstmktprod001.azureedge.net/Canonical.UbuntuServer1710-ARM.1.0.6/icons/Small.png"
+ },
+ "links": [
+ {
+ "displayName": "Linux VM Documentation",
+ "uri": "https://docs.microsoft.com/azure/virtual-machines/linux/"
+ },
+ {
+ "displayName": "Ubuntu Documentation",
+ "uri": "https://help.ubuntu.com/17.10/index.html"
+ },
+ {
+ "displayName": "FAQ",
+ "uri": "https://help.ubuntu.com/community/ServerFaq"
+ },
+ {
+ "displayName": "Pricing details",
+ "uri": "http://azure.microsoft.com/en-us/pricing/details/virtual-machines/#linux"
+ }
+ ],
+ "legalTerms": "http://www.ubuntu.com/project/about-ubuntu/licensing",
+ "privacyPolicy": "http://www.ubuntu.com/aboutus/privacypolicy",
+ "payloadLength": 32212288186,
+ "productKind": "VirtualMachine",
+ "productProperties": {
+ "version": "17.10.201801090"
+ }
+ }
+ }
+ },
"404": {}
}
}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json
index 9b093117a3fd..3bb41c7bff94 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json
@@ -143,6 +143,147 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/_all/GetProducts": {
+ "post": {
+ "x-ms-examples": {
+ "Returns a list of products.": {
+ "$ref": "examples/Product/ListPost.json"
+ }
+ },
+ "tags": [
+ "Product"
+ ],
+ "description": "Returns a list of products.",
+ "operationId": "Products_GetProducts",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DeviceConfigurationParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProductList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/GetProduct": {
+ "post": {
+ "x-ms-examples": {
+ "Returns the specified product.": {
+ "$ref": "examples/Product/GetPost.json"
+ }
+ },
+ "tags": [
+ "Product"
+ ],
+ "description": "Returns the specified product.",
+ "operationId": "Products_GetProduct",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ProductNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/DeviceConfigurationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Product"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/uploadProductLog": {
+ "post": {
+ "x-ms-examples": {
+ "Returns the specified product.": {
+ "$ref": "examples/Product/UploadLog.json"
+ }
+ },
+ "tags": [
+ "Product"
+ ],
+ "description": "Returns the specified product.",
+ "operationId": "Products_UploadLog",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ProductNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MarketplaceProductLogUpdateParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProductLog"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -408,9 +549,58 @@
"productProperties": {
"description": "Additional properties for the product.",
"$ref": "#/definitions/ProductProperties"
+ },
+ "compatibility": {
+ "description": "Product compatibility with current device.",
+ "$ref": "#/definitions/Compatibility"
+ }
+ }
+ },
+ "Compatibility": {
+ "description": "Product compatibility",
+ "type": "object",
+ "properties": {
+ "isCompatible": {
+ "description": "Tells if product is compatible with current device",
+ "type": "boolean"
+ },
+ "message": {
+ "description": "Short error message if any compatibility issues are found",
+ "type": "string"
+ },
+ "description": {
+ "description": "Full error message if any compatibility issues are found",
+ "type": "string"
+ },
+ "issues": {
+ "description": "List of all issues found",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CompatibilityIssue"
+ }
}
}
},
+ "CompatibilityIssue": {
+ "description": "Compatibility issue",
+ "type": "string",
+ "enum": [
+ "HigherDeviceVersionRequired",
+ "LowerDeviceVersionRequired",
+ "CapacityBillingModelRequired",
+ "PayAsYouGoBillingModelRequired",
+ "DevelopmentBillingModelRequired",
+ "AzureADIdentitySystemRequired",
+ "ADFSIdentitySystemRequired",
+ "ConnectionToInternetRequired",
+ "ConnectionToAzureRequired",
+ "DisconnectedEnvironmentRequired"
+ ],
+ "x-ms-enum": {
+ "name": "CompatibilityIssue",
+ "modelAsString": true
+ }
+ },
"IconUris": {
"description": "Links to product icons.",
"type": "object",
@@ -477,6 +667,114 @@
}
}
}
+ },
+ "DeviceConfiguration": {
+ "description": "Device Configuration.",
+ "properties": {
+ "deviceVersion": {
+ "description": "Version of the device.",
+ "type": "string",
+ "readOnly": true
+ },
+ "identitySystem": {
+ "description": "Identity system of the device.",
+ "enum": [
+ "AzureAD",
+ "ADFS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "category",
+ "modelAsString": true
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "MarketplaceProductLogUpdate": {
+ "description": "Update details for product log.",
+ "properties": {
+ "operation": {
+ "description": "Operation to log.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "Operation status to log.",
+ "type": "string",
+ "readOnly": true
+ },
+ "error": {
+ "description": "Error related to the operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "details": {
+ "description": "Error details related to operation.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ProductLog": {
+ "description": "Product action log.",
+ "properties": {
+ "id": {
+ "description": "Log ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productId": {
+ "description": "Logged product ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subscriptionId": {
+ "description": "Logged subscription ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "registrationName": {
+ "description": "Logged registration name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroupName": {
+ "description": "Logged resource group name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Logged operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "startDate": {
+ "description": "Operation start datetime.",
+ "type": "string",
+ "readOnly": true
+ },
+ "endDate": {
+ "description": "Operation end datetime.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "Operation status.",
+ "type": "string",
+ "readOnly": true
+ },
+ "error": {
+ "description": "Operation error data.",
+ "type": "string",
+ "readOnly": true
+ },
+ "details": {
+ "description": "Operation error details.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
}
},
"parameters": {
@@ -487,6 +785,26 @@
"in": "path",
"required": true,
"x-ms-parameter-location": "method"
+ },
+ "DeviceConfigurationParameter": {
+ "description": "Device configuration.",
+ "name": "deviceConfiguration",
+ "in": "body",
+ "required": false,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/DeviceConfiguration"
+ }
+ },
+ "MarketplaceProductLogUpdateParameter": {
+ "description": "Update details for product log.",
+ "name": "marketplaceProductLogUpdate",
+ "in": "body",
+ "required": false,
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/MarketplaceProductLogUpdate"
+ }
}
},
"securityDefinitions": {
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/GetPost.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/GetPost.json
new file mode 100644
index 000000000000..a26e3403bb63
--- /dev/null
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/GetPost.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "api-version": "2017-06-01",
+ "deviceConfiguration": {
+ "identitySystem": "AzureAD",
+ "deviceVersion": "1910.0.0.0"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "VM Access For Linux Extension",
+ "publisherDisplayName": "Microsoft Corp.",
+ "publisherIdentifier": "Microsoft.OSTCExtensions",
+ "offer": "",
+ "offerVersion": "",
+ "sku": "",
+ "vmExtensionType": "VMAccessForLinux",
+ "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7",
+ "iconUris": {
+ "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png"
+ },
+ "payloadLength": 46959,
+ "productKind": "virtualMachineExtension",
+ "productProperties": {
+ "version": "1.4.7"
+ },
+ "compatibility": {
+ "isCompatible": true,
+ "message": "",
+ "description": "",
+ "issues": []
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/ListPost.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/ListPost.json
new file mode 100644
index 000000000000..8840a2d255e6
--- /dev/null
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/ListPost.json
@@ -0,0 +1,182 @@
+{
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "api-version": "2017-06-01",
+ "deviceConfiguration": {
+ "identitySystem": "AzureAD",
+ "deviceVersion": "1910.0.0.0"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "VM Access For Linux Extension",
+ "publisherDisplayName": "Microsoft Corp.",
+ "publisherIdentifier": "Microsoft.OSTCExtensions",
+ "offer": "",
+ "offerVersion": "",
+ "sku": "",
+ "vmExtensionType": "VMAccessForLinux",
+ "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7",
+ "iconUris": {
+ "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png"
+ },
+ "payloadLength": 46959,
+ "productKind": "virtualMachineExtension",
+ "productProperties": {
+ "version": "1.4.7"
+ },
+ "compatibility": {
+ "isCompatible": true,
+ "message": "",
+ "description": "",
+ "issues": []
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepoint",
+ "name": "testregistration/dummysharepoint",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "Display name for dummy SharePoint",
+ "publisherDisplayName": "Publisher display name for dummy SharePoint",
+ "publisherIdentifier": "Katal",
+ "offer": "Dummy offer",
+ "offerVersion": "FakeProduct: offer version",
+ "sku": "Dummy sku",
+ "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
+ "iconUris": {
+ "hero": "https://extensions.azureedge.net/dummysharepoint/icons/Hero.png",
+ "large": "https://extensions.azureedge.net/dummysharepoint/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/dummysharepoint/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/dummysharepoint/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/dummysharepoint/icons/Small.png"
+ },
+ "payloadLength": 4682158,
+ "productKind": "virtualMachine",
+ "productProperties": {
+ "version": "1.0.1"
+ },
+ "compatibility": {
+ "isCompatible": true,
+ "message": "",
+ "description": "",
+ "issues": []
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepointTest526",
+ "name": "testregistration/dummysharepointTest526",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "Display name for dummy SharePoint",
+ "publisherDisplayName": "Publisher display name for dummy SharePoint",
+ "publisherIdentifier": "Katal",
+ "offer": "Dummy offer",
+ "offerVersion": "FakeProduct: offer version",
+ "sku": "Dummy sku",
+ "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
+ "iconUris": {
+ "hero": "https://extensions.azureedge.net/dummysharepointTest526/icons/Hero.png",
+ "large": "https://extensions.azureedge.net/dummysharepointTest526/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/dummysharepointTest526/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/dummysharepointTest526/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/dummysharepointTest526/icons/Small.png"
+ },
+ "payloadLength": 4682158,
+ "productKind": "virtualMachine",
+ "productProperties": {
+ "version": "2.0.2"
+ },
+ "compatibility": {
+ "isCompatible": true,
+ "message": "",
+ "description": "",
+ "issues": []
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d",
+ "name": "testregistration/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "Display name for dummy SharePoint",
+ "publisherDisplayName": "Publisher display name for dummy SharePoint",
+ "publisherIdentifier": "Katal",
+ "offer": "Dummy offer",
+ "offerVersion": "FakeProduct: offer version",
+ "sku": "Dummy sku",
+ "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
+ "iconUris": {
+ "hero": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Hero.png",
+ "large": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Small.png"
+ },
+ "payloadLength": 4682158,
+ "productKind": "virtualMachine",
+ "productProperties": {
+ "version": "1.0.1"
+ },
+ "compatibility": {
+ "isCompatible": true,
+ "message": "",
+ "description": "",
+ "issues": []
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/wordpress4-4",
+ "name": "testregistration/wordpress4-4",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "WordPress",
+ "publisherDisplayName": "WordPress",
+ "publisherIdentifier": "bitnami",
+ "offer": "wordpress",
+ "offerVersion": "1.0.8",
+ "sku": "4-4",
+ "galleryItemIdentity": "bitnami.wordpress4-4.1.0.8",
+ "iconUris": {
+ "hero": "https://extensions.azureedge.net/wordpress4-4/icons/Hero.png",
+ "large": "https://extensions.azureedge.net/wordpress4-4/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/wordpress4-4/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/wordpress4-4/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/wordpress4-4/icons/Small.png"
+ },
+ "payloadLength": 32212604365,
+ "productKind": "virtualMachine",
+ "productProperties": {
+ "version": "4.5.31"
+ },
+ "compatibility": {
+ "isCompatible": false,
+ "message": "AzureStack version '1910.0.0.0' is too low. Versions lower than '1911.0.0.0' are not supported",
+ "description": "AzureStack version '1910.0.0.0' is too low. Versions lower than '1911.0.0.0' are not supported",
+ "issues": [
+ "HigherDeviceVersionRequired"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/UploadLog.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/UploadLog.json
new file mode 100644
index 000000000000..8d29e414c3fa
--- /dev/null
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/UploadLog.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "api-version": "2017-06-01",
+ "marketplaceProductLogUpdate": {
+ "operation": "Download",
+ "status": "Failed",
+ "error": "ExampleError",
+ "details": "ExampleDetails"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "details": "ExampleDetails",
+ "endDate": "01-02-2019 00:00:00",
+ "error": "ExampleError",
+ "operation": "Download",
+ "productId": "dummyProduct-1.1",
+ "registrationName": "TestCIRegistration007",
+ "resourceGroupName": "AzureStack007",
+ "startDate": "01-01-2019 00:00:00",
+ "status": "Failed",
+ "subscriptionId": "64D0A64B4F694EB4B0ED92BC34D98082"
+ }
+ }
+ }
+}
From 0cf70260108cb40bc68d408674c187ed065f8c64 Mon Sep 17 00:00:00 2001
From: Wei Wei
Date: Wed, 4 Dec 2019 11:29:30 +0800
Subject: [PATCH 043/469] [Storage] Fix the share max quota to right value
102400 (#7891)
---
.../Microsoft.Storage/stable/2019-06-01/file.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
index 0177af0134db..10cc15aa9a7e 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
@@ -522,8 +522,8 @@
"shareQuota": {
"type": "integer",
"minimum": 1,
- "maximum": 100000,
- "description": "The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000."
+ "maximum": 102400,
+ "description": "The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400."
}
},
"description": "The properties of the file share."
From 2e8ca783ce35c18f25de2f045831646ec3846dc4 Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Wed, 4 Dec 2019 15:34:13 +0800
Subject: [PATCH 044/469] Enable SDK Automation V2 in CI (#7548)
* Update config for SDK Automation
* Update registry name
* Update display name
---
.azure-pipelines/SDKAutomation.yml | 55 +++++++++++++++++++++++
azure-pipelines.yml | 3 --
specificationRepositoryConfiguration.json | 24 +++++-----
3 files changed, 66 insertions(+), 16 deletions(-)
create mode 100644 .azure-pipelines/SDKAutomation.yml
diff --git a/.azure-pipelines/SDKAutomation.yml b/.azure-pipelines/SDKAutomation.yml
new file mode 100644
index 000000000000..7aa25909dd75
--- /dev/null
+++ b/.azure-pipelines/SDKAutomation.yml
@@ -0,0 +1,55 @@
+trigger:
+ batch: false
+ branches:
+ include:
+ - master
+
+jobs:
+- job: "SDKAutomation"
+ displayName: SDK
+ pool:
+ vmImage: 'Ubuntu 18.04'
+ container:
+ image: azopenapi.azurecr.io/openapi/sdk-automation:prod
+ endpoint: azopenapi-registry
+ timeoutInMinutes: 180
+
+ variables:
+ NODE_OPTIONS: '--max-old-space-size=8192'
+ BLOB_STORAGE_PREFIX: sdkautomation-pipeline
+ SPEC_REPO: $(Build.Repository.Name)
+ PR_NUMBER: $(System.PullRequest.PullRequestNumber)
+ strategy:
+ matrix:
+ Net:
+ SDK_REPO_NAME: azure-sdk-for-net
+ Java:
+ SDK_REPO_NAME: azure-sdk-for-java
+ JavaScript:
+ SDK_REPO_NAME: azure-sdk-for-js
+ Python:
+ SDK_REPO_NAME: azure-sdk-for-python
+ Go:
+ SDK_REPO_NAME: azure-sdk-for-go
+ steps:
+ - checkout: none
+ - script: printenv
+ displayName: Display ENV
+ - script: git config --global user.email "sdkautomation@microsoft.com" && git config --global user.name "SDK Automation"
+ displayName: Configure Git
+ - script: |
+ curl \
+ -s https://api.github.com/repos/$(Build.Repository.Name)/commits/$(Build.SourceVersion)/pulls \
+ -H "Accept: application/vnd.github.groot-preview+json" \
+ | python3 -c "import sys,json; a=json.load(sys.stdin); print(f'##vso[task.setvariable variable=PR_NUMBER]{a[0][\"number\"]}' if len(a)>0 else '##vso[task.logissue type=error]Last commit $(Build.SourceVersion) doesnot have a related PR')"
+ displayName: Get PR_NUMBER
+ condition: in(variables['Build.Reason'], 'IndividualCI', 'Manual')
+ - script: sudo chown `id -ng`:`id -ng` . && npm start
+ env:
+ BLOB_STORAGE_NAME: $(blob-storage-name)
+ BLOB_STORAGE_KEY: $(blob-storage-key)
+ GITHUB_COMMENT_AUTHOR_NAME: $(github-comment-author-name)
+ GITHUBAPP_ID: $(githubapp-id)
+ GITHUBAPP_PRIVATE_KEY: $(githubapp-private-key)
+ displayName: SDK Automation
+ workingDirectory: /z
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index e21073678f83..767106861d0b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,7 +1,5 @@
name: "Azure OpenAPI"
-trigger: none
-
variables:
TRAVIS: 'true'
TRAVIS_BRANCH: $(System.PullRequest.TargetBranch)
@@ -19,6 +17,5 @@ jobs:
- template: .azure-pipelines/ModelValidation.yml
- template: .azure-pipelines/BreakingChange.yml
- template: .azure-pipelines/LintDiff.yml
-- template: .azure-pipelines/SwaggerToSDK.yml
- template: .azure-pipelines/NetworkValidation.yml
- template: .azure-pipelines/Spellcheck.yml
diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json
index e97484fe7f4e..83ad1c7b0c81 100644
--- a/specificationRepositoryConfiguration.json
+++ b/specificationRepositoryConfiguration.json
@@ -1,34 +1,32 @@
{
"$schema": "https://openapistorageprod.blob.core.windows.net/sdkautomation/prod/schemas/specificationRepositoryConfiguration.schema.json",
+ "pipelineName": "automation - sdk",
"sdkRepositoryMappings": {
"azure-sdk-for-go": {
"mainBranch": "latest",
- "integrationBranchPrefix": "sdkAutomationProdTest",
- "generationRepository": "AzureSDKAutomation/azure-sdk-for-go",
"integrationRepository": "AzureSDKAutomation/azure-sdk-for-go",
- "mainRepository": "test-repo-billy/azure-sdk-for-go"
+ "mainRepository": "Azure/azure-sdk-for-go"
},
"azure-sdk-for-java": {
- "generationRepository": "AzureSDKAutomation/azure-sdk-for-java",
- "mainRepository": "test-repo-billy/azure-sdk-for-java"
+ "integrationRepository": "AzureSDKAutomation/azure-sdk-for-java",
+ "mainRepository": "Azure/azure-sdk-for-java"
},
"azure-sdk-for-js": {
- "generationRepository": "AzureSDKAutomation/azure-sdk-for-js",
- "mainRepository": "test-repo-billy/azure-sdk-for-js"
+ "integrationRepository": "AzureSDKAutomation/azure-sdk-for-js",
+ "mainRepository": "Azure/azure-sdk-for-js"
},
"azure-sdk-for-net": {
- "generationRepository": "AzureSDKAutomation/azure-sdk-for-net",
- "mainRepository": "test-repo-billy/azure-sdk-for-net"
+ "integrationRepository": "AzureSDKAutomation/azure-sdk-for-net",
+ "mainRepository": "Azure/azure-sdk-for-net"
},
"azure-sdk-for-python": {
- "generationRepository": "AzureSDKAutomation/azure-sdk-for-python",
"integrationRepository": "AzureSDKAutomation/azure-sdk-for-python",
- "mainRepository": "test-repo-billy/azure-sdk-for-python"
+ "mainRepository": "Azure/azure-sdk-for-python"
},
"azure-sdk-for-ruby": {
"mainBranch": "latest",
- "generationRepository": "AzureSDKAutomation/azure-sdk-for-ruby",
- "mainRepository": "test-repo-billy/azure-sdk-for-ruby"
+ "integrationRepository": "AzureSDKAutomation/azure-sdk-for-ruby",
+ "mainRepository": "Azure/azure-sdk-for-ruby"
}
}
}
From 55d7b235a031aa0fe0895ff95e6242cb4507b033 Mon Sep 17 00:00:00 2001
From: Dwaipayan Mukhopadhyay
Date: Tue, 3 Dec 2019 23:35:51 -0800
Subject: [PATCH 045/469] Adding Personalizer stable/v1.0 APIs (#7624)
* Adding current personalizer.json with all apis
* fix readme.md
* remove body from response examples with codes which have no schema
* add java settings
* update descriptions
* prettier
* add java swagger to sdk spec
* run prettier
* remove java sdk generation
* update swager
* resolve API review board feedback
* fix typo
* Add back missing example responses
* fix Evaluations_Create location header
* delete model, policy -> reset model, policy
* Update readme.md
---
.../data-plane/Personalizer/readme.md | 26 +-
.../stable/v1.0/Personalizer.json | 1257 +++++++++++++++++
.../v1.0/examples/Evaluations_Create.json | 39 +
.../v1.0/examples/Evaluations_Delete.json | 10 +
.../stable/v1.0/examples/Evaluations_Get.json | 67 +
.../v1.0/examples/Evaluations_List.json | 36 +
.../stable/v1.0/examples/Events_Activate.json | 10 +
.../stable/v1.0/examples/Events_Reward.json | 13 +
.../stable/v1.0/examples/Log_Delete.json | 9 +
.../v1.0/examples/Log_GetProperties.json | 17 +
.../stable/v1.0/examples/Model_Get.json | 12 +
.../v1.0/examples/Model_GetProperties.json | 15 +
.../stable/v1.0/examples/Model_Reset.json | 9 +
.../stable/v1.0/examples/Policy_Get.json | 15 +
.../stable/v1.0/examples/Policy_Reset.json | 15 +
.../stable/v1.0/examples/Policy_Update.json | 19 +
.../stable/v1.0/examples/Rank.json | 67 +
.../examples/ServiceConfiguration_Get.json | 21 +
.../examples/ServiceConfiguration_Update.json | 31 +
19 files changed, 1676 insertions(+), 12 deletions(-)
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/Personalizer.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Create.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Delete.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Get.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_List.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Events_Activate.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Events_Reward.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Log_Delete.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Log_GetProperties.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_Get.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_GetProperties.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_Reset.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Get.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Reset.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Update.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Rank.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/ServiceConfiguration_Get.json
create mode 100644 specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/ServiceConfiguration_Update.json
diff --git a/specification/cognitiveservices/data-plane/Personalizer/readme.md b/specification/cognitiveservices/data-plane/Personalizer/readme.md
index c779dc0463e0..a1cda2b79fca 100644
--- a/specification/cognitiveservices/data-plane/Personalizer/readme.md
+++ b/specification/cognitiveservices/data-plane/Personalizer/readme.md
@@ -1,22 +1,29 @@
# Cognitive Services Personalizer SDK
-> see https://aka.ms/autorest
+## Releases
-Configuration for generating Personalizer SDK.
+> see https://aka.ms/autorest
-The current release is `release_1_0`.
+The current release is `release_1_0`. A preview release release_1_0 is also available
``` yaml
tag: release_1_0
add-credentials: true
openapi-type: data-plane
```
-# Releases
### Release 1.0
These settings apply only when `--tag=release_1_0` is specified on the command line.
``` yaml $(tag) == 'release_1_0'
+input-file:
+ - stable/v1.0/Personalizer.json
+```
+
+### Release 1.0-Preview
+These settings apply only when `--tag=release_1_0_preview` is specified on the command line.
+
+``` yaml $(tag) == 'release_1_0_preview'
input-file:
- preview/v1.0/Personalizer.json
```
@@ -29,7 +36,6 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- - repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
@@ -37,7 +43,6 @@ swagger-to-sdk:
- bundle install && rake arm:regen_all_profiles['azure_cognitiveservices_personalizer']
```
-
## CSharp Settings
These settings apply only when `--csharp` is specified on the command line.
``` yaml $(csharp)
@@ -54,11 +59,9 @@ directive:
- from: source-file-csharp
where: $
transform: >-
- if ($.includes("class Events"))
- return $
- .replace( /\"this.Endpoint\"/g, "\"this.Client.Endpoint\"" )
- .replace( /this.Endpoint/g, "Client.Endpoint" );
- return $;
+ return $
+ .replace( /\"this.Endpoint\"/g, "\"this.Client.Endpoint\"" )
+ .replace( /this.Endpoint/g, "Client.Endpoint" );
```
## Multi-API/Profile support for AutoRest v3 generators
@@ -84,4 +87,3 @@ uncomment the `exclude-file` section below and add the file paths.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/Personalizer.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/Personalizer.json
new file mode 100644
index 000000000000..e89aa576ea0a
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/Personalizer.json
@@ -0,0 +1,1257 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "v1.0",
+ "title": "Personalizer Client",
+ "description": "Personalizer Service is an Azure Cognitive Service that makes it easy to target content and experiences without complex pre-analysis or cleanup of past data. Given a context and featurized content, the Personalizer Service returns which content item to show to users in rewardActionId. As rewards are sent in response to the use of rewardActionId, the reinforcement learning algorithm will improve the model and improve performance of future rank calls."
+ },
+ "basePath": "/personalizer/v1.0",
+ "paths": {
+ "/configurations/service": {
+ "get": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Get Service Configuration.",
+ "description": "Get the Personalizer service configuration.",
+ "operationId": "ServiceConfiguration_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ServiceConfiguration"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful ServiceConfiguration_Get request": {
+ "$ref": "./examples/ServiceConfiguration_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Update Service Configuration.",
+ "description": "Update the Personalizer service configuration.",
+ "operationId": "ServiceConfiguration_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "config",
+ "in": "body",
+ "description": "The personalizer service configuration.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceConfiguration"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ServiceConfiguration"
+ }
+ },
+ "default": {
+ "description": "Invalid service configuration.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful ServiceConfiguration_Update request": {
+ "$ref": "./examples/ServiceConfiguration_Update.json"
+ }
+ }
+ }
+ },
+ "/configurations/policy": {
+ "get": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Get Policy.",
+ "description": "Get the Learning settings currently used by the Personalizer service.",
+ "operationId": "Policy_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PolicyContract"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Policy_Get request": {
+ "$ref": "./examples/Policy_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Update Policy.",
+ "description": "Update the Learning settings that the Personalizer service will use to train models.",
+ "operationId": "Policy_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "policy",
+ "in": "body",
+ "description": "The Learning settings.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicyContract"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PolicyContract"
+ }
+ },
+ "default": {
+ "description": "Invalid policy configuration.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Policy_Update request": {
+ "$ref": "./examples/Policy_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Reset Policy.",
+ "description": "Resets the Learning settings of the Personalizer service to default.",
+ "operationId": "Policy_Reset",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PolicyContract"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Policy_Reset request": {
+ "$ref": "./examples/Policy_Reset.json"
+ }
+ }
+ }
+ },
+ "/evaluations/{evaluationId}": {
+ "get": {
+ "tags": [
+ "Evaluations"
+ ],
+ "summary": "Get Evaluation.",
+ "description": "Get the evaluation associated with the Id.",
+ "operationId": "Evaluations_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "evaluationId",
+ "in": "path",
+ "description": "Id of the evaluation.",
+ "required": true,
+ "type": "string",
+ "maxLength": 256
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Evaluation"
+ }
+ },
+ "default": {
+ "description": "Evaluation not found.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Evaluations_Get request": {
+ "$ref": "./examples/Evaluations_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Evaluations"
+ ],
+ "summary": "Delete Evaluation.",
+ "description": "Delete the evaluation associated with the Id.",
+ "operationId": "Evaluations_Delete",
+ "consumes": [],
+ "produces": [],
+ "parameters": [
+ {
+ "name": "evaluationId",
+ "in": "path",
+ "description": "Id of the evaluation to delete.",
+ "required": true,
+ "type": "string",
+ "maxLength": 256
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Success"
+ }
+ },
+ "x-ms-examples": {
+ "Successful Evaluations_Delete request": {
+ "$ref": "./examples/Evaluations_Delete.json"
+ }
+ }
+ }
+ },
+ "/evaluations": {
+ "get": {
+ "tags": [
+ "Evaluations"
+ ],
+ "summary": "List Evaluations.",
+ "description": "List all the submitted evaluations.",
+ "operationId": "Evaluations_List",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Evaluation"
+ }
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Evaluations_List request": {
+ "$ref": "./examples/Evaluations_List.json"
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "Evaluations"
+ ],
+ "summary": "Create Evaluation.",
+ "description": "Submit a new evaluation job.",
+ "operationId": "Evaluations_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "evaluation",
+ "in": "body",
+ "description": "The evaluation job definition.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EvaluationContract"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Evaluation"
+ },
+ "headers": {
+ "Location": {
+ "description": "Location of the evaluation resource",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Invalid evaluation contract.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Evaluations_Create request": {
+ "$ref": "./examples/Evaluations_Create.json"
+ }
+ }
+ }
+ },
+ "/events/{eventId}/reward": {
+ "post": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Post Reward.",
+ "description": "Report reward that resulted from using the action specified in rewardActionId for the specified event.",
+ "operationId": "Events_Reward",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "eventId",
+ "in": "path",
+ "description": "The event id this reward applies to.",
+ "required": true,
+ "type": "string",
+ "maxLength": 256
+ },
+ {
+ "name": "reward",
+ "in": "body",
+ "description": "The reward should be a floating point number, typically between 0 and 1.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RewardRequest"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Invalid reward request.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Events_Reward request": {
+ "$ref": "./examples/Events_Reward.json"
+ }
+ }
+ }
+ },
+ "/events/{eventId}/activate": {
+ "post": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Activate Event.",
+ "description": "Report that the specified event was actually displayed to the user and a reward should be expected for it",
+ "operationId": "Events_Activate",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "eventId",
+ "in": "path",
+ "description": "The event ID this activation applies to.",
+ "required": true,
+ "type": "string",
+ "maxLength": 256
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Invalid activate event request.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Events_Activate request": {
+ "$ref": "./examples/Events_Activate.json"
+ }
+ }
+ }
+ },
+ "/logs": {
+ "delete": {
+ "tags": [
+ "Logs"
+ ],
+ "summary": "Deletes Logs.",
+ "description": "Delete all generated logs.",
+ "operationId": "Log_Delete",
+ "consumes": [],
+ "produces": [],
+ "parameters": [],
+ "responses": {
+ "204": {
+ "description": "Success"
+ }
+ },
+ "x-ms-examples": {
+ "Successful Log_Delete request": {
+ "$ref": "./examples/Log_Delete.json"
+ }
+ }
+ }
+ },
+ "/logs/properties": {
+ "get": {
+ "tags": [
+ "Logs"
+ ],
+ "summary": "Get Log Properties.",
+ "description": "Get properties of generated logs.",
+ "operationId": "Log_GetProperties",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/LogsProperties"
+ }
+ },
+ "default": {
+ "description": "Logs properties not found.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Log_GetProperties request": {
+ "$ref": "./examples/Log_GetProperties.json"
+ }
+ }
+ }
+ },
+ "/model": {
+ "get": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Get Model.",
+ "description": "Get the model file generated by Personalizer service.",
+ "operationId": "Model_Get",
+ "consumes": [],
+ "produces": [
+ "application/octet-stream"
+ ],
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "type": "file"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Model_Get request": {
+ "$ref": "./examples/Model_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Reset Model.",
+ "description": "Resets the model file generated by Personalizer service.",
+ "operationId": "Model_Reset",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [],
+ "responses": {
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Model reset failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Model_Reset request": {
+ "$ref": "./examples/Model_Reset.json"
+ }
+ }
+ }
+ },
+ "/model/properties": {
+ "get": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Get Model Properties.",
+ "description": "Get properties of the model file generated by Personalizer service.",
+ "operationId": "Model_GetProperties",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ModelProperties"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Model_GetProperties request": {
+ "$ref": "./examples/Model_GetProperties.json"
+ }
+ }
+ }
+ },
+ "/rank": {
+ "post": {
+ "tags": [
+ "Rank"
+ ],
+ "summary": "Post Rank.",
+ "description": "Submit a Personalizer rank request, to get which of the provided actions should be used in the provided context.",
+ "operationId": "Rank",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "rankRequest",
+ "in": "body",
+ "description": "A Personalizer request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RankRequest"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/RankResponse"
+ }
+ },
+ "default": {
+ "description": "Invalid rank request.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Successful Rank request": {
+ "$ref": "./examples/Rank.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ServiceConfiguration": {
+ "description": "The configuration of the service.",
+ "required": [
+ "rewardWaitTime",
+ "defaultReward",
+ "rewardAggregation",
+ "explorationPercentage",
+ "modelExportFrequency",
+ "logRetentionDays"
+ ],
+ "type": "object",
+ "properties": {
+ "rewardWaitTime": {
+ "format": "duration",
+ "description": "The time span waited until a request is marked with the default reward.\r\nFor example, PT5M (5 mins). For information about the time format,\r\nsee http://en.wikipedia.org/wiki/ISO_8601#Durations",
+ "type": "string"
+ },
+ "defaultReward": {
+ "format": "float",
+ "description": "The reward given if a reward is not received within the specified wait time.",
+ "maximum": 1,
+ "minimum": -1,
+ "type": "number"
+ },
+ "rewardAggregation": {
+ "description": "The function used to process rewards, if multiple reward scores are received before rewardWaitTime is over.",
+ "maxLength": 256,
+ "type": "string"
+ },
+ "explorationPercentage": {
+ "format": "float",
+ "description": "The percentage of rank responses that will use exploration.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "modelExportFrequency": {
+ "format": "duration",
+ "description": "Personalizer will start using the most updated trained model for online ranks automatically every specified time period.\r\nFor example, PT5M (5 mins). For information about the time format,\r\nsee http://en.wikipedia.org/wiki/ISO_8601#Durations",
+ "type": "string"
+ },
+ "logMirrorEnabled": {
+ "description": "Flag indicates whether log mirroring is enabled.",
+ "type": "boolean"
+ },
+ "logMirrorSasUri": {
+ "description": "Azure storage account container SAS URI for log mirroring.",
+ "type": "string"
+ },
+ "logRetentionDays": {
+ "format": "int32",
+ "description": "Number of days historical logs are to be maintained. -1 implies the logs will never be deleted.",
+ "maximum": 2147483647,
+ "minimum": -1,
+ "type": "integer"
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Used to return an error to the client",
+ "required": [
+ "error"
+ ],
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/PersonalizerError",
+ "description": "The error object."
+ }
+ }
+ },
+ "PersonalizerError": {
+ "description": "The error object.",
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "High level error code.",
+ "enum": [
+ "BadRequest",
+ "ResourceNotFound",
+ "InternalServerError",
+ "InvalidServiceConfiguration",
+ "InvalidPolicyConfiguration",
+ "InvalidPolicyContract",
+ "InvalidEvaluationContract",
+ "InvalidRewardRequest",
+ "InvalidEventIdToActivate",
+ "InvalidRankRequest",
+ "InvalidExportLogsRequest",
+ "InvalidContainer",
+ "FrontEndNotFound",
+ "EvaluationNotFound",
+ "LogsPropertiesNotFound",
+ "RankNullResponse",
+ "UpdateConfigurationFailed",
+ "ModelResetFailed"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PersonalizerErrorCode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "BadRequest",
+ "description": "Request could not be understood by the server."
+ },
+ {
+ "value": "ResourceNotFound",
+ "description": "Requested resource does not exist on the server."
+ },
+ {
+ "value": "InternalServerError",
+ "description": "A generic error has occurred on the server."
+ },
+ {
+ "value": "InvalidServiceConfiguration",
+ "description": "Invalid service configuration."
+ },
+ {
+ "value": "InvalidPolicyConfiguration",
+ "description": "Invalid policy configuration."
+ },
+ {
+ "value": "InvalidPolicyContract",
+ "description": "Invalid policy contract."
+ },
+ {
+ "value": "InvalidEvaluationContract",
+ "description": "Invalid evaluation contract."
+ },
+ {
+ "value": "InvalidRewardRequest",
+ "description": "Invalid reward request."
+ },
+ {
+ "value": "InvalidEventIdToActivate",
+ "description": "Invalid activate event request."
+ },
+ {
+ "value": "InvalidRankRequest",
+ "description": "Invalid rank request."
+ },
+ {
+ "value": "InvalidExportLogsRequest",
+ "description": "Invalid export logs request."
+ },
+ {
+ "value": "InvalidContainer",
+ "description": "SAS Uri must be the Uri to a container that has write permissions."
+ },
+ {
+ "value": "FrontEndNotFound",
+ "description": "Front end not found."
+ },
+ {
+ "value": "EvaluationNotFound",
+ "description": "Evaluation not found."
+ },
+ {
+ "value": "LogsPropertiesNotFound",
+ "description": "Logs properties not found."
+ },
+ {
+ "value": "RankNullResponse",
+ "description": "Rank call returned null response."
+ },
+ {
+ "value": "UpdateConfigurationFailed",
+ "description": "Failed to update configuration."
+ },
+ {
+ "value": "ModelResetFailed",
+ "description": "Model reset failed."
+ }
+ ]
+ }
+ },
+ "message": {
+ "description": "A message explaining the error reported by the service.",
+ "type": "string"
+ },
+ "target": {
+ "description": "Error source element.",
+ "type": "string"
+ },
+ "details": {
+ "description": "An array of details about specific errors that led to this reported error.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PersonalizerError"
+ }
+ },
+ "innerError": {
+ "$ref": "#/definitions/InternalError",
+ "description": "Finer error details."
+ }
+ }
+ },
+ "InternalError": {
+ "description": "An object containing more specific information than the parent object about the error.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Detailed error code.",
+ "type": "string"
+ },
+ "innererror": {
+ "$ref": "#/definitions/InternalError",
+ "description": "The error object."
+ }
+ }
+ },
+ "PolicyContract": {
+ "description": "Learning settings specifying how to train the model.",
+ "required": [
+ "name",
+ "arguments"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the Learning settings.",
+ "maxLength": 256,
+ "type": "string"
+ },
+ "arguments": {
+ "description": "Arguments of the Learning settings.",
+ "maxLength": 1024,
+ "type": "string"
+ }
+ }
+ },
+ "Evaluation": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "maxLength": 256,
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "maxLength": 256,
+ "type": "string",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "endTime": {
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "jobId": {
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "pending",
+ "failed",
+ "notSubmitted"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "EvaluationJobStatus",
+ "modelAsString": true
+ }
+ },
+ "policyResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyResult"
+ }
+ },
+ "featureImportance": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "PolicyResult": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true
+ },
+ "arguments": {
+ "type": "string",
+ "readOnly": true
+ },
+ "summary": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyResultSummary"
+ },
+ "readOnly": true
+ },
+ "totalSummary": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/PolicyResultSummary"
+ }
+ ],
+ "readOnly": true
+ }
+ }
+ },
+ "PolicyResultSummary": {
+ "type": "object",
+ "properties": {
+ "timeStamp": {
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "ipsEstimatorNumerator": {
+ "format": "float",
+ "type": "number",
+ "readOnly": true
+ },
+ "ipsEstimatorDenominator": {
+ "format": "float",
+ "type": "number",
+ "readOnly": true
+ },
+ "snipsEstimatorDenominator": {
+ "format": "float",
+ "type": "number",
+ "readOnly": true
+ },
+ "aggregateTimeWindow": {
+ "format": "duration",
+ "type": "string",
+ "readOnly": true
+ },
+ "nonZeroProbability": {
+ "format": "float",
+ "type": "number"
+ },
+ "confidenceInterval": {
+ "format": "float",
+ "type": "number",
+ "readOnly": true
+ },
+ "sumOfSquares": {
+ "format": "float",
+ "type": "number",
+ "readOnly": true
+ }
+ }
+ },
+ "EvaluationContract": {
+ "description": "A counterfactual evaluation.",
+ "required": [
+ "name",
+ "startTime",
+ "endTime",
+ "policies"
+ ],
+ "type": "object",
+ "properties": {
+ "enableOfflineExperimentation": {
+ "description": "True if the evaluation should explore for a more optimal Learning settings.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "The name of the evaluation.",
+ "maxLength": 256,
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The start time of the evaluation.",
+ "type": "string"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "The end time of the evaluation.",
+ "type": "string"
+ },
+ "policies": {
+ "description": "Additional Learning settings to evaluate.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyContract"
+ }
+ }
+ }
+ },
+ "RewardRequest": {
+ "description": "Reward given to a rank response.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "value": {
+ "format": "float",
+ "description": "Reward to be assigned to an action. Value should be between -1 and 1 inclusive.",
+ "type": "number"
+ }
+ }
+ },
+ "LogsProperties": {
+ "type": "object",
+ "properties": {
+ "dateRange": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DateRange"
+ }
+ ],
+ "readOnly": true
+ }
+ }
+ },
+ "DateRange": {
+ "type": "object",
+ "properties": {
+ "from": {
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "to": {
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ModelProperties": {
+ "type": "object",
+ "properties": {
+ "creationTime": {
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "lastModifiedTime": {
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RankRequest": {
+ "description": "Request a set of actions to be ranked by the Personalizer service.",
+ "required": [
+ "actions"
+ ],
+ "type": "object",
+ "properties": {
+ "contextFeatures": {
+ "description": "Features of the context used for Personalizer as a\r\ndictionary of dictionaries. This depends on the application, and\r\ntypically includes features about the current user, their\r\ndevice, profile information, aggregated data about time and date, etc.\r\nFeatures should not include personally identifiable information (PII),\r\nunique UserIDs, or precise timestamps.",
+ "type": "array",
+ "items": {
+ "type": "object"
+ }
+ },
+ "actions": {
+ "description": "The set of actions the Personalizer service can pick from.\r\nThe set should not contain more than 50 actions.\r\nThe order of the actions does not affect the rank result but the order\r\nshould match the sequence your application would have used to display them.\r\nThe first item in the array will be used as Baseline item in Offline evaluations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RankableAction"
+ }
+ },
+ "excludedActions": {
+ "description": "The set of action ids to exclude from ranking.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "eventId": {
+ "description": "Optionally pass an eventId that uniquely identifies this Rank event.\r\nIf null, the service generates a unique eventId. The eventId will be used for\r\nassociating this request with its reward, as well as seeding the pseudo-random\r\ngenerator when making a Personalizer call.",
+ "maxLength": 256,
+ "type": "string"
+ },
+ "deferActivation": {
+ "description": "Send false if it is certain the rewardActionId in rank results will be shown to the user, therefore\r\nPersonalizer will expect a Reward call, otherwise it will assign the default\r\nReward to the event. Send true if it is possible the user will not see the\r\naction specified in the rank results, because the page is rendering later, or the Rank results may be\r\noverridden by code further downstream.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ "RankableAction": {
+ "description": "An action with it's associated features used for ranking.",
+ "required": [
+ "id",
+ "features"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Id of the action.",
+ "maxLength": 256,
+ "type": "string"
+ },
+ "features": {
+ "description": "List of dictionaries containing features.",
+ "type": "array",
+ "items": {
+ "type": "object"
+ }
+ }
+ }
+ },
+ "RankResponse": {
+ "description": "Returns which action to use as rewardActionId, and additional information about each action as a result of a Rank request.",
+ "type": "object",
+ "properties": {
+ "ranking": {
+ "description": "The calculated ranking for the current request.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RankedAction"
+ },
+ "readOnly": true
+ },
+ "eventId": {
+ "description": "The eventId for the round trip from request to response.",
+ "maxLength": 256,
+ "type": "string",
+ "readOnly": true
+ },
+ "rewardActionId": {
+ "description": "The action chosen by the Personalizer service. This is the action your application should display, and for which to report the reward. This might not be the\r\nfirst found in 'ranking' if an action in the request in first position was part of the excluded ids.",
+ "maxLength": 256,
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RankedAction": {
+ "description": "A ranked action with its resulting probability.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Id of the action",
+ "maxLength": 256,
+ "type": "string",
+ "readOnly": true
+ },
+ "probability": {
+ "format": "float",
+ "description": "Probability of the action",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number",
+ "readOnly": true
+ }
+ }
+ },
+ "ContainerStatus": {
+ "type": "object",
+ "properties": {
+ "service": {
+ "type": "string"
+ },
+ "apiStatus": {
+ "type": "string"
+ },
+ "apiStatusMessage": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "Endpoint": {
+ "name": "Endpoint",
+ "in": "path",
+ "description": "Supported Cognitive Services endpoint.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client",
+ "x-ms-skip-url-encoding": true
+ }
+ },
+ "securityDefinitions": {
+ "apim_key": {
+ "name": "Ocp-Apim-Subscription-Key",
+ "in": "header",
+ "type": "apiKey"
+ }
+ },
+ "security": [
+ {
+ "apim_key": []
+ }
+ ],
+ "tags": [
+ {
+ "name": "Configurations",
+ "description": "Manages configuration operations."
+ },
+ {
+ "name": "Evaluations",
+ "description": "Manages counterfactual evaluation operations."
+ },
+ {
+ "name": "Events",
+ "description": "Manages event operations."
+ },
+ {
+ "name": "Logs",
+ "description": "Manages reinforcement learning logs."
+ },
+ {
+ "name": "Model",
+ "description": "Manages reinforcement learning configuration operations."
+ },
+ {
+ "name": "Rank",
+ "description": "Manages ranking operations."
+ }
+ ],
+ "x-ms-parameterized-host": {
+ "hostTemplate": "{Endpoint}",
+ "useSchemePrefix": false,
+ "parameters": [
+ {
+ "$ref": "#/parameters/Endpoint"
+ }
+ ]
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Create.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Create.json
new file mode 100644
index 000000000000..8e392dfae1cd
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Create.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "evaluation": {
+ "enableOfflineExperimentation": true,
+ "name": "myFirstEvaluation",
+ "startTime": "2018-12-19T00:00:00Z",
+ "endTime": "2019-01-19T00:00:00Z",
+ "policies": [
+ {
+ "name": "Custom Learning settings 1",
+ "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5"
+ }
+ ]
+ },
+ "Ocp-Apim-Subscription-Key": "{API key}"
+ },
+ "responses": {
+ "201": {
+ "headers": {
+ "Location": "{endpoint}/personalizer/v1.0/evaluations/{evaluationId}"
+ },
+ "body": {
+ "id": "b58c6d92-b727-48c1-9487-4be2782c9e0a",
+ "name": "myFirstEvaluation",
+ "startTime": "2018-12-19T00:00:00Z",
+ "endTime": "2019-01-19T00:00:00Z",
+ "status": "pending",
+ "policyResults": [
+ {
+ "name": "Custom Learning settings 1",
+ "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5"
+ }
+ ],
+ "featureImportance": []
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Delete.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Delete.json
new file mode 100644
index 000000000000..682e8a6a8084
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Delete.json
@@ -0,0 +1,10 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "evaluationId": "id",
+ "Ocp-Apim-Subscription-Key": "{API key}"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Get.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Get.json
new file mode 100644
index 000000000000..aec174af7856
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_Get.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "evaluationId": "id",
+ "Ocp-Apim-Subscription-Key": "{API key}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "b58c6d92-b727-48c1-9487-4be2782c9e0a",
+ "name": "myFirstEvaluation",
+ "startTime": "2018-12-19T00:00:00Z",
+ "endTime": "2019-01-19T00:00:00Z",
+ "status": "completed",
+ "policyResults": [
+ {
+ "name": "Custom Learning settings 1",
+ "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5",
+ "summary": [
+ {
+ "timeStamp": "2018-12-19T00:00:00Z",
+ "ipsEstimatorNumerator": 0.0,
+ "ipsEstimatorDenominator": 170.0,
+ "snipsEstimatorDenominator": 308.25,
+ "aggregateTimeWindow": "PT0S",
+ "nonZeroProbability": 64.0,
+ "confidenceInterval": 0.0,
+ "sumOfSquares": 0.0
+ },
+ {
+ "timeStamp": "2018-12-19T00:05:00Z",
+ "ipsEstimatorNumerator": 2.2,
+ "ipsEstimatorDenominator": 196.0,
+ "snipsEstimatorDenominator": 193.761,
+ "aggregateTimeWindow": "PT0S",
+ "nonZeroProbability": 68.0,
+ "confidenceInterval": 1.1009,
+ "sumOfSquares": 2.424
+ }
+ ],
+ "totalSummary": {
+ "timeStamp": "2019-01-19T00:00:00Z",
+ "ipsEstimatorNumerator": 22.2,
+ "ipsEstimatorDenominator": 1906.0,
+ "snipsEstimatorDenominator": 1993.761,
+ "aggregateTimeWindow": "PT0S",
+ "nonZeroProbability": 68.0,
+ "confidenceInterval": 1.1209,
+ "sumOfSquares": 2.484
+ }
+ }
+ ],
+ "featureImportance": [
+ [
+ "f1",
+ "f2"
+ ],
+ [
+ "f3",
+ "f4"
+ ]
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_List.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_List.json
new file mode 100644
index 000000000000..c09af2b83e0e
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Evaluations_List.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": [
+ {
+ "id": "b58c6d92-b727-48c1-9487-4be2782c9e0a",
+ "name": "myFirstEvaluation",
+ "startTime": "2018-11-19T00:00:00Z",
+ "endTime": "2018-12-19T00:00:00Z",
+ "status": "pending",
+ "policyResults": [
+ {
+ "name": "Custom Learning settings 1",
+ "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5"
+ }
+ ],
+ "featureImportance": []
+ },
+ {
+ "id": "21d03972-9130-4be9-8c8b-8ac3ec9b9dd1",
+ "name": "mySecondEvaluation",
+ "startTime": "2018-12-19T00:00:00Z",
+ "endTime": "2019-01-19T00:00:00Z",
+ "status": "pending",
+ "policyResults": [],
+ "featureImportance": []
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Events_Activate.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Events_Activate.json
new file mode 100644
index 000000000000..a7bec92839a5
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Events_Activate.json
@@ -0,0 +1,10 @@
+{
+ "parameters": {
+ "eventId": "id",
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "{API key}"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Events_Reward.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Events_Reward.json
new file mode 100644
index 000000000000..78802cdfed80
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Events_Reward.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "eventId": "id",
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "reward": {
+ "value": 1.0
+ }
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Log_Delete.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Log_Delete.json
new file mode 100644
index 000000000000..bd50cf1be127
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Log_Delete.json
@@ -0,0 +1,9 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Log_GetProperties.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Log_GetProperties.json
new file mode 100644
index 000000000000..fc02b29ae13b
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Log_GetProperties.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "dateRange": {
+ "from": "2019-01-18T16:00:00-08:00",
+ "to": "2019-02-18T16:00:00-08:00"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_Get.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_Get.json
new file mode 100644
index 000000000000..b8aee663b45a
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_Get.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": ""
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_GetProperties.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_GetProperties.json
new file mode 100644
index 000000000000..df3753d4749b
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_GetProperties.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "creationTime": "2019-01-18T16:00:00-08:00",
+ "lastModifiedTime": "2019-01-18T16:00:00-08:00"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_Reset.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_Reset.json
new file mode 100644
index 000000000000..bd50cf1be127
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Model_Reset.json
@@ -0,0 +1,9 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Get.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Get.json
new file mode 100644
index 000000000000..d454ebf852e5
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Get.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "name": "myPersonalizer",
+ "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Reset.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Reset.json
new file mode 100644
index 000000000000..d454ebf852e5
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Reset.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "name": "myPersonalizer",
+ "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Update.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Update.json
new file mode 100644
index 000000000000..a20c1b928b74
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Policy_Update.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "policy": {
+ "name": "myPersonalizer",
+ "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5"
+ },
+ "Ocp-Apim-Subscription-Key": "{API key}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "name": "myPersonalizer",
+ "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Rank.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Rank.json
new file mode 100644
index 000000000000..32772be66a8e
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/Rank.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "rankRequest": {
+ "contextFeatures": [
+ {
+ "timeOfDay": "Morning"
+ }
+ ],
+ "actions": [
+ {
+ "id": "NewsArticle",
+ "features": [
+ {
+ "type": "News"
+ }
+ ]
+ },
+ {
+ "id": "SportsArticle",
+ "features": [
+ {
+ "type": "Sports"
+ }
+ ]
+ },
+ {
+ "id": "EntertainmentArticle",
+ "features": [
+ {
+ "type": "Entertainment"
+ }
+ ]
+ }
+ ],
+ "excludedActions": [
+ "SportsArticle"
+ ],
+ "eventId": "75269AD0-BFEE-4598-8196-C57383D38E10",
+ "deferActivation": false
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "ranking": [
+ {
+ "id": "EntertainmentArticle",
+ "probability": 0.8
+ },
+ {
+ "id": "SportsArticle",
+ "probability": 0.0
+ },
+ {
+ "id": "NewsArticle",
+ "probability": 0.2
+ }
+ ],
+ "eventId": "75269AD0-BFEE-4598-8196-C57383D38E10",
+ "rewardActionId": "EntertainmentArticle"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/ServiceConfiguration_Get.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/ServiceConfiguration_Get.json
new file mode 100644
index 000000000000..6c1ba6b0d7b1
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/ServiceConfiguration_Get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "Endpoint": "{Endpoint}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "rewardWaitTime": "PT10M",
+ "defaultReward": 0.0,
+ "rewardAggregation": "earliest",
+ "explorationPercentage": 0.2,
+ "modelExportFrequency": "PT5M",
+ "logMirrorEnabled": true,
+ "logMirrorSasUri": "https://testblob.blob.core.windows.net/container?se=2020-08-13T00%3A00Z&sp=rwl&spr=https&sv=2018-11-09&sr=c&sig=signature",
+ "logRetentionDays": 7
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/ServiceConfiguration_Update.json b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/ServiceConfiguration_Update.json
new file mode 100644
index 000000000000..60eee8d630cb
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/Personalizer/stable/v1.0/examples/ServiceConfiguration_Update.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "config": {
+ "rewardWaitTime": "PT10M",
+ "defaultReward": 0.0,
+ "rewardAggregation": "earliest",
+ "explorationPercentage": 0.2,
+ "modelExportFrequency": "PT5M",
+ "logMirrorEnabled": true,
+ "logMirrorSasUri": "https://testblob.blob.core.windows.net/container?se=2020-08-13T00%3A00Z&sp=rwl&spr=https&sv=2018-11-09&sr=c&sig=signature",
+ "logRetentionDays": 7
+ },
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "{API key}"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "rewardWaitTime": "PT10M",
+ "defaultReward": 0.0,
+ "rewardAggregation": "earliest",
+ "explorationPercentage": 0.2,
+ "modelExportFrequency": "PT5M",
+ "logMirrorEnabled": true,
+ "logMirrorSasUri": "https://testblob.blob.core.windows.net/container?se=2020-08-13T00%3A00Z&sp=rwl&spr=https&sv=2018-11-09&sr=c&sig=signature",
+ "logRetentionDays": 7
+ }
+ }
+ }
+}
From fcc612128ff2fe21233aac750756fe1a0e69f5ac Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Wed, 4 Dec 2019 07:41:35 +0000
Subject: [PATCH 046/469] regenerated all-api-versions
---
.../cognitiveservices/data-plane/Personalizer/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/cognitiveservices/data-plane/Personalizer/readme.md b/specification/cognitiveservices/data-plane/Personalizer/readme.md
index a1cda2b79fca..888fcc5d55a7 100644
--- a/specification/cognitiveservices/data-plane/Personalizer/readme.md
+++ b/specification/cognitiveservices/data-plane/Personalizer/readme.md
@@ -76,6 +76,7 @@ require: $(this-folder)/../../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/stable/v1.0/Personalizer.json
- $(this-folder)/preview/v1.0/Personalizer.json
```
From 15ce9805b7d33225605476aadb8a6338ae26dda5 Mon Sep 17 00:00:00 2001
From: aim-for-better
Date: Wed, 4 Dec 2019 15:47:00 +0800
Subject: [PATCH 047/469] [HDInsight] Support kafka rest proxy feature (#7844)
---
.../preview/2015-03-01-preview/cluster.json | 33 +++
...teHDInsightClusterWithAutoscaleConfig.json | 79 +++++++
.../CreateKafkaClusterWithKafkaRestProxy.json | 223 ++++++++++++++++++
.../examples/CreateLinuxHadoopAdlsGen2.json | 79 +++++++
.../CreateLinuxHadoopSecureHadoop.json | 79 +++++++
.../CreateLinuxHadoopSshPassword.json | 79 +++++++
.../CreateLinuxHadoopSshPublicKey.json | 79 +++++++
.../examples/CreateLinuxSparkSshPassword.json | 79 +++++++
.../examples/GetExtension.json | 7 +-
.../GetLinuxClusterMonitoringStatus.json | 7 +-
.../stable/2018-06-01-preview/cluster.json | 35 ++-
...teHDInsightClusterWithAutoscaleConfig.json | 79 +++++++
.../CreateKafkaClusterWithKafkaRestProxy.json | 223 ++++++++++++++++++
.../examples/CreateLinuxHadoopAdlsGen2.json | 79 +++++++
.../CreateLinuxHadoopSecureHadoop.json | 79 +++++++
.../CreateLinuxHadoopSshPassword.json | 79 +++++++
.../CreateLinuxHadoopSshPublicKey.json | 79 +++++++
.../examples/CreateLinuxSparkSshPassword.json | 79 +++++++
.../examples/GetExtension.json | 7 +-
.../GetLinuxClusterMonitoringStatus.json | 7 +-
20 files changed, 1485 insertions(+), 5 deletions(-)
create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json
create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
index f12668bbc9c1..0e0e300f6929 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
@@ -59,6 +59,9 @@
},
"Create HDInsight cluster with Autoscale configuration": {
"$ref": "./examples/CreateHDInsightClusterWithAutoscaleConfig.json"
+ },
+ "Create Kafka cluster with Kafka Rest Proxy": {
+ "$ref": "./examples/CreateKafkaClusterWithKafkaRestProxy.json"
}
},
"parameters": [
@@ -553,6 +556,28 @@
}
}
},
+ "ClientGroupInfo": {
+ "description": "The information of AAD security group.",
+ "properties": {
+ "groupName": {
+ "type": "string",
+ "description": "The AAD security group name."
+ },
+ "groupId": {
+ "type": "string",
+ "description": "The AAD security group id."
+ }
+ }
+ },
+ "KafkaRestProperties": {
+ "description": "The kafka rest proxy configuration which contains AAD security group information.",
+ "properties": {
+ "clientGroupInfo": {
+ "$ref": "#/definitions/ClientGroupInfo",
+ "description": "The information of AAD security group."
+ }
+ }
+ },
"SecurityProfile": {
"description": "The security profile which contains Ssh public key for the HDInsight cluster.",
"properties": {
@@ -931,6 +956,10 @@
"$ref": "#/definitions/ClusterDefinition",
"description": "The cluster definition."
},
+ "kafkaRestProperties": {
+ "$ref": "#/definitions/KafkaRestProperties",
+ "description": "The cluster kafka rest proxy configuration."
+ },
"securityProfile": {
"$ref": "#/definitions/SecurityProfile",
"description": "The security profile."
@@ -1066,6 +1095,10 @@
"$ref": "#/definitions/ClusterDefinition",
"description": "The cluster definition."
},
+ "kafkaRestProperties": {
+ "$ref": "#/definitions/KafkaRestProperties",
+ "description": "The cluster kafka rest proxy configuration."
+ },
"securityProfile": {
"$ref": "#/definitions/SecurityProfile",
"description": "The security profile."
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
index 7d11ae887c01..fabb63dea4e7 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
@@ -117,6 +117,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json
new file mode 100644
index 000000000000..ceb89af0adc5
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json
@@ -0,0 +1,223 @@
+{
+ "parameters": {
+ "clusterName": "cluster1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "clusterVersion": "4.0",
+ "osType": "Linux",
+ "tier": "Standard",
+ "clusterDefinition": {
+ "kind": "kafka",
+ "componentVersion": {
+ "Kafka": "2.1"
+ },
+ "configurations": {
+ "gateway": {
+ "restAuthCredential.isEnabled": true,
+ "restAuthCredential.username": "admin",
+ "restAuthCredential.password": "**********"
+ }
+ }
+ },
+ "kafkaRestProperties": {
+ "clientGroupInfo": {
+ "groupName": "Kafka security group name",
+ "groupId": "00000000-0000-0000-0000-111111111111"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "Large"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "Large"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ },
+ "dataDisksGroups": [
+ {
+ "disksPerNode": 8
+ }
+ ]
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "Small"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ }
+ },
+ {
+ "name": "kafkamanagementnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "Standard_D4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "kafkauser",
+ "password": "**********"
+ }
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "storageaccounts": [
+ {
+ "name": "mystorage.blob.core.windows.net",
+ "isDefault": true,
+ "container": "containername",
+ "key": "storagekey"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "South Central US",
+ "etag": "e1266b83-9bda-4797-a906-1bf82c8eb09a",
+ "tags": null,
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/kafka-4.0.1000.1.1911212244.json",
+ "kind": "KAFKA",
+ "componentVersion": {
+ "Kafka": "2.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d3_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d3_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ },
+ "dataDisksGroups": [
+ {
+ "disksPerNode": 2,
+ "storageAccountType": "Standard_LRS",
+ "diskSizeGB": 1023
+ }
+ ]
+ },
+ {
+ "name": "kafkamanagementnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-25T03:43:23.663",
+ "quotaInfo": {
+ "coresUsed": 52
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ },
+ {
+ "name": "KafkaRestProxyPublicEndpoint",
+ "protocol": "TCP",
+ "location": "cluster1-kafkarest.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard",
+ "kafkaRestProperties": {
+ "clientGroupInfo": {
+ "groupName": "security group name",
+ "groupId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopAdlsGen2.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopAdlsGen2.json
index 9a0e11c8ab1a..8bdcfef24efd 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopAdlsGen2.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopAdlsGen2.json
@@ -85,6 +85,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSecureHadoop.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSecureHadoop.json
index 496f662da09c..20ab37991f03 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSecureHadoop.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSecureHadoop.json
@@ -134,6 +134,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSshPassword.json
index 2c5de3dde2f6..e7dd4856a735 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSshPassword.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSshPassword.json
@@ -85,6 +85,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSshPublicKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSshPublicKey.json
index 2539d7c38ae6..e872cdb91bbb 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSshPublicKey.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxHadoopSshPublicKey.json
@@ -91,6 +91,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxSparkSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxSparkSshPassword.json
index 52a9f8ea2112..83d5e1f521c6 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxSparkSshPassword.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateLinuxSparkSshPassword.json
@@ -74,6 +74,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetExtension.json
index fdd210907b98..a89594257926 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetExtension.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetExtension.json
@@ -7,6 +7,11 @@
"extensionName": "clustermonitoring"
},
"responses": {
- "200": {}
+ "200": {
+ "body": {
+ "workspaceId": "id",
+ "primaryKey": "key"
+ }
+ }
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetLinuxClusterMonitoringStatus.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetLinuxClusterMonitoringStatus.json
index c8edc4298012..5a844bf3dc25 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetLinuxClusterMonitoringStatus.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetLinuxClusterMonitoringStatus.json
@@ -6,6 +6,11 @@
"subscriptionId": "subid"
},
"responses": {
- "200": {}
+ "200": {
+ "body": {
+ "clusterMonitoringEnabled": true,
+ "workspaceId": "id"
+ }
+ }
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
index c55dbec56870..0b17810e3172 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
@@ -59,6 +59,9 @@
},
"Create HDInsight cluster with Autoscale configuration": {
"$ref": "./examples/CreateHDInsightClusterWithAutoscaleConfig.json"
+ },
+ "Create Kafka cluster with Kafka Rest Proxy": {
+ "$ref": "./examples/CreateKafkaClusterWithKafkaRestProxy.json"
}
},
"parameters": [
@@ -553,6 +556,28 @@
}
}
},
+ "ClientGroupInfo": {
+ "description": "The information of AAD security group.",
+ "properties": {
+ "groupName": {
+ "type": "string",
+ "description": "The AAD security group name."
+ },
+ "groupId": {
+ "type": "string",
+ "description": "The AAD security group id."
+ }
+ }
+ },
+ "KafkaRestProperties": {
+ "description": "The kafka rest proxy configuration which contains AAD security group information.",
+ "properties": {
+ "clientGroupInfo": {
+ "$ref": "#/definitions/ClientGroupInfo",
+ "description": "The information of AAD security group."
+ }
+ }
+ },
"SecurityProfile": {
"description": "The security profile which contains Ssh public key for the HDInsight cluster.",
"properties": {
@@ -867,7 +892,7 @@
},
"fileSystem": {
"type": "string",
- "description": "The filesystem, only to be specified for Azure Data Lake Storage type Gen 2."
+ "description": "The filesystem, only to be specified for Azure Data Lake Storage Gen 2."
},
"key": {
"type": "string",
@@ -931,6 +956,10 @@
"$ref": "#/definitions/ClusterDefinition",
"description": "The cluster definition."
},
+ "kafkaRestProperties": {
+ "$ref": "#/definitions/KafkaRestProperties",
+ "description": "The cluster kafka rest proxy configuration."
+ },
"securityProfile": {
"$ref": "#/definitions/SecurityProfile",
"description": "The security profile."
@@ -1066,6 +1095,10 @@
"$ref": "#/definitions/ClusterDefinition",
"description": "The cluster definition."
},
+ "kafkaRestProperties": {
+ "$ref": "#/definitions/KafkaRestProperties",
+ "description": "The cluster kafka rest proxy configuration."
+ },
"securityProfile": {
"$ref": "#/definitions/SecurityProfile",
"description": "The security profile."
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
index dc7278ca8a9f..8fc20a42075e 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
@@ -117,6 +117,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json
new file mode 100644
index 000000000000..ceb89af0adc5
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json
@@ -0,0 +1,223 @@
+{
+ "parameters": {
+ "clusterName": "cluster1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "clusterVersion": "4.0",
+ "osType": "Linux",
+ "tier": "Standard",
+ "clusterDefinition": {
+ "kind": "kafka",
+ "componentVersion": {
+ "Kafka": "2.1"
+ },
+ "configurations": {
+ "gateway": {
+ "restAuthCredential.isEnabled": true,
+ "restAuthCredential.username": "admin",
+ "restAuthCredential.password": "**********"
+ }
+ }
+ },
+ "kafkaRestProperties": {
+ "clientGroupInfo": {
+ "groupName": "Kafka security group name",
+ "groupId": "00000000-0000-0000-0000-111111111111"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "Large"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "Large"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ },
+ "dataDisksGroups": [
+ {
+ "disksPerNode": 8
+ }
+ ]
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "Small"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ }
+ },
+ {
+ "name": "kafkamanagementnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "Standard_D4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "kafkauser",
+ "password": "**********"
+ }
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "storageaccounts": [
+ {
+ "name": "mystorage.blob.core.windows.net",
+ "isDefault": true,
+ "container": "containername",
+ "key": "storagekey"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "South Central US",
+ "etag": "e1266b83-9bda-4797-a906-1bf82c8eb09a",
+ "tags": null,
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/kafka-4.0.1000.1.1911212244.json",
+ "kind": "KAFKA",
+ "componentVersion": {
+ "Kafka": "2.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d3_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d3_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ },
+ "dataDisksGroups": [
+ {
+ "disksPerNode": 2,
+ "storageAccountType": "Standard_LRS",
+ "diskSizeGB": 1023
+ }
+ ]
+ },
+ {
+ "name": "kafkamanagementnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-25T03:43:23.663",
+ "quotaInfo": {
+ "coresUsed": 52
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ },
+ {
+ "name": "KafkaRestProxyPublicEndpoint",
+ "protocol": "TCP",
+ "location": "cluster1-kafkarest.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard",
+ "kafkaRestProperties": {
+ "clientGroupInfo": {
+ "groupName": "security group name",
+ "groupId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json
index 42c0c1b71969..5467d70a3d31 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json
@@ -85,6 +85,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json
index a5f42f87fd89..b5821acec2b7 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json
@@ -134,6 +134,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json
index dbc88bb847c8..b906aff4322a 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json
@@ -85,6 +85,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json
index d48d5a2670fb..3aa9155f083f 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json
@@ -91,6 +91,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json
index 275b9fbb8aff..5455232d34d2 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json
@@ -74,6 +74,85 @@
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zzy-test-rg/providers/Microsoft.HDInsight/clusters/cluster1",
+ "name": "cluster1",
+ "type": "Microsoft.HDInsight/clusters",
+ "location": "East US",
+ "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
+ "properties": {
+ "clusterVersion": "4.0.1000.1",
+ "osType": "Linux",
+ "clusterDefinition": {
+ "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
+ "kind": "HADOOP",
+ "componentVersion": {
+ "Hadoop": "3.1"
+ }
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "name": "headnode",
+ "targetInstanceCount": 2,
+ "hardwareProfile": {
+ "vmSize": "standard_d12_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "standard_d4_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ },
+ {
+ "name": "zookeepernode",
+ "targetInstanceCount": 3,
+ "hardwareProfile": {
+ "vmSize": "standard_a2_v2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "clusterState": "Running",
+ "createdDate": "2019-11-18T12:25:43.48",
+ "quotaInfo": {
+ "coresUsed": 40
+ },
+ "connectivityEndpoints": [
+ {
+ "name": "SSH",
+ "protocol": "TCP",
+ "location": "cluster1-ssh.azurehdinsight.net",
+ "port": 22
+ },
+ {
+ "name": "HTTPS",
+ "protocol": "TCP",
+ "location": "cluster1.azurehdinsight.net",
+ "port": 443
+ }
+ ],
+ "tier": "Standard"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetExtension.json
index ab58b23cc9d1..55763d611c74 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetExtension.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetExtension.json
@@ -7,6 +7,11 @@
"extensionName": "clustermonitoring"
},
"responses": {
- "200": {}
+ "200": {
+ "body": {
+ "workspaceId": "id",
+ "primaryKey": "key"
+ }
+ }
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json
index 5449014ec63c..27bc13e2cf3b 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json
@@ -6,6 +6,11 @@
"subscriptionId": "subid"
},
"responses": {
- "200": {}
+ "200": {
+ "body": {
+ "clusterMonitoringEnabled": true,
+ "workspaceId": "id"
+ }
+ }
}
}
From eb99d3181e28b619053e8a335460541c04c2cc94 Mon Sep 17 00:00:00 2001
From: Hassan Rasheed
Date: Wed, 4 Dec 2019 20:02:00 -0600
Subject: [PATCH 048/469] Create proxy.json (#7797)
---
.../hdinsight-kafka-rest-proxy/proxy.json | 599 ++++++++++++++++++
1 file changed, 599 insertions(+)
create mode 100644 specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json
diff --git a/specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json b/specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json
new file mode 100644
index 000000000000..8b7e5335e37a
--- /dev/null
+++ b/specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json
@@ -0,0 +1,599 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "description": "This is a Kafka Restproxy Api lists.",
+ "version": "v1",
+ "title": "Kafka Restproxy APIs",
+ "contact": {
+ "name": "HDInsight"
+ }
+ },
+ "host": "clustername-kafkarest.azurehdinsight.net",
+ "basePath": "/",
+ "tags": [
+ {
+ "name": "v1consumer",
+ "description": "Consume records"
+ },
+ {
+ "name": "v1metadata",
+ "description": "Get the metadata of topic and partition"
+ },
+ {
+ "name": "v1producer",
+ "description": "Produce records"
+ },
+ {
+ "name": "v1status",
+ "description": "Get Kafka Restproxy status"
+ },
+ {
+ "name": "v1topics",
+ "description": "Manage Kafka topics"
+ }
+ ],
+ "schemes": [ "https" ],
+ "paths": {
+ "/v1/consumer/topics/{topic}/partitions/{partition}/offsets/{offset}": {
+ "get": {
+ "tags": [ "v1consumer" ],
+ "summary": "Consume records using a simple consumer",
+ "description": "Consume records from one partition of a topic beginning with a specific offset. By default count is 1. It can read maximum of 6 megabytes of data at once",
+ "operationId": "consumeTopicInPartitionWithOffset",
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "parameters": [
+ {
+ "name": "topic",
+ "in": "path",
+ "description": "Topic to consume the records from",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "partition",
+ "in": "path",
+ "description": "Partition ID to consume the records from",
+ "required": true,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "offset",
+ "in": "path",
+ "description": "Offset to start from",
+ "required": true,
+ "type": "integer",
+ "format": "int64"
+ },
+ {
+ "name": "count",
+ "in": "query",
+ "description": "Number of records to consume (optional). By default count is 1. It returns either count of records or 6 megabytes of data, which is smaller.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConsumeRecord"
+ }
+ }
+ },
+ "400": {
+ "description": "Bad Request"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ },
+ "405": {
+ "description": "Method Not Allowed"
+ },
+ "500": {
+ "description": "Internal Server Error"
+ }
+ }
+ }
+ },
+ "/v1/metadata/brokers": {
+ "get": {
+ "tags": [ "v1metadata" ],
+ "summary": "Get a list of Kafka brokers",
+ "description": "Get a list of Kafka brokers with hostname, port, and broker id",
+ "operationId": "getBrokers",
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "$ref": "#/definitions/BrokerResponse"
+ }
+ },
+ "400": {
+ "description": "Bad Request"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ },
+ "405": {
+ "description": "Method Not Allowed"
+ },
+ "500": {
+ "description": "Internal Server Error"
+ }
+ }
+ }
+ },
+ "/v1/metadata/topics": {
+ "get": {
+ "tags": [ "v1metadata" ],
+ "summary": "Get a list of Kafka topics",
+ "description": "Get a list of Kafka topics. If it is a newly created topic, please wait a few seconds for it to show up.",
+ "operationId": "getTopics",
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "$ref": "#/definitions/TopicListResponse"
+ }
+ },
+ "400": {
+ "description": "Bad Request"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ },
+ "405": {
+ "description": "Method Not Allowed"
+ },
+ "500": {
+ "description": "Internal Server Error"
+ }
+ }
+ }
+ },
+ "/v1/metadata/topics/{topic}/partitions": {
+ "get": {
+ "tags": [ "v1metadata" ],
+ "summary": "Get metadata about all partitions for a specific topic",
+ "description": "Get metadata about all partitions for a specific topic with partition ID, earliest offset, latest offset, leader, replicas, and in-sync replicas",
+ "operationId": "getPartitions",
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "parameters": [
+ {
+ "name": "topic",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "$ref": "#/definitions/TopicMetadaResponse"
+ }
+ },
+ "400": {
+ "description": "Bad Request"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ },
+ "405": {
+ "description": "Method Not Allowed"
+ },
+ "500": {
+ "description": "Internal Server Error"
+ }
+ }
+ }
+ },
+ "/v1/metadata/topics/{topic}/partitions/{partition}": {
+ "get": {
+ "tags": [ "v1metadata" ],
+ "summary": "Get metadata about a specific Kafka topic-partition",
+ "description": "Get metadata about a specific Kafka topic-partition with partition ID, earliest offset, latest offset, leader, replicas, and in-sync replicas",
+ "operationId": "getPartitionMetadata",
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "parameters": [
+ {
+ "name": "topic",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "partition",
+ "in": "path",
+ "description": "Partition ID to get metadata for",
+ "required": true,
+ "type": "integer",
+ "format": "int32"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "$ref": "#/definitions/PartitionMetadataResponse"
+ }
+ },
+ "400": {
+ "description": "Bad Request"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ },
+ "405": {
+ "description": "Method Not Allowed"
+ },
+ "500": {
+ "description": "Internal Server Error"
+ }
+ }
+ }
+ },
+ "/v1/producer/topics/{topic}": {
+ "post": {
+ "tags": [ "v1producer" ],
+ "summary": "Produce records",
+ "description": "Produce records to a topic in Kafka. If producing records to a newly created topic, please wait a few seconds for the topic to show up.",
+ "operationId": "produceMessageToTopic",
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "parameters": [
+ {
+ "name": "topic",
+ "in": "path",
+ "description": "Topic to produce the records to",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "body",
+ "name": "ProducerRecords",
+ "description": "List of producer records to produce in one request",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ProducerRecords"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "400": {
+ "description": "Bad Request"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ },
+ "405": {
+ "description": "Method Not Allowed"
+ },
+ "500": {
+ "description": "Internal Server Error"
+ }
+ }
+ }
+ },
+ "/v1/status": {
+ "get": {
+ "tags": [ "v1status" ],
+ "summary": "Check the status of Kafka Rest proxy server",
+ "description": "Check the status of Kafka Rest proxy server",
+ "operationId": "checkRestproxyStatus",
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "/v1/topics/{topic}": {
+ "put": {
+ "tags": [ "v1topics" ],
+ "summary": "Create a topic",
+ "description": "Create a topic in Kafka with topic configuration",
+ "operationId": "putTopics",
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "parameters": [
+ {
+ "name": "topic",
+ "in": "path",
+ "description": "Name of the topic to be created",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "body",
+ "name": "TopicCreationRecord",
+ "description": "A description for a topic to be created",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/TopicCreationRecord"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "400": {
+ "description": "Bad Request"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ },
+ "405": {
+ "description": "Method Not Allowed"
+ },
+ "500": {
+ "description": "Internal Server Error"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ConsumeRecord": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Key for consumer record",
+ "readOnly": true
+ },
+ "value": {
+ "type": "string",
+ "description": "Value for consumer record",
+ "readOnly": true
+ },
+ "partition": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Partition ID for consumer record",
+ "readOnly": true
+ },
+ "offset": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Offset for consumer record",
+ "readOnly": true
+ }
+ },
+ "description": "List of consumer records"
+ },
+ "ProducerRecords": {
+ "type": "object",
+ "properties": {
+ "records": {
+ "type": "array",
+ "description": "List of producer records",
+ "items": {
+ "$ref": "#/definitions/ProducerRecord"
+ }
+ }
+ },
+ "description": "List of producer records to produce in one request"
+ },
+ "ProducerRecord": {
+ "type": "object",
+ "required": [ "value" ],
+ "properties": {
+ "value": {
+ "type": "object",
+ "description": "Value for producer record"
+ },
+ "key": {
+ "type": "object",
+ "description": "Key for producer record"
+ },
+ "partition": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Partition ID for producer record"
+ }
+ },
+ "description": "A producer record"
+ },
+ "BrokerResponse": {
+ "type": "object",
+ "properties": {
+ "brokers": {
+ "type": "array",
+ "description": "List of Kafka broker endpoints",
+ "items": {
+ "$ref": "#/definitions/BrokerEndpoint"
+ }
+ }
+ },
+ "description": "List of Kafka broker endpoints"
+ },
+ "PartitionMetadataResponse": {
+ "type": "object",
+ "properties": {
+ "partition_id": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Partition ID"
+ },
+ "earliest_offset": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Earliest offset for the topic-partition"
+ },
+ "latest_offset": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Latest offset for the topic-partition"
+ },
+ "leader": {
+ "description": "Leader broker endpoint for the topic-partition",
+ "$ref": "#/definitions/BrokerEndpoint"
+ },
+ "replicas": {
+ "type": "array",
+ "description": "List of replica broker endpoints for the topic-partition",
+ "items": {
+ "$ref": "#/definitions/BrokerEndpoint"
+ }
+ },
+ "isr": {
+ "type": "array",
+ "description": "List of broker endpoints of in-sync replicas for the topic-partition",
+ "items": {
+ "$ref": "#/definitions/BrokerEndpoint"
+ }
+ }
+ },
+ "description": "Metadata information about a topic-partition"
+ },
+ "TopicListResponse": {
+ "type": "object",
+ "properties": {
+ "topics": {
+ "type": "array",
+ "description": "List of topic names",
+ "uniqueItems": true,
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "List of topics"
+ },
+ "TopicMetadaResponse": {
+ "type": "object",
+ "properties": {
+ "topic": {
+ "type": "string",
+ "description": "Name of the topic"
+ },
+ "partitions": {
+ "type": "array",
+ "description": "List of partition metadata",
+ "items": {
+ "$ref": "#/definitions/PartitionMetadataResponse"
+ }
+ }
+ },
+ "description": "Metadata about a specific topic"
+ },
+ "BrokerEndpoint": {
+ "type": "object",
+ "properties": {
+ "hostName": {
+ "type": "string",
+ "description": "HostName for Kafka broker endpoint"
+ },
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Port for Kafka broker endpoint"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Broker ID for Kafka broker endpoint"
+ },
+ "rack": {
+ "type": "string",
+ "description": "Rack ID for Kafka broker endpoint"
+ }
+ },
+ "description": "Kafka broker endpoint"
+ },
+ "TopicCreationRecord": {
+ "type": "object",
+ "properties": {
+ "partition_count": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Partition count for the topic"
+ },
+ "replication_factor": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Replication factor for the topic"
+ },
+ "topic_properties": {
+ "type": "object",
+ "description": "Topic level configuration override for the topic",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "description": "A description for a topic to be created"
+ }
+ }
+}
From 32f47b54ac77322ded1b3ca8e3ce5db87493b78d Mon Sep 17 00:00:00 2001
From: Elia Grady
Date: Thu, 5 Dec 2019 05:18:18 +0200
Subject: [PATCH 049/469] Assessment metadata API (Azure Security Center)
(#7622)
* create assessmentMetadata.json
* prettier fix
* review fixes
* add userImpact, implementationEffort, threat fields to assessmentMetadata
* cleanup readme.md
* Fix property name
* prettier fixes
* Property casing fix
---
.../assessmentMetadata.json | 530 ++++++++++++++++++
...essmentsMetadata_subscription_example.json | 53 ++
...essmentsMetadata_subscription_example.json | 10 +
.../GetAssessmentsMetadata_example.json | 33 ++
...essmentsMetadata_subscription_example.json | 34 ++
.../ListAssessmentsMetadata_example.json | 78 +++
...essmentsMetadata_subscription_example.json | 61 ++
.../security/resource-manager/readme.md | 83 +--
8 files changed, 841 insertions(+), 41 deletions(-)
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
new file mode 100644
index 000000000000..cd2adb339f49
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
@@ -0,0 +1,530 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Security Center",
+ "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
+ "version": "2019-01-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Security/assessmentMetadata": {
+ "get": {
+ "x-ms-examples": {
+ "List security assessment metadata": {
+ "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json"
+ }
+ },
+ "tags": [
+ "Assessments Metadata"
+ ],
+ "description": "Get metadata information on all assessment types",
+ "operationId": "AssessmentsMetadata_List",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessmentMetadataList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}": {
+ "get": {
+ "x-ms-examples": {
+ "Get security assessment metadata": {
+ "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json"
+ }
+ },
+ "tags": [
+ "Assessments Metadata"
+ ],
+ "description": "Get metadata information on an assessment type",
+ "operationId": "AssessmentsMetadata_Get",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/AssessmentsMetadataName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessmentMetadata"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata": {
+ "get": {
+ "x-ms-examples": {
+ "List security assessment metadata for subscription": {
+ "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json"
+ }
+ },
+ "tags": [
+ "Assessments Metadata"
+ ],
+ "description": "Get metadata information on all assessment types in a specific subscription",
+ "operationId": "AssessmentsMetadataSubscription_List",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessmentMetadataList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}": {
+ "get": {
+ "x-ms-examples": {
+ "Get security assessment metadata for subscription": {
+ "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json"
+ }
+ },
+ "tags": [
+ "Assessments Metadata"
+ ],
+ "description": "Get metadata information on an assessment type in a specific subscription",
+ "operationId": "AssessmentsMetadataSubscription_Get",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/AssessmentsMetadataName"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessmentMetadata"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Create security assessment metadata for subscription": {
+ "$ref": "./examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json"
+ }
+ },
+ "tags": [
+ "Assessments Metadata"
+ ],
+ "description": "Create metadata information on an assessment type in a specific subscription",
+ "operationId": "AssessmentsMetadataSubscription_Create",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/AssessmentsMetadataName"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/SecurityAssessmentMetadata"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessmentMetadata"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Delete a security assessment metadata for subscription": {
+ "$ref": "./examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json"
+ }
+ },
+ "tags": [
+ "Assessments Metadata"
+ ],
+ "description": "Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription",
+ "operationId": "AssessmentsMetadataSubscription_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/AssessmentsMetadataName"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "SecurityAssessmentMetadataList": {
+ "type": "object",
+ "description": "List of security assessment metadata",
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityAssessmentMetadata"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page."
+ }
+ }
+ },
+ "SecurityAssessmentMetadata": {
+ "type": "object",
+ "description": "Security assessment metadata",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SecurityAssessmentMetadataProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/Resource"
+ }
+ ]
+ },
+ "SecurityAssessmentMetadataProperties": {
+ "type": "object",
+ "description": "Describes properties of an assessment metadata.",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "User friendly display name of the assessment"
+ },
+ "policyDefinitionId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Azure resource ID of the policy definition that turns this assessment calculation on"
+ },
+ "description": {
+ "type": "string",
+ "description": "Human readable description of the assessment"
+ },
+ "remediationDescription": {
+ "type": "string",
+ "description": "Human readable description of what you should do to mitigate this security issue"
+ },
+ "category": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The category of resource that is at risk when the assessment is unhealthy",
+ "enum": [
+ "Compute",
+ "Networking",
+ "Data",
+ "IdentityAndAccess",
+ "IoT"
+ ],
+ "x-ms-enum": {
+ "name": "category",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Compute"
+ },
+ {
+ "value": "Networking"
+ },
+ {
+ "value": "Data"
+ },
+ {
+ "value": "IdentityAndAccess"
+ },
+ {
+ "value": "IoT"
+ }
+ ]
+ }
+ }
+ },
+ "severity": {
+ "type": "string",
+ "description": "The severity level of the assessment",
+ "enum": [
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "severity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Low"
+ },
+ {
+ "value": "Medium"
+ },
+ {
+ "value": "High"
+ }
+ ]
+ }
+ },
+ "userImpact": {
+ "type": "string",
+ "description": "The user impact of the assessment",
+ "enum": [
+ "Low",
+ "Moderate",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "userImpact",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Low"
+ },
+ {
+ "value": "Moderate"
+ },
+ {
+ "value": "High"
+ }
+ ]
+ }
+ },
+ "implementationEffort": {
+ "type": "string",
+ "description": "The implementation effort required to remediate this assessment",
+ "enum": [
+ "Low",
+ "Moderate",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "implementationEffort",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Low"
+ },
+ {
+ "value": "Moderate"
+ },
+ {
+ "value": "High"
+ }
+ ]
+ }
+ },
+ "threats": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "Threats impact of the assessment",
+ "enum": [
+ "accountBreach",
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider",
+ "elevationOfPrivilege",
+ "threatResistance",
+ "missingCoverage",
+ "denialOfService"
+ ],
+ "x-ms-enum": {
+ "name": "threats",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "accountBreach"
+ },
+ {
+ "value": "dataExfiltration"
+ },
+ {
+ "value": "dataSpillage"
+ },
+ {
+ "value": "maliciousInsider"
+ },
+ {
+ "value": "elevationOfPrivilege"
+ },
+ {
+ "value": "threatResistance"
+ },
+ {
+ "value": "missingCoverage"
+ },
+ {
+ "value": "denialOfService"
+ }
+ ]
+ }
+ }
+ },
+ "preview": {
+ "type": "boolean",
+ "description": "True if this assessment is in preview release status"
+ },
+ "assessmentType": {
+ "type": "string",
+ "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition",
+ "enum": [
+ "BuiltIn",
+ "CustomPolicy",
+ "CustomerManaged"
+ ],
+ "x-ms-enum": {
+ "name": "assessmentType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "BuiltIn",
+ "description": "Azure Security Center managed assessments"
+ },
+ {
+ "value": "CustomPolicy",
+ "description": "User defined policies that are automatically ingested from Azure Policy to Azure Security Center"
+ },
+ {
+ "value": "CustomerManaged",
+ "description": "User assessments pushed directly by the user or other third party to Azure Security Center"
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "displayName",
+ "severity",
+ "assessmentType"
+ ]
+ }
+ },
+ "parameters": {
+ "AssessmentsMetadataName": {
+ "name": "assessmentMetadataName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Assessment Key - Unique key for the assessment type",
+ "x-ms-parameter-location": "method"
+ },
+ "SecurityAssessmentMetadata": {
+ "name": "assessmentMetadata",
+ "in": "body",
+ "required": true,
+ "description": "AssessmentMetadata object",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessmentMetadata"
+ },
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json
new file mode 100644
index 000000000000..a4f0a54edd29
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "0980887d-03d6-408c-9566-532f3456804e",
+ "assessmentMetadataName": "ca039e75-a276-4175-aebc-bcd41e4b14b7",
+ "assessmentMetadata": {
+ "properties": {
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de",
+ "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.",
+ "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set",
+ "category": [
+ "Compute"
+ ],
+ "severity": "Medium",
+ "userImpact": "Low",
+ "implementationEffort": "Low",
+ "threats": [
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider"
+ ],
+ "assessmentType": "CustomerManaged"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Security/assessmentMetadata/ca039e75-a276-4175-aebc-bcd41e4b14b7",
+ "name": "ca039e75-a276-4175-aebc-bcd41e4b14b7",
+ "type": "Microsoft.Security/assessmentMetadata",
+ "properties": {
+ "displayName": "My organization security assessment",
+ "description": "Assessment that my organization created to view our security assessment in Azure Security Center",
+ "remediationDescription": "Fix it with these remediation instructions",
+ "category": [
+ "Compute"
+ ],
+ "severity": "Medium",
+ "userImpact": "Low",
+ "implementationEffort": "Low",
+ "threats": [
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider"
+ ],
+ "assessmentType": "CustomerManaged"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json
new file mode 100644
index 000000000000..797cb4674202
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json
@@ -0,0 +1,10 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "0980887d-03d6-408c-9566-532f3456804e",
+ "assessmentMetadataName": "ca039e75-a276-4175-aebc-bcd41e4b14b7"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json
new file mode 100644
index 000000000000..d97f85567e01
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "assessmentMetadataName": "21300918-b2e3-0346-785f-c77ff57d243b"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b",
+ "name": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "type": "Microsoft.Security/assessmentMetadata",
+ "properties": {
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de",
+ "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.",
+ "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set",
+ "category": [
+ "Compute"
+ ],
+ "severity": "Medium",
+ "userImpact": "Low",
+ "implementationEffort": "Low",
+ "threats": [
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider"
+ ],
+ "assessmentType": "BuiltIn"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json
new file mode 100644
index 000000000000..fdd8f69fe296
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "0980887d-03d6-408c-9566-532f3456804e",
+ "assessmentMetadataName": "21300918-b2e3-0346-785f-c77ff57d243b"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b",
+ "name": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "type": "Microsoft.Security/assessmentMetadata",
+ "properties": {
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de",
+ "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.",
+ "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set",
+ "category": [
+ "Compute"
+ ],
+ "severity": "Medium",
+ "userImpact": "Low",
+ "implementationEffort": "Low",
+ "threats": [
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider"
+ ],
+ "assessmentType": "BuiltIn"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json
new file mode 100644
index 000000000000..3e0ab9018412
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b",
+ "name": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "type": "Microsoft.Security/assessmentMetadata",
+ "properties": {
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de",
+ "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.",
+ "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set",
+ "category": [
+ "Compute"
+ ],
+ "severity": "Medium",
+ "userImpact": "Low",
+ "implementationEffort": "Low",
+ "threats": [
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider"
+ ],
+ "assessmentType": "BuiltIn"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Security/assessmentMetadata/bc303248-3d14-44c2-96a0-55f5c326b5fe",
+ "name": "bc303248-3d14-44c2-96a0-55f5c326b5fe",
+ "type": "Microsoft.Security/assessmentMetadata",
+ "properties": {
+ "displayName": "Close management ports on your virtual machines",
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22730e10-96f6-4aac-ad84-9383d35b5917",
+ "description": "Open remote management ports expose your VM to a high level of risk from internet-based attacks that attempt to brute force credentials to gain admin access to the machine.",
+ "remediationDescription": "We recommend that you edit the inbound rules of the below virtual machines to restrict access to specific source ranges.
To restrict the access to your virtual machines: 1. Click on a VM from the list below 2. At the 'Networking' blade, click on each of the rules that allow management ports (e.g. RDP-3389, WINRM-5985, SSH-22) 3. Change the 'Action' property to 'Deny' 4. Click 'Save'",
+ "category": [
+ "Networking"
+ ],
+ "severity": "Medium",
+ "userImpact": "High",
+ "implementationEffort": "Low",
+ "threats": [
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider"
+ ],
+ "preview": true,
+ "assessmentType": "CustomPolicy"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Security/assessmentMetadata/ca039e75-a276-4175-aebc-bcd41e4b14b7",
+ "name": "ca039e75-a276-4175-aebc-bcd41e4b14b7",
+ "type": "Microsoft.Security/assessmentMetadata",
+ "properties": {
+ "displayName": "My organization security assessment",
+ "description": "Assessment that my organization created to view our security assessment in Azure Security Center",
+ "remediationDescription": "Fix it with these remediation instructions",
+ "category": [
+ "Compute"
+ ],
+ "severity": "Medium",
+ "userImpact": "Low",
+ "implementationEffort": "Low",
+ "threats": [],
+ "assessmentType": "CustomerManaged"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json
new file mode 100644
index 000000000000..9fb42c0ddeec
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "0980887d-03d6-408c-9566-532f3456804e"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b",
+ "name": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "type": "Microsoft.Security/assessmentMetadata",
+ "properties": {
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de",
+ "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.",
+ "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set",
+ "category": [
+ "Compute"
+ ],
+ "severity": "Medium",
+ "userImpact": "Low",
+ "implementationEffort": "Low",
+ "threats": [
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider"
+ ],
+ "assessmentType": "BuiltIn"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Security/assessmentMetadata/bc303248-3d14-44c2-96a0-55f5c326b5fe",
+ "name": "bc303248-3d14-44c2-96a0-55f5c326b5fe",
+ "type": "Microsoft.Security/assessmentMetadata",
+ "properties": {
+ "displayName": "Close management ports on your virtual machines",
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22730e10-96f6-4aac-ad84-9383d35b5917",
+ "description": "Open remote management ports expose your VM to a high level of risk from internet-based attacks that attempt to brute force credentials to gain admin access to the machine.",
+ "remediationDescription": "We recommend that you edit the inbound rules of the below virtual machines to restrict access to specific source ranges.
To restrict the access to your virtual machines: 1. Click on a VM from the list below 2. At the 'Networking' blade, click on each of the rules that allow management ports (e.g. RDP-3389, WINRM-5985, SSH-22) 3. Change the 'Action' property to 'Deny' 4. Click 'Save'",
+ "category": [
+ "Networking"
+ ],
+ "severity": "Medium",
+ "userImpact": "High",
+ "implementationEffort": "Low",
+ "threats": [
+ "dataExfiltration",
+ "dataSpillage",
+ "maliciousInsider"
+ ],
+ "preview": true,
+ "assessmentType": "CustomPolicy"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index 360d406cca9b..4270a4a5f421 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -157,6 +157,7 @@ input-file:
- Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/automations.json
+- Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
# Needed when there is more than one input file
override-info:
@@ -325,46 +326,46 @@ AutoRest V3 generators require the use of `--tag=all-api-versions` to select api
This block is updated by an automatic script. Edits may be lost!
-``` yaml $(tag) == 'all-api-versions' /* autogenerated */
-# include the azure profile definitions from the standard location
-require: $(this-folder)/../../../profiles/readme.md
-
-# all the input files across all versions
-input-file:
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/compliances.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/settings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/operations.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/locations.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/tasks.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/alerts.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/topologies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
- - $(this-folder)/Microsoft.Security/stable/2018-06-01/pricings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
- - $(this-folder)/Microsoft.Security/stable/2019-01-01/alerts.json
- - $(this-folder)/Microsoft.Security/stable/2017-08-01/complianceResults.json
- - $(this-folder)/Microsoft.Security/stable/2019-01-01/settings.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
-
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/compliances.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/settings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/operations.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/locations.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/tasks.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/alerts.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/topologies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
+ - $(this-folder)/Microsoft.Security/stable/2018-06-01/pricings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
+ - $(this-folder)/Microsoft.Security/stable/2019-01-01/alerts.json
+ - $(this-folder)/Microsoft.Security/stable/2017-08-01/complianceResults.json
+ - $(this-folder)/Microsoft.Security/stable/2019-01-01/settings.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
+
```
If there are files that should not be in the `all-api-versions` set,
@@ -373,4 +374,4 @@ uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
-```
+```
\ No newline at end of file
From 2a2d28d65eb20b77b443c88020ccb0d175065db9 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Thu, 5 Dec 2019 03:19:50 +0000
Subject: [PATCH 050/469] regenerated all-api-versions
---
.../security/resource-manager/readme.md | 81 ++++++++++---------
1 file changed, 41 insertions(+), 40 deletions(-)
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index 4270a4a5f421..010edaf485a1 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -326,46 +326,47 @@ AutoRest V3 generators require the use of `--tag=all-api-versions` to select api
This block is updated by an automatic script. Edits may be lost!
-``` yaml $(tag) == 'all-api-versions' /* autogenerated */
-# include the azure profile definitions from the standard location
-require: $(this-folder)/../../../profiles/readme.md
-
-# all the input files across all versions
-input-file:
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/compliances.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/settings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/operations.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/locations.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/tasks.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/alerts.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/topologies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
- - $(this-folder)/Microsoft.Security/stable/2018-06-01/pricings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
- - $(this-folder)/Microsoft.Security/stable/2019-01-01/alerts.json
- - $(this-folder)/Microsoft.Security/stable/2017-08-01/complianceResults.json
- - $(this-folder)/Microsoft.Security/stable/2019-01-01/settings.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
-
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/compliances.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/settings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/operations.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/locations.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/tasks.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/alerts.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/topologies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
+ - $(this-folder)/Microsoft.Security/stable/2018-06-01/pricings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
+ - $(this-folder)/Microsoft.Security/stable/2019-01-01/alerts.json
+ - $(this-folder)/Microsoft.Security/stable/2017-08-01/complianceResults.json
+ - $(this-folder)/Microsoft.Security/stable/2019-01-01/settings.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
+
```
If there are files that should not be in the `all-api-versions` set,
From fbc094f3097e954f008f8f415a2f95a6dfa3c13b Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Thu, 5 Dec 2019 13:00:07 +0800
Subject: [PATCH 051/469] Fix the error that could not trigger SDK Automation
if base branch is not master (#7894)
---
.azure-pipelines/SDKAutomation.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.azure-pipelines/SDKAutomation.yml b/.azure-pipelines/SDKAutomation.yml
index 7aa25909dd75..521308755773 100644
--- a/.azure-pipelines/SDKAutomation.yml
+++ b/.azure-pipelines/SDKAutomation.yml
@@ -2,7 +2,7 @@ trigger:
batch: false
branches:
include:
- - master
+ - "*"
jobs:
- job: "SDKAutomation"
@@ -41,7 +41,7 @@ jobs:
curl \
-s https://api.github.com/repos/$(Build.Repository.Name)/commits/$(Build.SourceVersion)/pulls \
-H "Accept: application/vnd.github.groot-preview+json" \
- | python3 -c "import sys,json; a=json.load(sys.stdin); print(f'##vso[task.setvariable variable=PR_NUMBER]{a[0][\"number\"]}' if len(a)>0 else '##vso[task.logissue type=error]Last commit $(Build.SourceVersion) doesnot have a related PR')"
+ | python3 -c "import sys,json; a=json.load(sys.stdin); print(f'##vso[task.setvariable variable=PR_NUMBER]{a[0][\"number\"]}' if len(a)>0 and a[0][\"base\"][\"ref\"]=='master' else '##vso[task.logissue type=error]Last commit $(Build.SourceVersion) doesnot have a related PR')"
displayName: Get PR_NUMBER
condition: in(variables['Build.Reason'], 'IndividualCI', 'Manual')
- script: sudo chown `id -ng`:`id -ng` . && npm start
From dd08d84203547c2dc349baad2f092d67edb24a38 Mon Sep 17 00:00:00 2001
From: jagadisk
Date: Wed, 4 Dec 2019 23:38:32 -0800
Subject: [PATCH 052/469] Add the subscription diagnostic settings API (#7873)
---
...OrUpdateSubscriptionDiagnosticSetting.json | 71 ++++
.../deleteSubscriptionDiagnosticSetting.json | 11 +
.../getSubscriptionDiagnosticSetting.json | 57 +++
.../listSubscriptionDiagnosticSettings.json | 59 +++
.../subscriptionDiagnosticsSettings_API.json | 341 ++++++++++++++++++
.../monitor/resource-manager/readme.md | 31 ++
6 files changed, 570 insertions(+)
create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateSubscriptionDiagnosticSetting.json
create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteSubscriptionDiagnosticSetting.json
create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getSubscriptionDiagnosticSetting.json
create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listSubscriptionDiagnosticSettings.json
create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateSubscriptionDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateSubscriptionDiagnosticSetting.json
new file mode 100644
index 000000000000..8758bf0153d8
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateSubscriptionDiagnosticSetting.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "subscriptionId": "fb9f25f9-5785-4510-a38f-a62f188eb9f8",
+ "name": "ds4",
+ "api-version": "2017-05-01-preview",
+ "parameters": {
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "eventHubName": "myeventhub",
+ "logs": [
+ {
+ "category": "Security",
+ "enabled": true
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/providers/AzureResourceManager/diagnosticSettings/ds4",
+ "type": null,
+ "name": "ds4",
+ "location": "global",
+ "properties": {
+ "storageAccountId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.OperationalInsights/workspaces/test1",
+ "eventHubAuthorizationRuleId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "logs": [
+ {
+ "category": "Security",
+ "enabled": true
+ },
+ {
+ "category": "Administrative",
+ "enabled": true
+ },
+ {
+ "category": "ServiceHealth",
+ "enabled": true
+ },
+ {
+ "category": "Alert",
+ "enabled": true
+ },
+ {
+ "category": "Recommendation",
+ "enabled": true
+ },
+ {
+ "category": "Policy",
+ "enabled": true
+ },
+ {
+ "category": "Autoscale",
+ "enabled": true
+ },
+ {
+ "category": "ResourceHealth",
+ "enabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteSubscriptionDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteSubscriptionDiagnosticSetting.json
new file mode 100644
index 000000000000..72c40f9ae1bd
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteSubscriptionDiagnosticSetting.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "subscriptionId": "1a66ce04-b633-4a0b-b2bc-a912ec8986a6",
+ "name": "ds4",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getSubscriptionDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getSubscriptionDiagnosticSetting.json
new file mode 100644
index 000000000000..de2d41d84c12
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getSubscriptionDiagnosticSetting.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "fb9f25f9-5785-4510-a38f-a62f188eb9f8",
+ "name": "mysetting",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/providers/AzureResourceManager/diagnosticSettings/ds4",
+ "type": null,
+ "name": "ds4",
+ "location": "global",
+ "properties": {
+ "storageAccountId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.OperationalInsights/workspaces/test1",
+ "eventHubAuthorizationRuleId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "logs": [
+ {
+ "category": "Security",
+ "enabled": true
+ },
+ {
+ "category": "Administrative",
+ "enabled": true
+ },
+ {
+ "category": "ServiceHealth",
+ "enabled": true
+ },
+ {
+ "category": "Alert",
+ "enabled": true
+ },
+ {
+ "category": "Recommendation",
+ "enabled": true
+ },
+ {
+ "category": "Policy",
+ "enabled": true
+ },
+ {
+ "category": "Autoscale",
+ "enabled": true
+ },
+ {
+ "category": "ResourceHealth",
+ "enabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listSubscriptionDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listSubscriptionDiagnosticSettings.json
new file mode 100644
index 000000000000..bcb42cf347fe
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listSubscriptionDiagnosticSettings.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "subscriptionId": "fb9f25f9-5785-4510-a38f-a62f188eb9f8",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/providers/AzureResourceManager/diagnosticSettings/ds4",
+ "type": null,
+ "name": "ds4",
+ "properties": {
+ "storageAccountId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.OperationalInsights/workspaces/test1",
+ "eventHubAuthorizationRuleId": "/subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "logs": [
+ {
+ "category": "Security",
+ "enabled": true
+ },
+ {
+ "category": "Administrative",
+ "enabled": true
+ },
+ {
+ "category": "ServiceHealth",
+ "enabled": true
+ },
+ {
+ "category": "Alert",
+ "enabled": true
+ },
+ {
+ "category": "Recommendation",
+ "enabled": true
+ },
+ {
+ "category": "Policy",
+ "enabled": true
+ },
+ {
+ "category": "Autoscale",
+ "enabled": true
+ },
+ {
+ "category": "ResourceHealth",
+ "enabled": true
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json
new file mode 100644
index 000000000000..eeccf0af0225
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json
@@ -0,0 +1,341 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "MonitorManagementClient",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
+ },
+ "version": "2017-05-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/diagnosticSettings/{name}": {
+ "get": {
+ "tags": [
+ "SubscriptionDiagnosticSettings"
+ ],
+ "operationId": "SubscriptionDiagnosticSettings_Get",
+ "description": "Gets the active subscription diagnostic settings for the specified resource.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/NameParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to get more information about diagnostic setting.",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionDiagnosticSettingsResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets the subscription diagnostic setting": {
+ "$ref": "./examples/getSubscriptionDiagnosticSetting.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SubscriptionDiagnosticSettings"
+ ],
+ "operationId": "SubscriptionDiagnosticSettings_CreateOrUpdate",
+ "description": "Creates or updates subscription diagnostic settings for the specified resource.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SubscriptionDiagnosticSettingsResource"
+ },
+ "description": "Parameters supplied to the operation."
+ },
+ {
+ "$ref": "#/parameters/NameParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to create a subscription diagnostic setting",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionDiagnosticSettingsResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Creates or Updates the subscription diagnostic setting": {
+ "$ref": "./examples/createOrUpdateSubscriptionDiagnosticSetting.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SubscriptionDiagnosticSettings"
+ ],
+ "operationId": "SubscriptionDiagnosticSettings_Delete",
+ "description": "Deletes existing subscription diagnostic settings for the specified resource.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/NameParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to remove a subscription diagnostic setting"
+ },
+ "204": {
+ "description": "Successful request to remove a subscription diagnostic setting"
+ }
+ },
+ "x-ms-examples": {
+ "Deletes the subscription diagnostic setting": {
+ "$ref": "./examples/deleteSubscriptionDiagnosticSetting.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/diagnosticSettings": {
+ "get": {
+ "tags": [
+ "SubscriptionDiagnosticSettings"
+ ],
+ "operationId": "SubscriptionDiagnosticSettings_List",
+ "description": "Gets the active subscription diagnostic settings list for the specified subscriptionId.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to get more information about subscription diagnostic setting",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionDiagnosticSettingsResourceCollection"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets the subscription diagnostic setting": {
+ "$ref": "./examples/listSubscriptionDiagnosticSettings.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "SubscriptionProxyOnlyResource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Location of the resource"
+ }
+ },
+ "x-ms-azure-resource": true,
+ "description": "A proxy only azure resource object"
+ },
+ "SubscriptionLogSettings": {
+ "properties": {
+ "category": {
+ "type": "string",
+ "description": "Name of a Subscription Diagnostic Log category for a resource type this setting is applied to."
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "a value indicating whether this log is enabled."
+ }
+ },
+ "required": [
+ "enabled"
+ ],
+ "description": "Part of Subscription diagnostic setting. Specifies the settings for a particular log."
+ },
+ "SubscriptionDiagnosticSettings": {
+ "properties": {
+ "storageAccountId": {
+ "type": "string",
+ "description": "The resource ID of the storage account to which you would like to send Diagnostic Logs."
+ },
+ "serviceBusRuleId": {
+ "type": "string",
+ "description": "The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility."
+ },
+ "eventHubAuthorizationRuleId": {
+ "type": "string",
+ "description": "The resource Id for the event hub authorization rule."
+ },
+ "eventHubName": {
+ "type": "string",
+ "description": "The name of the event hub. If none is specified, the default event hub will be selected."
+ },
+ "logs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubscriptionLogSettings"
+ },
+ "description": "The list of logs settings."
+ },
+ "workspaceId": {
+ "type": "string",
+ "description": "The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
+ }
+ },
+ "description": "The subscription diagnostic settings."
+ },
+ "SubscriptionDiagnosticSettingsResource": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubscriptionProxyOnlyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SubscriptionDiagnosticSettings",
+ "description": "Properties of a Subscription Diagnostic Settings Resource."
+ }
+ },
+ "description": "The subscription diagnostic setting resource."
+ },
+ "SubscriptionDiagnosticSettingsResourceCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubscriptionDiagnosticSettingsResource"
+ },
+ "description": "The collection of subscription diagnostic settings resources."
+ }
+ },
+ "description": "Represents a collection of subscription diagnostic settings resources."
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The subscription id.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "NameParameter": {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the diagnostic setting.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md
index 8d842a8df7c6..60d9993f7843 100644
--- a/specification/monitor/resource-manager/readme.md
+++ b/specification/monitor/resource-manager/readme.md
@@ -32,6 +32,37 @@ tag: package-2019-06
```
+### Tag: package-2019-11
+
+These settings apply only when `--tag=package-2019-11` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-11'
+input-file:
+- Microsoft.Insights/stable/2015-04-01/autoscale_API.json
+- Microsoft.Insights/stable/2015-04-01/operations_API.json
+- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
+- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
+- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
+- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
+- Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json
+- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
+- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json
+- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
+- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
+- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
+- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
+- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
+- Microsoft.Insights/stable/2018-01-01/metrics_API.json
+- Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
+- Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
+- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
+- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
+- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
+- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
+- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
+```
+
+
### Tag: package-2019-06
These settings apply only when `--tag=package-2019-06` is specified on the command line.
From c2620299bb3a9605541e5278447d2e2fb10b75d1 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Thu, 5 Dec 2019 07:40:05 +0000
Subject: [PATCH 053/469] regenerated all-api-versions
---
specification/monitor/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md
index 60d9993f7843..041e6b5ddf9b 100644
--- a/specification/monitor/resource-manager/readme.md
+++ b/specification/monitor/resource-manager/readme.md
@@ -569,6 +569,7 @@ input-file:
- $(this-folder)/Microsoft.Insights/stable/2016-03-01/alertRules_API.json
- $(this-folder)/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- $(this-folder)/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
+ - $(this-folder)/Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json
- $(this-folder)/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
- $(this-folder)/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json
- $(this-folder)/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
From 9310dd04c46e22eee44d64c3e6179a237d5e32af Mon Sep 17 00:00:00 2001
From: Arik Olsh <47111029+arolshan@users.noreply.github.com>
Date: Fri, 6 Dec 2019 04:27:00 +0200
Subject: [PATCH 054/469] only add properties to old api (#7539)
---
.../stable/2015-05-01/components_API.json | 18 ++++++++++++++++++
.../2015-05-01/examples/ComponentsCreate.json | 6 +++++-
.../2015-05-01/examples/ComponentsGet.json | 6 +++++-
.../2015-05-01/examples/ComponentsList.json | 12 ++++++++++--
.../ComponentsListByResourceGroup.json | 12 ++++++++++--
.../2015-05-01/examples/ComponentsUpdate.json | 6 +++++-
.../examples/ComponentsUpdateTagsOnly.json | 6 +++++-
7 files changed, 58 insertions(+), 8 deletions(-)
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json
index 4531ca4f30e2..57efc81be161 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json
@@ -486,6 +486,24 @@
"externalDocs": {
"url": "https://aka.ms/sl0yqd"
}
+ },
+ "ConnectionString": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Application Insights component connection string."
+ },
+ "RetentionInDays": {
+ "type": "integer",
+ "description": "Retention period in days.",
+ "default": 90
+ },
+ "DisableIpMasking": {
+ "type": "boolean",
+ "description": "Disable IP masking."
+ },
+ "ImmediatePurgeDataOn30Days": {
+ "type": "boolean",
+ "description": "Purge data immediately after 30 days."
}
},
"required": [
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json
index d4394fc0e12b..a2603e240382 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json
@@ -35,7 +35,11 @@
"HockeyAppId": "",
"HockeyAppToken": "",
"provisioningState": "Succeeded",
- "SamplingPercentage": 100.0
+ "SamplingPercentage": 100.0,
+ "RetentionInDays": 90,
+ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc",
+ "DisableIpMasking": false,
+ "ImmediatePurgeDataOn30Days": false
}
}
}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json
index a3c1293a1e00..ea7eb18ea7d0 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json
@@ -26,7 +26,11 @@
"HockeyAppId": "",
"HockeyAppToken": "",
"provisioningState": "Succeeded",
- "SamplingPercentage": 100.0
+ "SamplingPercentage": 100.0,
+ "RetentionInDays": 90,
+ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc",
+ "DisableIpMasking": false,
+ "ImmediatePurgeDataOn30Days": false
}
}
}
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 c474d25e8d44..ccb105e6cac0 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
@@ -26,7 +26,11 @@
"HockeyAppId": "",
"HockeyAppToken": "",
"provisioningState": "Succeeded",
- "SamplingPercentage": 75.0
+ "SamplingPercentage": 75.0,
+ "RetentionInDays": 90,
+ "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc",
+ "DisableIpMasking": false,
+ "ImmediatePurgeDataOn30Days": false
}
},
{
@@ -48,7 +52,11 @@
"HockeyAppId": "",
"HockeyAppToken": "",
"provisioningState": "Succeeded",
- "SamplingPercentage": 30.0
+ "SamplingPercentage": 30.0,
+ "RetentionInDays": 90,
+ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc",
+ "DisableIpMasking": false,
+ "ImmediatePurgeDataOn30Days": false
}
}
],
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 9ff62be79504..dc9c2b395132 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
@@ -27,7 +27,11 @@
"HockeyAppId": "",
"HockeyAppToken": "",
"provisioningState": "Succeeded",
- "SamplingPercentage": 100.0
+ "SamplingPercentage": 100.0,
+ "RetentionInDays": 90,
+ "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc",
+ "DisableIpMasking": false,
+ "ImmediatePurgeDataOn30Days": false
}
},
{
@@ -49,7 +53,11 @@
"HockeyAppId": "",
"HockeyAppToken": "",
"provisioningState": "Succeeded",
- "SamplingPercentage": 50.0
+ "SamplingPercentage": 50.0,
+ "RetentionInDays": 90,
+ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc",
+ "DisableIpMasking": false,
+ "ImmediatePurgeDataOn30Days": false
}
}
],
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json
index 47733560cf56..ac92ef81e926 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json
@@ -37,7 +37,11 @@
"HockeyAppId": "",
"HockeyAppToken": "",
"provisioningState": "Succeeded",
- "SamplingPercentage": 100.0
+ "SamplingPercentage": 100.0,
+ "RetentionInDays": 90,
+ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc",
+ "DisableIpMasking": false,
+ "ImmediatePurgeDataOn30Days": false
}
}
}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json
index ba8fc91acc1c..3487365d9a29 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json
@@ -41,7 +41,11 @@
"HockeyAppId": "",
"HockeyAppToken": "",
"provisioningState": "Succeeded",
- "SamplingPercentage": 100.0
+ "SamplingPercentage": 100.0,
+ "RetentionInDays": 90,
+ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc",
+ "DisableIpMasking": false,
+ "ImmediatePurgeDataOn30Days": false
}
}
}
From a6f20ec7547f17a355aafee2ec2ad7a4fa78412a Mon Sep 17 00:00:00 2001
From: Jingshu923 <52914166+Jingshu923@users.noreply.github.com>
Date: Fri, 6 Dec 2019 12:41:12 +0800
Subject: [PATCH 055/469] Update GoogleAdWords and GoogleBigQuery clientId for
fix issue (#7903)
* Update Salesforce LinkedService Add ApiVersion
* Update GoogleAdWords and GoogleBigQuery clientId for fix issue
---
.../stable/2018-06-01/entityTypes/LinkedService.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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 b91fef4b4100..9862ee577cb7 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
@@ -3381,8 +3381,8 @@
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"clientId": {
- "description": "The client id of the google application used to acquire the refresh token.",
- "$ref": "../datafactory.json#/definitions/SecretBase"
+ "description": "The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string).",
+ "type": "object"
},
"clientSecret": {
"description": "The client secret of the google application used to acquire the refresh token.",
@@ -5470,8 +5470,8 @@
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"clientId": {
- "description": "The client id of the google application used to acquire the refresh token.",
- "$ref": "../datafactory.json#/definitions/SecretBase"
+ "description": "The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string).",
+ "type": "object"
},
"clientSecret": {
"description": "The client secret of the google application used to acquire the refresh token.",
From 9d69c88beb46cb363fa881e0691dd74b9409ff36 Mon Sep 17 00:00:00 2001
From: vamuzumd <48073424+vamuzumd@users.noreply.github.com>
Date: Fri, 6 Dec 2019 16:49:47 -0800
Subject: [PATCH 056/469] Add link to Generalize Image spec in Generalize API
of Compute.json (#7835)
* Adde link in description
* Spec changed to conform to other links in the PR
* Prettier check ran
---
.../Microsoft.Compute/stable/2019-07-01/compute.json | 3 +--
.../stable/2019-07-01/examples/GeneralizeVirtualMachine.json | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index c6ec42ff27b0..27069e9ef9db 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -2673,7 +2673,7 @@
"VirtualMachines"
],
"operationId": "VirtualMachines_Generalize",
- "description": "Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation",
+ "description": "Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).
For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image).",
"parameters": [
{
"name": "resourceGroupName",
@@ -2706,7 +2706,6 @@
"$ref": "./examples/GeneralizeVirtualMachine.json"
}
}
-
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GeneralizeVirtualMachine.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GeneralizeVirtualMachine.json
index 48f3b185381d..8078bc757ed1 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GeneralizeVirtualMachine.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GeneralizeVirtualMachine.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
From a6f41b54a296e11631a65bbe4a2da623afb758a2 Mon Sep 17 00:00:00 2001
From: "PoAn (Baron) Chen"
Date: Fri, 6 Dec 2019 17:29:40 -0800
Subject: [PATCH 057/469] Update iotcentral.json (#7896)
* Update iotcentral.json
added the new sku name ST0/ST1/ST2
* Update Apps_CheckSubdomainAvailability.json
* made the model vaildation pass
---
.../2018-09-01/examples/Apps_CheckNameAvailability.json | 2 +-
.../examples/Apps_CheckSubdomainAvailability.json | 2 +-
.../stable/2018-09-01/examples/Apps_CreateOrUpdate.json | 8 +++++---
.../stable/2018-09-01/examples/Apps_Update.json | 4 +++-
.../stable/2018-09-01/iotcentral.json | 5 ++++-
5 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json
index 0996f65a1ee7..04b997b86622 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json
@@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01",
"operationInputs": {
- "name": "myIoTCentralApp",
+ "name": "myiotcentralapp",
"type": "IoTApps"
}
},
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json
index ab65e95d2f3d..fb4472ab7f8d 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json
@@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01",
"operationInputs": {
- "name": "myIoTCentralApp",
+ "name": "myiotcentralapp",
"type": "IoTApps"
}
},
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json
index 9d626fc30b83..19231965dc74 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json
@@ -5,12 +5,14 @@
"resourceName": "myIoTCentralApp",
"api-version": "2018-09-01",
"App": {
- "displayName": "My IoT Central App",
- "subdomain": "my-iot-central-app",
- "template": "iotc-default@1.0.0",
"location": "westus",
"sku": {
"name": "F1"
+ },
+ "properties": {
+ "displayName": "My IoT Central App",
+ "subdomain": "my-iot-central-app",
+ "template": "iotc-default@1.0.0"
}
}
},
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json
index ba7205ca84ad..c00fef7086c1 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json
@@ -5,7 +5,9 @@
"resourceName": "myIoTCentralApp",
"api-version": "2018-09-01",
"AppPatch": {
- "displayName": "My IoT Central App 2"
+ "properties": {
+ "displayName": "My IoT Central App 2"
+ }
}
},
"responses": {
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/iotcentral.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/iotcentral.json
index 7158083eeff6..89cda44e28af 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/iotcentral.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/iotcentral.json
@@ -526,7 +526,10 @@
"description": "The name of the SKU.",
"enum": [
"F1",
- "S1"
+ "S1",
+ "ST0",
+ "ST1",
+ "ST2"
],
"type": "string",
"x-ms-enum": {
From 5f5dcd1e876516649af9dca025c63b98f3d9cf02 Mon Sep 17 00:00:00 2001
From: Matthew Frahry
Date: Sun, 8 Dec 2019 18:54:07 -0800
Subject: [PATCH 058/469] databricks: switching `parameters` to be a proper
struct (#7872)
* databricks: switching `parameters` to be a proper struct
* removing the unused required field
* linting
* DataBricks: matching the Swagger to the API request/response
* Refactor nexamples/WorkspaceCreateParameters.json - > examples/WorkspaceCreateWithParameters.json
* prettier
* Update 201 body
* Update resourceTags
* DataBricks: fixing the parameter types
---
.../stable/2018-04-01/databricks.json | 125 +++++++++++++-
.../2018-04-01/examples/WorkspaceCreate.json | 2 -
.../WorkspaceCreateWithParameters.json | 155 ++++++++++++++++++
.../examples/WorkspaceGetParameters.json | 79 +++++++++
.../2018-04-01/examples/WorkspaceUpdate.json | 1 -
5 files changed, 357 insertions(+), 5 deletions(-)
create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreateWithParameters.json
create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceGetParameters.json
diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/databricks.json b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/databricks.json
index e8de8a8beaef..abc6368cb41c 100644
--- a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/databricks.json
+++ b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/databricks.json
@@ -44,6 +44,9 @@
"x-ms-examples": {
"Get a workspace": {
"$ref": "./examples/WorkspaceGet.json"
+ },
+ "Get a workspace with custom parameters": {
+ "$ref": "./examples/WorkspaceGetParameters.json"
}
},
"parameters": [
@@ -128,6 +131,9 @@
"x-ms-examples": {
"Create or update workspace": {
"$ref": "./examples/WorkspaceCreate.json"
+ },
+ "Create or update workspace with custom parameters": {
+ "$ref": "./examples/WorkspaceCreateWithParameters.json"
}
},
"parameters": [
@@ -377,8 +383,8 @@
"description": "The managed resource group Id."
},
"parameters": {
- "type": "object",
- "description": "Name and value pairs that define the workspace parameters."
+ "$ref": "#/definitions/WorkspaceCustomParameters",
+ "description": "The workspace's custom parameters."
},
"provisioningState": {
"readOnly": true,
@@ -494,6 +500,121 @@
"modelAsString": true
}
},
+ "WorkspaceCustomParameterType": {
+ "description": "Provisioning status of the workspace.",
+ "readOnly": true,
+ "enum": [
+ "Bool",
+ "Object",
+ "String"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CustomParameterType",
+ "modelAsString": true
+ }
+ },
+ "WorkspaceCustomBooleanParameter": {
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WorkspaceCustomParameterType",
+ "description": "The type of variable that this is"
+ },
+ "value": {
+ "type": "boolean",
+ "description": "The value which should be used for this field."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The value which should be used for this field."
+ },
+ "WorkspaceCustomObjectParameter": {
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WorkspaceCustomParameterType",
+ "description": "The type of variable that this is"
+ },
+ "value": {
+ "type": "object",
+ "description": "The value which should be used for this field."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The value which should be used for this field."
+ },
+ "WorkspaceCustomStringParameter": {
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WorkspaceCustomParameterType",
+ "description": "The type of variable that this is"
+ },
+ "value": {
+ "type": "string",
+ "description": "The value which should be used for this field."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The Value."
+ },
+ "WorkspaceCustomParameters": {
+ "properties": {
+ "amlWorkspaceId": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The Workspace ID of an Azure Machine Learning Workspace"
+ },
+ "customVirtualNetworkId": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The ID of a Virtual Network where this Databricks Cluster should be created"
+ },
+ "customPublicSubnetName": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The name of a Public Subnet within the Virtual Network"
+ },
+ "customPrivateSubnetName": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The name of the Private Subnet within the Virtual Network"
+ },
+ "enableNoPublicIp": {
+ "$ref": "#/definitions/WorkspaceCustomBooleanParameter",
+ "description": "Should the Public IP be Disabled?"
+ },
+ "loadBalancerBackendPoolName": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The name of a Backend Address Pool within an Azure Load Balancer"
+ },
+ "loadBalancerId": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The Resource ID of an Azure Load Balancer"
+ },
+ "relayNamespaceName": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The name of an Azure Relay Namespace"
+ },
+ "storageAccountName": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The name which should be used for the Storage Account"
+ },
+ "storageAccountSkuName": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The SKU which should be used for this Storage Account"
+ },
+ "resourceTags": {
+ "$ref": "#/definitions/WorkspaceCustomObjectParameter",
+ "description": "A map of Tags which should be applied to the resources used by this Databricks Cluster."
+ },
+ "vnetAddressPrefix": {
+ "$ref": "#/definitions/WorkspaceCustomStringParameter",
+ "description": "The first 2 octets of the virtual network /16 address range (e.g., '10.139' for the address range 10.139.0.0/16)."
+ }
+ },
+ "description": "Custom Parameters used for Cluster Creation."
+ },
"WorkspaceProviderAuthorization": {
"properties": {
"principalId": {
diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreate.json b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreate.json
index 012fdf9674c1..977b42112e3b 100644
--- a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreate.json
+++ b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreate.json
@@ -8,14 +8,12 @@
"properties": {
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG"
},
- "name": "myWorkspace",
"location": "westus"
}
},
"responses": {
"200": {
"body": {
- "name": "myWorkspace",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace",
"type": "Microsoft.Databricks/workspaces",
"location": "East US 2",
diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreateWithParameters.json b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreateWithParameters.json
new file mode 100644
index 000000000000..4e9773afc9be
--- /dev/null
+++ b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreateWithParameters.json
@@ -0,0 +1,155 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg",
+ "workspaceName": "myWorkspace",
+ "api-version": "2018-04-01",
+ "parameters": {
+ "properties": {
+ "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG"
+ },
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace",
+ "type": "Microsoft.Databricks/workspaces",
+ "location": "East US 2",
+ "tags": null,
+ "sku": {
+ "name": "skuName"
+ },
+ "properties": {
+ "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
+ "parameters": {
+ "amlWorkspaceId": {
+ "type": "String",
+ "value": "11112222-3333-4444-5555-666677778888"
+ },
+ "customPrivateSubnetName": {
+ "type": "String",
+ "value": "PrivateBob"
+ },
+ "customPublicSubnetName": {
+ "type": "String",
+ "value": "PublicSarah"
+ },
+ "customVirtualNetworkId": {
+ "type": "String",
+ "value": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/myNetwork"
+ },
+ "enableNoPublicIp": {
+ "type": "Bool",
+ "value": true
+ },
+ "loadBalancerBackendPoolName": {
+ "type": "String",
+ "value": "CustomBackendAddressPool"
+ },
+ "loadBalancerId": {
+ "type": "String",
+ "value": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/loadBalancers/lb1"
+ },
+ "relayNamespaceName": {
+ "type": "String",
+ "value": "test"
+ },
+ "resourceTags": {
+ "type": "Object",
+ "value": {
+ "hello": "world"
+ }
+ },
+ "storageAccountName": {
+ "type": "String",
+ "value": "mysa999"
+ },
+ "storageAccountSkuName": {
+ "type": "String",
+ "value": "Standard_GRS"
+ },
+ "vnetAddressPrefix": {
+ "type": "String",
+ "value": "10.139"
+ }
+ },
+ "provisioningState": "Created",
+ "uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json"
+ }
+ }
+ },
+ "201": {
+ "headers": {},
+ "body": {
+ "name": "myWorkspace",
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace",
+ "type": "Microsoft.Databricks/workspaces",
+ "location": "East US 2",
+ "tags": null,
+ "sku": {
+ "name": "skuName"
+ },
+ "properties": {
+ "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
+ "parameters": {
+ "amlWorkspaceId": {
+ "type": "String",
+ "value": "11112222-3333-4444-5555-666677778888"
+ },
+ "customPrivateSubnetName": {
+ "type": "String",
+ "value": "PrivateBob"
+ },
+ "customPublicSubnetName": {
+ "type": "String",
+ "value": "PublicSarah"
+ },
+ "customVirtualNetworkId": {
+ "type": "String",
+ "value": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/myNetwork"
+ },
+ "enableNoPublicIp": {
+ "type": "Bool",
+ "value": true
+ },
+ "loadBalancerBackendPoolName": {
+ "type": "String",
+ "value": "CustomBackendAddressPool"
+ },
+ "loadBalancerId": {
+ "type": "String",
+ "value": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/loadBalancers/lb1"
+ },
+ "relayNamespaceName": {
+ "type": "String",
+ "value": "test"
+ },
+ "resourceTags": {
+ "type": "Object",
+ "value": {
+ "hello": "world"
+ }
+ },
+ "storageAccountName": {
+ "type": "String",
+ "value": "mysa999"
+ },
+ "storageAccountSkuName": {
+ "type": "String",
+ "value": "Standard_GRS"
+ },
+ "vnetAddressPrefix": {
+ "type": "String",
+ "value": "10.139"
+ }
+ },
+ "provisioningState": "Created",
+ "uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceGetParameters.json b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceGetParameters.json
new file mode 100644
index 000000000000..d2afb9f36a5f
--- /dev/null
+++ b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceGetParameters.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg",
+ "workspaceName": "myWorkspace",
+ "api-version": "2018-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "name": "myWorkspace",
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace",
+ "type": "Microsoft.Databricks/workspaces",
+ "location": "East US 2",
+ "properties": {
+ "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
+ "parameters": {
+ "customPrivateSubnetName": {
+ "type": "String",
+ "value": "PrivateBob"
+ },
+ "customPublicSubnetName": {
+ "type": "String",
+ "value": "PublicSarah"
+ },
+ "customVirtualNetworkId": {
+ "type": "String",
+ "value": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/myNetwork"
+ },
+ "enableNoPublicIp": {
+ "type": "Bool",
+ "value": true
+ },
+ "loadBalancerBackendPoolName": {
+ "type": "String",
+ "value": ""
+ },
+ "loadBalancerId": {
+ "type": "String",
+ "value": ""
+ },
+ "relayNamespaceName": {
+ "type": "String",
+ "value": "test"
+ },
+ "storageAccountName": {
+ "type": "String",
+ "value": "examplesa99"
+ },
+ "storageAccountSkuName": {
+ "type": "String",
+ "value": "Standard_GRS"
+ },
+ "vnetAddressPrefix": {
+ "type": "String",
+ "value": "10.139"
+ },
+ "resourceTags": {
+ "type": "Object",
+ "value": {
+ "application": "databricks",
+ "databricks-environment": "true",
+ "Environment": "Production"
+ }
+ },
+ "amlWorkspaceId": {
+ "type": "String",
+ "value": ""
+ }
+ },
+ "provisioningState": "Created",
+ "uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceUpdate.json b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceUpdate.json
index 6151245f9690..e386347fa0a2 100644
--- a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceUpdate.json
+++ b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceUpdate.json
@@ -14,7 +14,6 @@
"200": {
"headers": {},
"body": {
- "name": "myWorkspace",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace",
"type": "Microsoft.Databricks/workspaces",
"location": "East US 2",
From b43c3875cd6a13de5a0d2b4b412539704f29c622 Mon Sep 17 00:00:00 2001
From: shleiAmy <50385461+shleiAmy@users.noreply.github.com>
Date: Sun, 8 Dec 2019 19:15:02 -0800
Subject: [PATCH 059/469] Add data plane API swagger for attestation (#7521)
---
custom-words.txt | 1 +
.../2018-09-01-preview/attestation.json | 331 ++++++++++++++++++
.../examples/Get_Policy.json | 26 ++
.../examples/Reset_Policy.json | 25 ++
.../examples/Set_Policy.json | 25 ++
.../examples/UpdatePolicy.json | 25 ++
.../attestation/data-plane/readme.md | 113 ++++++
.../attestation/data-plane/readme.python.md | 27 ++
8 files changed, 573 insertions(+)
create mode 100644 specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
create mode 100644 specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_Policy.json
create mode 100644 specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Reset_Policy.json
create mode 100644 specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Set_Policy.json
create mode 100644 specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/UpdatePolicy.json
create mode 100644 specification/attestation/data-plane/readme.md
create mode 100644 specification/attestation/data-plane/readme.python.md
diff --git a/custom-words.txt b/custom-words.txt
index 09e853e3ba17..e1318a9b54e7 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1676,3 +1676,4 @@ zset
MSAZRUSGO
hypervcollectors
vmwarecollectors
+updatepolicy
diff --git a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
new file mode 100644
index 000000000000..508f140ccc76
--- /dev/null
+++ b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
@@ -0,0 +1,331 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AttestationClient",
+ "description": "Describes the interface for the per-tenant enclave service.",
+ "version": "2018-09-01-preview"
+
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "{tenantBaseUrl}",
+ "useSchemePrefix": false,
+ "parameters": [
+ {
+ "name": "tenantBaseUrl",
+ "x-ms-parameter-location": "client",
+ "description": "The tenant name, for example https://mytenant.attest.azure.net.",
+ "required": true,
+ "type": "string",
+ "in": "path",
+ "x-ms-skip-url-encoding": true
+ }
+ ]
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/operations/policy/updatepolicy": {
+ "post": {
+ "tags": [
+ "policy"
+ ],
+ "summary": "Accepts a new policy document and returns a JWT which expresses used in preparation to set attestation policy.",
+ "operationId": "Policy_PrepareToSet",
+ "consumes": [ "text/plain" ],
+ "produces": [ "text/plain", "application/json" ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TeeKind"
+ },
+ {
+ "name": "PolicyJws",
+ "in": "body",
+ "description": "JSON Web Signature (See RFC7515) expressing the new policy",
+ "required": true,
+ "x-ms-client-flatten": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success - Returns a JWT signed by the metadata signing key that contains the hash of the supplied policy to be set.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "400": {
+ "description": "Bad request",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ },
+ "401": {
+ "description": "Request is unauthorized",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdatePolicy": {
+ "$ref": "./examples/UpdatePolicy.json"
+ }
+ }
+ }
+ },
+ "/operations/policy/current": {
+ "get": {
+ "tags": [
+ "policy"
+ ],
+ "summary": "Retrieves the current policy for a given kind of TEE.",
+ "operationId": "Policy_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TeeKind"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AttestationPolicy"
+ }
+ },
+ "400": {
+ "description": "Bad request",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ },
+ "401": {
+ "description": "Request is unauthorized",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Policy": {
+ "$ref": "./examples/Get_Policy.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "policy"
+ ],
+ "summary": "Sets the policy for a given kind of TEE.",
+ "operationId": "Policy_Set",
+ "consumes": [ "text/plain" ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TeeKind"
+ },
+ {
+ "name": "newAttestationPolicy",
+ "in": "body",
+ "description": "JWT Expressing the new policy",
+ "required": true,
+ "x-ms-client-flatten": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "400": {
+ "description": "Bad request",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ },
+ "401": {
+ "description": "Request is unauthorized",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Set Policy": {
+ "$ref": "./examples/Set_Policy.json"
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "policy"
+ ],
+ "summary": "Resets the attestation policy for the specified tenant and reverts to the default policy.",
+ "operationId": "Policy_Reset",
+ "consumes": [ "text/plain" ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TeeKind"
+ },
+ {
+ "name": "PolicyJws",
+ "in": "body",
+ "description": "JSON Web Signature with an empty policy document",
+ "required": true,
+ "x-ms-client-flatten": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success - Returns a JWT signed by the metadata signing key that contains the hash of the supplied policy to be set.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "400": {
+ "description": "Bad request",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ },
+ "401": {
+ "description": "Request is unauthorized",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Reset Policy": {
+ "$ref": "./examples/Reset_Policy.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from Attestation."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for displaying in a user interface."
+ }
+ },
+ "description": "An error response from Attestation."
+ },
+ "AttestationPolicy": {
+ "type": "object",
+ "properties": {
+ "policy": {
+ "description": "String-encoded attestation policy document.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client API version.",
+ "enum": ["2018-09-01-preview"]
+ },
+ "TeeKind": {
+ "description": "Specifies the trusted execution environment to be used to validate the evidence",
+ "name": "tee",
+ "in": "query",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "x-ms-enum": {
+ "name": "TeeKind",
+ "modelAsString": true,
+ "values":
+ [
+ { "value": "SgxEnclave", "description": "Intel Software Guard eXtensions" },
+ { "value": "OpenEnclave", "description": "OpenEnclave extensions to SGX" },
+ { "value": "CyResComponent", "description": "IoT Edge validation" },
+ { "value": "AzureGuest", "description": "Azure Guest Attestation" }
+ ]
+ },
+ "enum": [
+ "SgxEnclave",
+ "OpenEnclave",
+ "CyResComponent",
+ "AzureGuest"
+ ]
+ }
+ }
+}
diff --git a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_Policy.json b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_Policy.json
new file mode 100644
index 000000000000..fb0da08d47a4
--- /dev/null
+++ b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_Policy.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "tenantBaseUrl": "'https://mytest.attest.azure.net'",
+ "api-version": "2018-09-01-preview",
+ "tee": "SgxEnclave"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "policy": "testpolicy"
+ }
+ },
+ "400": {
+ "body": {
+ "error": {
+ "code": "400",
+ "message": "error message"
+ }
+ }
+ },
+ "401": {
+ "description": "Request is unauthorized",
+ "body": ""
+ }
+ }
+}
diff --git a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Reset_Policy.json b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Reset_Policy.json
new file mode 100644
index 000000000000..dc1b591b21d4
--- /dev/null
+++ b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Reset_Policy.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "tenantBaseUrl": "'https://mytest.attest.azure.net'",
+ "api-version": "2018-09-01-preview",
+ "tee": "SgxEnclave",
+ "PolicyJws": "eyJhbGciOiJub25lIn0.."
+ },
+ "responses": {
+ "200": {
+ "body": "eyJhbGciOiAiUlMyNTYiLCAiamt1IjogImh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC9jZXJ0cyIsICJraWQiOiAieWtJd00rcnRNcnhFZkZJVHY2TGZjVG03eWszUkxXRXBkN1lsZmJyTk1JST0iLCAidHlwIjogIkpXVCJ9.eyJhYXMtcG9saWN5SGFzaCI6ICJ2MG9QNG9KWkVKWnh4SXhFNmJiVVAxa1JSbWVfZXgtUHV4NlF0c1U4STdNIiwgImV4cCI6IDE1NzM4NjI5NzQsICJpYXQiOiAxNTczODU5Mzc0LCAiaXNzIjogImh0dHA6Ly9sb2NhbGhvc3Q6ODA4MCIsICJuYmYiOiAxNTczODU5Mzc0fQ.FTMpKwZHJa5l9_Mdxl60FtSDOr9kLRDYw3UAofMXJ-eOEvm4FdNM69YHR6Oy_i1uUEnVDAnMHhR0APTXgKqoR7gDxxfJG_RgiQqsTmQ-ucmXNL2Ck--sH3bz9OfIocPYSN0FBWiq6fgG6iX_oMX1hs-ENsF7B3jSp1nVL8NWtWk"
+ },
+ "400": {
+ "body": {
+ "error": {
+ "code": "400",
+ "message": "error message"
+ }
+ }
+ },
+ "401": {
+ "description": "Request is unauthorized",
+ "body": ""
+ }
+ }
+}
diff --git a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Set_Policy.json b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Set_Policy.json
new file mode 100644
index 000000000000..dfa783bcea50
--- /dev/null
+++ b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Set_Policy.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "tenantBaseUrl": "'https://mytest.attest.azure.net'",
+ "api-version": "2018-09-01-preview",
+ "tee": "SgxEnclave",
+ "newAttestationPolicy": "newAttestationPolicyname"
+ },
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "400": {
+ "body": {
+ "error": {
+ "code": "400",
+ "message": "error message"
+ }
+ }
+ },
+ "401": {
+ "description": "Request is unauthorized",
+ "body": ""
+ }
+ }
+}
diff --git a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/UpdatePolicy.json b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/UpdatePolicy.json
new file mode 100644
index 000000000000..eec66be114fd
--- /dev/null
+++ b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/UpdatePolicy.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "tenantBaseUrl": "'https://mytest.attest.azure.net'",
+ "api-version": "2018-09-01-preview",
+ "tee": "SgxEnclave",
+ "PolicyJws": "eyJhbGciOiJub25lIn0.eyJBdHRlc3RhdGlvblBvbGljeSI6ICJ7XHJcbiAgICBcIiR2ZXJzaW9uXCI6IDEsXHJcbiAgICBcIiRhbGxvdy1kZWJ1Z2dhYmxlXCIgOiB0cnVlLFxyXG4gICAgXCIkY2xhaW1zXCI6W1xyXG4gICAgICAgIFwiaXMtZGVidWdnYWJsZVwiICxcclxuICAgICAgICBcInNneC1tcnNpZ25lclwiLFxyXG4gICAgICAgIFwic2d4LW1yZW5jbGF2ZVwiLFxyXG4gICAgICAgIFwicHJvZHVjdC1pZFwiLFxyXG4gICAgICAgIFwic3ZuXCIsXHJcbiAgICAgICAgXCJ0ZWVcIixcclxuICAgICAgICBcIk5vdERlYnVnZ2FibGVcIlxyXG4gICAgXSxcclxuICAgIFwiTm90RGVidWdnYWJsZVwiOiB7XCJ5ZXNcIjp7XCIkaXMtZGVidWdnYWJsZVwiOnRydWUsIFwiJG1hbmRhdG9yeVwiOnRydWUsIFwiJHZpc2libGVcIjpmYWxzZX19LFxyXG4gICAgXCJpcy1kZWJ1Z2dhYmxlXCIgOiBcIiRpcy1kZWJ1Z2dhYmxlXCIsXHJcbiAgICBcInNneC1tcnNpZ25lclwiIDogXCIkc2d4LW1yc2lnbmVyXCIsXHJcbiAgICBcInNneC1tcmVuY2xhdmVcIiA6IFwiJHNneC1tcmVuY2xhdmVcIixcclxuICAgIFwicHJvZHVjdC1pZFwiIDogXCIkcHJvZHVjdC1pZFwiLFxyXG4gICAgXCJzdm5cIiA6IFwiJHN2blwiLFxyXG4gICAgXCJ0ZWVcIiA6IFwiJHRlZVwiXHJcbn0ifQ."
+ },
+ "responses": {
+ "200": {
+ "body": "eyJhbGciOiAiUlMyNTYiLCAiamt1IjogImh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC9jZXJ0cyIsICJraWQiOiAieWtJd00rcnRNcnhFZkZJVHY2TGZjVG03eWszUkxXRXBkN1lsZmJyTk1JST0iLCAidHlwIjogIkpXVCJ9.eyJhYXMtcG9saWN5SGFzaCI6ICJ2MG9QNG9KWkVKWnh4SXhFNmJiVVAxa1JSbWVfZXgtUHV4NlF0c1U4STdNIiwgImV4cCI6IDE1NzM4NjI5NzQsICJpYXQiOiAxNTczODU5Mzc0LCAiaXNzIjogImh0dHA6Ly9sb2NhbGhvc3Q6ODA4MCIsICJuYmYiOiAxNTczODU5Mzc0fQ.FTMpKwZHJa5l9_Mdxl60FtSDOr9kLRDYw3UAofMXJ-eOEvm4FdNM69YHR6Oy_i1uUEnVDAnMHhR0APTXgKqoR7gDxxfJG_RgiQqsTmQ-ucmXNL2Ck--sH3bz9OfIocPYSN0FBWiq6fgG6iX_oMX1hs-ENsF7B3jSp1nVL8NWtWk"
+ },
+ "400": {
+ "body": {
+ "error": {
+ "code": "400",
+ "message": "error message"
+ }
+ }
+ },
+ "401": {
+ "description": "Request is unauthorized",
+ "body": ""
+ }
+ }
+}
diff --git a/specification/attestation/data-plane/readme.md b/specification/attestation/data-plane/readme.md
new file mode 100644
index 000000000000..010c155e8f69
--- /dev/null
+++ b/specification/attestation/data-plane/readme.md
@@ -0,0 +1,113 @@
+# Attestation
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for Attestation.
+
+
+
+---
+## Getting Started
+To build the SDK for Attestation, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+Following are the settings for using this specification with [AutoRest](https://aka.ms/autorest) tool to validation and optionally generate SDK.
+
+### Azure Validator Suppressions
+
+Suppressed Rule | Reason
+----------------|--------
+R3023 OperationsAPIImplementation | This is the attestation data plane APIs, this rule is not applicable.
+
+```yaml
+model-validator: true
+semantic-validator: true
+azure-validator: true
+directive:
+ suppress:
+ - R3023
+```
+
+### Basic Information
+These are the global settings for the Attestation APIs.
+
+``` yaml
+openapi-type: arm
+tag: package-2018-09-preview
+```
+
+### Tag: package-2018-09-preview
+
+These settings apply only when `--tag=package-2018-09-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-09-preview'
+input-file:
+- Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
+```
+
+---
+# Code Generation
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-net
+ - repo: azure-sdk-for-python
+```
+
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
+---
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+``` yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.Azure.Attestation
+ output-folder: $(csharp-sdks-folder)/attestation/Microsoft.Azure.Attestation/src/Generated
+ clear-output-folder: true
+```
+
+
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - /Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/attestation/data-plane/readme.python.md b/specification/attestation/data-plane/readme.python.md
new file mode 100644
index 000000000000..edcb0a792127
--- /dev/null
+++ b/specification/attestation/data-plane/readme.python.md
@@ -0,0 +1,27 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.attestation
+ package-name: azure-attestation
+ package-version: 0.1.0
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/attestation/azure-attestation/azure/attestation
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/attestation/azure-attestation
+```
From da086768d6f5ba41dbe742503a1dce29a681ac9d Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Mon, 9 Dec 2019 03:16:28 +0000
Subject: [PATCH 060/469] regenerated all-api-versions
---
specification/attestation/data-plane/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/attestation/data-plane/readme.md b/specification/attestation/data-plane/readme.md
index 010c155e8f69..9e4b36b4fead 100644
--- a/specification/attestation/data-plane/readme.md
+++ b/specification/attestation/data-plane/readme.md
@@ -99,7 +99,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- - /Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
+ - $(this-folder)/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
```
From 5b0834b118396ba70c81a13c75167211598db648 Mon Sep 17 00:00:00 2001
From: Aneesh Ponneth <39756889+anponnet@users.noreply.github.com>
Date: Mon, 9 Dec 2019 10:00:17 +0530
Subject: [PATCH 061/469] Add new version of API with object store, sku
selection and arm lite user (#7808)
---
custom-words.txt | 1 +
.../stable/2019-08-01/databoxedge.json | 4914 +++++++++++++++++
.../stable/2019-08-01/examples/AlertGet.json | 37 +
.../examples/AlertGetAllInDevice.json | 58 +
.../examples/BandwidthScheduleDelete.json | 17 +
.../examples/BandwidthScheduleGet.json | 30 +
.../BandwidthScheduleGetAllInDevice.json | 33 +
.../examples/BandwidthSchedulePut.json | 51 +
.../2019-08-01/examples/ContainerDelete.json | 20 +
.../2019-08-01/examples/ContainerGet.json | 28 +
.../examples/ContainerListAllInDevice.json | 57 +
.../2019-08-01/examples/ContainerPut.json | 43 +
.../2019-08-01/examples/ContainerRefresh.json | 26 +
.../examples/DataBoxEdgeDeviceDelete.json | 19 +
.../examples/DataBoxEdgeDeviceGetByName.json | 35 +
.../DataBoxEdgeDeviceGetByResourceGroup.json | 72 +
.../DataBoxEdgeDeviceGetBySubscription.json | 71 +
.../examples/DataBoxEdgeDevicePatch.json | 50 +
.../examples/DataBoxEdgeDevicePut.json | 41 +
.../examples/DownloadUpdatesPost.json | 24 +
.../2019-08-01/examples/ExtendedInfoPost.json | 34 +
.../examples/InstallUpdatesPost.json | 24 +
.../stable/2019-08-01/examples/JobsGet.json | 31 +
.../stable/2019-08-01/examples/ListSkus.json | 51 +
.../examples/NetworkSettingsGet.json | 58 +
.../examples/NodeGetAllInDevice.json | 51 +
.../2019-08-01/examples/OperationsGet.json | 675 +++
.../examples/OperationsStatusGet.json | 31 +
.../2019-08-01/examples/OrderDelete.json | 19 +
.../stable/2019-08-01/examples/OrderGet.json | 57 +
.../examples/OrderGetAllInDevice.json | 61 +
.../stable/2019-08-01/examples/OrderPut.json | 85 +
.../2019-08-01/examples/RoleDelete.json | 17 +
.../stable/2019-08-01/examples/RoleGet.json | 41 +
.../examples/RoleGetAllInDevice.json | 44 +
.../stable/2019-08-01/examples/RolePut.json | 85 +
.../stable/2019-08-01/examples/SACDelete.json | 20 +
.../stable/2019-08-01/examples/SACGet.json | 30 +
.../examples/SACGetAllInDevice.json | 44 +
.../stable/2019-08-01/examples/SACPut.json | 50 +
.../examples/ScanForUpdatesPost.json | 24 +
.../examples/SecuritySettingsUpdatePost.json | 33 +
.../2019-08-01/examples/ShareDelete.json | 20 +
.../stable/2019-08-01/examples/ShareGet.json | 45 +
.../examples/ShareGetAllInDevice.json | 48 +
.../stable/2019-08-01/examples/SharePut.json | 72 +
.../2019-08-01/examples/ShareRefreshPost.json | 25 +
.../examples/StorageAccountDelete.json | 19 +
.../examples/StorageAccountGet.json | 29 +
.../StorageAccountGetAllInDevice.json | 36 +
.../examples/StorageAccountPut.json | 47 +
.../2019-08-01/examples/TriggerDelete.json | 20 +
.../2019-08-01/examples/TriggerGet.json | 34 +
.../examples/TriggerGetAllInDevice.json | 37 +
.../2019-08-01/examples/TriggerPut.json | 53 +
.../2019-08-01/examples/UpdateSummaryGet.json | 38 +
.../examples/UploadCertificatePost.json | 38 +
.../2019-08-01/examples/UserDelete.json | 26 +
.../stable/2019-08-01/examples/UserGet.json | 28 +
.../examples/UserGetAllInDevice.json | 34 +
.../stable/2019-08-01/examples/UserPut.json | 43 +
.../databoxedge/resource-manager/readme.go.md | 10 +
.../databoxedge/resource-manager/readme.md | 26 +-
.../resource-manager/readme.ruby.md | 11 +
64 files changed, 7930 insertions(+), 1 deletion(-)
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/AlertGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/AlertGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthSchedulePut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerListAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerPut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerRefresh.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetByName.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetBySubscription.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDevicePatch.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDevicePut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DownloadUpdatesPost.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ExtendedInfoPost.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/InstallUpdatesPost.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/JobsGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ListSkus.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/NetworkSettingsGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/NodeGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OperationsGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OperationsStatusGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderPut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RolePut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACPut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ScanForUpdatesPost.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SecuritySettingsUpdatePost.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SharePut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareRefreshPost.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountPut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerPut.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UpdateSummaryGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UploadCertificatePost.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserDelete.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserGet.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserGetAllInDevice.json
create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserPut.json
diff --git a/custom-words.txt b/custom-words.txt
index e1318a9b54e7..0381678aa925 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -540,6 +540,7 @@ FQDNs
Français
frontdoor
fsaction
+Fulfilment
Fulltext
fullyqualified
galician
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json
new file mode 100644
index 000000000000..c49f40778e4d
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json
@@ -0,0 +1,4914 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-08-01",
+ "title": "DataBoxEdgeManagementClient"
+ },
+ "host": "management.azure.com",
+ "schemes": [ "https" ],
+ "consumes": [ "application/json" ],
+ "produces": [ "application/json" ],
+ "paths": {
+ "/providers/Microsoft.DataBoxEdge/operations": {
+ "get": {
+ "tags": [ "Operations" ],
+ "summary": "List all the supported operations.",
+ "operationId": "Operations_List",
+ "parameters": [ { "$ref": "#/parameters/apiVersionParameter" } ],
+ "responses": {
+ "200": {
+ "description": "List of supported operations.",
+ "schema": { "$ref": "#/definitions/OperationsList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "OperationsGet": {
+ "$ref": "./examples/OperationsGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices": {
+ "get": {
+ "tags": [ "Devices" ],
+ "description": "Gets all the Data Box Edge/Data Box Gateway devices in a subscription.",
+ "operationId": "Devices_ListBySubscription",
+ "parameters": [
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of Data Box Edge/Data Box Gateway devices.",
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "DataBoxEdgeDeviceGetBySubscription": {
+ "$ref": "./examples/DataBoxEdgeDeviceGetBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices": {
+ "get": {
+ "tags": [ "Devices" ],
+ "description": "Gets all the Data Box Edge/Data Box Gateway devices in a resource group.",
+ "operationId": "Devices_ListByResourceGroup",
+ "parameters": [
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of Data Box Edge/Data Box Gateway devices.",
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "DataBoxEdgeDeviceGetByResourceGroup": {
+ "$ref": "./examples/DataBoxEdgeDeviceGetByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}": {
+ "get": {
+ "tags": [ "Devices" ],
+ "description": "Gets the properties of the Data Box Edge/Data Box Gateway device.",
+ "operationId": "Devices_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Data Box Edge/Data Box Gateway device.",
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "DataBoxEdgeDeviceGetByName": {
+ "$ref": "./examples/DataBoxEdgeDeviceGetByName.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "Devices" ],
+ "description": "Creates or updates a Data Box Edge/Data Box Gateway resource.",
+ "operationId": "Devices_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "DataBoxEdgeDevice",
+ "in": "body",
+ "description": "The resource object.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the resource.",
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "DataBoxEdgeDevicePut": {
+ "$ref": "./examples/DataBoxEdgeDevicePut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "Devices" ],
+ "description": "Deletes the Data Box Edge/Data Box Gateway device.",
+ "operationId": "Devices_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully deleted the resource." },
+ "202": { "description": "Accepted the request to delete the resource." },
+ "204": { "description": "The resource is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "DataBoxEdgeDeviceDelete": {
+ "$ref": "./examples/DataBoxEdgeDeviceDelete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [ "Devices" ],
+ "description": "Modifies a Data Box Edge/Data Box Gateway resource.",
+ "operationId": "Devices_Update",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The resource parameters.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDevicePatch" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the resource.",
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "DataBoxEdgeDevicePatch": {
+ "$ref": "./examples/DataBoxEdgeDevicePatch.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts": {
+ "get": {
+ "tags": [ "Alerts" ],
+ "description": "Gets all the alerts for a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Alerts_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of alerts.",
+ "schema": { "$ref": "#/definitions/AlertList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "AlertGetAllInDevice": {
+ "$ref": "./examples/AlertGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}": {
+ "get": {
+ "tags": [ "Alerts" ],
+ "summary": "Gets an alert by name.",
+ "operationId": "Alerts_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The alert name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The alert details.",
+ "schema": { "$ref": "#/definitions/Alert" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "AlertGet": {
+ "$ref": "./examples/AlertGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules": {
+ "get": {
+ "tags": [ "BandwidthSchedules" ],
+ "description": "Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.",
+ "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of bandwidth schedules.",
+ "schema": { "$ref": "#/definitions/BandwidthSchedulesList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "BandwidthScheduleGetAllInDevice": {
+ "$ref": "./examples/BandwidthScheduleGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}": {
+ "get": {
+ "tags": [ "BandwidthSchedules" ],
+ "description": "Gets the properties of the specified bandwidth schedule.",
+ "operationId": "BandwidthSchedules_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The bandwidth schedule name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The bandwidth schedule.",
+ "schema": { "$ref": "#/definitions/BandwidthSchedule" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "BandwidthScheduleGet": {
+ "$ref": "./examples/BandwidthScheduleGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "BandwidthSchedules" ],
+ "description": "Creates or updates a bandwidth schedule.",
+ "operationId": "BandwidthSchedules_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The bandwidth schedule name which needs to be added/updated.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The bandwidth schedule to be added or updated.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/BandwidthSchedule" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the bandwidth schedule.",
+ "schema": { "$ref": "#/definitions/BandwidthSchedule" }
+ },
+ "202": { "description": "Accepted the request to create or update the bandwidth schedule." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "BandwidthSchedulePut": {
+ "$ref": "./examples/BandwidthSchedulePut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "BandwidthSchedules" ],
+ "description": "Deletes the specified bandwidth schedule.",
+ "operationId": "BandwidthSchedules_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The bandwidth schedule name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully deleted the bandwidth schedule." },
+ "202": { "description": "Accepted the request to delete the bandwidth schedule." },
+ "204": { "description": "Successfully deleted the bandwidth schedule." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "BandwidthScheduleDelete": {
+ "$ref": "./examples/BandwidthScheduleDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates": {
+ "post": {
+ "tags": [ "Devices" ],
+ "summary": "Downloads the updates on a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Devices_DownloadUpdates",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully downloaded the updates on the device." },
+ "202": { "description": "Accepted the request to download the updates on the device." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "DownloadUpdatesPost": {
+ "$ref": "./examples/DownloadUpdatesPost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation": {
+ "post": {
+ "tags": [ "Devices" ],
+ "description": "Gets additional information for the specified Data Box Edge/Data Box Gateway device.",
+ "operationId": "Devices_GetExtendedInformation",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The additional information.",
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfo" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "ExtendedInfoPost": {
+ "$ref": "./examples/ExtendedInfoPost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates": {
+ "post": {
+ "tags": [ "Devices" ],
+ "summary": "Installs the updates on the Data Box Edge/Data Box Gateway device.",
+ "operationId": "Devices_InstallUpdates",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully installed updates on the device." },
+ "202": { "description": "Accepted the request to install updates on the device." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "InstallUpdatesPost": {
+ "$ref": "./examples/InstallUpdatesPost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}": {
+ "get": {
+ "tags": [ "Jobs" ],
+ "summary": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Jobs_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The job name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The job details.",
+ "schema": { "$ref": "#/definitions/Job" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "JobsGet": {
+ "$ref": "./examples/JobsGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default": {
+ "get": {
+ "tags": [ "Devices" ],
+ "description": "Gets the network settings of the specified Data Box Edge/Data Box Gateway device.",
+ "operationId": "Devices_GetNetworkSettings",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The device network settings.",
+ "schema": { "$ref": "#/definitions/NetworkSettings" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "NetworkSettingsGet": {
+ "$ref": "./examples/NetworkSettingsGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes": {
+ "get": {
+ "tags": [ "Nodes" ],
+ "description": "Gets all the nodes currently configured under this Data Box Edge device",
+ "operationId": "Nodes_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of all nodes on the device.",
+ "schema": { "$ref": "#/definitions/NodeList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": null },
+ "x-ms-examples": {
+ "NodesGetAllInDevice": {
+ "$ref": "./examples/NodeGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}": {
+ "get": {
+ "tags": [ "OperationsStatus" ],
+ "summary": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.",
+ "operationId": "OperationsStatus_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The job name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The job details.",
+ "schema": { "$ref": "#/definitions/Job" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "OperationsStatusGet": {
+ "$ref": "./examples/OperationsStatusGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders": {
+ "get": {
+ "tags": [ "Orders" ],
+ "summary": "Lists all the orders related to a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Orders_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Lists all the orders for the Data Box Edge Device",
+ "schema": { "$ref": "#/definitions/OrderList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "OrderGetAllInDevice": {
+ "$ref": "./examples/OrderGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default": {
+ "get": {
+ "tags": [ "Orders" ],
+ "summary": "Gets a specific order by name.",
+ "operationId": "Orders_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The order details of a device.",
+ "schema": { "$ref": "#/definitions/Order" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "OrderGet": {
+ "$ref": "./examples/OrderGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "Orders" ],
+ "summary": "Creates or updates an order.",
+ "operationId": "Orders_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The order details of a device.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "order",
+ "in": "body",
+ "description": "The order to be created or updated.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/Order" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the order.",
+ "schema": { "$ref": "#/definitions/Order" }
+ },
+ "202": { "description": "Accepted the request to create or update the order." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "OrderPut": {
+ "$ref": "./examples/OrderPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "Orders" ],
+ "summary": "Deletes the order related to the device.",
+ "operationId": "Orders_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully deleted the order." },
+ "202": { "description": "Accepted the request to delete the order." },
+ "204": { "description": "The order is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "OrderDelete": {
+ "$ref": "./examples/OrderDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles": {
+ "get": {
+ "tags": [ "Roles" ],
+ "description": "Lists all the roles configured in a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Roles_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of all the roles configured in the device.",
+ "schema": { "$ref": "#/definitions/RoleList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "RoleGetAllInDevice": {
+ "$ref": "./examples/RoleGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}": {
+ "get": {
+ "tags": [ "Roles" ],
+ "description": "Gets a specific role by name.",
+ "operationId": "Roles_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The role name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The role with the specified name in the given device.",
+ "schema": { "$ref": "#/definitions/Role" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "RoleGet": {
+ "$ref": "./examples/RoleGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "Roles" ],
+ "description": "Create or update a role.",
+ "operationId": "Roles_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The role name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "role",
+ "in": "body",
+ "description": "The role properties.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/Role" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the role.",
+ "schema": { "$ref": "#/definitions/Role" }
+ },
+ "202": { "description": "Accepted the request to create or update the role." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "RolePut": {
+ "$ref": "./examples/RolePut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "Roles" ],
+ "description": "Deletes the role on the device.",
+ "operationId": "Roles_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The role name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully deleted the role." },
+ "202": { "description": "Accepted the request to delete the role." },
+ "204": { "description": "The role is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "RoleDelete": {
+ "$ref": "./examples/RoleDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates": {
+ "post": {
+ "tags": [ "Devices" ],
+ "summary": "Scans for updates on a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Devices_ScanForUpdates",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully scanned the device for updates." },
+ "202": { "description": "Accepted the request to scan for updates on the device." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "ScanForUpdatesPost": {
+ "$ref": "./examples/ScanForUpdatesPost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update": {
+ "post": {
+ "tags": [ "Devices" ],
+ "description": "Updates the security settings on a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Devices_CreateOrUpdateSecuritySettings",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "securitySettings",
+ "in": "body",
+ "description": "The security settings.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/SecuritySettings" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "202": { "description": "Accepted the request to update the security settings." },
+ "204": { "description": "Updated the security settings." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "CreateOrUpdateSecuritySettings": {
+ "$ref": "./examples/SecuritySettingsUpdatePost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares": {
+ "get": {
+ "tags": [ "Shares" ],
+ "summary": "Lists all the shares in a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Shares_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of all the shares on the device.",
+ "schema": { "$ref": "#/definitions/ShareList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "ShareGetAllInDevice": {
+ "$ref": "./examples/ShareGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}": {
+ "get": {
+ "tags": [ "Shares" ],
+ "summary": "Gets a share by name.",
+ "operationId": "Shares_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The share name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The share details.",
+ "schema": { "$ref": "#/definitions/Share" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "ShareGet": {
+ "$ref": "./examples/ShareGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "Shares" ],
+ "summary": "Creates a new share or updates an existing share on the device.",
+ "operationId": "Shares_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The share name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "share",
+ "in": "body",
+ "description": "The share properties.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/Share" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the share.",
+ "schema": { "$ref": "#/definitions/Share" }
+ },
+ "202": { "description": "Accepted the request to create or update the share." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "SharePut": {
+ "$ref": "./examples/SharePut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "Shares" ],
+ "description": "Deletes the share on the Data Box Edge/Data Box Gateway device.",
+ "operationId": "Shares_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The share name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully deleted the share." },
+ "202": { "description": "Accepted the request to delete the share." },
+ "204": { "description": "The share is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "ShareDelete": {
+ "$ref": "./examples/ShareDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh": {
+ "post": {
+ "tags": [ "Shares" ],
+ "summary": "Refreshes the share metadata with the data from the cloud.",
+ "operationId": "Shares_Refresh",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The share name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully refreshed the share on the device." },
+ "202": { "description": "Accepted the request to refresh the share on the device." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "ShareRefreshPost": {
+ "$ref": "./examples/ShareRefreshPost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials": {
+ "get": {
+ "tags": [ "StorageAccountCredentials" ],
+ "summary": "Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device.",
+ "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of storage account credentials.",
+ "schema": { "$ref": "#/definitions/StorageAccountCredentialList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "SACGetAllInDevice": {
+ "$ref": "./examples/SACGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}": {
+ "get": {
+ "tags": [ "StorageAccountCredentials" ],
+ "description": "Gets the properties of the specified storage account credential.",
+ "operationId": "StorageAccountCredentials_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The storage account credential name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The storage account credential properties.",
+ "schema": { "$ref": "#/definitions/StorageAccountCredential" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "SACGet": {
+ "$ref": "./examples/SACGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "StorageAccountCredentials" ],
+ "description": "Creates or updates the storage account credential.",
+ "operationId": "StorageAccountCredentials_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The storage account credential name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountCredential",
+ "in": "body",
+ "description": "The storage account credential.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/StorageAccountCredential" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the storage account credential.",
+ "schema": { "$ref": "#/definitions/StorageAccountCredential" }
+ },
+ "202": { "description": "Accepted the request to create or update the storage account credential." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "SACPut": {
+ "$ref": "./examples/SACPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "StorageAccountCredentials" ],
+ "description": "Deletes the storage account credential.",
+ "operationId": "StorageAccountCredentials_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The storage account credential name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully deleted the storage account credential." },
+ "202": { "description": "Accepted the request to delete the storage account credential." },
+ "204": { "description": "The storage account credential is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "SACDelete": {
+ "$ref": "./examples/SACDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts": {
+ "get": {
+ "tags": [ "StorageAccounts" ],
+ "summary": "Lists all the storage accounts in a Data Box Edge/Data Box Gateway device.",
+ "operationId": "StorageAccounts_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of all the StorageAccounts on the device.",
+ "schema": { "$ref": "#/definitions/StorageAccountList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "StorageAccountGetAllInDevice": {
+ "$ref": "./examples/StorageAccountGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}": {
+ "get": {
+ "tags": [ "StorageAccounts" ],
+ "summary": "Gets a StorageAccount by name.",
+ "operationId": "StorageAccounts_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountName",
+ "in": "path",
+ "description": "The storage account name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The storage account details.",
+ "schema": { "$ref": "#/definitions/StorageAccount" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "StorageAccountGet": {
+ "$ref": "./examples/StorageAccountGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "StorageAccounts" ],
+ "summary": "Creates a new StorageAccount or updates an existing StorageAccount on the device.",
+ "operationId": "StorageAccounts_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountName",
+ "in": "path",
+ "description": "The StorageAccount name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccount",
+ "in": "body",
+ "description": "The StorageAccount properties.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/StorageAccount" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the StorageAccount.",
+ "schema": { "$ref": "#/definitions/StorageAccount" }
+ },
+ "202": { "description": "Accepted the request to create or update the StorageAccount." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "StorageAccountPut": {
+ "$ref": "./examples/StorageAccountPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "StorageAccounts" ],
+ "description": "Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device.",
+ "operationId": "StorageAccounts_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountName",
+ "in": "path",
+ "description": "The StorageAccount name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "202": { "description": "Accepted the request to delete the StorageAccount." },
+ "204": { "description": "The StorageAccount is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "StorageAccountDelete": {
+ "$ref": "./examples/StorageAccountDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers": {
+ "get": {
+ "tags": [ "Containers" ],
+ "summary": "Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Containers_ListByStorageAccount",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountName",
+ "in": "path",
+ "description": "The storage Account name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of all the containers on the device.",
+ "schema": { "$ref": "#/definitions/ContainerList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "ContainerListAllInDevice": {
+ "$ref": "./examples/ContainerListAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}": {
+ "get": {
+ "tags": [ "Containers" ],
+ "summary": "Gets a container by name.",
+ "operationId": "Containers_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountName",
+ "in": "path",
+ "description": "The Storage Account Name",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "The container Name",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The container details.",
+ "schema": { "$ref": "#/definitions/Container" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "ContainerGet": {
+ "$ref": "./examples/ContainerGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "Containers" ],
+ "summary": "Creates a new container or updates an existing container on the device.",
+ "operationId": "Containers_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountName",
+ "in": "path",
+ "description": "The Storage Account Name",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "body",
+ "description": "The container properties.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/Container" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the container.",
+ "schema": { "$ref": "#/definitions/Container" }
+ },
+ "202": { "description": "Accepted the request to create or update the container." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "ContainerPut": {
+ "$ref": "./examples/ContainerPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "Containers" ],
+ "description": "Deletes the container on the Data Box Edge/Data Box Gateway device.",
+ "operationId": "Containers_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountName",
+ "in": "path",
+ "description": "The Storage Account Name",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "202": { "description": "Accepted the request to delete the container." },
+ "204": { "description": "The container is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "ContainerDelete": {
+ "$ref": "./examples/ContainerDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh": {
+ "post": {
+ "tags": [ "Containers" ],
+ "summary": "Refreshes the container metadata with the data from the cloud.",
+ "operationId": "Containers_Refresh",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "storageAccountName",
+ "in": "path",
+ "description": "The Storage Account Name",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully refreshed the container on the device." },
+ "202": { "description": "Accepted the request to refresh the container on the device." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "ContainerRefresh": {
+ "$ref": "./examples/ContainerRefresh.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers": {
+ "get": {
+ "tags": [ "Triggers" ],
+ "description": "Lists all the triggers configured in the device.",
+ "operationId": "Triggers_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "Specify $filter='CustomContextTag eq ' to filter on custom context tag property",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List all the triggers configured in the device",
+ "schema": { "$ref": "#/definitions/TriggerList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "TriggerGetAllInDevice": {
+ "$ref": "./examples/TriggerGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}": {
+ "get": {
+ "tags": [ "Triggers" ],
+ "description": "Get a specific trigger by name.",
+ "operationId": "Triggers_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The trigger name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The trigger.",
+ "schema": { "$ref": "#/definitions/Trigger" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "TriggerGet": {
+ "$ref": "./examples/TriggerGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "Triggers" ],
+ "description": "Creates or updates a trigger.",
+ "operationId": "Triggers_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "Creates or updates a trigger",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The trigger name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "trigger",
+ "in": "body",
+ "description": "The trigger.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/Trigger" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the trigger.",
+ "schema": { "$ref": "#/definitions/Trigger" }
+ },
+ "202": { "description": "Accepted the request to create or update the trigger." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "TriggerPut": {
+ "$ref": "./examples/TriggerPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "Triggers" ],
+ "description": "Deletes the trigger on the gateway device.",
+ "operationId": "Triggers_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The trigger name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully deleted the trigger." },
+ "202": { "description": "Accepted the request to delete the trigger." },
+ "204": { "description": "The trigger is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "TriggerDelete": {
+ "$ref": "./examples/TriggerDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default": {
+ "get": {
+ "tags": [ "Devices" ],
+ "summary": "Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.",
+ "operationId": "Devices_GetUpdateSummary",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The update summary.",
+ "schema": { "$ref": "#/definitions/UpdateSummary" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateSummaryGet": {
+ "$ref": "./examples/UpdateSummaryGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate": {
+ "post": {
+ "tags": [ "Devices" ],
+ "description": "Uploads registration certificate for the device.",
+ "operationId": "Devices_UploadCertificate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The upload certificate request.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/UploadCertificateRequest" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully uploaded the registration certificate.",
+ "schema": { "$ref": "#/definitions/UploadCertificateResponse" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "UploadCertificatePost": {
+ "$ref": "./examples/UploadCertificatePost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users": {
+ "get": {
+ "tags": [ "Users" ],
+ "description": "Gets all the users registered on a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Users_ListByDataBoxEdgeDevice",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "Specify $filter='UserType eq ' to filter on user type property",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The collection of all users on the device.",
+ "schema": { "$ref": "#/definitions/UserList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": "nextLink" },
+ "x-ms-examples": {
+ "UserGetAllInDevice": {
+ "$ref": "./examples/UserGetAllInDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}": {
+ "get": {
+ "tags": [ "Users" ],
+ "description": "Gets the properties of the specified user.",
+ "operationId": "Users_Get",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The user name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "The user details.",
+ "schema": { "$ref": "#/definitions/User" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "UserGet": {
+ "$ref": "./examples/UserGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [ "Users" ],
+ "description": "Creates a new user or updates an existing user's information on a Data Box Edge/Data Box Gateway device.",
+ "operationId": "Users_CreateOrUpdate",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The user name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "user",
+ "in": "body",
+ "description": "The user details.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/User" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created or updated the user.",
+ "schema": { "$ref": "#/definitions/User" }
+ },
+ "202": { "description": "Accepted the request to create or update the user." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "UserPut": {
+ "$ref": "./examples/UserPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [ "Users" ],
+ "description": "Deletes the user on a databox edge/gateway device.",
+ "operationId": "Users_Delete",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The user name.",
+ "required": true,
+ "type": "string"
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": { "description": "Successfully deleted the user." },
+ "202": { "description": "Accepted the request to delete the user." },
+ "204": { "description": "The user is already deleted." },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "UserDelete": {
+ "$ref": "./examples/UserDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/skus": {
+ "get": {
+ "tags": [ "Skus" ],
+ "summary": "List all the available Skus in the region and information related to them",
+ "operationId": "Skus_List",
+ "parameters": [
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "Specify $filter='location eq ' to filter on location.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Lists the available Skus and information related to them.",
+ "schema": { "$ref": "#/definitions/SkuInformationList" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-pageable": { "nextLinkName": null },
+ "x-ms-examples": {
+ "ListSkus": {
+ "$ref": "./examples/ListSkus.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Address": {
+ "description": "The shipping address of the customer.",
+ "required": [ "addressLine1", "postalCode", "city", "state", "country" ],
+ "type": "object",
+ "properties": {
+ "addressLine1": {
+ "description": "The address line1.",
+ "type": "string"
+ },
+ "addressLine2": {
+ "description": "The address line2.",
+ "type": "string"
+ },
+ "addressLine3": {
+ "description": "The address line3.",
+ "type": "string"
+ },
+ "postalCode": {
+ "description": "The postal code.",
+ "type": "string"
+ },
+ "city": {
+ "description": "The city name.",
+ "type": "string"
+ },
+ "state": {
+ "description": "The state name.",
+ "type": "string"
+ },
+ "country": {
+ "description": "The country name.",
+ "type": "string"
+ }
+ }
+ },
+ "Alert": {
+ "description": "Alert on the data box edge/gateway device.",
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AlertProperties",
+ "description": "Properties of alert.",
+ "readOnly": true,
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "AlertErrorDetails": {
+ "description": "Error details for the alert.",
+ "type": "object",
+ "properties": {
+ "errorCode": {
+ "description": "Error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorMessage": {
+ "description": "Error Message.",
+ "type": "string",
+ "readOnly": true
+ },
+ "occurrences": {
+ "format": "int32",
+ "description": "Number of occurrences.",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "AlertList": {
+ "description": "Collection of alerts.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/Alert" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "AlertProperties": {
+ "description": "Properties of alert.",
+ "type": "object",
+ "properties": {
+ "title": {
+ "description": "Alert title.",
+ "type": "string",
+ "readOnly": true
+ },
+ "alertType": {
+ "description": "Alert type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "appearedAtDateTime": {
+ "format": "date-time",
+ "description": "UTC time when the alert appeared.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recommendation": {
+ "description": "Alert recommendation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "severity": {
+ "description": "Severity of the alert.",
+ "enum": [ "Informational", "Warning", "Critical" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AlertSeverity",
+ "modelAsString": true
+ }
+ },
+ "errorDetails": {
+ "$ref": "#/definitions/AlertErrorDetails",
+ "description": "Error details of the alert.",
+ "readOnly": true
+ },
+ "detailedInformation": {
+ "description": "Alert details.",
+ "type": "object",
+ "additionalProperties": { "type": "string" },
+ "readOnly": true
+ }
+ }
+ },
+ "ARMBaseModel": {
+ "description": "Represents the base class for all object models.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The path ID that uniquely identifies the object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The object name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The hierarchical type of the object.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "AsymmetricEncryptedSecret": {
+ "description": "Represent the secrets intended for encryption with asymmetric key pair.",
+ "required": [ "value", "encryptionAlgorithm" ],
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value of the secret.",
+ "type": "string"
+ },
+ "encryptionCertThumbprint": {
+ "description": "Thumbprint certificate used to encrypt \\\"Value\\\". If the value is unencrypted, it will be null.",
+ "type": "string"
+ },
+ "encryptionAlgorithm": {
+ "description": "The algorithm used to encrypt \"Value\".",
+ "enum": [ "None", "AES256", "RSAES_PKCS1_v_1_5" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EncryptionAlgorithm",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "Authentication": {
+ "description": "Authentication mechanism for IoT devices.",
+ "type": "object",
+ "properties": {
+ "symmetricKey": {
+ "$ref": "#/definitions/SymmetricKey",
+ "description": "Symmetric key for authentication."
+ }
+ }
+ },
+ "AzureContainerInfo": {
+ "description": "Azure container mapping of the endpoint.",
+ "required": [ "storageAccountCredentialId", "containerName", "dataFormat" ],
+ "type": "object",
+ "properties": {
+ "storageAccountCredentialId": {
+ "description": "ID of the storage account credential used to access storage.",
+ "type": "string"
+ },
+ "containerName": {
+ "description": "Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).",
+ "type": "string"
+ },
+ "dataFormat": {
+ "description": "Storage format used for the file represented by the share.",
+ "enum": [ "BlockBlob", "PageBlob", "AzureFile" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AzureContainerDataFormat",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "BandwidthSchedule": {
+ "description": "The bandwidth schedule details.",
+ "required": [ "properties" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BandwidthScheduleProperties",
+ "description": "The properties of the bandwidth schedule.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "BandwidthScheduleProperties": {
+ "description": "The properties of the bandwidth schedule.",
+ "required": [ "start", "stop", "rateInMbps", "days" ],
+ "type": "object",
+ "properties": {
+ "start": {
+ "description": "The start time of the schedule in UTC.",
+ "type": "string"
+ },
+ "stop": {
+ "description": "The stop time of the schedule in UTC.",
+ "type": "string"
+ },
+ "rateInMbps": {
+ "format": "int32",
+ "description": "The bandwidth rate in Mbps.",
+ "type": "integer"
+ },
+ "days": {
+ "description": "The days of the week when this schedule is applicable.",
+ "type": "array",
+ "items": {
+ "enum": [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "BandwidthSchedulesList": {
+ "description": "The collection of bandwidth schedules.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of bandwidth schedules.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/BandwidthSchedule" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ClientAccessRight": {
+ "description": "The mapping between a particular client IP and the type of access client has on the NFS share.",
+ "required": [ "client", "accessPermission" ],
+ "type": "object",
+ "properties": {
+ "client": {
+ "description": "IP of the client.",
+ "type": "string"
+ },
+ "accessPermission": {
+ "description": "Type of access to be allowed for the client.",
+ "enum": [ "NoAccess", "ReadOnly", "ReadWrite" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ClientPermissionType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "CloudError": {
+ "description": "An error response from the service.",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody",
+ "description": "The error details."
+ }
+ },
+ "x-ms-external": true
+ },
+ "CloudErrorBody": {
+ "description": "An error response from the service.",
+ "properties": {
+ "code": {
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A message describing the error, intended to be suitable for display in a user interface.",
+ "type": "string"
+ },
+ "details": {
+ "description": "A list of additional details about the error.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/CloudErrorBody" }
+ }
+ },
+ "x-ms-external": true
+ },
+ "ContactDetails": {
+ "description": "Contains all the contact details of the customer.",
+ "required": [ "contactPerson", "companyName", "phone", "emailList" ],
+ "type": "object",
+ "properties": {
+ "contactPerson": {
+ "description": "The contact person name.",
+ "type": "string"
+ },
+ "companyName": {
+ "description": "The name of the company.",
+ "type": "string"
+ },
+ "phone": {
+ "description": "The phone number.",
+ "type": "string"
+ },
+ "emailList": {
+ "description": "The email list.",
+ "type": "array",
+ "items": { "type": "string" }
+ }
+ }
+ },
+ "Container": {
+ "description": "Represents a container on the Data Box Edge/Gateway device.",
+ "required": [ "properties" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ContainerProperties",
+ "description": "The container properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ContainerList": {
+ "description": "Collection of all the containers on the Data Box Edge/Gateway device.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of containers.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/Container" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ContainerProperties": {
+ "description": "The container properties.",
+ "required": [ "dataFormat" ],
+ "type": "object",
+ "properties": {
+ "containerStatus": {
+ "description": "Current status of the container.",
+ "enum": [ "OK", "Offline", "Unknown", "Updating", "NeedsAttention" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ContainerStatus",
+ "modelAsString": true
+ }
+ },
+ "dataFormat": {
+ "description": "DataFormat for Container",
+ "enum": [ "BlockBlob", "PageBlob", "AzureFile" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AzureContainerDataFormat",
+ "modelAsString": true
+ }
+ },
+ "refreshDetails": {
+ "$ref": "#/definitions/RefreshDetails",
+ "description": "Details of the refresh job on this container.",
+ "readOnly": true
+ },
+ "createdDateTime": {
+ "format": "date-time",
+ "description": "The UTC time when container got created.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DataBoxEdgeDevice": {
+ "description": "The Data Box Edge/Gateway device.",
+ "required": [ "location" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "location": {
+ "description": "The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed.",
+ "type": "string",
+ "x-ms-mutability": [ "read", "create" ]
+ },
+ "tags": {
+ "description": "The list of tags that describe the device. These tags can be used to view and group this device (across resource groups).",
+ "type": "object",
+ "additionalProperties": { "type": "string" }
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The SKU type."
+ },
+ "etag": {
+ "description": "The etag for the devices.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/DataBoxEdgeDeviceProperties",
+ "description": "The properties of the Data Box Edge/Gateway device.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DataBoxEdgeDeviceExtendedInfo": {
+ "description": "The extended Info of the Data Box Edge/Gateway device.",
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfoProperties",
+ "description": "The extended info properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DataBoxEdgeDeviceExtendedInfoProperties": {
+ "description": "The properties of the Data Box Edge/Gateway device extended info.",
+ "type": "object",
+ "properties": {
+ "encryptionKeyThumbprint": {
+ "description": "The digital signature of encrypted certificate.",
+ "type": "string"
+ },
+ "encryptionKey": {
+ "description": "The public part of the encryption certificate. Client uses this to encrypt any secret.",
+ "type": "string"
+ },
+ "resourceKey": {
+ "description": "The Resource ID of the Resource.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DataBoxEdgeDeviceList": {
+ "description": "The collection of Data Box Edge/Gateway devices.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of Data Box Edge/Gateway devices.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/DataBoxEdgeDevice" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DataBoxEdgeDevicePatch": {
+ "description": "The Data Box Edge/Gateway device patch.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "The tags attached to the Data Box Edge/Gateway resource.",
+ "type": "object",
+ "additionalProperties": { "type": "string" }
+ }
+ }
+ },
+ "DataBoxEdgeDeviceProperties": {
+ "description": "The properties of the Data Box Edge/Gateway device.",
+ "type": "object",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": {
+ "description": "The status of the Data Box Edge/Gateway device.",
+ "enum": [ "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected", "Maintenance" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DataBoxEdgeDeviceStatus",
+ "modelAsString": true
+ }
+ },
+ "serialNumber": {
+ "description": "The Serial Number of Data Box Edge/Gateway device.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The Description of the Data Box Edge/Gateway device.",
+ "type": "string"
+ },
+ "modelDescription": {
+ "description": "The description of the Data Box Edge/Gateway device model.",
+ "type": "string"
+ },
+ "deviceType": {
+ "description": "The type of the Data Box Edge/Gateway device.",
+ "enum": [ "DataBoxEdgeDevice" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "DeviceType",
+ "modelAsString": true
+ }
+ },
+ "friendlyName": {
+ "description": "The Data Box Edge/Gateway device name.",
+ "type": "string"
+ },
+ "culture": {
+ "description": "The Data Box Edge/Gateway device culture.",
+ "type": "string",
+ "readOnly": true
+ },
+ "deviceModel": {
+ "description": "The Data Box Edge/Gateway device model.",
+ "type": "string",
+ "readOnly": true
+ },
+ "deviceSoftwareVersion": {
+ "description": "The Data Box Edge/Gateway device software version.",
+ "type": "string",
+ "readOnly": true
+ },
+ "deviceLocalCapacity": {
+ "format": "int64",
+ "description": "The Data Box Edge/Gateway device local capacity in MB.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "timeZone": {
+ "description": "The Data Box Edge/Gateway device timezone.",
+ "type": "string",
+ "readOnly": true
+ },
+ "deviceHcsVersion": {
+ "description": "The device software version number of the device (eg: 1.2.18105.6).",
+ "type": "string",
+ "readOnly": true
+ },
+ "configuredRoleTypes": {
+ "description": "Type of compute roles configured.",
+ "type": "array",
+ "items": {
+ "enum": [ "IOT", "ASA", "Functions", "Cognitive" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RoleTypes",
+ "modelAsString": true
+ }
+ },
+ "readOnly": true
+ },
+ "nodeCount": {
+ "format": "int32",
+ "description": "The number of nodes in the cluster.",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "FileEventTrigger": {
+ "description": "Trigger details.",
+ "required": [ "properties", "kind" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/Trigger" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/FileTriggerProperties",
+ "description": "File trigger properties.",
+ "x-ms-client-flatten": true
+ },
+ "id": {
+ "description": "The path ID that uniquely identifies the object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The object name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The hierarchical type of the object.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-discriminator-value": "FileEvent"
+ },
+ "FileSourceInfo": {
+ "description": "File source details.",
+ "required": [ "shareId" ],
+ "type": "object",
+ "properties": {
+ "shareId": {
+ "description": "File share ID.",
+ "type": "string"
+ }
+ }
+ },
+ "FileTriggerProperties": {
+ "description": "File trigger properties.",
+ "required": [ "sourceInfo", "sinkInfo" ],
+ "type": "object",
+ "properties": {
+ "sourceInfo": {
+ "$ref": "#/definitions/FileSourceInfo",
+ "description": "File event source details."
+ },
+ "sinkInfo": {
+ "$ref": "#/definitions/RoleSinkInfo",
+ "description": "Role sink info."
+ },
+ "customContextTag": {
+ "description": "A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.",
+ "type": "string"
+ }
+ }
+ },
+ "IoTDeviceInfo": {
+ "description": "Metadata of IoT device/IoT Edge device to be configured.",
+ "required": [ "deviceId", "ioTHostHub" ],
+ "type": "object",
+ "properties": {
+ "deviceId": {
+ "description": "ID of the IoT device/edge device.",
+ "type": "string"
+ },
+ "ioTHostHub": {
+ "description": "Host name for the IoT hub associated to the device.",
+ "type": "string"
+ },
+ "ioTHostHubId": {
+ "description": "Id for the IoT hub associated to the device.",
+ "type": "string"
+ },
+ "authentication": {
+ "$ref": "#/definitions/Authentication",
+ "description": "IoT device authentication info."
+ }
+ }
+ },
+ "IoTRole": {
+ "description": "Compute role.",
+ "required": [ "kind" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/Role" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/IoTRoleProperties",
+ "description": "Properties specific to IoT role.",
+ "x-ms-client-flatten": true
+ },
+ "id": {
+ "description": "The path ID that uniquely identifies the object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The object name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The hierarchical type of the object.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-discriminator-value": "IOT"
+ },
+ "IoTRoleProperties": {
+ "description": "IoT role properties.",
+ "required": [ "hostPlatform", "ioTDeviceDetails", "ioTEdgeDeviceDetails", "roleStatus" ],
+ "type": "object",
+ "properties": {
+ "hostPlatform": {
+ "description": "Host OS supported by the IoT role.",
+ "enum": [ "Windows", "Linux" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PlatformType",
+ "modelAsString": true
+ }
+ },
+ "ioTDeviceDetails": {
+ "$ref": "#/definitions/IoTDeviceInfo",
+ "description": "IoT device metadata to which data box edge device needs to be connected."
+ },
+ "ioTEdgeDeviceDetails": {
+ "$ref": "#/definitions/IoTDeviceInfo",
+ "description": "IoT edge device to which the IoT role needs to be configured."
+ },
+ "shareMappings": {
+ "description": "Mount points of shares in role(s).",
+ "type": "array",
+ "items": { "$ref": "#/definitions/MountPointMap" }
+ },
+ "roleStatus": {
+ "description": "Role status.",
+ "enum": [ "Enabled", "Disabled" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RoleStatus",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "Ipv4Config": {
+ "description": "Details related to the IPv4 address configuration.",
+ "type": "object",
+ "properties": {
+ "ipAddress": {
+ "description": "The IPv4 address of the network adapter.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subnet": {
+ "description": "The IPv4 subnet of the network adapter.",
+ "type": "string",
+ "readOnly": true
+ },
+ "gateway": {
+ "description": "The IPv4 gateway of the network adapter.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Ipv6Config": {
+ "description": "Details related to the IPv6 address configuration.",
+ "type": "object",
+ "properties": {
+ "ipAddress": {
+ "description": "The IPv6 address of the network adapter.",
+ "type": "string",
+ "readOnly": true
+ },
+ "prefixLength": {
+ "format": "int32",
+ "description": "The IPv6 prefix of the network adapter.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "gateway": {
+ "description": "The IPv6 gateway of the network adapter.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Job": {
+ "description": "A device job.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The path ID that uniquely identifies the object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The hierarchical type of the object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The current status of the job.",
+ "enum": [ "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "JobStatus",
+ "modelAsString": true
+ }
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The UTC date and time at which the job started.",
+ "type": "string",
+ "readOnly": true
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "The UTC date and time at which the job completed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "percentComplete": {
+ "format": "int32",
+ "description": "The percentage of the job that is complete.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "error": {
+ "$ref": "#/definitions/JobErrorDetails",
+ "description": "The error details.",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/JobProperties",
+ "description": "The properties of the job.",
+ "readOnly": true,
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "JobErrorDetails": {
+ "description": "The job error information containing the list of job errors.",
+ "type": "object",
+ "properties": {
+ "errorDetails": {
+ "description": "The error details.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/JobErrorItem" },
+ "readOnly": true
+ },
+ "code": {
+ "description": "The code intended for programmatic access.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "The message that describes the error in detail.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "JobErrorItem": {
+ "description": "The job error items.",
+ "type": "object",
+ "properties": {
+ "recommendations": {
+ "description": "The recommended actions.",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ },
+ "code": {
+ "description": "The code intended for programmatic access.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "The message that describes the error in detail.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "JobProperties": {
+ "description": "The properties for the job.",
+ "type": "object",
+ "properties": {
+ "jobType": {
+ "description": "The type of the job.",
+ "enum": [ "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "JobType",
+ "modelAsString": true
+ }
+ },
+ "currentStage": {
+ "description": "Current stage of the update operation.",
+ "enum": [ "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "UpdateOperationStage",
+ "modelAsString": true
+ }
+ },
+ "downloadProgress": {
+ "$ref": "#/definitions/UpdateDownloadProgress",
+ "description": "The download progress.",
+ "readOnly": true
+ },
+ "installProgress": {
+ "$ref": "#/definitions/UpdateInstallProgress",
+ "description": "The install progress.",
+ "readOnly": true
+ },
+ "totalRefreshErrors": {
+ "format": "int32",
+ "description": "Total number of errors encountered during the refresh process.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "errorManifestFile": {
+ "description": "Local share/remote container relative path to the error manifest file of the refresh.",
+ "type": "string",
+ "readOnly": true
+ },
+ "refreshedEntityId": {
+ "description": "ARM ID of the entity that was refreshed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "folder": {
+ "description": "If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.)",
+ "type": "string"
+ }
+ }
+ },
+ "MetricDimension_V1": {
+ "description": "Metric Dimension v1.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the metrics dimension.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Display name of the metrics dimension.",
+ "type": "string"
+ },
+ "toBeExportedForShoebox": {
+ "description": "To be exported to shoe box.",
+ "type": "boolean"
+ }
+ }
+ },
+ "MetricSpecification_V1": {
+ "description": "Metric specification version 1.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the metric.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Display name of the metric.",
+ "type": "string"
+ },
+ "displayDescription": {
+ "description": "Description of the metric to be displayed.",
+ "type": "string"
+ },
+ "unit": {
+ "description": "Metric units.",
+ "enum": [ "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MetricUnit",
+ "modelAsString": true
+ }
+ },
+ "aggregationType": {
+ "description": "Metric aggregation type.",
+ "enum": [ "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MetricAggregationType",
+ "modelAsString": true
+ }
+ },
+ "dimensions": {
+ "description": "Metric dimensions, other than default dimension which is resource.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/MetricDimension_V1" }
+ },
+ "fillGapWithZero": {
+ "description": "Set true to fill the gaps with zero.",
+ "type": "boolean"
+ },
+ "category": {
+ "description": "Metric category.",
+ "enum": [ "Capacity", "Transaction" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MetricCategory",
+ "modelAsString": true
+ }
+ },
+ "resourceIdDimensionNameOverride": {
+ "description": "Resource name override.",
+ "type": "string"
+ },
+ "supportedTimeGrainTypes": {
+ "description": "Support granularity of metrics.",
+ "type": "array",
+ "items": {
+ "enum": [ "PT1M", "PT5M", "PT15M", "PT30M", "PT1H", "PT6H", "PT12H", "PT1D" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TimeGrain",
+ "modelAsString": true
+ }
+ }
+ },
+ "supportedAggregationTypes": {
+ "description": "Support metric aggregation type.",
+ "type": "array",
+ "items": {
+ "enum": [ "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MetricAggregationType",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "MountPointMap": {
+ "description": "The share mount point.",
+ "required": [ "shareId" ],
+ "type": "object",
+ "properties": {
+ "shareId": {
+ "description": "ID of the share mounted to the role VM.",
+ "type": "string"
+ },
+ "roleId": {
+ "description": "ID of the role to which share is mounted.",
+ "type": "string",
+ "readOnly": true
+ },
+ "mountPoint": {
+ "description": "Mount point for the share.",
+ "type": "string",
+ "readOnly": true
+ },
+ "roleType": {
+ "description": "Role type.",
+ "enum": [ "IOT", "ASA", "Functions", "Cognitive" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "RoleTypes",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "NetworkAdapter": {
+ "description": "Represents the networkAdapter on a device.",
+ "type": "object",
+ "properties": {
+ "adapterId": {
+ "description": "Instance ID of network adapter.",
+ "type": "string",
+ "readOnly": true
+ },
+ "adapterPosition": {
+ "$ref": "#/definitions/NetworkAdapterPosition",
+ "description": "Hardware position of network adapter.",
+ "readOnly": true
+ },
+ "index": {
+ "format": "int32",
+ "description": "Logical index of the adapter.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "nodeId": {
+ "description": "Node ID of the network adapter.",
+ "type": "string",
+ "readOnly": true
+ },
+ "networkAdapterName": {
+ "description": "Network adapter name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "label": {
+ "description": "Hardware label for the adapter.",
+ "type": "string",
+ "readOnly": true
+ },
+ "macAddress": {
+ "description": "MAC address.",
+ "type": "string",
+ "readOnly": true
+ },
+ "linkSpeed": {
+ "format": "int64",
+ "description": "Link speed.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "status": {
+ "description": "Value indicating whether this adapter is valid.",
+ "enum": [ "Inactive", "Active" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "NetworkAdapterStatus",
+ "modelAsString": true
+ }
+ },
+ "rdmaStatus": {
+ "description": "Value indicating whether this adapter is RDMA capable.",
+ "enum": [ "Incapable", "Capable" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "NetworkAdapterRDMAStatus",
+ "modelAsString": true
+ }
+ },
+ "dhcpStatus": {
+ "description": "Value indicating whether this adapter has DHCP enabled.",
+ "enum": [ "Disabled", "Enabled" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "NetworkAdapterDHCPStatus",
+ "modelAsString": true
+ }
+ },
+ "ipv4Configuration": {
+ "$ref": "#/definitions/Ipv4Config",
+ "description": "The IPv4 configuration of the network adapter.",
+ "readOnly": true
+ },
+ "ipv6Configuration": {
+ "$ref": "#/definitions/Ipv6Config",
+ "description": "The IPv6 configuration of the network adapter.",
+ "readOnly": true
+ },
+ "ipv6LinkLocalAddress": {
+ "description": "The IPv6 local address.",
+ "type": "string",
+ "readOnly": true
+ },
+ "dnsServers": {
+ "description": "The list of DNS Servers of the device.",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ }
+ }
+ },
+ "NetworkAdapterPosition": {
+ "description": "The network adapter position.",
+ "type": "object",
+ "properties": {
+ "networkGroup": {
+ "description": "The network group.",
+ "enum": [ "None", "NonRDMA", "RDMA" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "NetworkGroup",
+ "modelAsString": true
+ }
+ },
+ "port": {
+ "format": "int32",
+ "description": "The port.",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "NetworkSettings": {
+ "description": "The network settings of a device.",
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/NetworkSettingsProperties",
+ "description": "The properties of network settings of a device.",
+ "readOnly": true,
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "NetworkSettingsProperties": {
+ "description": "The properties of network settings.",
+ "type": "object",
+ "properties": {
+ "networkAdapters": {
+ "description": "The network adapter list on the device.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/NetworkAdapter" },
+ "readOnly": true
+ }
+ }
+ },
+ "Node": {
+ "description": "Represents a single node in a Data box Edge/Gateway device\r\nGateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node\r\nMulti-node Edge devices will have more than 1 nodes",
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/NodeProperties",
+ "description": "The properties of the node",
+ "readOnly": true,
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "NodeList": {
+ "description": "Collection of Nodes.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of Nodes.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/Node" },
+ "readOnly": true
+ }
+ }
+ },
+ "NodeProperties": {
+ "description": "This class represents the nodes in a highly available cluster",
+ "type": "object",
+ "properties": {
+ "nodeStatus": {
+ "description": "The current status of the individual node",
+ "enum": [ "Unknown", "Up", "Down", "Rebooting", "ShuttingDown" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "NodeStatus",
+ "modelAsString": true
+ }
+ },
+ "nodeChassisSerialNumber": {
+ "description": "Serial number of the Chassis",
+ "type": "string",
+ "readOnly": true
+ },
+ "nodeSerialNumber": {
+ "description": "Serial number of the individual node",
+ "type": "string",
+ "readOnly": true
+ },
+ "nodeDisplayName": {
+ "description": "Display Name of the individual node",
+ "type": "string",
+ "readOnly": true
+ },
+ "nodeFriendlySoftwareVersion": {
+ "description": "Friendly software version name that is currently installed on the node",
+ "type": "string",
+ "readOnly": true
+ },
+ "nodeHcsVersion": {
+ "description": "HCS version that is currently installed on the node",
+ "type": "string",
+ "readOnly": true
+ },
+ "nodeInstanceId": {
+ "description": "Guid instance id of the node",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Operation": {
+ "description": "Operations.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the operation.",
+ "type": "string"
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplay",
+ "description": "Properties displayed for the operation."
+ },
+ "origin": {
+ "description": "Origin of the operation.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationProperties",
+ "description": "Operation properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationDisplay": {
+ "description": "Operation display properties.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Provider name.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The type of resource in which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation to be performed on the resource.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the operation to be performed.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Operation properties.",
+ "type": "object",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification",
+ "description": "Service specification."
+ }
+ }
+ },
+ "OperationsList": {
+ "description": "The list of operations used for the discovery of available provider operations.",
+ "required": [ "value" ],
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/Operation" }
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "Order": {
+ "description": "The order details.",
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/OrderProperties",
+ "description": "The order properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OrderList": {
+ "description": "List of order entities.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of orders.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/Order" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "OrderProperties": {
+ "description": "Order properties.",
+ "required": [ "contactInformation", "shippingAddress" ],
+ "type": "object",
+ "properties": {
+ "contactInformation": {
+ "$ref": "#/definitions/ContactDetails",
+ "description": "The contact details."
+ },
+ "shippingAddress": {
+ "$ref": "#/definitions/Address",
+ "description": "The shipping address."
+ },
+ "currentStatus": {
+ "$ref": "#/definitions/OrderStatus",
+ "description": "Current status of the order."
+ },
+ "orderHistory": {
+ "description": "List of status changes in the order.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/OrderStatus" },
+ "readOnly": true
+ },
+ "serialNumber": {
+ "description": "Serial number of the device.",
+ "type": "string",
+ "readOnly": true
+ },
+ "deliveryTrackingInfo": {
+ "description": "Tracking information for the package delivered to the customer whether it has an original or a replacement device.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/TrackingInfo" },
+ "readOnly": true
+ },
+ "returnTrackingInfo": {
+ "description": "Tracking information for the package returned from the customer whether it has an original or a replacement device.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/TrackingInfo" },
+ "readOnly": true
+ }
+ }
+ },
+ "OrderStatus": {
+ "description": "Represents a single status change.",
+ "required": [ "status" ],
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "Status of the order as per the allowed status types.",
+ "enum": [ "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OrderState",
+ "modelAsString": true
+ }
+ },
+ "updateDateTime": {
+ "format": "date-time",
+ "description": "Time of status update.",
+ "type": "string",
+ "readOnly": true
+ },
+ "comments": {
+ "description": "Comments related to this status change.",
+ "type": "string"
+ },
+ "additionalOrderDetails": {
+ "description": "Dictionary to hold generic information which is not stored\r\nby the already existing properties",
+ "type": "object",
+ "additionalProperties": { "type": "string" },
+ "readOnly": true
+ }
+ }
+ },
+ "PeriodicTimerEventTrigger": {
+ "description": "Trigger details.",
+ "required": [ "properties", "kind" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/Trigger" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PeriodicTimerProperties",
+ "description": "Periodic timer trigger properties.",
+ "x-ms-client-flatten": true
+ },
+ "id": {
+ "description": "The path ID that uniquely identifies the object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The object name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The hierarchical type of the object.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-discriminator-value": "PeriodicTimerEvent"
+ },
+ "PeriodicTimerProperties": {
+ "description": "Periodic timer trigger properties.",
+ "required": [ "sourceInfo", "sinkInfo" ],
+ "type": "object",
+ "properties": {
+ "sourceInfo": {
+ "$ref": "#/definitions/PeriodicTimerSourceInfo",
+ "description": "Periodic timer details."
+ },
+ "sinkInfo": {
+ "$ref": "#/definitions/RoleSinkInfo",
+ "description": "Role Sink information."
+ },
+ "customContextTag": {
+ "description": "A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.",
+ "type": "string"
+ }
+ }
+ },
+ "PeriodicTimerSourceInfo": {
+ "description": "Periodic timer event source.",
+ "required": [ "startTime", "schedule" ],
+ "type": "object",
+ "properties": {
+ "startTime": {
+ "format": "date-time",
+ "description": "The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.",
+ "type": "string"
+ },
+ "schedule": {
+ "description": "Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.",
+ "type": "string"
+ },
+ "topic": {
+ "description": "Topic where periodic events are published to IoT device.",
+ "type": "string"
+ }
+ }
+ },
+ "RawCertificateData": {
+ "description": "Raw Certificate Data.",
+ "required": [ "certificate" ],
+ "type": "object",
+ "properties": {
+ "authenticationType": {
+ "description": "The authentication type.",
+ "enum": [ "Invalid", "AzureActiveDirectory" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AuthenticationType",
+ "modelAsString": true
+ }
+ },
+ "certificate": {
+ "description": "The base64 encoded certificate raw data.",
+ "type": "string"
+ }
+ }
+ },
+ "RefreshDetails": {
+ "description": "Fields for tracking refresh job on the share or container.",
+ "type": "object",
+ "properties": {
+ "inProgressRefreshJobId": {
+ "description": "If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.",
+ "type": "string"
+ },
+ "lastCompletedRefreshJobTimeInUTC": {
+ "format": "date-time",
+ "description": "Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.",
+ "type": "string"
+ },
+ "errorManifestFile": {
+ "description": "Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.",
+ "type": "string"
+ },
+ "lastJob": {
+ "description": "Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.",
+ "type": "string"
+ }
+ }
+ },
+ "ResourceTypeSku": {
+ "description": "SkuInformation object",
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "description": "The type of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The Sku name",
+ "enum": [ "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": true
+ }
+ },
+ "kind": {
+ "description": "The Sku kind",
+ "type": "string",
+ "readOnly": true
+ },
+ "tier": {
+ "description": "The Sku tier",
+ "enum": [ "Standard" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "SkuTier",
+ "modelAsString": true
+ }
+ },
+ "family": {
+ "description": "The Sku family",
+ "type": "string",
+ "readOnly": true
+ },
+ "locations": {
+ "description": "Availability of the SKU for the region",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ },
+ "apiVersions": {
+ "description": "The API versions in which SKU is available",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ },
+ "locationInfo": {
+ "description": "Availability of the SKU for the location/zone",
+ "type": "array",
+ "items": { "$ref": "#/definitions/SkuLocationInfo" },
+ "readOnly": true
+ },
+ "costs": {
+ "description": "The pricing info of the Sku.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/SkuCost" },
+ "readOnly": true
+ },
+ "restrictions": {
+ "description": "Restrictions of the SKU availability.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/SkuRestriction" },
+ "readOnly": true
+ }
+ }
+ },
+ "Role": {
+ "description": "Compute role.",
+ "required": [ "kind" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "kind": {
+ "description": "Role type.",
+ "enum": [ "IOT", "ASA", "Functions", "Cognitive" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RoleTypes",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "RoleList": {
+ "description": "Collection of all the roles on the Data Box Edge device.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The Value.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/Role" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RoleSinkInfo": {
+ "description": "Compute role against which events will be raised.",
+ "required": [ "roleId" ],
+ "type": "object",
+ "properties": {
+ "roleId": {
+ "description": "Compute role ID.",
+ "type": "string"
+ }
+ }
+ },
+ "SecuritySettings": {
+ "description": "The security settings of a device.",
+ "required": [ "properties" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SecuritySettingsProperties",
+ "description": "Properties of the security settings.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "SecuritySettingsProperties": {
+ "description": "The properties of security settings.",
+ "required": [ "deviceAdminPassword" ],
+ "type": "object",
+ "properties": {
+ "deviceAdminPassword": {
+ "$ref": "#/definitions/AsymmetricEncryptedSecret",
+ "description": "Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters."
+ }
+ }
+ },
+ "ServiceSpecification": {
+ "description": "Service specification.",
+ "type": "object",
+ "properties": {
+ "metricSpecifications": {
+ "description": "Metric specification as defined by shoebox.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/MetricSpecification_V1" }
+ }
+ }
+ },
+ "Share": {
+ "description": "Represents a share on the Data Box Edge/Gateway device.",
+ "required": [ "properties" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ShareProperties",
+ "description": "The share properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ShareAccessRight": {
+ "description": "Specifies the mapping between this particular user and the type of access he has on shares on this device.",
+ "required": [ "shareId", "accessType" ],
+ "type": "object",
+ "properties": {
+ "shareId": {
+ "description": "The share ID.",
+ "type": "string"
+ },
+ "accessType": {
+ "description": "Type of access to be allowed on the share for this user.",
+ "enum": [ "Change", "Read", "Custom" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ShareAccessType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ShareList": {
+ "description": "Collection of all the shares on the Data Box Edge/Gateway device.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of shares.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/Share" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ShareProperties": {
+ "description": "The share properties.",
+ "required": [ "shareStatus", "monitoringStatus", "accessProtocol" ],
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "Description for the share.",
+ "type": "string"
+ },
+ "shareStatus": {
+ "description": "Current status of the share.",
+ "enum": [ "Offline", "Unknown", "OK", "Updating", "NeedsAttention" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ShareStatus",
+ "modelAsString": true
+ }
+ },
+ "monitoringStatus": {
+ "description": "Current monitoring status of the share.",
+ "enum": [ "Enabled", "Disabled" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MonitoringStatus",
+ "modelAsString": true
+ }
+ },
+ "azureContainerInfo": {
+ "$ref": "#/definitions/AzureContainerInfo",
+ "description": "Azure container mapping for the share."
+ },
+ "accessProtocol": {
+ "description": "Access protocol to be used by the share.",
+ "enum": [ "SMB", "NFS" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ShareAccessProtocol",
+ "modelAsString": true
+ }
+ },
+ "userAccessRights": {
+ "description": "Mapping of users and corresponding access rights on the share (required for SMB protocol).",
+ "type": "array",
+ "items": { "$ref": "#/definitions/UserAccessRight" }
+ },
+ "clientAccessRights": {
+ "description": "List of IP addresses and corresponding access rights on the share(required for NFS protocol).",
+ "type": "array",
+ "items": { "$ref": "#/definitions/ClientAccessRight" }
+ },
+ "refreshDetails": {
+ "$ref": "#/definitions/RefreshDetails",
+ "description": "Details of the refresh job on this share."
+ },
+ "shareMappings": {
+ "description": "Share mount point to the role.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/MountPointMap" },
+ "readOnly": true
+ },
+ "dataPolicy": {
+ "description": "Data policy of the share.",
+ "enum": [ "Cloud", "Local" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DataPolicy",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "Sku": {
+ "description": "The SKU type.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "SKU name.",
+ "enum": [ "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": true
+ }
+ },
+ "tier": {
+ "description": "The SKU tier. This is based on the SKU name.",
+ "enum": [ "Standard" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SkuTier",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SkuCost": {
+ "description": "The metadata for retrieving price info.",
+ "type": "object",
+ "properties": {
+ "meterId": {
+ "description": "Used for querying price from commerce.",
+ "type": "string",
+ "readOnly": true
+ },
+ "quantity": {
+ "format": "int64",
+ "description": "The cost quantity.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "extendedUnit": {
+ "description": "Restriction of the SKU for the location/zone",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SkuInformationList": {
+ "description": "List of SKU Information objects",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of ResourceType Sku",
+ "type": "array",
+ "items": { "$ref": "#/definitions/ResourceTypeSku" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Links to the next set of results",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SkuLocationInfo": {
+ "description": "The location info.",
+ "type": "object",
+ "properties": {
+ "location": {
+ "description": "The location.",
+ "type": "string",
+ "readOnly": true
+ },
+ "zones": {
+ "description": "The zones.",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ },
+ "sites": {
+ "description": "The sites.",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ }
+ }
+ },
+ "SkuRestriction": {
+ "description": "The restrictions because of which SKU cannot be used.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the restriction.",
+ "type": "string",
+ "readOnly": true
+ },
+ "values": {
+ "description": "The locations where sku is restricted.",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ },
+ "reasonCode": {
+ "description": "The SKU restriction reason.",
+ "enum": [ "NotAvailableForSubscription", "QuotaId" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "SkuRestrictionReasonCode",
+ "modelAsString": true
+ }
+ },
+ "restrictionInfo": {
+ "$ref": "#/definitions/SkuRestrictionInfo",
+ "description": "Restriction of the SKU for the location/zone",
+ "readOnly": true
+ }
+ }
+ },
+ "SkuRestrictionInfo": {
+ "description": "The restriction info with locations and zones.",
+ "type": "object",
+ "properties": {
+ "locations": {
+ "description": "The locations.",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ },
+ "zones": {
+ "description": "The zones.",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ }
+ }
+ },
+ "StorageAccount": {
+ "description": "Represents a Storage Account on the Data Box Edge/Gateway device.",
+ "required": [ "properties" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StorageAccountProperties",
+ "description": "The Storage Account properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "StorageAccountCredential": {
+ "description": "The storage account credential.",
+ "required": [ "properties" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StorageAccountCredentialProperties",
+ "description": "The storage account credential properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "StorageAccountCredentialList": {
+ "description": "The collection of storage account credentials.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/StorageAccountCredential" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "StorageAccountCredentialProperties": {
+ "description": "The storage account credential properties.",
+ "required": [ "alias", "sslStatus", "accountType" ],
+ "type": "object",
+ "properties": {
+ "alias": {
+ "description": "Alias for the storage account.",
+ "type": "string"
+ },
+ "userName": {
+ "description": "Username for the storage account.",
+ "type": "string"
+ },
+ "accountKey": {
+ "$ref": "#/definitions/AsymmetricEncryptedSecret",
+ "description": "Encrypted storage key."
+ },
+ "connectionString": {
+ "description": "Connection string for the storage account. Use this string if username and account key are not specified.",
+ "type": "string"
+ },
+ "sslStatus": {
+ "description": "Signifies whether SSL needs to be enabled or not.",
+ "enum": [ "Enabled", "Disabled" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SSLStatus",
+ "modelAsString": true
+ }
+ },
+ "blobDomainName": {
+ "description": "Blob end point for private clouds.",
+ "type": "string"
+ },
+ "accountType": {
+ "description": "Type of storage accessed on the storage account.",
+ "enum": [ "GeneralPurposeStorage", "BlobStorage" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AccountType",
+ "modelAsString": true
+ }
+ },
+ "storageAccountId": {
+ "description": "Id of the storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "StorageAccountList": {
+ "description": "Collection of all the Storage Accounts on the Data Box Edge/Gateway device.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of storageAccounts.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/StorageAccount" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "StorageAccountProperties": {
+ "description": "The storage account properties.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "Description for the storage Account.",
+ "type": "string"
+ },
+ "storageAccountStatus": {
+ "description": "Current status of the storage account",
+ "enum": [ "OK", "Offline", "Unknown", "Updating", "NeedsAttention" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageAccountStatus",
+ "modelAsString": true
+ }
+ },
+ "dataPolicy": {
+ "description": "Data policy of the storage Account.",
+ "enum": [ "Cloud", "Local" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DataPolicy",
+ "modelAsString": true
+ }
+ },
+ "storageAccountCredentialId": {
+ "description": "Storage Account Credential Id",
+ "type": "string"
+ },
+ "blobEndpoint": {
+ "description": "BlobEndpoint of Storage Account",
+ "type": "string",
+ "readOnly": true
+ },
+ "containerCount": {
+ "format": "int32",
+ "description": "The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud.",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "SymmetricKey": {
+ "description": "Symmetric key for authentication.",
+ "type": "object",
+ "properties": {
+ "connectionString": {
+ "$ref": "#/definitions/AsymmetricEncryptedSecret",
+ "description": "Connection string based on the symmetric key."
+ }
+ }
+ },
+ "TrackingInfo": {
+ "description": "Tracking courier information.",
+ "type": "object",
+ "properties": {
+ "serialNumber": {
+ "description": "Serial number of the device being tracked.",
+ "type": "string"
+ },
+ "carrierName": {
+ "description": "Name of the carrier used in the delivery.",
+ "type": "string"
+ },
+ "trackingId": {
+ "description": "Tracking ID of the shipment.",
+ "type": "string"
+ },
+ "trackingUrl": {
+ "description": "Tracking URL of the shipment.",
+ "type": "string"
+ }
+ }
+ },
+ "Trigger": {
+ "description": "Trigger details.",
+ "required": [ "kind" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "kind": {
+ "description": "Trigger Kind.",
+ "enum": [ "FileEvent", "PeriodicTimerEvent" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerEventType",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "TriggerList": {
+ "description": "Collection of all trigger on the data box edge device.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of triggers.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/Trigger" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UpdateDownloadProgress": {
+ "description": "Details about the download progress of update.",
+ "type": "object",
+ "properties": {
+ "downloadPhase": {
+ "description": "The download phase.",
+ "enum": [ "Unknown", "Initializing", "Downloading", "Verifying" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "DownloadPhase",
+ "modelAsString": true
+ }
+ },
+ "percentComplete": {
+ "format": "int32",
+ "description": "Percentage of completion.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "totalBytesToDownload": {
+ "format": "double",
+ "description": "Total bytes to download.",
+ "type": "number",
+ "readOnly": true
+ },
+ "totalBytesDownloaded": {
+ "format": "double",
+ "description": "Total bytes downloaded.",
+ "type": "number",
+ "readOnly": true
+ },
+ "numberOfUpdatesToDownload": {
+ "format": "int32",
+ "description": "Number of updates to download.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "numberOfUpdatesDownloaded": {
+ "format": "int32",
+ "description": "Number of updates downloaded.",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "UpdateInstallProgress": {
+ "description": "Progress details during installation of updates.",
+ "type": "object",
+ "properties": {
+ "percentComplete": {
+ "format": "int32",
+ "description": "Percentage completed.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "numberOfUpdatesToInstall": {
+ "format": "int32",
+ "description": "Number of updates to install.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "numberOfUpdatesInstalled": {
+ "format": "int32",
+ "description": "Number of updates installed.",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "UpdateSummary": {
+ "description": "Details about ongoing updates and availability of updates on the device.",
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/UpdateSummaryProperties",
+ "description": "The device update information summary.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "UpdateSummaryProperties": {
+ "description": "The device update information summary.",
+ "type": "object",
+ "properties": {
+ "deviceVersionNumber": {
+ "description": "The current version of the device in format: 1.2.17312.13.\",",
+ "type": "string"
+ },
+ "friendlyDeviceVersionName": {
+ "description": "The current version of the device in text format.",
+ "type": "string"
+ },
+ "deviceLastScannedDateTime": {
+ "format": "date-time",
+ "description": "The last time when a scan was done on the device.",
+ "type": "string"
+ },
+ "lastCompletedScanJobDateTime": {
+ "format": "date-time",
+ "description": "The time when the last scan job was completed (success/cancelled/failed) on the appliance.",
+ "type": "string"
+ },
+ "lastCompletedDownloadJobDateTime": {
+ "format": "date-time",
+ "description": "The time when the last Download job was completed (success/cancelled/failed) on the appliance.",
+ "type": "string",
+ "readOnly": true
+ },
+ "lastCompletedInstallJobDateTime": {
+ "format": "date-time",
+ "description": "The time when the last Install job was completed (success/cancelled/failed) on the appliance.",
+ "type": "string",
+ "readOnly": true
+ },
+ "totalNumberOfUpdatesAvailable": {
+ "format": "int32",
+ "description": "The number of updates available for the current device version as per the last device scan.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "totalNumberOfUpdatesPendingDownload": {
+ "format": "int32",
+ "description": "The total number of items pending download.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "totalNumberOfUpdatesPendingInstall": {
+ "format": "int32",
+ "description": "The total number of items pending install.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "rebootBehavior": {
+ "description": "Indicates if updates are available and at least one of the updates needs a reboot.",
+ "enum": [ "NeverReboots", "RequiresReboot", "RequestReboot" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "InstallRebootBehavior",
+ "modelAsString": true
+ }
+ },
+ "ongoingUpdateOperation": {
+ "description": "The current update operation.",
+ "enum": [ "None", "Scan", "Download", "Install" ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "UpdateOperation",
+ "modelAsString": true
+ }
+ },
+ "inProgressDownloadJobId": {
+ "description": "The job ID of the download job in progress.",
+ "type": "string",
+ "readOnly": true
+ },
+ "inProgressInstallJobId": {
+ "description": "The job ID of the install job in progress.",
+ "type": "string",
+ "readOnly": true
+ },
+ "inProgressDownloadJobStartedDateTime": {
+ "format": "date-time",
+ "description": "The time when the currently running download (if any) started.",
+ "type": "string",
+ "readOnly": true
+ },
+ "inProgressInstallJobStartedDateTime": {
+ "format": "date-time",
+ "description": "The time when the currently running install (if any) started.",
+ "type": "string",
+ "readOnly": true
+ },
+ "updateTitles": {
+ "description": "The list of updates available for install.",
+ "type": "array",
+ "items": { "type": "string" },
+ "readOnly": true
+ },
+ "totalUpdateSizeInBytes": {
+ "format": "double",
+ "description": "The total size of updates available for download in bytes.",
+ "type": "number",
+ "readOnly": true
+ }
+ }
+ },
+ "UploadCertificateRequest": {
+ "description": "The upload certificate request.",
+ "required": [ "properties" ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/RawCertificateData",
+ "description": "The Base 64 encoded certificate raw data.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "UploadCertificateResponse": {
+ "description": "The upload registration certificate response.",
+ "type": "object",
+ "properties": {
+ "authType": {
+ "description": "Specifies authentication type.",
+ "enum": [ "Invalid", "AzureActiveDirectory" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AuthenticationType",
+ "modelAsString": true
+ }
+ },
+ "resourceId": {
+ "description": "The resource ID of the Data Box Edge/Gateway device.",
+ "type": "string",
+ "readOnly": true
+ },
+ "aadAuthority": {
+ "description": "Azure Active Directory tenant authority.",
+ "type": "string",
+ "readOnly": true
+ },
+ "aadTenantId": {
+ "description": "Azure Active Directory tenant ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "servicePrincipalClientId": {
+ "description": "Azure Active Directory service principal client ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "servicePrincipalObjectId": {
+ "description": "Azure Active Directory service principal object ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "azureManagementEndpointAudience": {
+ "description": "The azure management endpoint audience.",
+ "type": "string",
+ "readOnly": true
+ },
+ "aadAudience": {
+ "description": "Identifier of the target resource that is the recipient of the requested token.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "User": {
+ "description": "Represents a user who has access to one or more shares on the Data Box Edge/Gateway device.",
+ "required": [ "properties" ],
+ "type": "object",
+ "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/UserProperties",
+ "description": "The storage account credential properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "UserAccessRight": {
+ "description": "The mapping between a particular user and the access type on the SMB share.",
+ "required": [ "userId", "accessType" ],
+ "type": "object",
+ "properties": {
+ "userId": {
+ "description": "User ID (already existing in the device).",
+ "type": "string"
+ },
+ "accessType": {
+ "description": "Type of access to be allowed for the user.",
+ "enum": [ "Change", "Read", "Custom" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ShareAccessType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "UserList": {
+ "description": "Collection of users.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of users.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/User" },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UserProperties": {
+ "description": "The user properties.",
+ "required": [ "userType" ],
+ "type": "object",
+ "properties": {
+ "encryptedPassword": {
+ "$ref": "#/definitions/AsymmetricEncryptedSecret",
+ "description": "The password details."
+ },
+ "shareAccessRights": {
+ "description": "List of shares that the user has rights on. This field should not be specified during user creation.",
+ "type": "array",
+ "items": { "$ref": "#/definitions/ShareAccessRight" }
+ },
+ "userType": {
+ "description": "Type of the user.",
+ "enum": [ "Share", "LocalManagement", "ARM" ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "UserType",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version.",
+ "required": true,
+ "type": "string"
+ },
+ "locationParameter": {
+ "name": "location",
+ "in": "path",
+ "description": "The location of the resource.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The resource group name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID.",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": { "user_impersonation": "impersonate your user account." }
+ }
+ },
+ "security": [ { "azure_auth": [ "user_impersonation" ] } ]
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/AlertGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/AlertGet.json
new file mode 100644
index 000000000000..94a15647f259
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/AlertGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "159a00c7-8543-4343-9435-263ac87df3bb",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'.",
+ "alertType": "UpdateScanFailedEvent",
+ "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z",
+ "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.",
+ "severity": "Critical",
+ "errorDetails": {
+ "errorCode": "",
+ "errorMessage": "",
+ "occurrences": 1
+ },
+ "detailedInformation": {}
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb",
+ "name": "159a00c7-8543-4343-9435-263ac87df3bb",
+ "type": "dataBoxEdgeDevices/alerts"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/AlertGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/AlertGetAllInDevice.json
new file mode 100644
index 000000000000..a87676829ae9
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/AlertGetAllInDevice.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "title": "Device password has changed",
+ "alertType": "PasswordChangedEvent",
+ "appearedAtDateTime": "2018-12-18T02:29:15.2325577Z",
+ "recommendation": "The device administrator password has changed. This is a required action as part of the first time device setup or regular password reset. No further action is required.",
+ "severity": "Informational",
+ "errorDetails": {
+ "errorCode": "",
+ "errorMessage": "",
+ "occurrences": 2
+ },
+ "detailedInformation": {}
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/83eccd0b-134b-40b0-ad62-b5f124d03790",
+ "name": "83eccd0b-134b-40b0-ad62-b5f124d03790",
+ "type": "dataBoxEdgeDevices/alerts"
+ },
+ {
+ "properties": {
+ "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'.",
+ "alertType": "UpdateScanFailedEvent",
+ "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z",
+ "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.",
+ "severity": "Critical",
+ "errorDetails": {
+ "errorCode": "",
+ "errorMessage": "",
+ "occurrences": 1
+ },
+ "detailedInformation": {}
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb",
+ "name": "159a00c7-8543-4343-9435-263ac87df3bb",
+ "type": "dataBoxEdgeDevices/alerts"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleDelete.json
new file mode 100644
index 000000000000..2f0290d54b5a
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleDelete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "bandwidth-1",
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleGet.json
new file mode 100644
index 000000000000..69af2d35efb2
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "bandwidth-1",
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "start": "00:00:00",
+ "stop": "13:59:00",
+ "rateInMbps": 100,
+ "days": [
+ "Sunday",
+ "Monday"
+ ]
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1",
+ "name": "bandwidth-1",
+ "type": "dataBoxEdgeDevices/bandwidthSchedules"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleGetAllInDevice.json
new file mode 100644
index 000000000000..060ef86631cf
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthScheduleGetAllInDevice.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "start": "00:00:00",
+ "stop": "13:59:00",
+ "rateInMbps": 100,
+ "days": [
+ "Sunday",
+ "Monday"
+ ]
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1",
+ "name": "bandwidth-1",
+ "type": "dataBoxEdgeDevices/bandwidthSchedules"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthSchedulePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthSchedulePut.json
new file mode 100644
index 000000000000..22e9ee36824f
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/BandwidthSchedulePut.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "bandwidth-1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "parameters": {
+ "properties": {
+ "start": "0:0:0",
+ "stop": "13:59:0",
+ "rateInMbps": 100,
+ "days": [
+ "Sunday",
+ "Monday"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "start": "00:00:00",
+ "stop": "13:59:00",
+ "rateInMbps": 100,
+ "days": [
+ "Sunday",
+ "Monday"
+ ]
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1",
+ "name": "bandwidth-1",
+ "type": "dataBoxEdgeDevices/bandwidthSchedules"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerDelete.json
new file mode 100644
index 000000000000..21d6ff1b8e13
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerDelete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "storageAccountName": "storageaccount1",
+ "containerName": "blobcontainer1",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerGet.json
new file mode 100644
index 000000000000..3985acbca7a0
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "storageAccountName": "storageaccount1",
+ "containerName": "blobcontainer1",
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "containerStatus": "OK",
+ "dataFormat": "BlockBlob",
+ "refreshDetails": {},
+ "createdDateTime": "2019-10-20T23:13:27.8545799Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1",
+ "name": "blobcontainer1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerListAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerListAllInDevice.json
new file mode 100644
index 000000000000..42b135e7b1d8
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerListAllInDevice.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "storageAccountName":"storageaccount1",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body":
+ {
+ "value": [
+ {
+ "properties": {
+ "containerStatus": "OK",
+ "dataFormat": "BlockBlob",
+ "refreshDetails": {},
+ "createdDateTime": "2019-10-20T23:14:32.3016929Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer1",
+ "name": "blobcontainer1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers"
+ },
+ {
+ "properties": {
+ "containerStatus": "OK",
+ "dataFormat": "BlockBlob",
+ "refreshDetails": {},
+ "createdDateTime": "2019-10-20T23:15:38.0077675Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer2",
+ "name": "blobcontainer2",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers"
+ },
+ {
+ "properties": {
+ "containerStatus": "OK",
+ "dataFormat": "BlockBlob",
+ "refreshDetails": {},
+ "createdDateTime": "2019-10-20T23:13:27.8545799Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer3",
+ "name": "blobcontainer3",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerPut.json
new file mode 100644
index 000000000000..7addeda919b8
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerPut.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "storageAccountName": "storageaccount1",
+ "containerName": "blobcontainer1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "container": {
+ "properties": {
+ "dataFormat": "BlockBlob"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "containerStatus": "OK",
+ "dataFormat": "BlockBlob",
+ "refreshDetails": {},
+ "createdDateTime": "2019-10-20T23:13:27.8545799Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1",
+ "name": "blobcontainer-5e155efe",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerRefresh.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerRefresh.json
new file mode 100644
index 000000000000..291aeda7a6de
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ContainerRefresh.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "storageAccountName": "storageaccount1",
+ "containerName": "blobcontainer1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceDelete.json
new file mode 100644
index 000000000000..2b98c18ce0c2
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceDelete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetByName.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetByName.json
new file mode 100644
index 000000000000..61b74fefee04
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetByName.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "etag": "\"W/\"datetime'2018-12-16T08%3A03%3A27.61Z'\"_W/\"datetime'2018-12-16T08%3A03%3A27.653Z'\"\"",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": "ReadyToSetup",
+ "deviceType": "DataBoxEdgeDevice",
+ "deviceLocalCapacity": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice",
+ "name": "testedgedevice",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json
new file mode 100644
index 000000000000..d6a3fe4ad374
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "etag": "\"W/\"datetime'2018-12-17T10%3A31%3A06.493Z'\"_W/\"datetime'2018-12-17T10%3A31%3A06.597Z'\"\"",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": "ReadyToSetup",
+ "deviceType": "DataBoxEdgeDevice",
+ "deviceLocalCapacity": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice",
+ "name": "testedgedevice",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ },
+ {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "etag": "\"W/\"datetime'2018-09-27T09%3A45%3A09.15Z'\"_W/\"datetime'2018-09-27T09%3A45%3A09.177Z'\"\"",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": "ReadyToSetup",
+ "deviceType": "DataBoxEdgeDevice",
+ "deviceLocalCapacity": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice2",
+ "name": "testedgedevice2",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ },
+ {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "etag": "\"W/\"datetime'2018-12-17T10%3A31%3A00.293Z'\"_W/\"datetime'2018-12-17T10%3A31%3A00.34Z'\"\"",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": "ReadyToSetup",
+ "deviceType": "DataBoxEdgeDevice",
+ "deviceLocalCapacity": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice3",
+ "name": "testedgedevice3",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetBySubscription.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetBySubscription.json
new file mode 100644
index 000000000000..a89a11939ee1
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDeviceGetBySubscription.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "etag": "\"W/\"datetime'2018-12-17T10%3A31%3A06.493Z'\"_W/\"datetime'2018-12-17T10%3A31%3A06.597Z'\"\"",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": "ReadyToSetup",
+ "deviceType": "DataBoxEdgeDevice",
+ "deviceLocalCapacity": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice",
+ "name": "testedgedevice",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ },
+ {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "etag": "\"W/\"datetime'2018-09-27T09%3A45%3A09.15Z'\"_W/\"datetime'2018-09-27T09%3A45%3A09.177Z'\"\"",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": "ReadyToSetup",
+ "deviceType": "DataBoxEdgeDevice",
+ "deviceLocalCapacity": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice2",
+ "name": "testedgedevice2",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ },
+ {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "etag": "\"W/\"datetime'2018-12-17T10%3A31%3A00.293Z'\"_W/\"datetime'2018-12-17T10%3A31%3A00.34Z'\"\"",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": "ReadyToSetup",
+ "deviceType": "DataBoxEdgeDevice",
+ "deviceLocalCapacity": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice3",
+ "name": "testedgedevice3",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDevicePatch.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDevicePatch.json
new file mode 100644
index 000000000000..c4d66a76b89c
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDevicePatch.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "parameters": {
+ "tags": {
+ "Key1": "value1",
+ "Key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "WUS",
+ "tags": {
+ "Key1": "value1",
+ "Key2": "value2"
+ },
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "etag": "W/\"datetime'2018-12-19T06%3A33%3A24.983Z'\"_W/\"datetime'2018-12-19T06%3A33%3A25.013Z'\"",
+ "properties": {
+ "dataBoxEdgeDeviceStatus": "ReadyToSetup",
+ "deviceType": "DataBoxEdgeDevice",
+ "deviceLocalCapacity": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice",
+ "name": "testedgedevice",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDevicePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDevicePut.json
new file mode 100644
index 000000000000..7280ada153e6
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DataBoxEdgeDevicePut.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "DataBoxEdgeDevice": {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "WUS",
+ "tags": {},
+ "sku": {
+ "name": "Edge",
+ "tier": "Standard"
+ },
+ "name": "testedgedevice"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DownloadUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DownloadUpdatesPost.json
new file mode 100644
index 000000000000..1f6150962ead
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/DownloadUpdatesPost.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ExtendedInfoPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ExtendedInfoPost.json
new file mode 100644
index 000000000000..c36d2ce6ee3a
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ExtendedInfoPost.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "resourceKey": "3482840729935603111",
+ "encryptionKeyThumbprint": "",
+ "encryptionKey": ""
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice",
+ "name": "testedgedevice",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/InstallUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/InstallUpdatesPost.json
new file mode 100644
index 000000000000..1f6150962ead
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/InstallUpdatesPost.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/JobsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/JobsGet.json
new file mode 100644
index 000000000000..fddee88a2091
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/JobsGet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "159a00c7-8543-4343-9435-263ac87df3bb",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/id/locations/westus/jobs/159a00c7-8543-4343-9435-263ac87df3bb",
+ "name": "159a00c7-8543-4343-9435-263ac87df3bb",
+ "status": "Succeeded",
+ "startTime": "2018-12-18T02:18:51.4270267Z",
+ "endTime": "2018-12-18T03:18:51.4270267Z",
+ "percentComplete": 100,
+ "properties": {
+ "jobType": "DownloadUpdates",
+ "currentStage": "Success"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ListSkus.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ListSkus.json
new file mode 100644
index 000000000000..8a9f51268479
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ListSkus.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "location": "westus",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "dataBoxEdeDevices",
+ "name": "Gateway",
+ "tier": "Standard",
+ "locations": [
+ "West US"
+ ],
+ "locationInfo": [
+ {
+ "location": "West US"
+ }
+ ],
+ "apiVersions": [
+ "2019-08-01"
+ ],
+ "restrictions": [
+ {
+ "type": "location",
+ "values": [
+ "East US"
+ ],
+ "restrictionInfo": {
+ "locations": [
+ "East US"
+ ]
+ },
+ "reasonCode": "NotAvailableForSubscription"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/NetworkSettingsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/NetworkSettingsGet.json
new file mode 100644
index 000000000000..f32e1e4ea38d
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/NetworkSettingsGet.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "networkAdapters": [
+ {
+ "adapterId": "{47D0D0EC-AA8A-4221-AA2A-355B58082BA5}",
+ "adapterPosition": {
+ "networkGroup": "NonRDMA",
+ "port": 0
+ },
+ "index": 1,
+ "nodeId": "3fd54d9e-f7a0-45bf-bdf1-39b0977d1984",
+ "networkAdapterName": "DATA1",
+ "label": "DATA1",
+ "macAddress": "00155D4E265B",
+ "linkSpeed": 10000000000,
+ "status": "Inactive",
+ "rdmaStatus": "Incapable",
+ "dhcpStatus": "Disabled",
+ "ipv4Configuration": {
+ "ipAddress": "10.150.78.56",
+ "subnet": "255.255.252.0",
+ "gateway": "10.150.76.1"
+ },
+ "ipv6Configuration": {
+ "ipAddress": "2404:f801:4800:1e:d5c6:50a1:465b:1bbf",
+ "prefixLength": 64,
+ "gateway": "fe80::12f3:11ff:fe36:994b%5"
+ },
+ "ipv6LinkLocalAddress": "fe80::d5c6:50a1:465b:1bbf%5",
+ "dnsServers": [
+ "10.50.50.50",
+ "10.50.10.50"
+ ]
+ }
+ ]
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/networkSettings/default",
+ "name": "default",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/NodeGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/NodeGetAllInDevice.json
new file mode 100644
index 000000000000..db0cd973b7e2
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/NodeGetAllInDevice.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body":
+ {
+ "value": [
+ {
+ "properties": {
+ "nodeStatus": "Unknown",
+ "nodeChassisSerialNumber": "1D6QHQ2",
+ "nodeSerialNumber": "1D6QHQ2",
+ "nodeDisplayName": "Controller 1",
+ "nodeFriendlySoftwareVersion": "Data Box Edge 1908",
+ "nodeHcsVersion": "1.6.961.8307",
+ "nodeInstanceId": "ad051874-7d27-4ac4-a7b1-b6f231d8a035"
+ },
+ "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1D6QHQ2",
+ "name": "1D6QHQ2",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes"
+ },
+ {
+ "properties": {
+ "nodeStatus": "Unknown",
+ "nodeChassisSerialNumber": "1D6QHQ2",
+ "nodeSerialNumber": "1DCNHQ2",
+ "nodeDisplayName": "Controller 1",
+ "nodeFriendlySoftwareVersion": "Data Box Edge 1908",
+ "nodeHcsVersion": "1.6.961.8307",
+ "nodeInstanceId": "ddf3a76d-ada4-44af-99c6-a69a0e21bcb6"
+ },
+ "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1DCNHQ2",
+ "name": "1DCNHQ2",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OperationsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OperationsGet.json
new file mode 100644
index 000000000000..fdccf6dfa770
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OperationsGet.json
@@ -0,0 +1,675 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "share users",
+ "operation": "List share users",
+ "description": "Lists or gets the share users"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "share users",
+ "operation": "List share users",
+ "description": "Lists or gets the share users"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/write",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "share users",
+ "operation": "Creates or updates share users",
+ "description": "Creates or updates the share users"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/delete",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "share users",
+ "operation": "Delete share users",
+ "description": "Deletes the share users"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "bandwidth schedules",
+ "operation": "List bandwidth schedules",
+ "description": "Lists or gets the bandwidth schedules"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "bandwidth schedules",
+ "operation": "List bandwidth schedules",
+ "description": "Lists or gets the bandwidth schedules"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/write",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "bandwidth schedules",
+ "operation": "Creates or updates bandwidth schedules",
+ "description": "Creates or updates the bandwidth schedules"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/delete",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "bandwidth schedules",
+ "operation": "Delete bandwidth schedules",
+ "description": "Deletes the bandwidth schedules"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "ArmApiRes_roles",
+ "operation": "List ArmApiRes_roles",
+ "description": "Lists or gets the ArmApiRes_roles"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "ArmApiRes_roles",
+ "operation": "List ArmApiRes_roles",
+ "description": "Lists or gets the ArmApiRes_roles"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/write",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "ArmApiRes_roles",
+ "operation": "Creates or updates ArmApiRes_roles",
+ "description": "Creates or updates the ArmApiRes_roles"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/delete",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "ArmApiRes_roles",
+ "operation": "Delete ArmApiRes_roles",
+ "description": "Deletes the ArmApiRes_roles"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "shares",
+ "operation": "List shares",
+ "description": "Lists or gets the shares"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "shares",
+ "operation": "List shares",
+ "description": "Lists or gets the shares"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/write",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "shares",
+ "operation": "Creates or updates shares",
+ "description": "Creates or updates the shares"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/refresh/action",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "shares",
+ "operation": "ArmApiOp_action_refresh_shares",
+ "description": "ArmApiDesc_action_refresh_shares"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/delete",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "shares",
+ "operation": "Delete shares",
+ "description": "Deletes the shares"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/uploadCertificate/action",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "Upload certificates",
+ "description": "Upload certificate for device registration"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "Creates or updates Data Box Edge devices",
+ "description": "Creates or updates the Data Box Edge devices"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "List Data Box Edge devices",
+ "description": "Lists or gets the Data Box Edge devices"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/delete",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "Delete Data Box Edge devices",
+ "description": "Deletes the Data Box Edge devices"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "List Data Box Edge devices",
+ "description": "Lists or gets the Data Box Edge devices"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "List Data Box Edge devices",
+ "description": "Lists or gets the Data Box Edge devices"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "Creates or updates Data Box Edge devices",
+ "description": "Creates or updates the Data Box Edge devices"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/getExtendedInformation/action",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "ArmApiOp_action_getExtendedInformation_dataBoxEdgeDevices",
+ "description": "ArmApiDesc_action_getExtendedInformation_dataBoxEdgeDevices"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/extendedInformation/action",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "Gets resource extended information",
+ "description": "Retrieves resource extended information"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Device network settings",
+ "operation": "List Device network settings",
+ "description": "Lists or gets the Device network settings"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/securitySettings/update/action",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Device security settings",
+ "operation": "Update security settings",
+ "description": "Update security settings"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "update summary",
+ "operation": "List update summary",
+ "description": "Lists or gets the update summary"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/scanForUpdates/action",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "Scan for updates",
+ "description": "Scan for updates"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/downloadUpdates/action",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "Download Updates",
+ "description": "Download Updates in device"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/installUpdates/action",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge devices",
+ "operation": "Install Updates",
+ "description": "Install Updates on device"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/jobs/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "jobs",
+ "operation": "List jobs",
+ "description": "Lists or gets the jobs"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/write",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "storage account credentials",
+ "operation": "Creates or updates storage account credentials",
+ "description": "Creates or updates the storage account credentials"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "storage account credentials",
+ "operation": "List storage account credentials",
+ "description": "Lists or gets the storage account credentials"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "storage account credentials",
+ "operation": "List storage account credentials",
+ "description": "Lists or gets the storage account credentials"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/delete",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "storage account credentials",
+ "operation": "Delete storage account credentials",
+ "description": "Deletes the storage account credentials"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "alerts",
+ "operation": "List alerts",
+ "description": "Lists or gets the alerts"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "alerts",
+ "operation": "List alerts",
+ "description": "Lists or gets the alerts"
+ },
+ "origin": "user"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge device",
+ "operation": "Read Data Box Edge device metric definition",
+ "description": "Gets the available Data Box Edge device level metrics"
+ },
+ "origin": "system",
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "NICReadThroughput",
+ "displayName": "Read Throughput (Network)",
+ "displayDescription": "The read throughput of the network interface on the device in the reporting period for all volumes in the gateway.",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "dimensions": [
+ {
+ "name": "InstanceName",
+ "displayName": "Name",
+ "toBeExportedForShoebox": true
+ }
+ ],
+ "fillGapWithZero": false,
+ "category": "Transaction",
+ "supportedTimeGrainTypes": [
+ "PT1M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "NICWriteThroughput",
+ "displayName": "Write Throughput (Network)",
+ "displayDescription": "The write throughput of the network interface on the device in the reporting period for all volumes in the gateway.",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "dimensions": [
+ {
+ "name": "InstanceName",
+ "displayName": "Name",
+ "toBeExportedForShoebox": true
+ }
+ ],
+ "fillGapWithZero": false,
+ "category": "Transaction",
+ "supportedTimeGrainTypes": [
+ "PT1M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "CloudReadThroughputPerShare",
+ "displayName": "Cloud Download Throughput (Share)",
+ "displayDescription": "The download throughput to Azure from a share during the reporting period.",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "dimensions": [
+ {
+ "name": "Share",
+ "displayName": "Share",
+ "toBeExportedForShoebox": true
+ }
+ ],
+ "fillGapWithZero": false,
+ "category": "Transaction",
+ "supportedTimeGrainTypes": [
+ "PT1M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "CloudUploadThroughputPerShare",
+ "displayName": "Cloud Upload Throughput (Share)",
+ "displayDescription": "The upload throughput to Azure from a share during the reporting period.",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "dimensions": [
+ {
+ "name": "Share",
+ "displayName": "Share",
+ "toBeExportedForShoebox": true
+ }
+ ],
+ "fillGapWithZero": false,
+ "category": "Transaction",
+ "supportedTimeGrainTypes": [
+ "PT1M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "BytesUploadedToCloudPerShare",
+ "displayName": "Cloud Bytes Uploaded (Share)",
+ "displayDescription": "The total number of bytes that is uploaded to Azure from a share during the reporting period.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "dimensions": [
+ {
+ "name": "Share",
+ "displayName": "Share",
+ "toBeExportedForShoebox": true
+ }
+ ],
+ "fillGapWithZero": false,
+ "category": "Transaction",
+ "supportedTimeGrainTypes": [
+ "PT1M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "TotalCapacity",
+ "displayName": "Total Capacity",
+ "displayDescription": "Total Capacity",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "fillGapWithZero": false,
+ "category": "Capacity",
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "AvailableCapacity",
+ "displayName": "Available Capacity",
+ "displayDescription": "The available capacity in bytes during the reporting period.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "fillGapWithZero": false,
+ "category": "Capacity",
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "CloudUploadThroughput",
+ "displayName": "Cloud Upload Throughput",
+ "displayDescription": "The cloud upload throughput during the reporting period.",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "fillGapWithZero": false,
+ "category": "Transaction",
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "CloudReadThroughput",
+ "displayName": "Cloud Read Throughput",
+ "displayDescription": "The cloud download throughput during the reporting period.",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "fillGapWithZero": false,
+ "category": "Transaction",
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ {
+ "name": "BytesUploadedToCloud",
+ "displayName": "Cloud Bytes Uploaded (Device)",
+ "displayDescription": "The total number of bytes that is uploaded to Azure from a device during the reporting period.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "fillGapWithZero": false,
+ "category": "Transaction",
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT1H"
+ ],
+ "supportedAggregationTypes": [
+ "Average",
+ "Minimum",
+ "Maximum"
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge device",
+ "operation": "Write diagnostics setting",
+ "description": "Creates or updates the diagnostics setting for the resource"
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft.DataBoxEdge",
+ "resource": "Data Box Edge device",
+ "operation": "Read diagnostics setting",
+ "description": "Gets the diagnostic setting for the resource"
+ },
+ "origin": "system"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OperationsStatusGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OperationsStatusGet.json
new file mode 100644
index 000000000000..2b5d503caa08
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OperationsStatusGet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "159a00c7-8543-4343-9435-263ac87df3bb",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/id/locations/westus/operationsStatus/159a00c7-8543-4343-9435-263ac87df3bb",
+ "name": "159a00c7-8543-4343-9435-263ac87df3bb",
+ "status": "Succeeded",
+ "startTime": "2018-12-18T02:18:51.4270267Z",
+ "endTime": "2018-12-18T03:18:51.4270267Z",
+ "percentComplete": 100,
+ "properties": {
+ "jobType": "DownloadUpdates",
+ "currentStage": "Success"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderDelete.json
new file mode 100644
index 000000000000..2b98c18ce0c2
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderDelete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderGet.json
new file mode 100644
index 000000000000..0d467f7f8854
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderGet.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default",
+ "name": "default",
+ "type": "dataBoxEdgeDevices/orders",
+ "properties": {
+ "contactInformation": {
+ "contactPerson": "John Mcclane",
+ "companyName": "Microsoft",
+ "phone": "(800) 426-9400",
+ "emailList": [
+ "john@microsoft.com"
+ ]
+ },
+ "shippingAddress": {
+ "addressLine1": "Microsoft Corporation",
+ "addressLine2": "One Microsoft Way",
+ "addressLine3": "Redmond",
+ "postalCode": "98052",
+ "city": "WA",
+ "state": "WA",
+ "country": "USA"
+ },
+ "currentStatus": {
+ "status": "Untracked",
+ "updateDateTime": "2018-12-10T07:59:05.847Z",
+ "comments": ""
+ },
+ "orderHistory": [
+ {
+ "status": "Untracked",
+ "updateDateTime": "2018-12-10T07:59:05.847Z",
+ "comments": "lorem ipsum"
+ }
+ ],
+ "serialNumber": "UDS123NSDA123",
+ "deliveryTrackingInfo": [],
+ "returnTrackingInfo": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderGetAllInDevice.json
new file mode 100644
index 000000000000..128e6415ccbb
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderGetAllInDevice.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2019-03-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default",
+ "name": "default",
+ "type": "dataBoxEdgeDevices/orders",
+ "properties": {
+ "contactInformation": {
+ "contactPerson": "John Mcclane",
+ "companyName": "Microsoft",
+ "phone": "(800) 426-9400",
+ "emailList": [
+ "john@microsoft.com"
+ ]
+ },
+ "shippingAddress": {
+ "addressLine1": "Microsoft Corporation",
+ "addressLine2": "One Microsoft Way",
+ "addressLine3": "Redmond",
+ "postalCode": "98052",
+ "city": "WA",
+ "state": "WA",
+ "country": "USA"
+ },
+ "currentStatus": {
+ "status": "Untracked",
+ "updateDateTime": "2018-12-10T07:59:05.847Z",
+ "comments": ""
+ },
+ "orderHistory": [
+ {
+ "status": "Untracked",
+ "updateDateTime": "2018-12-10T07:59:05.847Z",
+ "comments": "lorem ipsum"
+ }
+ ],
+ "serialNumber": "UDS123NSDA123",
+ "deliveryTrackingInfo": [],
+ "returnTrackingInfo": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderPut.json
new file mode 100644
index 000000000000..152c52c28702
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/OrderPut.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "order": {
+ "properties": {
+ "contactInformation": {
+ "contactPerson": "John Mcclane",
+ "companyName": "Microsoft",
+ "phone": "(800) 426-9400",
+ "emailList": [
+ "john@microsoft.com"
+ ]
+ },
+ "shippingAddress": {
+ "addressLine1": "Microsoft Corporation",
+ "addressLine2": "One Microsoft Way",
+ "addressLine3": "Redmond",
+ "postalCode": "98052",
+ "city": "WA",
+ "state": "WA",
+ "country": "USA"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default",
+ "name": "default",
+ "type": "dataBoxEdgeDevices/orders",
+ "properties": {
+ "contactInformation": {
+ "contactPerson": "John Mcclane",
+ "companyName": "Microsoft",
+ "phone": "(800) 426-9400",
+ "emailList": [
+ "john@microsoft.com"
+ ]
+ },
+ "shippingAddress": {
+ "addressLine1": "Microsoft Corporation",
+ "addressLine2": "One Microsoft Way",
+ "addressLine3": "Redmond",
+ "postalCode": "98052",
+ "city": "WA",
+ "state": "WA",
+ "country": "USA"
+ },
+ "currentStatus": {
+ "status": "Untracked",
+ "updateDateTime": "2018-12-10T07:59:05.847Z",
+ "comments": ""
+ },
+ "orderHistory": [
+ {
+ "status": "Untracked",
+ "updateDateTime": "2018-12-10T07:59:05.847Z",
+ "comments": "lorem ipsum"
+ }
+ ],
+ "serialNumber": "UDS123NSDA123",
+ "deliveryTrackingInfo": [],
+ "returnTrackingInfo": []
+ }
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleDelete.json
new file mode 100644
index 000000000000..10e25836082d
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleDelete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "IoTRole1",
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleGet.json
new file mode 100644
index 000000000000..152718b8bb9a
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleGet.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "IoTRole1",
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "hostPlatform": "Linux",
+ "ioTDeviceDetails": {
+ "deviceId": "iotdevice",
+ "ioTHostHub": "iothub.azure-devices.net",
+ "authentication": {
+ "symmetricKey": {}
+ }
+ },
+ "ioTEdgeDeviceDetails": {
+ "deviceId": "iotEdge",
+ "ioTHostHub": "iothub.azure-devices.net",
+ "authentication": {
+ "symmetricKey": {}
+ }
+ },
+ "shareMappings": [],
+ "roleStatus": "Enabled"
+ },
+ "kind": "IOT",
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1",
+ "name": "IoTRole1",
+ "type": "dataBoxEdgeDevices/roles"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleGetAllInDevice.json
new file mode 100644
index 000000000000..2a7f18f2a1aa
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RoleGetAllInDevice.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "hostPlatform": "Linux",
+ "ioTDeviceDetails": {
+ "deviceId": "iotdevice",
+ "ioTHostHub": "iothub.azure-devices.net",
+ "authentication": {
+ "symmetricKey": {}
+ }
+ },
+ "ioTEdgeDeviceDetails": {
+ "deviceId": "iotEdge",
+ "ioTHostHub": "iothub.azure-devices.net",
+ "authentication": {
+ "symmetricKey": {}
+ }
+ },
+ "shareMappings": [],
+ "roleStatus": "Enabled"
+ },
+ "kind": "IOT",
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1",
+ "name": "IoTRole1",
+ "type": "dataBoxEdgeDevices/roles"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RolePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RolePut.json
new file mode 100644
index 000000000000..32e5ec96cb3a
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/RolePut.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "IoTRole1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "role": {
+ "kind": "IOT",
+ "properties": {
+ "hostPlatform": "Linux",
+ "ioTDeviceDetails": {
+ "deviceId": "iotdevice",
+ "ioTHostHub": "iothub.azure-devices.net",
+ "authentication": {
+ "symmetricKey": {
+ "connectionString": {
+ "value": "Encrypted<>",
+ "encryptionCertThumbprint": "348586569999244",
+ "encryptionAlgorithm": "AES256"
+ }
+ }
+ }
+ },
+ "ioTEdgeDeviceDetails": {
+ "deviceId": "iotEdge",
+ "ioTHostHub": "iothub.azure-devices.net",
+ "authentication": {
+ "symmetricKey": {
+ "connectionString": {
+ "value": "Encrypted<>",
+ "encryptionCertThumbprint": "1245475856069999244",
+ "encryptionAlgorithm": "AES256"
+ }
+ }
+ }
+ },
+ "shareMappings": [],
+ "roleStatus": "Enabled"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "kind": "IOT",
+ "properties": {
+ "hostPlatform": "Linux",
+ "ioTDeviceDetails": {
+ "deviceId": "iotdevice",
+ "ioTHostHub": "iothub.azure-devices.net",
+ "authentication": {
+ "symmetricKey": {}
+ }
+ },
+ "ioTEdgeDeviceDetails": {
+ "deviceId": "iotEdge",
+ "ioTHostHub": "iothub.azure-devices.net",
+ "authentication": {
+ "symmetricKey": {}
+ }
+ },
+ "shareMappings": [],
+ "roleStatus": "Enabled"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1",
+ "name": "IoTRole1",
+ "type": "dataBoxEdgeDevices/roles"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACDelete.json
new file mode 100644
index 000000000000..8602da60e5a1
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACDelete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "sac1",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACGet.json
new file mode 100644
index 000000000000..c58d534e9e86
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "sac1",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "alias": "sac1",
+ "userName": "cisbvt",
+ "sslStatus": "Disabled",
+ "accountType": "BlobStorage"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "name": "sac1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACGetAllInDevice.json
new file mode 100644
index 000000000000..c96510127c81
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACGetAllInDevice.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "alias": "sac1128180128323",
+ "userName": "cisbvt",
+ "sslStatus": "Disabled",
+ "accountType": "GeneralPurposeStorage"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128323",
+ "name": "sac1128180128323",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials"
+ },
+ {
+ "properties": {
+ "alias": "sac1128180128312",
+ "userName": "cisbvt",
+ "sslStatus": "Disabled",
+ "accountType": "BlobStorage"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128312",
+ "name": "sac1128180128312",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACPut.json
new file mode 100644
index 000000000000..3d0cb495a293
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SACPut.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "sac1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "storageAccountCredential": {
+ "properties": {
+ "alias": "sac1",
+ "userName": "cisbvt",
+ "accountKey": {
+ "value": "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==",
+ "encryptionCertThumbprint": "2A9D8D6BE51574B5461230AEF02F162C5F01AD31",
+ "encryptionAlgorithm": "AES256"
+ },
+ "sslStatus": "Disabled",
+ "accountType": "BlobStorage"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "alias": "sac1",
+ "userName": "cisbvt",
+ "sslStatus": "Disabled",
+ "accountType": "BlobStorage"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "name": "sac1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ScanForUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ScanForUpdatesPost.json
new file mode 100644
index 000000000000..1f6150962ead
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ScanForUpdatesPost.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SecuritySettingsUpdatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SecuritySettingsUpdatePost.json
new file mode 100644
index 000000000000..1eec8acd8497
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SecuritySettingsUpdatePost.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "AzureVM",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "securitySettings": {
+ "properties": {
+ "deviceAdminPassword": {
+ "value": "jJ5MvXa/AEWvwxviS92uCjatCXeyLYTy8jx/k105MjQRXT7i6Do8qpEcQ8d+OBbwmQTnwKW0CYyzzVRCc0uZcPCf6PsWtP4l6wvcKGAP66PwK68eEkTUOmp+wUHc4hk02kWmTWeAjBZkuDBP3xK1RnZo95g2RE4i1UgKNP5BEKCLd71O104DW3AWW41mh9XLWNOaxw+VjQY7wmvlE6XkvpkMhcGuha2u7lx8zi9ZkcMvJVYDYK36Fb/K3KhBAmDjjDmVq04jtBlcSTXQObt0nlj4BwGGtdrpeIpr67zqr5i3cPm6e6AleIaIhp6sI/uyGSMiT3oev2eg49u2ii7kVA==",
+ "encryptionAlgorithm": "AES256",
+ "encryptionCertThumbprint": "7DCBDFC44ED968D232C9A998FC105B5C70E84BE0"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareDelete.json
new file mode 100644
index 000000000000..8a7417521f18
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareDelete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "smbshare",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareGet.json
new file mode 100644
index 000000000000..6d7e79442b0a
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareGet.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "smbshare",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "",
+ "shareStatus": "Online",
+ "monitoringStatus": "Disabled",
+ "azureContainerInfo": {
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "containerName": "testContainerSMB",
+ "dataFormat": "BlockBlob"
+ },
+ "accessProtocol": "SMB",
+ "userAccessRights": [
+ {
+ "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
+ "accessType": "Change"
+ }
+ ],
+ "clientAccessRights": [],
+ "refreshDetails": {},
+ "shareMappings": [],
+ "dataPolicy": "Cloud"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare",
+ "name": "smbshare",
+ "type": "dataBoxEdgeDevices/shares"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareGetAllInDevice.json
new file mode 100644
index 000000000000..6d97a13ea658
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareGetAllInDevice.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "",
+ "shareStatus": "Online",
+ "monitoringStatus": "Disabled",
+ "azureContainerInfo": {
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "containerName": "testContainerSMB",
+ "dataFormat": "BlockBlob"
+ },
+ "accessProtocol": "SMB",
+ "userAccessRights": [
+ {
+ "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
+ "accessType": "Change"
+ }
+ ],
+ "clientAccessRights": [],
+ "refreshDetails": {},
+ "shareMappings": [],
+ "dataPolicy": "Cloud"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare",
+ "name": "smbshare",
+ "type": "dataBoxEdgeDevices/shares"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SharePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SharePut.json
new file mode 100644
index 000000000000..a3a653107782
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/SharePut.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "smbshare",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "share": {
+ "properties": {
+ "description": "",
+ "shareStatus": "Online",
+ "monitoringStatus": "Enabled",
+ "azureContainerInfo": {
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "containerName": "testContainerSMB",
+ "dataFormat": "BlockBlob"
+ },
+ "accessProtocol": "SMB",
+ "userAccessRights": [
+ {
+ "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
+ "accessType": "Change"
+ }
+ ],
+ "dataPolicy": "Cloud"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "",
+ "shareStatus": "Online",
+ "monitoringStatus": "Disabled",
+ "azureContainerInfo": {
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "containerName": "testContainerSMB",
+ "dataFormat": "BlockBlob"
+ },
+ "accessProtocol": "SMB",
+ "userAccessRights": [
+ {
+ "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
+ "accessType": "Change"
+ }
+ ],
+ "clientAccessRights": [],
+ "refreshDetails": {},
+ "shareMappings": [],
+ "dataPolicy": "Cloud"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare",
+ "name": "smbshare",
+ "type": "dataBoxEdgeDevices/shares"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareRefreshPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareRefreshPost.json
new file mode 100644
index 000000000000..c73accb92a71
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/ShareRefreshPost.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "smbshare",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountDelete.json
new file mode 100644
index 000000000000..27d6e1b897f4
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountDelete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "storageAccountName": "storageaccount1",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountGet.json
new file mode 100644
index 000000000000..b3460383c119
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "storageAccountName": "blobstorageaccount1",
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "It's an awesome storage account",
+ "storageAccountStatus": "OK",
+ "dataPolicy": "Cloud",
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt",
+ "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/",
+ "containerCount": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1",
+ "name": "blobstorageaccount1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountGetAllInDevice.json
new file mode 100644
index 000000000000..bf13d8e4616a
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountGetAllInDevice.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body":
+ {
+ "value": [
+ {
+ "properties": {
+ "description": "It's an awesome storage account",
+ "storageAccountStatus": "OK",
+ "dataPolicy": "Cloud",
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt",
+ "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/",
+ "containerCount": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1",
+ "name": "blobstorageaccount1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountPut.json
new file mode 100644
index 000000000000..9b914d8fe444
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/StorageAccountPut.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "storageAccountName": "blobstorageaccount1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "storageAccount": {
+ "properties": {
+ "description": "It's an awesome storage account",
+ "storageAccountStatus": "OK",
+ "dataPolicy": "Cloud",
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "It's an awesome storage account",
+ "storageAccountStatus": "OK",
+ "dataPolicy": "Cloud",
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt",
+ "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/",
+ "containerCount": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1",
+ "name": "blobstorageaccount1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerDelete.json
new file mode 100644
index 000000000000..409126343542
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerDelete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "trigger1",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerGet.json
new file mode 100644
index 000000000000..6deaf7361570
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerGet.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "trigger1",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "customContextTag": "CustomContextTags-1235346475",
+ "sourceInfo": {
+ "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1"
+ },
+ "sinkInfo": {
+ "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1"
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1",
+ "name": "trigger1",
+ "type": "dataBoxEdgeDevices/triggers",
+ "kind": "FileEvent"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerGetAllInDevice.json
new file mode 100644
index 000000000000..56166c0edb7f
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerGetAllInDevice.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "customContextTag": "CustomContextTags-1235346475",
+ "sourceInfo": {
+ "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1"
+ },
+ "sinkInfo": {
+ "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1"
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1",
+ "name": "trigger1",
+ "type": "dataBoxEdgeDevices/triggers",
+ "kind": "FileEvent"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerPut.json
new file mode 100644
index 000000000000..80ede46f2d01
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/TriggerPut.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "trigger1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "trigger": {
+ "properties": {
+ "customContextTag": "CustomContextTags-1235346475",
+ "sourceInfo": {
+ "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1"
+ },
+ "sinkInfo": {
+ "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1"
+ }
+ },
+ "kind": "FileEvent"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "customContextTag": "CustomContextTags-1235346475",
+ "sourceInfo": {
+ "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1"
+ },
+ "sinkInfo": {
+ "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1"
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1",
+ "name": "trigger1",
+ "type": "dataBoxEdgeDevices/triggers",
+ "kind": "FileEvent"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UpdateSummaryGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UpdateSummaryGet.json
new file mode 100644
index 000000000000..aa9d01d412a5
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UpdateSummaryGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "parameters": {
+ "properties": {
+ "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw=="
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "deviceVersionNumber": "1.2.18183.2",
+ "friendlyDeviceVersionName": "Data Box Edge Virtual Device Preview Version 1.1",
+ "totalNumberOfUpdatesAvailable": 0,
+ "totalNumberOfUpdatesPendingDownload": 0,
+ "totalNumberOfUpdatesPendingInstall": 0,
+ "rebootBehavior": "NeverReboots",
+ "ongoingUpdateOperation": "None",
+ "totalUpdateSizeInBytes": 0.0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/updateSummary/default",
+ "name": "default",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UploadCertificatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UploadCertificatePost.json
new file mode 100644
index 000000000000..87409c50f434
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UploadCertificatePost.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "parameters": {
+ "properties": {
+ "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw=="
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "authType": "AzureActiveDirectory",
+ "resourceId": "392799901267771",
+ "aadAuthority": "https://login.windows.net",
+ "aadTenantId": "100b019d-4626-4a9e-a83c-9cff8fe41909",
+ "servicePrincipalClientId": "ffd8a688-82b1-4e5a-a4c1-7ede8c928e68",
+ "servicePrincipalObjectId": "cef6d40c-24e6-4a6f-bb9e-3ec60b4adec4",
+ "azureManagementEndpointAudience": "https://wus-bvtgateway.ext.trafficmanager.net/"
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserDelete.json
new file mode 100644
index 000000000000..0ea56aa154c7
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserDelete.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "user1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserGet.json
new file mode 100644
index 000000000000..319034b98e6b
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "user1",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {"userType":"Share"},
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1",
+ "name": "user1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users"
+ },
+ "202": {
+ "body": ""
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserGetAllInDevice.json
new file mode 100644
index 000000000000..a06b4b1a4641
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserGetAllInDevice.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {"userType": "Share"},
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
+ "name": "user2",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users"
+ },
+ {
+ "properties": {"userType": "Share"},
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1",
+ "name": "user1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserPut.json
new file mode 100644
index 000000000000..b86dd062624e
--- /dev/null
+++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/examples/UserPut.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "name": "user1",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "user": {
+ "properties": {
+ "encryptedPassword": {
+ "value": "Password@1",
+ "encryptionAlgorithm": "None",
+ "encryptionCertThumbprint": "blah"
+ },
+ "shareAccessRights": [],
+ "userType": "Share"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {"userType": "Share"},
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1",
+ "name": "user1",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/databoxedge/resource-manager/readme.go.md b/specification/databoxedge/resource-manager/readme.go.md
index 0d0624ae1590..7ed636402573 100644
--- a/specification/databoxedge/resource-manager/readme.go.md
+++ b/specification/databoxedge/resource-manager/readme.go.md
@@ -13,10 +13,20 @@ go:
```yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-08
- tag: package-2019-07
- tag: package-2019-03
```
+### Tag: package-2019-08 and go
+
+These settings apply only when `--tag=package-2019-08 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag) == 'package-2019-08' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-08-01/$(namespace)
+```
+
### Tag: package-2019-07 and go
These settings apply only when `--tag=package-2019-07 --go` is specified on the command line.
diff --git a/specification/databoxedge/resource-manager/readme.md b/specification/databoxedge/resource-manager/readme.md
index 0619554ba336..68c50f707151 100644
--- a/specification/databoxedge/resource-manager/readme.md
+++ b/specification/databoxedge/resource-manager/readme.md
@@ -26,7 +26,16 @@ These are the global settings for the DataBox Edge API.
``` yaml
openapi-type: arm
-tag: package-2019-07
+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.DataBoxEdge/stable/2019-08-01/databoxedge.json
```
### Tag: package-2019-07
@@ -37,6 +46,7 @@ These settings apply only when `--tag=package-2019-07` is specified on the comma
input-file:
- Microsoft.DataBoxEdge/stable/2019-07-01/databoxedge.json
```
+
### Tag: package-2019-03
These settings apply only when `--tag=package-2019-03` is specified on the command line.
@@ -139,7 +149,20 @@ java:
batch:
- tag: package-2019-03
- tag: package-2019-07
+ - tag: package-2019-08
+```
+### Tag: package-2019-08 and java
+
+These settings apply only when `--tag=package-2019-08 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-08' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.databoxedge.v2019_08_01
+ output-folder: $(azure-libraries-for-java-folder)/databoxedge/resource-manager/v2019_08_01
+regenerate-manager: true
+generate-interface: true
```
### Tag: package-2019-07 and java
@@ -180,6 +203,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json
- $(this-folder)/Microsoft.DataBoxEdge/stable/2019-07-01/databoxedge.json
- $(this-folder)/Microsoft.DataBoxEdge/stable/2019-03-01/databoxedge.json
diff --git a/specification/databoxedge/resource-manager/readme.ruby.md b/specification/databoxedge/resource-manager/readme.ruby.md
index 18c1945c5da2..c8c6afca17b3 100644
--- a/specification/databoxedge/resource-manager/readme.ruby.md
+++ b/specification/databoxedge/resource-manager/readme.ruby.md
@@ -12,10 +12,21 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
+ - tag: package-2019-08
- tag: package-2019-07
- tag: package-2019-03
```
+### Tag: package-2019-08 and ruby
+
+These settings apply only when `--tag=package-2019-08 --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-08' && $(ruby)
+namespace: "Azure::DataBoxEdge::Mgmt::V2019_08_01"
+output-folder: $(ruby-sdks-folder)/management/azure_mgmt_databoxedge/lib
+```
+
### Tag: package-2019-07 and ruby
These settings apply only when `--tag=package-2019-07 --ruby` is specified on the command line.
From fcc5c6baceacd8529d490c9b079cd6a020730f75 Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Mon, 9 Dec 2019 13:35:29 +0800
Subject: [PATCH 062/469] bump avocado version to support $(this-folder)
(#7922)
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 54053ae51a0c..9bb5d920da32 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,9 +5,9 @@
"requires": true,
"dependencies": {
"@azure/avocado": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/@azure/avocado/-/avocado-0.6.1.tgz",
- "integrity": "sha512-GOdVNS/yr7wSQVUGfvR4/nP6+UDBrxqT/McvTsKuy1vWV8BwgKx3JZLB/9mrWYhXQZ257AQkVO9nepxRu9/PsQ==",
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/@azure/avocado/-/avocado-0.6.2.tgz",
+ "integrity": "sha512-DU4TD/+U0aXLjz4bGW+vxst4tXm3/HPiOrNh1BcY00rHRnRbR+ZY7AL/nA4+1P6LVPu8msLUXp6HTqqe4QrbHg==",
"dev": true,
"requires": {
"@azure/openapi-markdown": "^0.9.1",
diff --git a/package.json b/package.json
index d9972d240541..682934dbd6ed 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
"license": "MIT",
"devDependencies": {
"@types/prettier": "^1.18.3",
- "@azure/avocado": "^0.6.0",
+ "@azure/avocado": "^0.6.2",
"@azure/rest-api-specs-scripts": "^0.5.7",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
From 5de0285ef00518b3b27e101e0dcf316c12ac384f Mon Sep 17 00:00:00 2001
From: rickysun93
Date: Mon, 9 Dec 2019 13:37:50 +0800
Subject: [PATCH 063/469] [Data Factory]Add property 'prefix' for Azure Blob
source (#7633)
* Add property prefix for Azure Blob source
* add discriminator for swagger
* fix dalaflow.json
---
.../stable/2018-06-01/entityTypes/Dataset.json | 1 +
.../stable/2018-06-01/entityTypes/Pipeline.json | 7 +++++++
2 files changed, 8 insertions(+)
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 4331209428ba..830aeb5779c1 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
@@ -63,6 +63,7 @@
},
"DatasetLocation": {
"description": "Dataset location.",
+ "discriminator": "type",
"type": "object",
"properties": {
"type": {
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 d43cf0b35252..e8e63feab160 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
@@ -215,6 +215,7 @@
},
"StoreReadSettings": {
"description": "Connector read setting.",
+ "discriminator": "type",
"type": "object",
"properties": {
"type": {
@@ -254,6 +255,10 @@
"type": "object",
"description": "Azure blob wildcardFileName. Type: string (or Expression with resultType string)."
},
+ "prefix": {
+ "type": "object",
+ "description": "The prefix filter for the Azure Blob name. Type: string (or Expression with resultType string)."
+ },
"enablePartitionDiscovery": {
"type": "boolean",
"description": "Indicates whether to enable partition discovery."
@@ -685,6 +690,7 @@
},
"FormatReadSettings": {
"description": "Format read settings.",
+ "discriminator": "type",
"type": "object",
"properties": {
"type": {
@@ -716,6 +722,7 @@
},
"FormatWriteSettings": {
"description": "Format write settings.",
+ "discriminator": "type",
"type": "object",
"properties": {
"type": {
From ef354ec8d6580227707ed935684e533b898beabe Mon Sep 17 00:00:00 2001
From: Joshua Pollock
Date: Sun, 8 Dec 2019 22:23:28 -0800
Subject: [PATCH 064/469] updating the description for storage account id
(#7921)
---
.../Microsoft.Compute/stable/2019-07-01/disk.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
index ca9fa69cbe3c..94d5782c31e7 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
@@ -1604,7 +1604,7 @@
},
"storageAccountId": {
"type": "string",
- "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription"
+ "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk."
},
"imageReference": {
"$ref": "#/definitions/ImageDiskReference",
From d5b0b19c64760e3449b02946b5fac024f42c20ac Mon Sep 17 00:00:00 2001
From: hbzhxying
Date: Tue, 10 Dec 2019 08:24:11 +0800
Subject: [PATCH 065/469] support sftp sink (#7876)
---
.../stable/2018-06-01/entityTypes/Pipeline.json | 15 +++++++++++++++
1 file changed, 15 insertions(+)
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 e8e63feab160..6ed5fcede9f1 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
@@ -452,6 +452,21 @@
}
}
},
+ "SftpWriteSettings": {
+ "description": "Sftp write settings.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/StoreWriteSettings"
+ }
+ ],
+ "properties": {
+ "operationTimeout": {
+ "description": "Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string).",
+ "type": "object"
+ }
+ }
+ },
"GoogleCloudStorageReadSettings": {
"description": "Google Cloud Storage read settings.",
"type": "object",
From 1b0a93c3f4fa52e01af970285b36f00e637b2f67 Mon Sep 17 00:00:00 2001
From: Bruce Johnston
Date: Mon, 9 Dec 2019 16:26:11 -0800
Subject: [PATCH 066/469] [Search] Rename CognitiveServices to
CognitiveServicesAccount (#7859)
---
.../stable/2019-05-06/searchservice.json | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
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 f0989643beb5..62a6a2a61964 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
@@ -4814,7 +4814,8 @@
"description": "A list of skills in the skillset."
},
"cognitiveServices": {
- "$ref": "#/definitions/CognitiveServices",
+ "x-ms-client-name": "CognitiveServicesAccount",
+ "$ref": "#/definitions/CognitiveServicesAccount",
"description": "Details about cognitive services to be used when running skills."
},
"@odata.etag": {
@@ -4833,7 +4834,7 @@
},
"description": "A list of skills."
},
- "CognitiveServices": {
+ "CognitiveServicesAccount": {
"discriminator": "@odata.type",
"properties": {
"@odata.type": {
@@ -4848,21 +4849,21 @@
],
"description": "Abstract base class for describing any cognitive service resource attached to the skillset."
},
- "DefaultCognitiveServices": {
+ "DefaultCognitiveServicesAccount": {
"description": "An empty object that represents the default cognitive service resource for a skillset.",
"x-ms-discriminator-value": "#Microsoft.Azure.Search.DefaultCognitiveServices",
"allOf": [
{
- "$ref": "#/definitions/CognitiveServices"
+ "$ref": "#/definitions/CognitiveServicesAccount"
}
]
},
- "CognitiveServicesByKey": {
+ "CognitiveServicesAccountKey": {
"description": "A cognitive service resource provisioned with a key that is attached to a skillset.",
"x-ms-discriminator-value": "#Microsoft.Azure.Search.CognitiveServicesByKey",
"allOf": [
{
- "$ref": "#/definitions/CognitiveServices"
+ "$ref": "#/definitions/CognitiveServicesAccount"
}
],
"properties": {
From 26bef52b3eb58b4148b7f4d4ea4b69e509d5f082 Mon Sep 17 00:00:00 2001
From: ezgambac <52840484+ezgambac@users.noreply.github.com>
Date: Mon, 9 Dec 2019 17:38:07 -0800
Subject: [PATCH 067/469] [Hub Generated] Review request for
Microsoft.Resources to add version stable/2019-11-01 (#7839)
---
.vscode/extensions.json | 7 -
.vscode/launch.json | 27 -
.vscode/settings.json | 27 -
.../2019-11-01/examples/GetLocations.json | 52 ++
.../2019-11-01/examples/GetSubscription.json | 28 +
.../2019-11-01/examples/GetSubscriptions.json | 53 ++
.../stable/2019-11-01/subscriptions.json | 521 ++++++++++++++++++
.../resources/resource-manager/readme.md | 20 +-
8 files changed, 669 insertions(+), 66 deletions(-)
delete mode 100644 .vscode/extensions.json
delete mode 100644 .vscode/launch.json
delete mode 100644 .vscode/settings.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetLocations.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscription.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscriptions.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/subscriptions.json
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
deleted file mode 100644
index f23f12deef48..000000000000
--- a/.vscode/extensions.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "recommendations": [
- "EditorConfig.EditorConfig",
- "esbenp.prettier-vscode",
- "docsmsft.docs-authoring-pack"
- ]
-}
diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index fe6da0a7d616..000000000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "type": "node",
- "request": "launch",
- "name": "Mocha Tests",
- "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
- "args": [
- "--timeout",
- "999999",
- "--colors",
- "${workspaceFolder}/test/syntax.js"
- ],
- "internalConsoleOptions": "openOnSessionStart"
- },
- {
- "type": "node",
- "request": "launch",
- "name": "Launch Program",
- "program": "${file}"
- }
- ]
-}
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
deleted file mode 100644
index 81c95f4d9519..000000000000
--- a/.vscode/settings.json
+++ /dev/null
@@ -1,27 +0,0 @@
-// Place your settings in this file to overwrite default and user settings.
-{
- "json.schemas":[
- {
- "fileMatch":[
- "/**/specification/*.json"
- ],
- "url":"https://raw.githubusercontent.com/Azure/autorest/master/schema/swagger-extensions.json"
- },
- {
- "fileMatch":[
- "/**/examples/*.json"
- ],
- "url":"https://raw.githubusercontent.com/Azure/autorest/master/schema/example-schema.json"
- },
- {
- "fileMatch":[
- "/**/composite*.json"
- ],
- "url":"https://raw.githubusercontent.com/Azure/autorest/master/schema/composite-swagger.json"
- }
- ],
- "typescript.tsdk": "node_modules\\typescript\\lib",
- "[json]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- }
-}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetLocations.json
new file mode 100644
index 000000000000..2d23bcd8363e
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetLocations.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/centralus",
+ "name": "centralus",
+ "displayName": "Central US",
+ "regionalDisplayName": "(US) Central US",
+ "metadata": {
+ "regionType": "Physical",
+ "regionCategory": "Recommended",
+ "geographyGroup": "US",
+ "longitude": "-93.6208",
+ "latitude": "41.5908",
+ "physicalLocation": "Iowa",
+ "pairedRegion": [
+ {
+ "name": "eastus2",
+ "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus2"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastasia",
+ "name": "eastasia",
+ "displayName": "East Asia",
+ "regionalDisplayName": "(Asia Pacific) East Asia",
+ "metadata": {
+ "regionType": "Physical",
+ "regionCategory": "Recommended",
+ "geographyGroup": "Asia Pacific",
+ "longitude": "114.188",
+ "latitude": "22.267",
+ "physicalLocation": "Hong Kong",
+ "pairedRegion": [
+ {
+ "name": "southeastasia",
+ "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/southeastasia"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscription.json
new file mode 100644
index 000000000000..087ec2b7b555
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscription.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
+ "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
+ "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858",
+ "displayName": "Example Subscription",
+ "state": "Enabled",
+ "subscriptionPolicies": {
+ "locationPlacementId": "Internal_2014-09-01",
+ "quotaId": "Internal_2014-09-01",
+ "spendingLimit": "Off"
+ },
+ "authorizationSource": "Bypassed",
+ "managedByTenants": [
+ {
+ "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscriptions.json
new file mode 100644
index 000000000000..98c7aad42602
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscriptions.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
+ "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
+ "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858",
+ "displayName": "Example Subscription",
+ "state": "Enabled",
+ "subscriptionPolicies": {
+ "locationPlacementId": "Internal_2014-09-01",
+ "quotaId": "Internal_2014-09-01",
+ "spendingLimit": "Off"
+ },
+ "authorizationSource": "RoleBased",
+ "managedByTenants": [
+ {
+ "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71",
+ "subscriptionId": "72ac930a-f34e-42d8-b06d-dc2a9e12ed71",
+ "tenantId": "2a0ff0de-96b2-4859-bb7c-a430d07a3e0c",
+ "displayName": "Example Subscription2",
+ "state": "Enabled",
+ "subscriptionPolicies": {
+ "locationPlacementId": "Internal_2014-09-01",
+ "quotaId": "Internal_2014-09-01",
+ "spendingLimit": "Off"
+ },
+ "authorizationSource": "RoleBased",
+ "managedByTenants": [
+ {
+ "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
+ },
+ {
+ "tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a"
+ }
+ ]
+ }
+ ],
+ "nextLink": "..."
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/subscriptions.json
new file mode 100644
index 000000000000..e30a1b77d6fa
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/subscriptions.json
@@ -0,0 +1,521 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "SubscriptionClient",
+ "version": "2019-11-01",
+ "description": "All resource groups and resources exist within subscriptions. These operation enable you get information about your subscriptions and tenants. A tenant is a dedicated instance of Azure Active Directory (Azure AD) for your organization."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Resources/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Lists all of the available Microsoft.Resources REST API operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/locations": {
+ "get": {
+ "tags": [
+ "Subscriptions"
+ ],
+ "operationId": "Subscriptions_ListLocations",
+ "summary": "Gets all available geo-locations.",
+ "description": "This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of locations.",
+ "schema": {
+ "$ref": "#/definitions/LocationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Get locations with a subscription id": {
+ "$ref": "./examples/GetLocations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}": {
+ "get": {
+ "tags": [
+ "Subscriptions"
+ ],
+ "operationId": "Subscriptions_Get",
+ "description": "Gets details about a specified subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the subscription.",
+ "schema": {
+ "$ref": "#/definitions/Subscription"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a single subscription.": {
+ "$ref": "./examples/GetSubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions": {
+ "get": {
+ "tags": [
+ "Subscriptions"
+ ],
+ "operationId": "Subscriptions_List",
+ "description": "Gets all subscriptions for a tenant.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of subscriptions.",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get all subscriptions.": {
+ "$ref": "./examples/GetSubscriptions.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/tenants": {
+ "get": {
+ "tags": [
+ "Tenants"
+ ],
+ "operationId": "Tenants_List",
+ "description": "Gets the tenants for your account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of tenants.",
+ "schema": {
+ "$ref": "#/definitions/TenantListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PairedRegion": {
+ "description": "Information regarding paired region.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the paired region."
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus."
+ },
+ "subscriptionId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription ID."
+ }
+ }
+ },
+ "LocationMetadata": {
+ "description": "Location metadata information",
+ "properties": {
+ "regionType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of the region.",
+ "enum": [
+ "Physical",
+ "Logical"
+ ],
+ "x-ms-enum": {
+ "name": "RegionType",
+ "modelAsString": true
+ }
+ },
+ "regionCategory": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The category of the region.",
+ "enum": [
+ "Recommended",
+ "Other"
+ ],
+ "x-ms-enum": {
+ "name": "RegionCategory",
+ "modelAsString": true
+ }
+ },
+ "geographyGroup": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The geography group of the location."
+ },
+ "longitude": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The longitude of the location."
+ },
+ "latitude": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The latitude of the location."
+ },
+ "physicalLocation": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The physical location of the Azure location."
+ },
+ "pairedRegion": {
+ "type": "array",
+ "description": "The regions paired to this region.",
+ "items": {
+ "$ref": "#/definitions/PairedRegion"
+ }
+ }
+ }
+ },
+ "Location": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus."
+ },
+ "subscriptionId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription ID."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The location name."
+ },
+ "displayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The display name of the location."
+ },
+ "regionalDisplayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The display name of the location and its region."
+ },
+ "metadata": {
+ "description": "Metadata of the location, such as lat/long, paired region, and others.",
+ "$ref": "#/definitions/LocationMetadata"
+ }
+ },
+ "description": "Location information."
+ },
+ "LocationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Location"
+ },
+ "description": "An array of locations."
+ }
+ },
+ "description": "Location list operation response."
+ },
+ "Subscription": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000."
+ },
+ "subscriptionId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription ID."
+ },
+ "displayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription display name."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription tenant ID."
+ },
+ "state": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.",
+ "enum": [
+ "Enabled",
+ "Warned",
+ "PastDue",
+ "Disabled",
+ "Deleted"
+ ],
+ "x-ms-enum": {
+ "name": "SubscriptionState",
+ "modelAsString": false
+ }
+ },
+ "subscriptionPolicies": {
+ "$ref": "#/definitions/SubscriptionPolicies",
+ "description": "The subscription policies."
+ },
+ "authorizationSource": {
+ "type": "string",
+ "description": "The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'."
+ },
+ "managedByTenants": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedByTenant"
+ },
+ "description": "An array containing the tenants managing the subscription."
+ }
+ },
+ "description": "Subscription information."
+ },
+ "SubscriptionPolicies": {
+ "properties": {
+ "locationPlacementId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions."
+ },
+ "quotaId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription quota ID."
+ },
+ "spendingLimit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The subscription spending limit.",
+ "enum": [
+ "On",
+ "Off",
+ "CurrentPeriodOff"
+ ],
+ "x-ms-enum": {
+ "name": "spendingLimit",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Subscription policies."
+ },
+ "ManagedByTenant": {
+ "properties": {
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID of the managing tenant. This is a GUID."
+ }
+ },
+ "description": "Information about a tenant managing the subscription."
+ },
+ "SubscriptionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Subscription"
+ },
+ "description": "An array of subscriptions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "required": [
+ "nextLink"
+ ],
+ "description": "Subscription list operation response."
+ },
+ "TenantIdDescription": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID. For example, 00000000-0000-0000-0000-000000000000."
+ }
+ },
+ "description": "Tenant Id information."
+ },
+ "TenantListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TenantIdDescription"
+ },
+ "description": "An array of tenants."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to use for getting the next set of results."
+ }
+ },
+ "required": [
+ "nextLink"
+ ],
+ "description": "Tenant Ids information."
+ },
+ "Operation": {
+ "description": "Microsoft.Resources operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.Resources",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Profile, endpoint, etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the operation.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Microsoft.Resources operations."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the target subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the operation.",
+ "x-ms-parameter-location": "client"
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md
index 7d015cbc165d..2eb69d62d242 100644
--- a/specification/resources/resource-manager/readme.md
+++ b/specification/resources/resource-manager/readme.md
@@ -57,12 +57,22 @@ tag: package-managedapplications-2018-06
```
``` yaml $(package-deploymentscripts)
-tag: package-deploymentscripts-2019-10-preview
+tag: package-2019-11
```
+
+### Tag: package-2019-11
+
+These settings apply only when `--tag=package-2019-11` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-11'
+input-file:
+ - Microsoft.Resources/stable/2019-11-01/subscriptions.json
+```
### Tag: package-resources-2019-10-preview
+
These settings apply only when `--tag=package-deploymentscripts-2019-10-preview` is specified on the command line.
-
+
``` yaml $(tag) == 'package-deploymentscripts-2019-10-preview'
input-file:
- Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
@@ -394,6 +404,7 @@ input-file:
```
### Tag: package-managedapplications-2019-07
+
These settings apply only when `--tag=package-managedapplications-2019-07` is specified on the command line.
``` yaml $(tag) == 'package-managedapplications-2019-07'
@@ -581,7 +592,7 @@ input-file:
- Microsoft.Resources/stable/2018-05-01/resources.json
```
-## Multi-API/Profile support for AutoRest v3 generators
+## Multi-API/Profile support for AutoRest v3 generators
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
@@ -643,11 +654,10 @@ input-file:
```
-If there are files that should not be in the `all-api-versions` set,
+If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
From e63401cb21aba92650b877be0b7d8893452cd6fe Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 10 Dec 2019 01:39:43 +0000
Subject: [PATCH 068/469] regenerated all-api-versions
---
specification/resources/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md
index 2eb69d62d242..b56763be8888 100644
--- a/specification/resources/resource-manager/readme.md
+++ b/specification/resources/resource-manager/readme.md
@@ -604,6 +604,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.Resources/stable/2019-11-01/subscriptions.json
- $(this-folder)/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
- $(this-folder)/Microsoft.Features/stable/2015-12-01/features.json
- $(this-folder)/Microsoft.Authorization/stable/2016-09-01/locks.json
From e8e2185bdd03babb880eccda50d4d23ea856a59c Mon Sep 17 00:00:00 2001
From: Hyonho Lee
Date: Mon, 9 Dec 2019 23:51:35 -0800
Subject: [PATCH 069/469] Update examples for Images in 2019-07-01 version
according to the update of 2019-03-01 version examples. (#7882)
---
.../stable/2019-03-01/compute.json | 192 ++++++++----------
.../stable/2019-07-01/compute.json | 21 +-
.../examples/CreateAnImageFromABlob.json | 9 +-
.../CreateAnImageFromAManagedDisk.json | 9 +-
.../examples/CreateAnImageFromASnapshot.json | 9 +-
.../examples/CreateAnImageFromAVM.json | 6 +-
...AnImageThatIncludesADataDiskFromABlob.json | 9 +-
...ThatIncludesADataDiskFromAManagedDisk.json | 9 +-
...ageThatIncludesADataDiskFromASnapshot.json | 9 +-
.../examples/GetInformationAboutAnImage.json | 3 +-
.../2019-07-01/examples/UpdateImage.json | 107 ++++++++++
11 files changed, 254 insertions(+), 129 deletions(-)
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateImage.json
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 5f2d800851f4..d3470a7280a8 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
@@ -2065,97 +2065,97 @@
}
}
},
- "delete": {
- "tags": [
- "Images"
- ],
- "operationId": "Images_Delete",
- "description": "Deletes an Image.",
- "parameters": [
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group."
- },
- {
- "name": "imageName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the image."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "No Content"
- }
+ "delete": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_Delete",
+ "description": "Deletes an Image.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "imageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the image."
},
- "x-ms-long-running-operation": true
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
},
- "get": {
- "tags": [
- "Images"
- ],
- "operationId": "Images_Get",
- "description": "Gets an image.",
- "parameters": [
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group."
- },
- {
- "name": "imageName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the image."
- },
- {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The expand expression to apply on the operation."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Image"
- }
- }
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_Get",
+ "description": "Gets an image.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
},
- "x-ms-examples": {
- "Get information about a virtual machine image.": {
- "$ref": "./examples/GetInformationAboutAnImage.json"
+ {
+ "name": "imageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the image."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Image"
}
}
+ },
+ "x-ms-examples": {
+ "Get information about a virtual machine image.": {
+ "$ref": "./examples/GetInformationAboutAnImage.json"
+ }
}
- },
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images": {
"get": {
"tags": [
@@ -6557,7 +6557,7 @@
},
"StorageAccountType": {
"type": "string",
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-types ",
"enum": [
"Standard_LRS",
"Premium_LRS",
@@ -6566,25 +6566,7 @@
],
"x-ms-enum": {
"name": "StorageAccountTypes",
- "modelAsString": true,
- "values": [
- {
- "value": "Standard_LRS",
- "description": "Standard_LRS for StorageAccountType."
- },
- {
- "value": "Premium_LRS",
- "description": "Premium_LRS for StorageAccountType."
- },
- {
- "value": "StandardSSD_LRS",
- "description": "StandardSSD_LRS for StorageAccountType."
- },
- {
- "value": "UltraSSD_LRS",
- "description": "UltraSSD_LRS for StorageAccountType."
- }
- ]
+ "modelAsString": true
}
},
"DiffDiskOption": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index 27069e9ef9db..f86e4f015e6a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -2074,7 +2074,12 @@
}
}
},
- "x-ms-long-running-operation": true
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Updates tags of an Image.": {
+ "$ref": "./examples/UpdateImage.json"
+ }
+ }
},
"delete": {
"tags": [
@@ -7066,7 +7071,7 @@
},
"StorageAccountType": {
"type": "string",
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-types",
"enum": [
"Standard_LRS",
"Premium_LRS",
@@ -8143,7 +8148,17 @@
],
"x-ms-enum": {
"name": "OperatingSystemStateTypes",
- "modelAsString": false
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "Generalized",
+ "description": "Generalized image. Needs to be provisioned during deployment time."
+ },
+ {
+ "value": "Specialized",
+ "description": "Specialized image. Contains already provisioned OS Disk."
+ }
+ ]
}
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlob.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlob.json
index 192cbe979bc8..978e18726499 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlob.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlob.json
@@ -12,7 +12,8 @@
"osType": "Linux",
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"osState": "Generalized"
- }
+ },
+ "zoneResilient": true
}
}
}
@@ -28,7 +29,8 @@
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
@@ -48,7 +50,8 @@
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDisk.json
index 5d6f7761a5b4..1183cb4ae11a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDisk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDisk.json
@@ -14,7 +14,8 @@
"id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
},
"osState": "Generalized"
- }
+ },
+ "zoneResilient": true
}
}
}
@@ -32,7 +33,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
@@ -54,7 +56,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshot.json
index 75ed945d1412..3e028823aef1 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshot.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshot.json
@@ -14,7 +14,8 @@
"id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
},
"osState": "Generalized"
- }
+ },
+ "zoneResilient": false
}
}
}
@@ -32,7 +33,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
@@ -54,7 +56,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAVM.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAVM.json
index 20039c541b32..991c53007d1d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAVM.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAVM.json
@@ -29,7 +29,8 @@
},
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
@@ -54,7 +55,8 @@
},
"caching": "ReadWrite"
},
- "dataDisks": []
+ "dataDisks": [],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
index c4d1aa07e629..6d1f1192c030 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
@@ -18,7 +18,8 @@
"lun": 1,
"blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
}
- ]
+ ],
+ "zoneResilient": false
}
}
}
@@ -39,7 +40,8 @@
"lun": 1,
"blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
}
- ]
+ ],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
@@ -64,7 +66,8 @@
"lun": 1,
"blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
}
- ]
+ ],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
index 124198ee9856..1f497628f145 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
@@ -22,7 +22,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
}
}
- ]
+ ],
+ "zoneResilient": false
}
}
}
@@ -47,7 +48,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
}
}
- ]
+ ],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
@@ -76,7 +78,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
}
}
- ]
+ ],
+ "zoneResilient": false
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
index 2712e8bf9abe..bd24d775f6bd 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
@@ -22,7 +22,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
}
}
- ]
+ ],
+ "zoneResilient": true
}
}
}
@@ -47,7 +48,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
}
}
- ]
+ ],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
@@ -76,7 +78,8 @@
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
}
}
- ]
+ ],
+ "zoneResilient": true
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAnImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAnImage.json
index 133e970821a1..d6ae6aeb4836 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAnImage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAnImage.json
@@ -39,7 +39,8 @@
},
"storageAccountType": "Standard_LRS"
}
- ]
+ ],
+ "zoneResilient": true
},
"provisioningState": "created"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateImage.json
new file mode 100644
index 000000000000..f26d12155db6
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateImage.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "properties": {
+ "sourceVirtualMachine": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
+ },
+ "hyperVGeneration": "V1"
+ },
+ "tags": {
+ "department": "HR"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage",
+ "type": "Microsoft.Compute/images",
+ "location": "West US",
+ "tags": {
+ "department": "HR"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "osState": "Generalized",
+ "storageAccountType": "Standard_LRS",
+ "diskSizeGB": 20
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ },
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "zoneResilient": true
+ },
+ "provisioningState": "created"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage",
+ "type": "Microsoft.Compute/images",
+ "location": "West US",
+ "tags": {
+ "department": "HR"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "osState": "Generalized",
+ "storageAccountType": "Standard_LRS",
+ "diskSizeGB": 20
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ },
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "zoneResilient": true
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+ }
From 84ab02cad8cb3d3c97118e989815dbe5c7d5b529 Mon Sep 17 00:00:00 2001
From: LeiZhao
Date: Tue, 10 Dec 2019 01:03:11 -0800
Subject: [PATCH 070/469] [READY FOR REVIEW] Upgrade version to 2020-01-01 and
Implement Private Link APIs (#7898)
* upgrade version to 2020-01-01
* fix version in readme
* add private link realted API and samples
* fix define conflict
---
.../stable/2020-01-01/examples/ListSkus.json | 79 +
.../2020-01-01/examples/ListUsages.json | 400 +++
.../examples/ListVMSizesResult.json | 455 +++
.../examples/ListWorkspaceFeatures.json | 26 +
.../ListWorkspaceQuotasByVMFamily.json | 415 +++
.../examples/amlComputeListNodes.json | 34 +
.../examples/createBasicAKSCompute.json | 44 +
.../examples/createBasicAmlCompute.json | 54 +
.../createBasicDataFactoryCompute.json | 44 +
.../2020-01-01/examples/createWorkspace.json | 69 +
.../2020-01-01/examples/deleteCompute.json | 19 +
.../2020-01-01/examples/deleteWorkspace.json | 12 +
.../2020-01-01/examples/getAKSCompute.json | 25 +
.../2020-01-01/examples/getAmlCompute.json | 49 +
.../2020-01-01/examples/getComputes.json | 41 +
.../2020-01-01/examples/getWorkspace.json | 32 +
.../getWorkspacesByResourceGroup.json | 56 +
.../examples/getWorkspacesBySubscription.json | 55 +
.../examples/listKeysAKSCompute.json | 19 +
.../examples/listWorkspaceKeys.json | 31 +
.../2020-01-01/examples/patchAmlCompute.json | 36 +
.../examples/resyncWorkspaceKeys.json | 11 +
.../2020-01-01/examples/updateAKSCompute.json | 54 +
.../2020-01-01/examples/updateAmlCompute.json | 57 +
.../2020-01-01/examples/updateQuota.json | 45 +
.../2020-01-01/examples/updateWorkspace.json | 42 +
...kspaceDeletePrivateEndpointConnection.json | 14 +
...workspaceGetPrivateEndpointConnection.json | 30 +
.../workspaceListPrivateLinkResources.json | 28 +
...workspacePutPrivateEndpointConnection.json | 38 +
.../2020-01-01/machineLearningServices.json | 3187 +++++++++++++++++
.../resource-manager/readme.go.md | 10 +
.../resource-manager/readme.md | 27 +-
33 files changed, 5537 insertions(+), 1 deletion(-)
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListSkus.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListUsages.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListVMSizesResult.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListWorkspaceFeatures.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListWorkspaceQuotasByVMFamily.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/amlComputeListNodes.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicAKSCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicAmlCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicDataFactoryCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/deleteCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/deleteWorkspace.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getAKSCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getAmlCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getComputes.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspace.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspacesByResourceGroup.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspacesBySubscription.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/listKeysAKSCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/listWorkspaceKeys.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/patchAmlCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/resyncWorkspaceKeys.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateAKSCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateAmlCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateQuota.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateWorkspace.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceDeletePrivateEndpointConnection.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceGetPrivateEndpointConnection.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceListPrivateLinkResources.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspacePutPrivateEndpointConnection.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListSkus.json
new file mode 100644
index 000000000000..b08b0cb289b6
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListSkus.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "{subscription-id}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "workspaces",
+ "name": "Basic",
+ "tier": "Basic",
+ "locations": [
+ "westus"
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ02",
+ "westus-AZ01"
+ ]
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "automatedml_readhyperdrivesdk",
+ "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}"
+ },
+ {
+ "name": "workspace_upgradeworkspacesdk",
+ "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}"
+ }
+ ],
+ "restrictions": []
+ },
+ {
+ "resourceType": "workspaces",
+ "name": "Enterprise",
+ "tier": "Enterprise",
+ "locations": [
+ "westus"
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ01"
+ ],
+ "zoneDetails": [
+ {
+ "name": [
+ "westus-AZ01"
+ ],
+ "capabilities": [
+ {
+ "name": "automatedml_createeditexperimentssdk",
+ "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "automatedml_createeditexperimentssdk",
+ "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}"
+ }
+ ],
+ "restrictions": []
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListUsages.json
new file mode 100644
index 000000000000..4282a0754880
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListUsages.json
@@ -0,0 +1,400 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "eastus",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/totalCores/usages",
+ "currentValue": 7,
+ "limit": 100,
+ "name": {
+ "localizedValue": "Clusters",
+ "value": "Clusters"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/dedicatedCores/usages",
+ "currentValue": 14,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Total Cluster Dedicated Regional vCPUs",
+ "value": "Total Cluster Dedicated Regional vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 48,
+ "name": {
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs",
+ "value": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster2_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 12,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluser1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
+ "value": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
+ "value": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages",
+ "currentValue": 18,
+ "limit": 50,
+ "name": {
+ "localizedValue": "Total Cluster LowPriority Regional vCPUs",
+ "value": "Total Cluster LowPriority Regional vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "value": "Standard D Family Cluster LowPriority vCPUs",
+ "localizedValue": "Standard D Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard DSv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard Dv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard FSv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 18,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 12,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster2_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster3_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard NCv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs",
+ "value": "Standard NCv3 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard ND Family Cluster LowPriority vCPUs",
+ "value": "Standard ND Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard NDv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NV Family Cluster LowPriority vCPUs",
+ "value": "Standard NV Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListVMSizesResult.json
new file mode 100644
index 000000000000..0331f183231b
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListVMSizesResult.json
@@ -0,0 +1,455 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "api-version": "2020-01-01",
+ "location": "eastus"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "amlCompute": [
+ {
+ "name": "Standard_F2s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 16384,
+ "memoryGB": 4.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F4s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 32768,
+ "memoryGB": 8.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F8s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 65536,
+ "memoryGB": 16.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F16s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 131072,
+ "memoryGB": 32.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F32s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 32,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 262144,
+ "memoryGB": 64.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F64s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 64,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 524288,
+ "memoryGB": 128.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F72s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 72,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 589824,
+ "memoryGB": 144.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_D1_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 1,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 51200,
+ "memoryGB": 3.5,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D2_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 102400,
+ "memoryGB": 7.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D3_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 204800,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D4_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 409600,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D11_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 102400,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D12_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 204800,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D13_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 409600,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D14_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 819200,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_DS1_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 1,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 7168,
+ "memoryGB": 3.5,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS2_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 14336,
+ "memoryGB": 7.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS3_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 28672,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS4_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 57344,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS5_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 114688,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS11_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 28672,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS12_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 57344,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS13_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 114688,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS14_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 229376,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS15_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 20,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 286720,
+ "memoryGB": 140.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC12s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24rs_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC12s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24rs_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6",
+ "family": "standardNCFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 389120,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC12",
+ "family": "standardNCFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 696320,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC24",
+ "family": "standardNCFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC24r",
+ "family": "standardNCFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV6",
+ "family": "standardNVFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 389120,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV12",
+ "family": "standardNVFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 696320,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV24",
+ "family": "standardNVFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_ND6s",
+ "family": "standardNDSFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND12s",
+ "family": "standardNDSFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND24rs",
+ "family": "standardNDSFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND24s",
+ "family": "standardNDSFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListWorkspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListWorkspaceFeatures.json
new file mode 100644
index 000000000000..ace0cd2698fc
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListWorkspaceFeatures.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "workspaceName": "testworkspace"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "automatedml_createeditexperimentsui",
+ "displayName": "Create edit experiments UI",
+ "description": "Create, edit or delete AutoML experiments in the SDK"
+ },
+ {
+ "id": "workspace_upgradeworkspaceui",
+ "displayName": "Upgrade workspace UI",
+ "description": "Upgrade workspace from Basic to enterprise from the UI"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListWorkspaceQuotasByVMFamily.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListWorkspaceQuotasByVMFamily.json
new file mode 100644
index 000000000000..99ae48e14437
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/ListWorkspaceQuotasByVMFamily.json
@@ -0,0 +1,415 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "eastus",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 48,
+ "name": {
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs",
+ "value": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard D Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard D Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard D Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quota",
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
+ "value": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard ND Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard ND Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard ND Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
+ "value": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NV Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NV Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NV Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/amlComputeListNodes.json
new file mode 100644
index 000000000000..5a702c649e83
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/amlComputeListNodes.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AmlCompute",
+ "nodes": [
+ {
+ "nodeId": "tvm-3601533753_1-20170719t162906z",
+ "privateIpAddress": "13.84.190.124",
+ "publicIpAddress": "13.84.190.134",
+ "port": 50000,
+ "nodeState": "running",
+ "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890"
+ },
+ {
+ "nodeId": "tvm-3601533753_2-20170719t162906z",
+ "privateIpAddress": "13.84.190.124",
+ "publicIpAddress": "13.84.190.134",
+ "port": 50001,
+ "nodeState": "idle"
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicAKSCompute.json
new file mode 100644
index 000000000000..40be3557d7fd
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicAKSCompute.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicAmlCompute.json
new file mode 100644
index 000000000000..990cd1937678
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicAmlCompute.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ },
+ "remoteLoginPortPublicAccess": "NotSpecified"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicDataFactoryCompute.json
new file mode 100644
index 000000000000..a29b0de77a0f
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createBasicDataFactoryCompute.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json
new file mode 100644
index 000000000000..bce63cc088ef
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "friendlyName": "HelloName",
+ "description": "test description",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/deleteCompute.json
new file mode 100644
index 000000000000..2ad16bd2de81
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/deleteCompute.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01",
+ "underlyingResourceAction": "Delete"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
+ "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/deleteWorkspace.json
new file mode 100644
index 000000000000..713ec2db9120
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/deleteWorkspace.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getAKSCompute.json
new file mode 100644
index 000000000000..8bf83c641a9c
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getAKSCompute.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getAmlCompute.json
new file mode 100644
index 000000000000..4ff2a12d0348
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getAmlCompute.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "createdOn": "2017-09-26T22:28:08.327Z",
+ "provisioningState": "Succeeded",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "subnet": "test-subnet-resource-id",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ },
+ "remoteLoginPortPublicAccess": "Enabled",
+ "allocationState": "Resizing",
+ "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
+ "errors": null,
+ "currentNodeCount": 0,
+ "targetNodeCount": 1,
+ "nodeStateCounts": {
+ "preparingNodeCount": 0,
+ "runningNodeCount": 0,
+ "idleNodeCount": 0,
+ "unusableNodeCount": 0,
+ "leavingNodeCount": 0,
+ "preemptedNodeCount": 0
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getComputes.json
new file mode 100644
index 000000000000..4a29c131bae0
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getComputes.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute1234",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspace.json
new file mode 100644
index 000000000000..e0ac1ae81768
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspace.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspacesByResourceGroup.json
new file mode 100644
index 000000000000..e9b28f82f625
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspacesByResourceGroup.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
+ "name": "testworkspace1",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName 1",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspacesBySubscription.json
new file mode 100644
index 000000000000..02dde0766347
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspacesBySubscription.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/listKeysAKSCompute.json
new file mode 100644
index 000000000000..f702a60572df
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/listKeysAKSCompute.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AKS",
+ "userKubeConfig": "user kube config...",
+ "adminKubeConfig": "admin kube config...",
+ "imagePullSecretName": "the image pull secret name"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/listWorkspaceKeys.json
new file mode 100644
index 000000000000..4cd6149e019d
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/listWorkspaceKeys.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
+ "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
+ "appInsightsInstrumentationKey": null,
+ "containerRegistryCredentials": {
+ "location": null,
+ "username": "testdemoworkjmjmeykp",
+ "passwords": [
+ {
+ "name": "password",
+ "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
+ },
+ {
+ "name": "password2",
+ "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/patchAmlCompute.json
new file mode 100644
index 000000000000..8b7cc90430b1
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/patchAmlCompute.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/resyncWorkspaceKeys.json
new file mode 100644
index 000000000000..d249e7c0306b
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/resyncWorkspaceKeys.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateAKSCompute.json
new file mode 100644
index 000000000000..1496c63962ed
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateAKSCompute.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "id": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "properties": {
+ "agentCount": 4
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateAmlCompute.json
new file mode 100644
index 000000000000..cd1485a874da
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateAmlCompute.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateQuota.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateQuota.json
new file mode 100644
index 000000000000..41635ea08b75
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateQuota.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "eastus",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 100,
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 200,
+ "unit": "Count"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 100,
+ "unit": "Count",
+ "status": "Success"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 200,
+ "unit": "Count",
+ "status": "Success"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateWorkspace.json
new file mode 100644
index 000000000000..af0f892422ad
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/updateWorkspace.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2020-01-01",
+ "parameters": {
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceDeletePrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceDeletePrivateEndpointConnection.json
new file mode 100644
index 000000000000..4223994be2ff
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceDeletePrivateEndpointConnection.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "rg-1234",
+ "workspaceName": "testworkspace",
+ "privateEndpointConnectionName": "{privateEndpointConnectionName}",
+ "api-version": "2020-01-01",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceGetPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceGetPrivateEndpointConnection.json
new file mode 100644
index 000000000000..1d9cfd7efa3b
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceGetPrivateEndpointConnection.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "rg-1234",
+ "workspaceName": "testworkspace",
+ "privateEndpointConnectionName": "{privateEndpointConnectionName}",
+ "api-version": "2020-01-01",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}",
+ "name": "{privateEndpointConnectionName}",
+ "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceListPrivateLinkResources.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceListPrivateLinkResources.json
new file mode 100644
index 000000000000..af87e5e252f7
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspaceListPrivateLinkResources.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "rg-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2020-01-01",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateLinkResources/amlworkspace",
+ "name": "amlworkspace",
+ "type": "Microsoft.Storage/workspaces/privateLinkResources",
+ "properties": {
+ "groupId": "amlworkspace",
+ "requiredMembers": [
+ "default"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspacePutPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspacePutPrivateEndpointConnection.json
new file mode 100644
index 000000000000..609458be1f29
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/workspacePutPrivateEndpointConnection.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "rg-1234",
+ "workspaceName": "testworkspace",
+ "privateEndpointConnectionName": "{privateEndpointConnectionName}",
+ "api-version": "2020-01-01",
+ "monitor": "true",
+ "properties": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}",
+ "name": "{privateEndpointConnectionName}",
+ "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json
new file mode 100644
index 000000000000..a418da411ec0
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json
@@ -0,0 +1,3187 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Machine Learning Workspaces",
+ "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.",
+ "version": "2020-01-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.MachineLearningServices/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Gets the properties of the specified machine learning workspace.",
+ "operationId": "Workspaces_Get",
+ "x-ms-examples": {
+ "Get Workspace": {
+ "$ref": "./examples/getWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Creates or updates a workspace with the specified parameters.",
+ "operationId": "Workspaces_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create Workspace": {
+ "$ref": "./examples/createWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for creating or updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Deletes a machine learning workspace.",
+ "operationId": "Workspaces_Delete",
+ "x-ms-examples": {
+ "Delete Workspace": {
+ "$ref": "./examples/deleteWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "204": {
+ "description": "The machine learning workspace does not exist in the subscription."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Updates a machine learning workspace with the specified parameters.",
+ "operationId": "Workspaces_Update",
+ "x-ms-examples": {
+ "Update Workspace": {
+ "$ref": "./examples/updateWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WorkspaceUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all enabled features for a workspace",
+ "operationId": "WorkspaceFeatures_List",
+ "x-ms-examples": {
+ "List Workspace features": {
+ "$ref": "./examples/ListWorkspaceFeatures.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ListAmlUserFeatureResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified resource group.",
+ "operationId": "Workspaces_ListByResourceGroup",
+ "x-ms-examples": {
+ "Get Workspaces by Resource Group": {
+ "$ref": "./examples/getWorkspacesByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
+ "operationId": "Workspaces_ListKeys",
+ "x-ms-examples": {
+ "List Workspace Keys": {
+ "$ref": "./examples/listWorkspaceKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ListWorkspaceKeysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
+ "operationId": "Workspaces_ResyncKeys",
+ "x-ms-examples": {
+ "Resync Workspace Keys": {
+ "$ref": "./examples/resyncWorkspaceKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": {
+ "get": {
+ "tags": [
+ "Usage"
+ ],
+ "operationId": "Usages_List",
+ "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which resource usage is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListUsagesResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Usages": {
+ "$ref": "./examples/ListUsages.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": {
+ "get": {
+ "tags": [
+ "VirtualMachineSizes"
+ ],
+ "operationId": "VirtualMachineSizes_List",
+ "description": "Returns supported VM Sizes in a location",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which virtual-machine-sizes is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineSizeListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List VM Sizes": {
+ "$ref": "./examples/ListVMSizesResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": {
+ "post": {
+ "tags": [
+ "Quota"
+ ],
+ "operationId": "Quotas_Update",
+ "description": "Update quota for each VM family in workspace.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for update quota is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/QuotaUpdateParameters"
+ },
+ "description": "Quota update parameters."
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation was successful.",
+ "schema": {
+ "$ref": "#/definitions/UpdateWorkspaceQuotasResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "update quotas": {
+ "$ref": "./examples/updateQuota.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/Quotas": {
+ "get": {
+ "tags": [
+ "Quota"
+ ],
+ "operationId": "Quotas_List",
+ "description": "Gets the currently assigned Workspace Quotas based on VMFamily.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which resource usage is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListWorkspaceQuotas"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List workspace quotas by VMFamily": {
+ "$ref": "./examples/ListWorkspaceQuotasByVMFamily.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified subscription.",
+ "operationId": "Workspaces_ListBySubscription",
+ "x-ms-examples": {
+ "Get Workspaces by subscription": {
+ "$ref": "./examples/getWorkspacesBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": {
+ "get": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "operationId": "MachineLearningCompute_ListByWorkspace",
+ "description": "Gets computes in specified workspace.",
+ "x-ms-examples": {
+ "Get Computes": {
+ "$ref": "./examples/getComputes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The response includes a paginated array of Machine Learning computes and a URI to the next set of results, if any. For the more information the limits of the number of items in a resource group, see https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedComputeResourcesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": {
+ "get": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Get",
+ "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
+ "x-ms-examples": {
+ "Get a AKS Compute": {
+ "$ref": "./examples/getAKSCompute.json"
+ },
+ "Get a AML Compute": {
+ "$ref": "./examples/getAmlCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_CreateOrUpdate",
+ "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a AML Compute": {
+ "$ref": "./examples/createBasicAmlCompute.json"
+ },
+ "Create AKS Compute": {
+ "$ref": "./examples/createBasicAKSCompute.json"
+ },
+ "Create a DataFactory Compute": {
+ "$ref": "./examples/createBasicDataFactoryCompute.json"
+ },
+ "Update a AML Compute": {
+ "$ref": "./examples/updateAmlCompute.json"
+ },
+ "Update a AKS Compute": {
+ "$ref": "./examples/updateAKSCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeDefinitionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Compute creation or update initiated.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "201": {
+ "description": "Compute creation or update initiated.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for asynchronous operation status.",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Update",
+ "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update a AmlCompute Compute": {
+ "$ref": "./examples/patchAmlCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ClusterUpdateParameters"
+ },
+ "description": "Additional parameters for cluster update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Compute update initiated.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Delete",
+ "description": "Deletes specified Machine Learning compute.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Compute": {
+ "$ref": "./examples/deleteCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/UnderlyingResourceActionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "Compute deletion initiated.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for asynchronous operation status.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": {
+ "post": {
+ "tags": [
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_ListNodes",
+ "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation was successful. The response contains the list of IP addresses.",
+ "schema": {
+ "$ref": "#/definitions/AmlComputeNodesInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get compute nodes information for a compute": {
+ "$ref": "./examples/amlComputeListNodes.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": {
+ "post": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_ListKeys",
+ "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
+ "x-ms-examples": {
+ "List AKS Compute Keys": {
+ "$ref": "./examples/listKeysAKSCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success.",
+ "schema": {
+ "$ref": "#/definitions/ComputeSecrets"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": {
+ "get": {
+ "tags": [
+ "WorkspaceSkus"
+ ],
+ "description": "Lists all skus with associated features",
+ "operationId": "ListSkus",
+ "x-ms-examples": {
+ "List Skus": {
+ "$ref": "./examples/ListSkus.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/SkuListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "get": {
+ "tags": [
+ "WorkspacePrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_Get",
+ "description": "Gets the specified private endpoint connection associated with the workspace.",
+ "x-ms-examples": {
+ "WorkspaceGetPrivateEndpointConnection": {
+ "$ref": "./examples/workspaceGetPrivateEndpointConnection.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Get the private endpoint connection properties successfully.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "WorkspacePrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_Put",
+ "description": "Update the state of specified private endpoint connection associated with the workspace.",
+ "x-ms-examples": {
+ "WorkspacePutPrivateEndpointConnection": {
+ "$ref": "./examples/workspacePutPrivateEndpointConnection.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "name": "properties",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "description": "The private endpoint connection properties."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Update the private endpoint connection properties successfully.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "WorkspacePrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_Delete",
+ "description": "Deletes the specified private endpoint connection associated with the workspace.",
+ "x-ms-examples": {
+ "WorkspaceDeletePrivateEndpointConnection": {
+ "$ref": "./examples/workspaceDeletePrivateEndpointConnection.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Delete the private endpoint connection successfully."
+ },
+ "204": {
+ "description": "No Content -- The private endpoint connection does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": {
+ "get": {
+ "tags": [
+ "WorkspacePrivateLinkResources"
+ ],
+ "operationId": "PrivateLinkResources_ListByWorkspace",
+ "description": "Gets the private link resources that need to be created for a workspace.",
+ "x-ms-examples": {
+ "WorkspaceListPrivateLinkResources": {
+ "$ref": "./examples/workspaceListPrivateLinkResources.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResourceListResult"
+ }
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "description": "Azure subscription identifier.",
+ "in": "path",
+ "type": "string",
+ "required": true
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "description": "Name of the resource group in which workspace is located.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "WorkspaceNameParameter": {
+ "name": "workspaceName",
+ "description": "Name of Azure Machine Learning workspace.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeNameParameter": {
+ "name": "computeName",
+ "description": "Name of the Azure Machine Learning compute.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "AsyncOperationIdParameter": {
+ "name": "asyncOperationId",
+ "description": "Identifier of an asynchronous Azure Machine Learning compute operation.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "LocationParameter": {
+ "name": "location",
+ "description": "The name of the Azure location/region.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "APIVersionParameter": {
+ "in": "query",
+ "name": "api-version",
+ "type": "string",
+ "description": "Version of Azure Machine Learning resource provider API.",
+ "required": true
+ },
+ "PaginationParameter": {
+ "in": "query",
+ "name": "$skiptoken",
+ "type": "string",
+ "description": "Continuation token for pagination.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeDefinitionParameter": {
+ "in": "body",
+ "name": "parameters",
+ "description": "Payload with Machine Learning compute definition.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeTypeParameter": {
+ "in": "query",
+ "name": "compute-type",
+ "type": "string",
+ "description": "Type of compute to filter by.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "UnderlyingResourceActionParameter": {
+ "in": "query",
+ "name": "underlyingResourceAction",
+ "type": "string",
+ "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.",
+ "required": true,
+ "enum": [
+ "Delete",
+ "Detach"
+ ],
+ "x-ms-enum": {
+ "name": "UnderlyingResourceAction",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "PrivateEndpointConnectionName": {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private endpoint connection associated with the workspace",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "definitions": {
+ "Operation": {
+ "description": "Azure Machine Learning workspace REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display name of operation",
+ "properties": {
+ "provider": {
+ "description": "The resource provider name: Microsoft.MachineLearningExperimentation",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The resource on which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The operation that users can perform.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description for the operation.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "An array of operations supported by the resource provider.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of AML workspace operations supported by the AML workspace resource provider."
+ }
+ }
+ },
+ "Workspace": {
+ "type": "object",
+ "description": "An object that represents a machine learning workspace.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WorkspaceProperties",
+ "description": "The properties of the machine learning workspace.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspaceProperties": {
+ "type": "object",
+ "description": "The properties of a machine learning workspace.",
+ "properties": {
+ "workspaceId": {
+ "description": "The immutable id associated with this workspace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The description of this workspace.",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "The friendly name for this workspace. This name in mutable",
+ "type": "string"
+ },
+ "creationTime": {
+ "format": "date-time",
+ "description": "The creation time of the machine learning workspace in ISO8601 format.",
+ "type": "string",
+ "readOnly": true
+ },
+ "keyVault": {
+ "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "applicationInsights": {
+ "description": "ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "containerRegistry": {
+ "description": "ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "storageAccount": {
+ "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "discoveryUrl": {
+ "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services",
+ "type": "string"
+ },
+ "provisioningState": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Updating",
+ "Creating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true,
+ "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning."
+ }
+ }
+ },
+ "WorkspaceUpdateParameters": {
+ "description": "The parameters for updating a machine learning workspace.",
+ "properties": {
+ "tags": {
+ "description": "The resource tags for the machine learning workspace.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The sku of the workspace."
+ },
+ "properties": {
+ "$ref": "#/definitions/WorkspacePropertiesUpdateParameters",
+ "description": "The properties that the machine learning workspace will be updated with.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspacePropertiesUpdateParameters": {
+ "description": "The parameters for updating the properties of a machine learning workspace.",
+ "properties": {
+ "description": {
+ "description": "The description of this workspace.",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "The friendly name for this workspace.",
+ "type": "string"
+ }
+ }
+ },
+ "AmlUserFeature": {
+ "description": "Features enabled for a workspace",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Specifies the feature ID",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Specifies the feature name ",
+ "type": "string"
+ },
+ "description": {
+ "description": "Describes the feature for user experience",
+ "type": "string"
+ }
+ }
+ },
+ "ListAmlUserFeatureResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AmlUserFeature"
+ },
+ "description": "The list of AML user facing features."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information."
+ }
+ },
+ "description": "The List Aml user feature operation response."
+ },
+ "UsageName": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "localizedValue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The localized name of the resource."
+ }
+ },
+ "description": "The Usage Names."
+ },
+ "Usage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of usage measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "UsageUnit",
+ "modelAsString": true
+ }
+ },
+ "currentValue": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The current usage of the resource."
+ },
+ "limit": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum permitted usage of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "$ref": "#/definitions/UsageName",
+ "description": "The name of the type of usage."
+ }
+ },
+ "description": "Describes AML Resource Usage."
+ },
+ "ListUsagesResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Usage"
+ },
+ "description": "The list of AML resource usages."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information."
+ }
+ },
+ "description": "The List Usages operation response."
+ },
+ "VirtualMachineSize": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "Virtual Machine size name",
+ "description": "The name of the virtual machine size.",
+ "readOnly": true
+ },
+ "family": {
+ "type": "string",
+ "title": "Virtual Machine family name",
+ "description": "The family name of the virtual machine size.",
+ "readOnly": true
+ },
+ "vCPUs": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Number of vPUs",
+ "description": "The number of vCPUs supported by the virtual machine size.",
+ "readOnly": true
+ },
+ "gpus": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Number of gPUs",
+ "description": "The number of gPUs supported by the virtual machine size.",
+ "readOnly": true
+ },
+ "osVhdSizeMB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "OS VHD Disk size",
+ "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.",
+ "readOnly": true
+ },
+ "maxResourceVolumeMB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Resource volume size",
+ "description": "The resource volume size, in MB, allowed by the virtual machine size.",
+ "readOnly": true
+ },
+ "memoryGB": {
+ "type": "number",
+ "format": "double",
+ "title": "Memory size",
+ "description": "The amount of memory, in GB, supported by the virtual machine size.",
+ "readOnly": true
+ },
+ "lowPriorityCapable": {
+ "type": "boolean",
+ "title": "Low priority capable",
+ "description": "Specifies if the virtual machine size supports low priority VMs.",
+ "readOnly": true
+ },
+ "premiumIO": {
+ "type": "boolean",
+ "title": "Premium IO supported",
+ "description": "Specifies if the virtual machine size supports premium IO.",
+ "readOnly": true
+ }
+ },
+ "description": "Describes the properties of a VM size."
+ },
+ "VirtualMachineSizeListResult": {
+ "properties": {
+ "amlCompute": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineSize"
+ },
+ "description": "The list of virtual machine sizes supported by AmlCompute."
+ }
+ },
+ "description": "The List Virtual Machine size operation response."
+ },
+ "WorkspaceListResult": {
+ "description": "The result of a request to list machine learning workspaces.",
+ "properties": {
+ "value": {
+ "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of machine learning workspaces.",
+ "type": "string"
+ }
+ }
+ },
+ "QuotaBaseProperties": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
+ },
+ "unit": {
+ "type": "string",
+ "description": "An enum describing the unit of quota measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "QuotaUnit",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "The properties for Quota update or retrieval."
+ },
+ "QuotaUpdateParameters": {
+ "properties": {
+ "value": {
+ "description": "The list for update quota.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QuotaBaseProperties"
+ }
+ }
+ },
+ "description": "Quota update parameters."
+ },
+ "UpdateWorkspaceQuotasResult": {
+ "properties": {
+ "value": {
+ "description": "The list of workspace quota update result.",
+ "items": {
+ "$ref": "#/definitions/UpdateWorkspaceQuotas"
+ },
+ "readOnly": true,
+ "type": "array"
+ },
+ "nextLink": {
+ "description": "The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "description": "The result of update workspace quota."
+ },
+ "UpdateWorkspaceQuotas": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of quota measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "QuotaUnit",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "type": "string",
+ "readOnly": false,
+ "title": "Update Workspace Quota Status.",
+ "description": "Status of update workspace quota.",
+ "enum": [
+ "Undefined",
+ "Success",
+ "Failure",
+ "InvalidQuotaBelowClusterMinimum",
+ "InvalidQuotaExceedsSubscriptionLimit",
+ "InvalidVMFamilyName",
+ "OperationNotSupportedForSku",
+ "OperationNotEnabledForRegion"
+ ],
+ "x-ms-enum": {
+ "name": "status",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "The properties for update Quota response."
+ },
+ "ResourceName": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "localizedValue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The localized name of the resource."
+ }
+ },
+ "description": "The Resource Name."
+ },
+ "ResourceQuota": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "name": {
+ "$ref": "#/definitions/ResourceName",
+ "description": "Name of the resource.",
+ "readOnly": true
+ },
+ "limit": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of quota measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "QuotaUnit",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "The quota assigned to a resource."
+ },
+ "ListWorkspaceQuotas": {
+ "properties": {
+ "value": {
+ "description": "The list of Workspace Quotas by VM Family",
+ "items": {
+ "$ref": "#/definitions/ResourceQuota"
+ },
+ "readOnly": true,
+ "type": "array"
+ },
+ "nextLink": {
+ "description": "The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "description": "The List WorkspaceQuotasByVMFamily operation response."
+ },
+ "Identity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID of resource identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID of resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The identity type.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Identity for the resource."
+ },
+ "Resource": {
+ "description": "Azure Resource Manager resource envelope.",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "id": {
+ "description": "Specifies the resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Specifies the name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "readOnly": true,
+ "description": "The identity of the resource."
+ },
+ "location": {
+ "description": "Specifies the location of the resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Specifies the type of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "tags": {
+ "description": "Contains resource tags defined as key/value pairs.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The sku of the workspace."
+ }
+ }
+ },
+ "ResourceId": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the resource"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.",
+ "x-ms-azure-resource": true
+ },
+ "ListWorkspaceKeysResult": {
+ "type": "object",
+ "properties": {
+ "userStorageKey": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "userStorageResourceId": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "appInsightsInstrumentationKey": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "containerRegistryCredentials": {
+ "readOnly": true,
+ "$ref": "#/definitions/RegistryListCredentialsResult"
+ }
+ }
+ },
+ "RegistryListCredentialsResult": {
+ "type": "object",
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "username": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "passwords": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Password"
+ }
+ }
+ }
+ },
+ "Password": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "value": {
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "PaginatedComputeResourcesList": {
+ "type": "object",
+ "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.",
+ "items": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "A continuation link (absolute URI) to the next page of results in the list."
+ }
+ }
+ },
+ "ComputeResource": {
+ "type": "object",
+ "description": "Machine Learning compute object wrapped into ARM resource envelope.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Compute properties",
+ "$ref": "#/definitions/Compute"
+ }
+ }
+ }
+ ]
+ },
+ "Compute": {
+ "type": "object",
+ "description": "Machine Learning compute object.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ },
+ "computeLocation": {
+ "description": "Location for the underlying compute",
+ "type": "string"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.",
+ "enum": [
+ "Unknown",
+ "Updating",
+ "Creating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the Machine Learning compute."
+ },
+ "createdOn": {
+ "type": "string",
+ "description": "The date and time when the compute was created.",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "modifiedOn": {
+ "type": "string",
+ "description": "The date and time when the compute was last modified.",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "ARM resource id of the underlying compute"
+ },
+ "provisioningErrors": {
+ "type": "array",
+ "description": "Errors during provisioning",
+ "items": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ },
+ "readOnly": true
+ },
+ "isAttachedCompute": {
+ "type": "boolean",
+ "description": "Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AKS": {
+ "description": "A Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "description": "AKS properties",
+ "properties": {
+ "clusterFqdn": {
+ "description": "Cluster full qualified domain name",
+ "type": "string"
+ },
+ "systemServices": {
+ "type": "array",
+ "description": "System services",
+ "items": {
+ "$ref": "#/definitions/SystemService"
+ },
+ "readOnly": true
+ },
+ "agentCount": {
+ "description": "Number of agents",
+ "type": "integer",
+ "minimum": 1
+ },
+ "agentVMSize": {
+ "description": "Agent virtual machine size",
+ "type": "string"
+ },
+ "sslConfiguration": {
+ "description": "SSL configuration",
+ "$ref": "#/definitions/SslConfiguration"
+ },
+ "aksNetworkingConfiguration": {
+ "description": "AKS networking configuration for vnet",
+ "$ref": "#/definitions/AksNetworkingConfiguration"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AKS"
+ },
+ "AmlCompute": {
+ "description": "An Azure Machine Learning compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "AML Compute properties",
+ "type": "object",
+ "properties": {
+ "vmSize": {
+ "description": "Virtual Machine Size",
+ "type": "string"
+ },
+ "vmPriority": {
+ "description": "Virtual Machine priority",
+ "type": "string",
+ "enum": [
+ "Dedicated",
+ "LowPriority"
+ ],
+ "x-ms-enum": {
+ "name": "VmPriority",
+ "modelAsString": true
+ }
+ },
+ "scaleSettings": {
+ "description": "Scale settings for AML Compute",
+ "$ref": "#/definitions/ScaleSettings"
+ },
+ "userAccountCredentials": {
+ "title": "User account credentials.",
+ "description": "Credentials for an administrator user account that will be created on each compute node.",
+ "$ref": "#/definitions/UserAccountCredentials"
+ },
+ "subnet": {
+ "title": "Subnet.",
+ "description": "Virtual network subnet resource ID the compute nodes belong to.",
+ "$ref": "#/definitions/ResourceId"
+ },
+ "remoteLoginPortPublicAccess": {
+ "type": "string",
+ "default": "NotSpecified",
+ "title": "Close remote Login Access Port",
+ "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled.",
+ "enum": [
+ "Enabled",
+ "Disabled",
+ "NotSpecified"
+ ],
+ "x-ms-enum": {
+ "name": "remoteLoginPortPublicAccess",
+ "modelAsString": true
+ }
+ },
+ "allocationState": {
+ "type": "string",
+ "readOnly": true,
+ "title": "Allocation state.",
+ "description": "Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.",
+ "enum": [
+ "Steady",
+ "Resizing"
+ ],
+ "x-ms-enum": {
+ "name": "AllocationState",
+ "modelAsString": true
+ }
+ },
+ "allocationStateTransitionTime": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "title": "Allocation state transition time.",
+ "description": "The time at which the compute entered its current allocation state."
+ },
+ "errors": {
+ "readOnly": true,
+ "title": "Errors.",
+ "description": "Collection of errors encountered by various compute nodes during node setup.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ },
+ "currentNodeCount": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int32",
+ "title": "Current node count.",
+ "description": "The number of compute nodes currently assigned to the compute."
+ },
+ "targetNodeCount": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int32",
+ "title": "Target node count.",
+ "description": "The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation."
+ },
+ "nodeStateCounts": {
+ "title": "Node state counts.",
+ "description": "Counts of various node states on the compute.",
+ "readOnly": true,
+ "$ref": "#/definitions/NodeStateCounts"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "VirtualMachine": {
+ "description": "A Machine Learning compute based on Azure Virtual Machines.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "virtualMachineSize": {
+ "description": "Virtual Machine size",
+ "type": "string"
+ },
+ "sshPort": {
+ "description": "Port open for ssh connections.",
+ "type": "integer"
+ },
+ "address": {
+ "description": "Public IP address of the virtual machine.",
+ "type": "string"
+ },
+ "administratorAccount": {
+ "description": "Admin credentials for virtual machine",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "VirtualMachine"
+ },
+ "HDInsight": {
+ "description": "A HDInsight compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "sshPort": {
+ "description": "Port open for ssh connections on the master node of the cluster.",
+ "type": "integer"
+ },
+ "address": {
+ "description": "Public IP address of the master node of the cluster.",
+ "type": "string"
+ },
+ "administratorAccount": {
+ "description": "Admin credentials for master node of the cluster",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "HDInsight"
+ },
+ "DataFactory": {
+ "description": "A DataFactory compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ }
+ ],
+ "x-ms-discriminator-value": "DataFactory"
+ },
+ "Databricks": {
+ "description": "A DataFactory compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "databricksAccessToken": {
+ "description": "Databricks access token",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "Databricks"
+ },
+ "DataLakeAnalytics": {
+ "description": "A DataLakeAnalytics compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "dataLakeStoreAccountName": {
+ "description": "DataLake Store Account Name",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "DataLakeAnalytics"
+ },
+ "ServicePrincipalCredentials": {
+ "type": "object",
+ "description": "Service principal credentials.",
+ "properties": {
+ "clientId": {
+ "description": "Client Id",
+ "type": "string"
+ },
+ "clientSecret": {
+ "description": "Client secret",
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientId",
+ "clientSecret"
+ ]
+ },
+ "SystemService": {
+ "type": "object",
+ "description": "A system service running on a compute.",
+ "properties": {
+ "systemServiceType": {
+ "description": "The type of this system service.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "Public IP address",
+ "readOnly": true
+ },
+ "version": {
+ "description": "The version for this type.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "SslConfiguration": {
+ "type": "object",
+ "description": "The ssl configuration for scoring",
+ "properties": {
+ "status": {
+ "description": "Enable or disable ssl for scoring",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ]
+ },
+ "cert": {
+ "description": "Cert data",
+ "type": "string"
+ },
+ "key": {
+ "description": "Key data",
+ "type": "string"
+ },
+ "cname": {
+ "description": "CNAME of the cert",
+ "type": "string"
+ }
+ }
+ },
+ "AksNetworkingConfiguration": {
+ "type": "object",
+ "description": "Advance configuration for AKS networking",
+ "properties": {
+ "subnetId": {
+ "description": "Virtual network subnet resource ID the compute nodes belong to",
+ "type": "string"
+ },
+ "serviceCidr": {
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.",
+ "type": "string"
+ },
+ "dnsServiceIP": {
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.",
+ "type": "string"
+ },
+ "dockerBridgeCidr": {
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.",
+ "type": "string"
+ }
+ }
+ },
+ "UserAccountCredentials": {
+ "properties": {
+ "adminUserName": {
+ "type": "string",
+ "title": "User name.",
+ "description": "Name of the administrator user account which can be used to SSH to nodes."
+ },
+ "adminUserSshPublicKey": {
+ "type": "string",
+ "title": "SSH public key.",
+ "description": "SSH public key of the administrator user account."
+ },
+ "adminUserPassword": {
+ "type": "string",
+ "title": "Password.",
+ "description": "Password of the administrator user account."
+ }
+ },
+ "required": [
+ "adminUserName"
+ ],
+ "description": "Settings for user account that gets created on each on the nodes of a compute."
+ },
+ "ScaleSettings": {
+ "type": "object",
+ "description": "scale settings for AML Compute",
+ "properties": {
+ "maxNodeCount": {
+ "description": "Max number of nodes to use",
+ "type": "integer"
+ },
+ "minNodeCount": {
+ "description": "Min number of nodes to use",
+ "type": "integer",
+ "default": 0
+ },
+ "nodeIdleTimeBeforeScaleDown": {
+ "type": "string",
+ "format": "duration",
+ "description": "Node Idle Time before scaling down amlCompute"
+ }
+ },
+ "required": [
+ "maxNodeCount"
+ ]
+ },
+ "NodeStateCounts": {
+ "properties": {
+ "idleNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Idle node count.",
+ "description": "Number of compute nodes in idle state."
+ },
+ "runningNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Running node count.",
+ "description": "Number of compute nodes which are running jobs."
+ },
+ "preparingNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Preparing node count.",
+ "description": "Number of compute nodes which are being prepared."
+ },
+ "unusableNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Unusable node count.",
+ "description": "Number of compute nodes which are in unusable state."
+ },
+ "leavingNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Leaving node count.",
+ "description": "Number of compute nodes which are leaving the amlCompute."
+ },
+ "preemptedNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Preempted node count.",
+ "description": "Number of compute nodes which are in preempted state."
+ }
+ },
+ "description": "Counts of various compute node states on the amlCompute."
+ },
+ "ClusterUpdateProperties": {
+ "properties": {
+ "scaleSettings": {
+ "$ref": "#/definitions/ScaleSettings",
+ "title": "Scale settings.",
+ "description": "Desired scale settings for the amlCompute."
+ }
+ },
+ "description": "The properties of a amlCompute that need to be updated."
+ },
+ "ClusterUpdateParameters": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ClusterUpdateProperties",
+ "description": "The properties of the amlCompute."
+ }
+ },
+ "description": "AmlCompute update parameters."
+ },
+ "ComputeNodesInformation": {
+ "type": "object",
+ "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The continuation token."
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AmlComputeNodesInformation": {
+ "description": "Compute node information related to a AmlCompute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeNodesInformation"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "nodes": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AmlComputeNodeInformation"
+ },
+ "description": "The collection of returned AmlCompute nodes details."
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "AmlComputeNodeInformation": {
+ "description": "Compute node information related to a AmlCompute.",
+ "properties": {
+ "nodeId": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Node ID.",
+ "description": "ID of the compute node."
+ },
+ "privateIpAddress": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Private IP address.",
+ "description": "Private IP address of the compute node."
+ },
+ "publicIpAddress": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Public IP address.",
+ "description": "Public IP address of the compute node."
+ },
+ "port": {
+ "readOnly": true,
+ "type": "number",
+ "format": "int32",
+ "title": "Port.",
+ "description": "SSH port number of the node."
+ },
+ "nodeState": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "idle",
+ "running",
+ "preparing",
+ "unusable",
+ "leaving",
+ "preempted"
+ ],
+ "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.",
+ "x-ms-enum": {
+ "name": "nodeState",
+ "modelAsString": true
+ }
+ },
+ "runId": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Run ID.",
+ "description": "ID of the Experiment running on the node, if any else null."
+ }
+ },
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "VirtualMachineSshCredentials": {
+ "type": "object",
+ "description": "Admin credentials for virtual machine",
+ "properties": {
+ "username": {
+ "description": "Username of admin account",
+ "type": "string"
+ },
+ "password": {
+ "description": "Password of admin account",
+ "type": "string"
+ },
+ "publicKeyData": {
+ "description": "Public key data",
+ "type": "string"
+ },
+ "privateKeyData": {
+ "description": "Private key data",
+ "type": "string"
+ }
+ }
+ },
+ "ComputeSecrets": {
+ "type": "object",
+ "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AksComputeSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "userKubeConfig": {
+ "type": "string",
+ "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
+ },
+ "adminKubeConfig": {
+ "type": "string",
+ "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
+ },
+ "imagePullSecretName": {
+ "type": "string",
+ "description": "Image registry pull secret."
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AKS"
+ },
+ "VirtualMachineSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "administratorAccount": {
+ "description": "Admin credentials for virtual machine.",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "VirtualMachine"
+ },
+ "DatabricksComputeSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on Databricks.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "databricksAccessToken": {
+ "description": "access token for databricks account.",
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "Databricks"
+ },
+ "ComputeType": {
+ "type": "string",
+ "description": "The type of compute",
+ "enum": [
+ "AKS",
+ "AmlCompute",
+ "DataFactory",
+ "VirtualMachine",
+ "HDInsight",
+ "Databricks",
+ "DataLakeAnalytics"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeType",
+ "modelAsString": true
+ }
+ },
+ "MachineLearningServiceError": {
+ "type": "object",
+ "description": "Wrapper for error response to follow ARM guidelines.",
+ "properties": {
+ "error": {
+ "description": "The error response.",
+ "$ref": "#/definitions/ErrorResponse",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "type": "object",
+ "description": "Error response information.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code.",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message.",
+ "readOnly": true
+ },
+ "details": {
+ "type": "array",
+ "description": "An array of error detail objects.",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorDetail": {
+ "type": "object",
+ "description": "Error detail information.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ]
+ },
+ "SKUCapability": {
+ "description": "Features/user capabilities associated with the sku",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Capability/Feature ID",
+ "type": "string"
+ },
+ "value": {
+ "description": "Details about the feature/capability",
+ "type": "string"
+ }
+ }
+ },
+ "ResourceSkuLocationInfo": {
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Location of the SKU"
+ },
+ "zones": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of availability zones where the SKU is supported."
+ },
+ "zoneDetails": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceSkuZoneDetails"
+ },
+ "description": "Details of capabilities available to a SKU in specific zones."
+ }
+ }
+ },
+ "ResourceSkuZoneDetails": {
+ "properties": {
+ "name": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of zones that the SKU is available in with the specified capabilities."
+ },
+ "capabilities": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/SKUCapability"
+ },
+ "description": "A list of capabilities that are available for the SKU in the specified list of zones."
+ }
+ },
+ "description": "Describes The zonal capabilities of a SKU."
+ },
+ "WorkspaceSku": {
+ "description": "Describes Workspace Sku details and features",
+ "type": "object",
+ "properties": {
+ "locations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)."
+ },
+ "locationInfo": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ResourceSkuLocationInfo"
+ },
+ "description": "A list of locations and availability zones in those locations where the SKU is available."
+ },
+ "tier": {
+ "description": "Sku Tier like Basic or Enterprise",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceType": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ },
+ "capabilities": {
+ "description": "List of features/user capabilities associated with the sku",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SKUCapability"
+ },
+ "readOnly": true
+ },
+ "restrictions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Restriction"
+ },
+ "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions."
+ }
+ }
+ },
+ "Restriction": {
+ "properties": {
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of restrictions. As of now only possible value for this is location."
+ },
+ "values": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted."
+ },
+ "reasonCode": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "NotAvailableForRegion",
+ "NotAvailableForSubscription"
+ ],
+ "x-ms-enum": {
+ "name": "ReasonCode",
+ "modelAsString": true
+ },
+ "description": "The reason for the restriction."
+ }
+ },
+ "description": "The restriction because of which SKU cannot be used."
+ },
+ "SkuListResult": {
+ "description": "List of skus with features",
+ "type": "object",
+ "properties": {
+ "value": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WorkspaceSku"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus"
+ }
+ }
+ },
+ "Sku": {
+ "description": "Sku of the resource",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the sku",
+ "type": "string"
+ },
+ "tier": {
+ "description": "Tier of the sku like Basic or Enterprise",
+ "type": "string"
+ }
+ }
+ },
+ "PrivateEndpointConnection": {
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "x-ms-client-flatten": true,
+ "description": "Resource properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "The Private Endpoint Connection resource."
+ },
+ "PrivateEndpointConnectionProperties": {
+ "properties": {
+ "privateEndpoint": {
+ "$ref": "#/definitions/PrivateEndpoint",
+ "description": "The resource of private end point."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionState",
+ "description": "A collection of information about the state of the connection between service consumer and provider."
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState",
+ "description": "The provisioning state of the private endpoint connection resource."
+ }
+ },
+ "required": [
+ "privateLinkServiceConnectionState"
+ ],
+ "description": "Properties of the PrivateEndpointConnectProperties."
+ },
+ "PrivateEndpoint": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ARM identifier for Private Endpoint"
+ }
+ },
+ "description": "The Private Endpoint resource."
+ },
+ "PrivateLinkServiceConnectionState": {
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus",
+ "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
+ },
+ "description": {
+ "type": "string",
+ "description": "The reason for approval/rejection of the connection."
+ },
+ "actionRequired": {
+ "type": "string",
+ "description": "A message indicating if changes on the service provider require any updates on the consumer."
+ }
+ },
+ "description": "A collection of information about the state of the connection between service consumer and provider."
+ },
+ "PrivateEndpointServiceConnectionStatus": {
+ "type": "string",
+ "description": "The private endpoint connection status.",
+ "enum": [
+ "Pending",
+ "Approved",
+ "Rejected"
+ ],
+ "x-ms-enum": {
+ "name": "PrivateEndpointServiceConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "PrivateEndpointConnectionProvisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The current provisioning state.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "PrivateEndpointConnectionProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "PrivateLinkResourceListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Array of private link resources",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ }
+ }
+ },
+ "description": "A list of private link resources"
+ },
+ "PrivateLinkResource": {
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateLinkResourceProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "A private link resource"
+ },
+ "PrivateLinkResourceProperties": {
+ "properties": {
+ "groupId": {
+ "description": "The private link resource group id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requiredMembers": {
+ "description": "The private link resource required member names.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "requiredZoneNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The private link resource Private link DNS zone name."
+ }
+ },
+ "description": "Properties of a private link resource."
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/readme.go.md b/specification/machinelearningservices/resource-manager/readme.go.md
index 3fa2bc039b06..d132e869b857 100644
--- a/specification/machinelearningservices/resource-manager/readme.go.md
+++ b/specification/machinelearningservices/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
```yaml $(go) && $(multiapi)
batch:
+ - tag: package-2020-01-01
- tag: package-2019-11-01
- tag: package-2019-06-01
- tag: package-2019-05-01
@@ -20,6 +21,15 @@ batch:
- tag: package-2018-03-preview
```
+## Tag: package-2020-01-01 and go
+
+These settings apply only when `--tag=package-2020-01-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag)=='package-2020-01-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-01-01/$(namespace)
+```
+
## Tag: package-2019-11-01 and go
These settings apply only when `--tag=package-2019-11-01 --go` is specified on the command line.
diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md
index ff82240d9b2a..68e4aad373f0 100644
--- a/specification/machinelearningservices/resource-manager/readme.md
+++ b/specification/machinelearningservices/resource-manager/readme.md
@@ -26,10 +26,19 @@ These are the global settings for the Machine Learning Services API.
``` yaml
openapi-type: arm
-tag: package-2019-11-01
+tag: package-2020-01-01
```
+### Tag: package-2020-01-01
+
+These settings apply only when `--tag=package-2020-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2020-01-01'
+input-file:
+ - Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json
+```
+
### Tag: package-2019-11-01
These settings apply only when `--tag=package-2019-11` is specified on the command line.
@@ -38,6 +47,7 @@ These settings apply only when `--tag=package-2019-11` is specified on the comma
input-file:
- Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
```
+
### Tag: package-2019-06-01
These settings apply only when `--tag=package-2019-06-01` is specified on the command line.
@@ -128,6 +138,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/ser
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2020-01-01
- tag: package-2019-11-01
- tag: package-2019-06-01
- tag: package-2019-05-01
@@ -135,6 +146,19 @@ batch:
- tag: package-2018-03-preview
```
+### Tag: package-2020-01-01 and java
+
+These settings apply only when `--tag=package-2020-01-01 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2020-01-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.machinelearningservices.v2020_01_01
+ output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearningservices/mgmt-v2020_01_01
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-11-01 and java
These settings apply only when `--tag=package-2019-11-01 --java` is specified on the command line.
@@ -212,6 +236,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json
- $(this-folder)/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
- $(this-folder)/Microsoft.MachineLearningServices/stable/2019-06-01/machineLearningServices.json
- $(this-folder)/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
From 43fde542111376e14e24de1a11dd7b3d63b0c957 Mon Sep 17 00:00:00 2001
From: Devesh Guha Oleti Muni
Date: Tue, 10 Dec 2019 20:52:58 -0800
Subject: [PATCH 071/469] DeploymentManager API 2019-11-preview (#7871)
---
custom-words.txt | 2 +
.../2019-11-01-preview/deploymentmanager.json | 2498 +++++++++++++++++
.../artifactsource_createorupdate.json | 40 +
...actsource_createorupdate_artifactroot.json | 41 +
.../examples/artifactsource_delete.json | 12 +
.../examples/artifactsource_get.json | 27 +
.../examples/artifactsources_list.json | 44 +
.../examples/operations_list.json | 166 ++
.../examples/rollout_createorupdate.json | 122 +
.../examples/rollout_delete.json | 12 +
.../examples/rollout_get.json | 124 +
.../examples/rollout_post_cancel.json | 124 +
.../examples/rollout_post_restart.json | 75 +
.../examples/rollouts_list.json | 101 +
.../examples/service_createorupdate.json | 31 +
.../examples/service_delete.json | 13 +
.../examples/service_get.json | 23 +
.../examples/services_list.json | 34 +
.../examples/servicetopologies_list.json | 31 +
.../servicetopology_createorupdate.json | 28 +
...ology_createorupdate_noartifactsource.json | 26 +
.../examples/servicetopology_delete.json | 12 +
.../examples/servicetopology_get.json | 21 +
.../examples/serviceunit_createorupdate.json | 40 +
...eunit_createorupdate_noartifactsource.json | 40 +
.../examples/serviceunit_delete.json | 14 +
.../examples/serviceunit_get.json | 28 +
.../examples/serviceunits_list.json | 43 +
.../examples/step_delete.json | 12 +
.../2019-11-01-preview/examples/step_get.json | 24 +
.../step_health_check_createorupdate.json | 150 +
.../examples/step_wait_createorupdate.json | 34 +
.../examples/steps_list.json | 37 +
.../resource-manager/readme.go.md | 10 +
.../resource-manager/readme.md | 53 +-
.../resource-manager/readme.ruby.md | 10 +-
36 files changed, 4086 insertions(+), 16 deletions(-)
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/deploymentmanager.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_createorupdate.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_createorupdate_artifactroot.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_delete.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_get.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsources_list.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/operations_list.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_createorupdate.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_delete.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_get.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_post_cancel.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_post_restart.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollouts_list.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_createorupdate.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_delete.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_get.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/services_list.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopologies_list.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_createorupdate.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_createorupdate_noartifactsource.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_delete.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_get.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_createorupdate.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_createorupdate_noartifactsource.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_delete.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_get.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunits_list.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_delete.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_get.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_health_check_createorupdate.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_wait_createorupdate.json
create mode 100644 specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/steps_list.json
diff --git a/custom-words.txt b/custom-words.txt
index 0381678aa925..0d4b01879a9a 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1293,7 +1293,9 @@ servicemembers
servicerunners
servicestats
servicetopology
+servicetopologies
serviceunit
+serviceunits
SETACL
SETEXPIRY
setissuers
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/deploymentmanager.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/deploymentmanager.json
new file mode 100644
index 000000000000..b627b27b959f
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/deploymentmanager.json
@@ -0,0 +1,2498 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-11-01-preview",
+ "title": "AzureDeploymentManager",
+ "description": "REST APIs for orchestrating deployments using the Azure Deployment Manager (ADM). See https://docs.microsoft.com/en-us/azure/azure-resource-manager/deployment-manager-overview for more information."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}": {
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "put": {
+ "tags": [
+ "ServiceTopologies"
+ ],
+ "operationId": "ServiceTopologies_CreateOrUpdate",
+ "summary": "Creates or updates a service topology.",
+ "description": "Synchronously creates a new service topology or updates an existing service topology.",
+ "x-ms-examples": {
+ "Create a topology with Artifact Source": {
+ "$ref": "./examples/servicetopology_createorupdate.json"
+ },
+ "Create a topology without Artifact Source": {
+ "$ref": "./examples/servicetopology_createorupdate_noartifactsource.json"
+ }
+ },
+ "parameters": [
+ {
+ "in": "body",
+ "name": "serviceTopologyInfo",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceTopologyResource"
+ },
+ "description": "Source topology object defines the resource."
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceTopologyResource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard Error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ServiceTopologies"
+ ],
+ "operationId": "ServiceTopologies_Get",
+ "summary": "Gets the service topology.",
+ "x-ms-examples": {
+ "Get topology": {
+ "$ref": "./examples/servicetopology_get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceTopologyResource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ServiceTopologies"
+ ],
+ "operationId": "ServiceTopologies_Delete",
+ "summary": "Deletes the service topology.",
+ "x-ms-examples": {
+ "Delete topology": {
+ "$ref": "./examples/servicetopology_delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The topology was successfully deleted."
+ },
+ "204": {
+ "description": "The topology was not found and the operation is considered success."
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies": {
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "get": {
+ "tags": [
+ "ServiceTopologies"
+ ],
+ "operationId": "ServiceTopologies_List",
+ "summary": "Lists the service topologies in the resource group.",
+ "x-ms-examples": {
+ "List topologies": {
+ "$ref": "./examples/servicetopologies_list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceTopologiesListResult"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}": {
+ "put": {
+ "tags": [
+ "Services"
+ ],
+ "operationId": "Services_CreateOrUpdate",
+ "summary": "Creates or updates a service in the service topology.",
+ "description": "Synchronously creates a new service or updates an existing service.",
+ "x-ms-examples": {
+ "Create service": {
+ "$ref": "./examples/service_createorupdate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/serviceName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "serviceInfo",
+ "description": "The service object",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceResource"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceResource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Services"
+ ],
+ "operationId": "Services_Get",
+ "summary": "Gets the service.",
+ "x-ms-examples": {
+ "Get service": {
+ "$ref": "./examples/service_get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/serviceName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceResource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Services"
+ ],
+ "operationId": "Services_Delete",
+ "summary": "Deletes the service.",
+ "x-ms-examples": {
+ "Delete service": {
+ "$ref": "./examples/service_delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/serviceName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The service was successfully deleted."
+ },
+ "204": {
+ "description": "The service was not found and the operation is considered success."
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services": {
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "get": {
+ "tags": [
+ "Services"
+ ],
+ "operationId": "Services_List",
+ "summary": "Lists the services in the service topology.",
+ "x-ms-examples": {
+ "List services": {
+ "$ref": "./examples/services_list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceListResult"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName}": {
+ "put": {
+ "tags": [
+ "ServiceUnits"
+ ],
+ "operationId": "ServiceUnits_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "summary": "Creates or updates a service unit under the service in the service topology.",
+ "description": "This is an asynchronous operation and can be polled to completion using the operation resource returned by this operation.",
+ "x-ms-examples": {
+ "Create service unit using relative paths into the artifact source": {
+ "$ref": "./examples/serviceunit_createorupdate.json"
+ },
+ "Create service unit using SAS URIs": {
+ "$ref": "./examples/serviceunit_createorupdate_noartifactsource.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/serviceName"
+ },
+ {
+ "$ref": "#/parameters/serviceUnitName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "serviceUnitInfo",
+ "description": "The service unit resource object.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceUnitResource"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "This is a long running operation. The operation returns a 201 if the validation is complete. The response includes an Azure-AsyncOperation header that contains a status URL. Clients are expected to poll the status URL for the status of the operation.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "Contains the status URL on which clients are expected to poll the status of the operation."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/ServiceUnitResource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ServiceUnits"
+ ],
+ "operationId": "ServiceUnits_Get",
+ "summary": "Gets the service unit.",
+ "x-ms-examples": {
+ "Get service unit": {
+ "$ref": "./examples/serviceunit_get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/serviceName"
+ },
+ {
+ "$ref": "#/parameters/serviceUnitName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceUnitResource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ServiceUnits"
+ ],
+ "operationId": "ServiceUnits_Delete",
+ "summary": "Deletes the service unit.",
+ "x-ms-examples": {
+ "Delete service unit": {
+ "$ref": "./examples/serviceunit_delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/serviceName"
+ },
+ {
+ "$ref": "#/parameters/serviceUnitName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The service unit was successfully deleted."
+ },
+ "204": {
+ "description": "The service unit was not found and the operation is considered success."
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits": {
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/serviceName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "get": {
+ "tags": [
+ "ServiceUnits"
+ ],
+ "operationId": "ServiceUnits_List",
+ "summary": "Lists the service units under a service in the service topology.",
+ "x-ms-examples": {
+ "List service units": {
+ "$ref": "./examples/serviceunits_list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/serviceTopologyName"
+ },
+ {
+ "$ref": "#/parameters/serviceName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceUnitListResult"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/steps/{stepName}": {
+ "put": {
+ "tags": [
+ "Steps"
+ ],
+ "operationId": "Steps_CreateOrUpdate",
+ "summary": "Creates or updates a rollout step with the given step properties.",
+ "description": "Synchronously creates a new step or updates an existing step.",
+ "x-ms-examples": {
+ "Create wait step": {
+ "$ref": "./examples/step_wait_createorupdate.json"
+ },
+ "Create health check step": {
+ "$ref": "./examples/step_health_check_createorupdate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/stepName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "stepInfo",
+ "description": "The step object.",
+ "schema": {
+ "$ref": "#/definitions/StepResource"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StepResource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Steps"
+ ],
+ "operationId": "Steps_Get",
+ "summary": "Gets the step.",
+ "x-ms-examples": {
+ "Get deployment step": {
+ "$ref": "./examples/step_get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/stepName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StepResource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Steps"
+ ],
+ "operationId": "Steps_Delete",
+ "summary": "Deletes the step.",
+ "x-ms-examples": {
+ "Delete deployment step": {
+ "$ref": "./examples/step_delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/stepName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The step was successfully deleted."
+ },
+ "204": {
+ "description": "The step was not found and the operation is considered success."
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/steps": {
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "get": {
+ "tags": [
+ "Steps"
+ ],
+ "operationId": "Steps_List",
+ "summary": "Lists the steps in a resource group.",
+ "x-ms-examples": {
+ "List steps": {
+ "$ref": "./examples/steps_list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StepResourceListResult"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/rollouts/{rolloutName}": {
+ "put": {
+ "tags": [
+ "Rollouts"
+ ],
+ "operationId": "Rollouts_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "summary": "Creates or updates a rollout.",
+ "description": "This is an asynchronous operation and can be polled to completion using the location header returned by this operation.",
+ "x-ms-examples": {
+ "Create or update rollout": {
+ "$ref": "./examples/rollout_createorupdate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/rolloutName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "rolloutRequest",
+ "description": "Source rollout request object that defines the rollout.",
+ "schema": {
+ "$ref": "#/definitions/RolloutRequest"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "This is a long running operation. The operation returns a 201 if the request was successfully registered and basic validation is successful. The response includes an Azure-AsyncOperation header that contains the operation status URL. Clients are expected to poll the status URL for the status of the operation.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "Contains the status URL on which clients are expected to poll the status of the operation."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/RolloutRequest"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Rollouts"
+ ],
+ "operationId": "Rollouts_Get",
+ "summary": "Gets detailed information of a rollout.",
+ "x-ms-examples": {
+ "Get rollout": {
+ "$ref": "./examples/rollout_get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/rolloutName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/retryAttempt"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Rollout"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Rollouts"
+ ],
+ "operationId": "Rollouts_Delete",
+ "summary": "Deletes a rollout resource.",
+ "description": "Only rollouts in terminal state can be deleted.",
+ "x-ms-examples": {
+ "Delete rollout": {
+ "$ref": "./examples/rollout_delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/rolloutName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The rollout was successfully deleted."
+ },
+ "204": {
+ "description": "The rollout was not found and the operation is considered success."
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/rollouts/{rolloutName}/cancel": {
+ "post": {
+ "tags": [
+ "Rollouts"
+ ],
+ "operationId": "Rollouts_Cancel",
+ "summary": "Stops a running rollout.",
+ "description": "Only running rollouts can be canceled.",
+ "x-ms-examples": {
+ "Cancel rollout": {
+ "$ref": "./examples/rollout_post_cancel.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/rolloutName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Rollout"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/rollouts/{rolloutName}/restart": {
+ "post": {
+ "tags": [
+ "Rollouts"
+ ],
+ "operationId": "Rollouts_Restart",
+ "summary": "Restarts a failed rollout and optionally skips all succeeded steps.",
+ "description": "Only failed rollouts can be restarted.",
+ "x-ms-examples": {
+ "Restart rollout": {
+ "$ref": "./examples/rollout_post_restart.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/rolloutName"
+ },
+ {
+ "name": "skipSucceeded",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "If true, will skip all succeeded steps so far in the rollout. If false, will execute the entire rollout again regardless of the current state of individual resources. Defaults to false if not specified."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Rollout"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/rollouts": {
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "get": {
+ "tags": [
+ "Rollouts"
+ ],
+ "operationId": "Rollouts_List",
+ "summary": "Lists the rollouts in a resource group.",
+ "x-ms-examples": {
+ "List rollouts by resource group" : {
+ "$ref": "./examples/rollouts_list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RolloutListResult"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/artifactSources/{artifactSourceName}": {
+ "put": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "operationId": "ArtifactSources_CreateOrUpdate",
+ "summary": "Creates or updates an artifact source.",
+ "description": "Synchronously creates a new artifact source or updates an existing artifact source.",
+ "x-ms-examples": {
+ "Create artifact source": {
+ "$ref": "./examples/artifactsource_createorupdate.json"
+ },
+ "Create artifact source with artifact root, an offset into the storage container": {
+ "$ref": "./examples/artifactsource_createorupdate_artifactroot.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/artifactSourceName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "artifactSourceInfo",
+ "description": "Source object that defines the resource.",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "operationId": "ArtifactSources_Get",
+ "summary": "Gets an artifact source.",
+ "x-ms-examples": {
+ "Get artifact source": {
+ "$ref": "./examples/artifactsource_get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/artifactSourceName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "operationId": "ArtifactSources_Delete",
+ "summary": "Deletes an artifact source.",
+ "x-ms-examples": {
+ "Delete artifact source": {
+ "$ref": "./examples/artifactsource_delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/artifactSourceName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The artifact source was successfully deleted."
+ },
+ "204": {
+ "description": "The artifact source was not found and the operation is considered success."
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/artifactSources": {
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "get": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "operationId": "ArtifactSources_List",
+ "summary": "Lists the artifact sources in a resource group.",
+ "x-ms-examples": {
+ "List steps": {
+ "$ref": "./examples/artifactsources_list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSourceListResult"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DeploymentManager/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "summary": "Lists the supported operations.",
+ "x-ms-examples": {
+ "Get operations": {
+ "$ref": "./examples/operations_list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operations are successfully returned. The response code does not determine if the request which this operation corresponds to is successful. Check the response content for the status and any error information on failures.",
+ "schema": {
+ "$ref": "#/definitions/OperationsList"
+ }
+ },
+ "default": {
+ "description": "All non-success conditions are handled using the standard error contract.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Identity": {
+ "description": "Identity for the resource.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The identity type.",
+ "example": "userAssigned"
+ },
+ "identityIds": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "example": "/subscriptions/mySubId/resourcegroups/myRG/providers/Microsoft.ManagedIdentity/userassignedidentities/myIdentity"
+ },
+ "description": "The list of identities."
+ }
+ },
+ "required": [
+ "type",
+ "identityIds"
+ ]
+ },
+ "RolloutRequest": {
+ "description": "Defines the PUT rollout request body.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "description": "Identity for the resource.",
+ "$ref": "#/definitions/Identity"
+ },
+ "properties": {
+ "description": "Defines the properties that make up a rollout request.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RolloutRequestProperties"
+ }
+ },
+ "required": [
+ "identity",
+ "properties"
+ ]
+ },
+ "RolloutRequestProperties": {
+ "description": "The properties for defining a rollout.",
+ "properties": {
+ "buildVersion": {
+ "type": "string",
+ "description": "The version of the build being deployed.",
+ "example": "1.0.0.1"
+ },
+ "artifactSourceId": {
+ "type": "string",
+ "description": "The reference to the artifact source resource Id where the payload is located.",
+ "example": "Microsoft.DeploymentManager/artifactSources/payloadStore1"
+ },
+ "targetServiceTopologyId": {
+ "type": "string",
+ "description": "The resource Id of the service topology from which service units are being referenced in step groups to be deployed.",
+ "example": "Microsoft.DeploymentManager/serviceTopologies/myServiceTopology"
+ },
+ "stepGroups": {
+ "description": "The list of step groups that define the orchestration.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StepGroup"
+ }
+ }
+ },
+ "required": [
+ "stepGroups",
+ "targetServiceTopologyId",
+ "buildVersion"
+ ]
+ },
+ "StepGroup": {
+ "description": "The properties that define a Step group in a rollout.",
+ "properties": {
+ "name": {
+ "description": "The name of the step group.",
+ "type": "string"
+ },
+ "dependsOnStepGroups": {
+ "description": "The list of step group names on which this step group depends on.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "stepGroup1",
+ "stepGroup2"
+ ]
+ },
+ "preDeploymentSteps": {
+ "description": "The list of steps to be run before deploying the target.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrePostStep"
+ }
+ },
+ "deploymentTargetId": {
+ "description": "The resource Id of service unit to be deployed. The service unit should be from the service topology referenced in targetServiceTopologyId",
+ "type": "string",
+ "example": "Microsoft.DeploymentManager/serviceTopologies/myServiceTopology/services/myService/serviceUnits/database"
+ },
+ "postDeploymentSteps": {
+ "description": "The list of steps to be run after deploying the target.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrePostStep"
+ }
+ }
+ },
+ "required": [
+ "deploymentTargetId",
+ "name"
+ ]
+ },
+ "PrePostStep": {
+ "description": "The properties that define a step.",
+ "properties": {
+ "stepId": {
+ "type": "string",
+ "description": "The resource Id of the step to be run.",
+ "example": "Microsoft.DeploymentManager/steps/healthCheckStep1"
+ }
+ },
+ "required": [
+ "stepId"
+ ]
+ },
+ "ArtifactSource": {
+ "description": "The resource that defines the source location where the artifacts are located.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The properties that define the artifact source.",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/ArtifactSourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "ArtifactSourceProperties": {
+ "description": "The properties that define the source location where the artifacts are located.",
+ "properties": {
+ "sourceType": {
+ "type": "string",
+ "description": "The type of artifact source used.",
+ "example": "AzureStorage"
+ },
+ "artifactRoot": {
+ "type": "string",
+ "description": "The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.",
+ "example": "binaries/2018.09.24"
+ },
+ "authentication": {
+ "description": "The authentication method to use to access the artifact source.",
+ "$ref": "#/definitions/Authentication"
+ }
+ },
+ "required": [
+ "sourceType",
+ "authentication"
+ ]
+ },
+ "Authentication": {
+ "description": "Defines the authentication method and properties to access the artifacts.",
+ "type": "object",
+ "discriminator": "type",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The authentication type"
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "SasAuthentication": {
+ "x-ms-discriminator-value": "Sas",
+ "type": "object",
+ "description": "Defines the properties to access the artifacts using an Azure Storage SAS URI.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Authentication"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The SAS properties",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SasProperties"
+ }
+ }
+ },
+ "SasProperties": {
+ "description": "The properties that define SAS authentication.",
+ "properties": {
+ "sasUri": {
+ "type": "string",
+ "description": "The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot."
+ }
+ },
+ "required": [
+ "sasUri"
+ ]
+ },
+ "Rollout": {
+ "description": "Defines the rollout.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "description": "Identity for the resource.",
+ "$ref": "#/definitions/Identity"
+ },
+ "properties": {
+ "description": "The properties that define a rollout.",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/RolloutRequestProperties"
+ },
+ {
+ "$ref": "#/definitions/RolloutProperties"
+ }
+ ]
+ }
+ }
+ },
+ "RolloutProperties": {
+ "description": "Defines the properties of a rollout.",
+ "properties": {
+ "status": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The current status of the rollout."
+ },
+ "totalRetryAttempts": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The cardinal count of total number of retries performed on the rollout at a given time."
+ },
+ "operationInfo": {
+ "readOnly": true,
+ "$ref": "#/definitions/RolloutOperationInfo",
+ "description": "Operational information of the rollout."
+ },
+ "services": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Service"
+ },
+ "description": "The detailed information on the services being deployed."
+ }
+ }
+ },
+ "RolloutOperationInfo": {
+ "description": "Detailed runtime information of the rollout.",
+ "properties": {
+ "retryAttempt": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The ordinal count of the number of retry attempts on a rollout. 0 if no retries of the rollout have been performed. If the rollout is updated with a PUT, this count is reset to 0."
+ },
+ "skipSucceededOnRetry": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "True, if all steps that succeeded on the previous run/attempt were chosen to be skipped in this retry attempt. False, otherwise."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The start time of the rollout in UTC."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The start time of the rollout in UTC. This property will not be set if the rollout has not completed yet."
+ },
+ "error": {
+ "description": "The detailed error information for any failure.",
+ "readOnly": true,
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ }
+ },
+ "ServiceTopologyResource": {
+ "description": "The resource representation of a service topology.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The properties that define the service topology.",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceTopologyProperties"
+ }
+ ]
+ }
+ },
+ "required": [
+ "properties"
+ ]
+ },
+ "ServiceTopologyProperties": {
+ "description": "The properties of a service topology.",
+ "properties": {
+ "artifactSourceId": {
+ "type": "string",
+ "description": "The resource Id of the artifact source that contains the artifacts that can be referenced in the service units."
+ }
+ }
+ },
+ "ServiceResource": {
+ "description": "The resource representation of a service in a service topology.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The properties that define a service in a service topology.",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceProperties"
+ }
+ ]
+ }
+ },
+ "required": [
+ "properties"
+ ]
+ },
+ "Service": {
+ "description": "Defines a service.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceProperties"
+ }
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the service."
+ },
+ "serviceUnits": {
+ "description": "The detailed information about the units that make up the service.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceUnit"
+ }
+ }
+ }
+ },
+ "ServiceProperties": {
+ "description": "The properties of a service.",
+ "properties": {
+ "targetLocation": {
+ "type": "string",
+ "description": "The Azure location to which the resources in the service belong to or should be deployed to."
+ },
+ "targetSubscriptionId": {
+ "type": "string",
+ "description": "The subscription to which the resources in the service belong to or should be deployed to."
+ }
+ },
+ "required": [
+ "targetLocation",
+ "targetSubscriptionId"
+ ]
+ },
+ "ServiceUnitResource": {
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "Represents the response of a service unit resource.",
+ "properties": {
+ "properties": {
+ "description": "The properties that define the service unit.",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceUnitProperties"
+ }
+ ]
+ }
+ },
+ "required": [
+ "properties"
+ ]
+ },
+ "ServiceUnit": {
+ "description": "Defines a service unit.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceUnitProperties"
+ }
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the service unit."
+ },
+ "steps": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RolloutStep"
+ },
+ "description": "Detailed step information, if present."
+ }
+ }
+ },
+ "ServiceUnitProperties": {
+ "description": "Defines the properties of a service unit.",
+ "properties": {
+ "targetResourceGroup": {
+ "type": "string",
+ "description": "The Azure Resource Group to which the resources in the service unit belong to or should be deployed to."
+ },
+ "deploymentMode": {
+ "type": "string",
+ "enum": [
+ "Incremental",
+ "Complete"
+ ],
+ "x-ms-enum": {
+ "name": "DeploymentMode",
+ "modelAsString": false
+ },
+ "description": "Describes the type of ARM deployment to be performed on the resource."
+ },
+ "artifacts": {
+ "type": "object",
+ "description": "The artifacts for the service unit.",
+ "$ref": "#/definitions/ServiceUnitArtifacts"
+ }
+ },
+ "required": [
+ "targetResourceGroup",
+ "deploymentMode"
+ ]
+ },
+ "ServiceUnitArtifacts": {
+ "description": "Defines the artifacts of a service unit.",
+ "properties": {
+ "templateUri": {
+ "type": "string",
+ "description": "The full URI of the ARM template file with the SAS token.",
+ "example": "https://teststore.blob.core.windows.net/payloadcontainer/template.json?sasUri"
+ },
+ "parametersUri": {
+ "type": "string",
+ "description": "The full URI of the ARM parameters file with the SAS token.",
+ "example": "https://teststore.blob.core.windows.net/payloadcontainer/parameters.json?sasUri"
+ },
+ "templateArtifactSourceRelativePath": {
+ "type": "string",
+ "description": "The path to the ARM template file relative to the artifact source.",
+ "example": "/templates/resource1.template.json"
+ },
+ "parametersArtifactSourceRelativePath": {
+ "type": "string",
+ "description": "The path to the ARM parameters file relative to the artifact source.",
+ "example": "/parameters/resource1.parameters.json"
+ }
+ }
+ },
+ "RolloutStep": {
+ "description": "Defines a specific step on a target service unit.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the step."
+ },
+ "status": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Current state of the step."
+ },
+ "stepGroup": {
+ "type": "string",
+ "description": "The step group the current step is part of."
+ },
+ "operationInfo": {
+ "readOnly": true,
+ "$ref": "#/definitions/StepOperationInfo",
+ "description": "Detailed information of specific action execution."
+ },
+ "resourceOperations": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ResourceOperation"
+ },
+ "description": "Set of resource operations that were performed, if any, on an Azure resource."
+ },
+ "messages": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Message"
+ },
+ "description": "Supplementary informative messages during rollout."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "StepOperationInfo": {
+ "description": "Detailed information of a specific step run.",
+ "properties": {
+ "deploymentName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the ARM deployment initiated as part of the step."
+ },
+ "correlationId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique identifier to track the request for ARM-based resources."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "Start time of the action in UTC."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "End time of the action in UTC."
+ },
+ "lastUpdatedTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "Last time in UTC this operation was updated."
+ },
+ "error": {
+ "description": "The errors, if any, for the action.",
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ }
+ },
+ "ResourceOperation": {
+ "description": "Individual resource operation information.",
+ "properties": {
+ "resourceName": {
+ "type": "string",
+ "description": "Name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template."
+ },
+ "operationId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique identifier of the operation. For ARM resources, this is the operationId obtained from ARM service."
+ },
+ "resourceType": {
+ "type": "string",
+ "description": "Type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template."
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "State of the resource deployment. For ARM resources, this is the current provisioning state of the resource."
+ },
+ "statusMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Descriptive information of the resource operation."
+ },
+ "statusCode": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Http status code of the operation."
+ }
+ }
+ },
+ "Message": {
+ "description": "Supplementary contextual messages during a rollout.",
+ "properties": {
+ "timeStamp": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "Time in UTC this message was provided."
+ },
+ "message": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The actual message text."
+ }
+ }
+ },
+ "CloudError": {
+ "description": "The error information object.",
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "description": "The properties that define the error.",
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ }
+ },
+ "CloudErrorBody": {
+ "description": "Detailed error information of any failure.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Error code string."
+ },
+ "message": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Descriptive error information."
+ },
+ "target": {
+ "type": "string",
+ "description": "Error target"
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "More detailed error information."
+ }
+ }
+ },
+ "OperationsList": {
+ "description": "The operations response.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "The list of supported operations",
+ "$ref": "#/definitions/Operation"
+ }
+ }
+ },
+ "Operation": {
+ "description": "Represents an operation that can be performed on the service.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the operation."
+ },
+ "display": {
+ "description": "The display name of the operation.",
+ "$ref": "#/definitions/OperationDetail"
+ },
+ "origin": {
+ "type": "string",
+ "description": "The origin of the operation."
+ },
+ "properties": {
+ "description": "The properties of the operation.",
+ "type": "object",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationDetail": {
+ "description": "The detail about an operation.",
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "The name of the provider that supports the operation."
+ },
+ "resource": {
+ "type": "string",
+ "description": "The resource type on which this operation can be performed."
+ },
+ "operation": {
+ "type": "string",
+ "description": "The name of the operation."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the operation."
+ }
+ }
+ },
+ "StepResource": {
+ "description": "The resource representation of a rollout step.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The properties that define the step.",
+ "$ref": "#/definitions/StepProperties"
+ }
+ },
+ "required": [
+ "properties"
+ ]
+ },
+ "StepProperties": {
+ "description": "The properties of a step resource.",
+ "type": "object",
+ "discriminator": "stepType",
+ "properties": {
+ "stepType": {
+ "type": "string",
+ "description": "The type of step.",
+ "enum": [
+ "Wait",
+ "HealthCheck"
+ ],
+ "x-ms-enum": {
+ "name": "StepType",
+ "modelAsString": false
+ }
+ }
+ },
+ "required": [
+ "stepType"
+ ]
+ },
+ "HealthCheckStepProperties": {
+ "x-ms-discriminator-value": "HealthCheck",
+ "type": "object",
+ "description": "Defines the properties of a health check step.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/StepProperties"
+ }
+ ],
+ "properties": {
+ "attributes": {
+ "description": "The health check step attributes",
+ "$ref": "#/definitions/HealthCheckStepAttributes"
+ }
+ },
+ "required": [
+ "attributes"
+ ]
+ },
+ "HealthCheckStepAttributes": {
+ "type": "object",
+ "description": "The attributes for the health check step.",
+ "discriminator": "type",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of health check.",
+ "example": "REST"
+ },
+ "waitDuration": {
+ "type": "string",
+ "description": "The duration in ISO 8601 format for which health check waits idly without any checks.",
+ "example": "PT15M"
+ },
+ "maxElasticDuration": {
+ "type": "string",
+ "description": "The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.",
+ "example": "PT30M"
+ },
+ "healthyStateDuration": {
+ "type": "string",
+ "description": "The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.",
+ "example": "PT60M"
+ }
+ },
+ "required": [
+ "type",
+ "healthyStateDuration"
+ ]
+ },
+ "RestHealthCheckStepAttributes": {
+ "x-ms-discriminator-value": "REST",
+ "type": "object",
+ "description": "Defines the REST health check step properties.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthCheckStepAttributes"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The REST health check parameters.",
+ "$ref": "#/definitions/RestParameters"
+ }
+ }
+ },
+ "RestParameters": {
+ "type": "object",
+ "description": "The parameters for the REST health check.",
+ "properties": {
+ "healthChecks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RestHealthCheck"
+ },
+ "description": "The list of checks that form the health check step."
+ }
+ },
+ "required": [
+ "healthChecks"
+ ]
+ },
+ "RestHealthCheck": {
+ "type": "object",
+ "description": "A REST based health check",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "A unique name for this check."
+ },
+ "request": {
+ "description": "The request to the health provider.",
+ "$ref": "#/definitions/RestRequest"
+ },
+ "response": {
+ "description": "The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.",
+ "$ref": "#/definitions/RestResponse"
+ }
+ },
+ "required": [
+ "name",
+ "request"
+ ]
+ },
+ "RestRequest": {
+ "type": "object",
+ "description": "The properties that make up a REST request",
+ "properties": {
+ "method": {
+ "type": "string",
+ "description": "The HTTP method to use for the request.",
+ "enum": [
+ "GET",
+ "POST"
+ ],
+ "x-ms-enum": {
+ "name": "RestRequestMethod",
+ "modelAsString": false
+ }
+ },
+ "uri": {
+ "type": "string",
+ "description": "The HTTP URI to use for the request."
+ },
+ "authentication": {
+ "description": "The authentication information required in the request to the health provider.",
+ "$ref": "#/definitions/RestRequestAuthentication"
+ }
+ },
+ "required": [
+ "method",
+ "uri",
+ "authentication"
+ ]
+ },
+ "RestRequestAuthentication": {
+ "type": "object",
+ "description": "The authentication information required in the REST health check request to the health provider.",
+ "discriminator": "type",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The authentication type.",
+ "example": "ApiKey",
+ "enum": [
+ "ApiKey",
+ "RolloutIdentity"
+ ],
+ "x-ms-enum": {
+ "name": "RestAuthType",
+ "modelAsString": false
+ }
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "RolloutIdentityAuthentication": {
+ "x-ms-discriminator-value": "RolloutIdentity",
+ "description": "RolloutIdentity uses the user-assigned managed identity authentication context specified in the Identity property during rollout creation.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestRequestAuthentication"
+ }
+ ]
+ },
+ "ApiKeyAuthentication": {
+ "x-ms-discriminator-value": "ApiKey",
+ "description": "ApiKey authentication gives a name and a value that can be included in either the request header or query parameters.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestRequestAuthentication"
+ }
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The key name of the authentication key/value pair."
+ },
+ "in": {
+ "type": "string",
+ "description": "The location of the authentication key/value pair in the request.",
+ "enum": [
+ "Query",
+ "Header"
+ ],
+ "x-ms-enum": {
+ "name": "RestAuthLocation",
+ "modelAsString": false
+ }
+ },
+ "value": {
+ "type": "string",
+ "description": "The value of the authentication key/value pair."
+ }
+ },
+ "required": [
+ "name",
+ "in",
+ "value"
+ ]
+ },
+ "RestResponse": {
+ "type": "object",
+ "description": "The properties that make up the expected REST response",
+ "properties": {
+ "successStatusCodes": {
+ "type": "array",
+ "description": "The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "Ok",
+ "No Content"
+ ]
+ },
+ "regex": {
+ "type": "object",
+ "description": "The regular expressions to match the response content with.",
+ "properties": {
+ "matches": {
+ "type": "array",
+ "description": "The list of regular expressions.",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "Contoso-Service-EndToEnd",
+ "(?i)\"health_status\":((.|\n)*)\"(green|yellow)\"",
+ "(?mi)^(\"application_host\": 94781052)$"
+ ]
+ },
+ "matchQuantifier": {
+ "type": "string",
+ "description": "Indicates whether any or all of the expressions should match with the response content.",
+ "enum": [
+ "All",
+ "Any"
+ ],
+ "x-ms-enum": {
+ "name": "RestMatchQuantifier",
+ "modelAsString": false
+ }
+ }
+ }
+ }
+ }
+ },
+ "WaitStepProperties": {
+ "x-ms-discriminator-value": "Wait",
+ "type": "object",
+ "description": "Defines the properties of a Wait step.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/StepProperties"
+ }
+ ],
+ "properties": {
+ "attributes": {
+ "description": "The Wait attributes",
+ "$ref": "#/definitions/WaitStepAttributes"
+ }
+ },
+ "required": [
+ "attributes"
+ ]
+ },
+ "WaitStepAttributes": {
+ "type": "object",
+ "description": "The parameters for the wait step.",
+ "properties": {
+ "duration": {
+ "type": "string",
+ "description": "The duration in ISO 8601 format of how long the wait should be.",
+ "example": "PT30M"
+ }
+ },
+ "required": [
+ "duration"
+ ]
+ },
+ "ServiceTopologiesListResult": {
+ "description": "The list of service topologies.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceTopologyResource"
+ }
+ },
+ "ServiceListResult": {
+ "description": "The list of services.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceResource"
+ }
+ },
+ "ServiceUnitListResult": {
+ "description": "The list of service units.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceUnitResource"
+ }
+ },
+ "StepResourceListResult": {
+ "description": "The list of steps.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StepResource"
+ }
+ },
+ "ArtifactSourceListResult": {
+ "description": "The list of artifact sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ "RolloutListResult": {
+ "description": "The list of rollouts.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Rollout"
+ }
+ }
+ },
+ "parameters": {
+ "artifactSourceName": {
+ "description": "The name of the artifact source.",
+ "name": "artifactSourceName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "serviceTopologyName": {
+ "name": "serviceTopologyName",
+ "in": "path",
+ "description": "The name of the service topology .",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "serviceName": {
+ "name": "serviceName",
+ "in": "path",
+ "description": "The name of the service resource.",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "serviceUnitName": {
+ "name": "serviceUnitName",
+ "in": "path",
+ "description": "The name of the service unit resource.",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "stepName": {
+ "name": "stepName",
+ "in": "path",
+ "description": "The name of the deployment step.",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "client"
+ },
+ "resourceGroupName": {
+ "description": "The name of the resource group. The name is case insensitive.",
+ "name": "resourceGroupName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90
+ },
+ "rolloutName": {
+ "description": "The rollout name.",
+ "name": "rolloutName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "retryAttempt": {
+ "name": "retryAttempt",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "description": "Rollout retry attempt ordinal to get the result of. If not specified, result of the latest attempt will be returned.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for this operation.",
+ "x-ms-parameter-location": "client"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_createorupdate.json
new file mode 100644
index 000000000000..f20743c1a4af
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_createorupdate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "artifactSourceName": "myArtifactSource",
+ "api-version": "2019-11-01-preview",
+ "artifactSourceInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myArtifactSource",
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_createorupdate_artifactroot.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_createorupdate_artifactroot.json
new file mode 100644
index 000000000000..9d664c0186d8
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_createorupdate_artifactroot.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "artifactSourceName": "myArtifactSource",
+ "api-version": "2019-11-01-preview",
+ "artifactSourceInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "artifactRoot": "1.0.0.0",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myArtifactSource",
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_delete.json
new file mode 100644
index 000000000000..9bdd1a2b8df3
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "artifactSourceName": "myArtifactSource",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_get.json
new file mode 100644
index 000000000000..6008aaf71d99
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsource_get.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "artifactSourceName": "myArtifactSource",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myArtifactSource",
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsources_list.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsources_list.json
new file mode 100644
index 000000000000..c96954920d11
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/artifactsources_list.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "TemplatesArtifactSource",
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/templates?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ },
+ {
+ "name": "BinariesArtifactSource",
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "artifactRoot": "builds/1.0.0.1",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/binaries?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/operations_list.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/operations_list.json
new file mode 100644
index 000000000000..e7afad6252df
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/operations_list.json
@@ -0,0 +1,166 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceTopology",
+ "operation": "View service topology",
+ "description": "View the properties of a service topology"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceTopology",
+ "operation": "Update the service topology",
+ "description": "Create a new topology or update the properties of an existing topology"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceTopology",
+ "operation": "Delete service topology",
+ "description": "Deletes an existing topology."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Service",
+ "operation": "View service in a topology",
+ "description": "View the properties of a service in a service topology"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Service",
+ "operation": "Update the service in a topology",
+ "description": "Create a new service or update the properties of an existing service"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Service",
+ "operation": "Delete service",
+ "description": "Deletes an existing service in a service topology."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceUnit",
+ "operation": "View service unit",
+ "description": "View the properties of a service unit"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceUnit",
+ "operation": "Update the service unit",
+ "description": "Create a new service unit or update the properties of an existing service unit"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceUnit",
+ "operation": "Delete service unit",
+ "description": "Deletes an existing service unit."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/artifactSources/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ArtifactSource",
+ "operation": "View artifact source",
+ "description": "View the properties of an artifact source."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/artifactSources/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ArtifactSource",
+ "operation": "Update the artifact source",
+ "description": "Create a new artifact source or updates the properties of an existing artifact source."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/artifactSources/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ArtifactSource",
+ "operation": "Delete artifact source",
+ "description": "Deletes an existing artifact source."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "View rollout",
+ "description": "View the properties of rollout."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "Create or update a rollout.",
+ "description": "Create a new rollout or update an existing rollout."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/restart",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "Restart a rollout",
+ "description": "Restarts a failed rollout."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/cancel",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "Cancel a rollout",
+ "description": "Cancel a rollout in progress."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "Delete rollout",
+ "description": "Deletes an existing rollout."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_createorupdate.json
new file mode 100644
index 000000000000..5ecd2a2b9313
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_createorupdate.json
@@ -0,0 +1,122 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "api-version": "2019-11-01-preview",
+ "rolloutRequest": {
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_delete.json
new file mode 100644
index 000000000000..acc12c224ca5
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_get.json
new file mode 100644
index 000000000000..9e25323db3e6
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_get.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "status": "Running",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "retryAttempt": 0
+ },
+ "totalRetryAttempts": 0,
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ],
+ "services": [
+ {
+ "name": "myService1",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7",
+ "targetLocation": "centralus",
+ "serviceUnits": [
+ {
+ "name": "myTopologyUni1",
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "steps": [
+ {
+ "name": "preDeploymentStep1",
+ "status": "succeeded",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "endTime": "2018-08-28T03:35:28.556Z"
+ }
+ },
+ {
+ "name": "preDeploymentStep2",
+ "status": "succeeded",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:36:56.386Z",
+ "endTime": "2018-08-28T03:37:28.556Z"
+ }
+ },
+ {
+ "name": "deploy",
+ "status": "running",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:38:56.386Z",
+ "lastUpdatedTime": "2018-08-28T03:39:28.556Z"
+ },
+ "resourceOperations": [
+ {
+ "resourceName": "keyVaultcentralus",
+ "operationId": "20FC5A21382DA306",
+ "resourceType": "Microsoft.KeyVault/vaults",
+ "provisioningState": "Succeeded",
+ "statusMessage": "",
+ "statusCode": "OK"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_post_cancel.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_post_cancel.json
new file mode 100644
index 000000000000..0e701fec5a02
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_post_cancel.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "status": "Canceling",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "retryAttempt": 0
+ },
+ "totalRetryAttempts": 0,
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ],
+ "services": [
+ {
+ "name": "myService1",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7",
+ "targetLocation": "centralus",
+ "serviceUnits": [
+ {
+ "name": "myTopologyUni1",
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "steps": [
+ {
+ "name": "preDeploymentStep1",
+ "status": "succeeded",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "endTime": "2018-08-28T03:35:28.556Z"
+ }
+ },
+ {
+ "name": "preDeploymentStep2",
+ "status": "succeeded",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:36:56.386Z",
+ "endTime": "2018-08-28T03:37:28.556Z"
+ }
+ },
+ {
+ "name": "deploy",
+ "status": "running",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:38:56.386Z",
+ "lastUpdatedTime": "2018-08-28T03:39:28.556Z"
+ },
+ "resourceOperations": [
+ {
+ "resourceName": "keyVaultcentralus",
+ "operationId": "20FC5A21382DA306",
+ "resourceType": "Microsoft.KeyVault/vaults",
+ "provisioningState": "Succeeded",
+ "statusMessage": "",
+ "statusCode": "OK"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_post_restart.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_post_restart.json
new file mode 100644
index 000000000000..c9b4fef98cd6
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollout_post_restart.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "skipSucceeded": true,
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "status": "Running",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "retryAttempt": 1
+ },
+ "totalRetryAttempts": 1,
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollouts_list.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollouts_list.json
new file mode 100644
index 000000000000..dd2d56e65529
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/rollouts_list.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "CanaryRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "status": "Succeeded",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "endTime": "2018-08-28T03:43:55.010Z",
+ "retryAttempt": 0
+ },
+ "totalRetryAttempts": 0,
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/binariesArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "name": "ProdRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "status": "Running",
+ "operationInfo": {
+ "startTime": "2019-05-02T03:33:56.386Z",
+ "retryAttempt": 0
+ },
+ "totalRetryAttempts": 0,
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/binariesArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "ProdRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep3"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_createorupdate.json
new file mode 100644
index 000000000000..5ca7e868a588
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_createorupdate.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "api-version": "2019-11-01-preview",
+ "serviceInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetLocation": "centralus",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myService",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetLocation": "centralus",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_delete.json
new file mode 100644
index 000000000000..00f626eb62cf
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_get.json
new file mode 100644
index 000000000000..e9f59cca7cc0
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/service_get.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myService",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetLocation": "centralus",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/services_list.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/services_list.json
new file mode 100644
index 000000000000..8edd60ad4200
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/services_list.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "Service East",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetLocation": "eastus",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
+ }
+ },
+ {
+ "name": "Service West",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetLocation": "westus",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopologies_list.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopologies_list.json
new file mode 100644
index 000000000000..2fdd120aa40e
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopologies_list.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "ContosoSvc1Topology",
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/contoso1ArtifactSource"
+ }
+ },
+ {
+ "name": "ContosoSvc2Topology",
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/contoso2ArtifactSource"
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_createorupdate.json
new file mode 100644
index 000000000000..fbf1d2590f05
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_createorupdate.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2019-11-01-preview",
+ "serviceTopologyInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myTopology",
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_createorupdate_noartifactsource.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_createorupdate_noartifactsource.json
new file mode 100644
index 000000000000..e622f7fa11e8
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_createorupdate_noartifactsource.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2019-11-01-preview",
+ "serviceTopologyInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myTopology",
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_delete.json
new file mode 100644
index 000000000000..ef0abe0d2609
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_get.json
new file mode 100644
index 000000000000..ac036b32147d
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/servicetopology_get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myTopology",
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_createorupdate.json
new file mode 100644
index 000000000000..96edfad758e8
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_createorupdate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "serviceUnitName": "myServiceUnit",
+ "api-version": "2019-11-01-preview",
+ "serviceUnitInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
+ "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myServiceUnit",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
+ "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_createorupdate_noartifactsource.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_createorupdate_noartifactsource.json
new file mode 100644
index 000000000000..a5a4bd897d0e
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_createorupdate_noartifactsource.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "serviceUnitName": "myServiceUnit",
+ "api-version": "2019-11-01-preview",
+ "serviceUnitInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
+ "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myServiceUnit",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
+ "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_delete.json
new file mode 100644
index 000000000000..2e9ecdc6183f
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "serviceUnitName": "myServiceUnit",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_get.json
new file mode 100644
index 000000000000..1bdbe6f34d6f
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunit_get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "serviceUnitName": "myServiceUnit",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myServiceUnit",
+ "type": "Microsoft.DeploymentManager/servicetopologies/services/serviceunits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
+ "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunits_list.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunits_list.json
new file mode 100644
index 000000000000..c7d5a4e0d71b
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/serviceunits_list.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "BackEndServiceUnit",
+ "type": "Microsoft.DeploymentManager/servicetopologies/services/serviceunits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateArtifactSourceRelativePath": "templates/backend.template.json",
+ "parametersArtifactSourceRelativePath": "parameter/backend.parameters.json"
+ }
+ }
+ },
+ {
+ "name": "FrontEndServiceUnit",
+ "type": "Microsoft.DeploymentManager/servicetopologies/services/serviceunits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Complete",
+ "artifacts": {
+ "templateArtifactSourceRelativePath": "templates/frontend.template.json",
+ "parametersArtifactSourceRelativePath": "parameter/frontend.parameters.json"
+ }
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_delete.json
new file mode 100644
index 000000000000..987f1fa0c2ff
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "stepName": "deploymentStep1",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_get.json
new file mode 100644
index 000000000000..da493554e61a
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_get.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "stepName": "waitStep",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "deploymentStep1",
+ "type": "Microsoft.DeploymentManager/steps",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "Wait",
+ "attributes": {
+ "duration": "PT20M"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_health_check_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_health_check_createorupdate.json
new file mode 100644
index 000000000000..cc21360eb0f5
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_health_check_createorupdate.json
@@ -0,0 +1,150 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "stepName": "healthCheckStep",
+ "api-version": "2019-11-01-preview",
+ "stepInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "HealthCheck",
+ "attributes": {
+ "waitDuration": "PT15M",
+ "maxElasticDuration": "PT30M",
+ "healthyStateDuration": "PT2H",
+ "type": "REST",
+ "properties": {
+ "healthChecks": [
+ {
+ "name": "appHealth",
+ "request": {
+ "method": "GET",
+ "uri": "https://resthealth.healthservice.com/api/applications/contosoApp/healthStatus",
+ "authentication": {
+ "type": "ApiKey",
+ "name": "Code",
+ "in": "Query",
+ "value": "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg=="
+ }
+ },
+ "response": {
+ "successStatusCodes": [
+ "OK"
+ ],
+ "regex": {
+ "matchQuantifier": "All",
+ "matches": [
+ "(?i)Contoso-App",
+ "(?i)\"health_status\":((.|\n)*)\"(green|yellow)\"",
+ "(?mi)^(\"application_host\": 94781052)$"
+ ]
+ }
+ }
+ },
+ {
+ "name": "serviceHealth",
+ "request": {
+ "method": "GET",
+ "uri": "https://resthealth.healthservice.com/api/services/contosoService/healthStatus",
+ "authentication": {
+ "type": "ApiKey",
+ "name": "code",
+ "in": "Header",
+ "value": "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg=="
+ }
+ },
+ "response": {
+ "successStatusCodes": [
+ "OK"
+ ],
+ "regex": {
+ "matchQuantifier": "All",
+ "matches": [
+ "(?i)Contoso-Service-EndToEnd",
+ "(?i)\"health_status\":((.|\n)*)\"(green)\""
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "healthCheckStep",
+ "type": "Microsoft.DeploymentManager/steps",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "HealthCheck",
+ "attributes": {
+ "waitDuration": "PT15M",
+ "maxElasticDuration": "PT30M",
+ "healthyStateDuration": "PT2H",
+ "type": "REST",
+ "properties": {
+ "healthChecks": [
+ {
+ "name": "appHealth",
+ "request": {
+ "method": "GET",
+ "uri": "https://resthealth.healthservice.com/api/applications/contosoApp/healthStatus",
+ "authentication": {
+ "type": "ApiKey",
+ "name": "Code",
+ "in": "Query",
+ "value": "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg=="
+ }
+ },
+ "response": {
+ "successStatusCodes": [
+ "OK"
+ ],
+ "regex": {
+ "matchQuantifier": "All",
+ "matches": [
+ "(?i)Contoso-App",
+ "(?i)\"health_status\":((.|\n)*)\"(green|yellow)\"",
+ "(?mi)^(\"application_host\": 94781052)$"
+ ]
+ }
+ }
+ },
+ {
+ "name": "serviceHealth",
+ "request": {
+ "method": "GET",
+ "uri": "https://resthealth.healthservice.com/api/services/contosoService/healthStatus",
+ "authentication": {
+ "type": "ApiKey",
+ "name": "code",
+ "in": "Header",
+ "value": "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg=="
+ }
+ },
+ "response": {
+ "successStatusCodes": [
+ "OK"
+ ],
+ "regex": {
+ "matchQuantifier": "All",
+ "matches": [
+ "(?i)Contoso-Service-EndToEnd",
+ "(?i)\"health_status\":((.|\n)*)\"(green)\""
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_wait_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_wait_createorupdate.json
new file mode 100644
index 000000000000..92a3f5563add
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/step_wait_createorupdate.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "stepName": "waitStep",
+ "api-version": "2019-11-01-preview",
+ "stepInfo": {
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "Wait",
+ "attributes": {
+ "duration": "PT20M"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "waitStep",
+ "type": "Microsoft.DeploymentManager/steps",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "Wait",
+ "attributes": {
+ "duration": "PT20M"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/steps_list.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/steps_list.json
new file mode 100644
index 000000000000..b18db31e93f2
--- /dev/null
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/examples/steps_list.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "waitStepfrontEnd",
+ "type": "Microsoft.DeploymentManager/steps",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "Wait",
+ "attributes": {
+ "duration": "PT10M"
+ }
+ }
+ },
+ {
+ "name": "waitStepBackEnd",
+ "type": "Microsoft.DeploymentManager/steps",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "Wait",
+ "attributes": {
+ "duration": "PT30M"
+ }
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/deploymentmanager/resource-manager/readme.go.md b/specification/deploymentmanager/resource-manager/readme.go.md
index 0c0a2b3093e2..690a00d5f53b 100644
--- a/specification/deploymentmanager/resource-manager/readme.go.md
+++ b/specification/deploymentmanager/resource-manager/readme.go.md
@@ -13,9 +13,19 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-11-01-preview
- tag: package-2018-09-01-preview
```
+### Tag: package-2019-11-01-preview and go
+
+These settings apply only when `--tag=package-2019-11-01-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-11-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-11-01-preview/$(namespace)
+```
+
### Tag: package-2018-09-01-preview and go
These settings apply only when `--tag=package-2018-09-01-preview --go` is specified on the command line.
diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md
index 93e5c61621a0..db1c83d9c0ea 100644
--- a/specification/deploymentmanager/resource-manager/readme.md
+++ b/specification/deploymentmanager/resource-manager/readme.md
@@ -24,12 +24,16 @@ These are the global settings for the DeploymentManager API.
``` yaml
openapi-type: arm
-tag: package-2018-09-01-preview
+tag: package-2019-11-01-preview
```
-### Suppression
+### Tag: package-2019-11-01-preview
-``` yaml
+These settings apply only when `package-2019-11-01-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-11-01-preview'
+input-file:
+- Microsoft.DeploymentManager/preview/2019-11-01-preview/deploymentmanager.json
directive:
- suppress: EnumInsteadOfBoolean
reason: The boolean properties in the specification are actually boolean values in the Deployment Manager application model.
@@ -45,6 +49,9 @@ directive:
- suppress: TrackedResourceListByResourceGroup
reason: Not available at this time.
from: deploymentmanager.json
+ - suppress: PageableOperation
+ reason: List operations returns a static list of supported operations for each API version and does not need paging.
+ from: deploymentmanager.json
- suppress: TrackedResourceGetOperation
reason: The rollout resource has a get operation. The request and response types are separated for clarity.
where: $.definitions.RolloutRequest
@@ -63,6 +70,30 @@ These settings apply only when `package-2018-09-01-preview` is specified on the
``` yaml $(tag) == 'package-2018-09-01-preview'
input-file:
- Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json
+directive:
+ - suppress: EnumInsteadOfBoolean
+ reason: The boolean properties in the specification are actually boolean values in the Deployment Manager application model.
+ from: deploymentmanager.json
+ - suppress: TrackedResourceListByImmediateParent
+ reason: Not available during preview.
+ - suppress: TrackedResourcePatchOperation
+ reason: Not available at this time.
+ from: deploymentmanager.json
+ - suppress: TrackedResourceListBySubscription
+ reason: Not available at this time.
+ from: deploymentmanager.json
+ - suppress: TrackedResourceListByResourceGroup
+ reason: Not available at this time.
+ from: deploymentmanager.json
+ - suppress: TrackedResourceGetOperation
+ reason: The rollout resource has a get operation. The request and response types are separated for clarity.
+ where: $.definitions.RolloutRequest
+ - suppress: DescriptionAndTitleMissing
+ reason: Common types warning.
+ where: $.definitions.Resource
+ - suppress: AvoidNestedProperties
+ reason: Nesting had to be avoided to have the autogenerated classes compose the required polymorphic 'properties' property in the StepResource.
+ where: $.definitions.StepResource.properties.properties
```
---
@@ -115,7 +146,7 @@ python:
payload-flattening-threshold: 2
namespace: azure.mgmt.deploymentmanager
package-name: azure-mgmt-deploymentmanager
- package-version: 0.9.0
+ package-version: 0.9.1
clear-output-folder: true
override-client-name: DeploymentManagerClient
```
@@ -144,7 +175,7 @@ azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.deploymentmanager
license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
+payload-flattening-threshold: 2
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-deploymentmanager
```
@@ -152,18 +183,18 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-deploymentmanager
``` yaml $(java) && $(multiapi)
batch:
- - tag: package-2018-09-01-preview
+ - tag: package-2019-11-01-preview
```
-### Tag: package-2018-09-01-preview and java
+### Tag: package-2019-11-01-preview and java
-These settings apply only when `--tag=package-2018-09-01-preview --java` is specified on the command line.
+These settings apply only when `--tag=package-2019-11-01-preview --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=`.
-``` yaml $(tag) == 'package-2018-09-01-preview' && $(java) && $(multiapi)
+``` yaml $(tag) == 'package-2019-11-01-preview' && $(java) && $(multiapi)
java:
- namespace: com.microsoft.azure.management.deploymentmanager.v2018-09-01-preview
- output-folder: $(azure-libraries-for-java-folder)/sdk/deploymentmanager/mgmt-v2018-09-01-preview
+ namespace: com.microsoft.azure.management.deploymentmanager.v2019-11-01-preview
+ output-folder: $(azure-libraries-for-java-folder)/sdk/deploymentmanager/mgmt-v2019-11-01-preview
regenerate-manager: true
generate-interface: true
```
diff --git a/specification/deploymentmanager/resource-manager/readme.ruby.md b/specification/deploymentmanager/resource-manager/readme.ruby.md
index 2ddf1d0f479c..9d3c8a2ad44c 100644
--- a/specification/deploymentmanager/resource-manager/readme.ruby.md
+++ b/specification/deploymentmanager/resource-manager/readme.ruby.md
@@ -12,16 +12,16 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
- - tag: package-2018-09-01-preview
+ - tag: package-2019-11-01-preview
```
-### Tag: package-2018-09-01-preview and ruby
+### Tag: package-2019-11-01-preview and ruby
-These settings apply only when `--tag=package-2018-09-01-preview --ruby` is specified on the command line.
+These settings apply only when `--tag=package-2019-11-01-preview --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=`.
-``` yaml $(tag) == 'package-2018-09-01-preview' && $(ruby)
-namespace: "Azure::DeploymentManager::Mgmt::V2018-09-01-preview"
+``` yaml $(tag) == 'package-2019-11-01-preview' && $(ruby)
+namespace: "Azure::DeploymentManager::Mgmt::V2019-11-01-preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_deploymentmanager/lib
```
From baaf1b5b7f945c1e8c56a154035c3f9afb12dfe8 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Wed, 11 Dec 2019 04:54:47 +0000
Subject: [PATCH 072/469] regenerated all-api-versions
---
specification/deploymentmanager/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md
index db1c83d9c0ea..95faf2bdfdea 100644
--- a/specification/deploymentmanager/resource-manager/readme.md
+++ b/specification/deploymentmanager/resource-manager/readme.md
@@ -211,6 +211,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.DeploymentManager/preview/2019-11-01-preview/deploymentmanager.json
- $(this-folder)/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json
```
From abc6edbeedf21553aa2d3aac295d622217c9fb76 Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Wed, 11 Dec 2019 14:35:42 +0800
Subject: [PATCH 073/469] ARM email interval to 3d and add pull_request scope
limit (#7904)
---
.github/sla.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/sla.yml b/.github/sla.yml
index 192534ed4819..896fa5f7b392 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -3,6 +3,7 @@
action: sendEmailToAssignee
repoWhitelist:
- Azure/azure-rest-api-specs
+ scope: pull_request
args:
booleanFilterExpression: "!(WaitForARMFeedback||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
@@ -15,6 +16,7 @@
action: sendEmailToAssignee
repoWhitelist:
- Azure/azure-rest-api-specs-pr
+ scope: pull_request
args:
booleanFilterExpression: "!(WaitForARMFeedback||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
@@ -27,9 +29,10 @@
action: sendEmail
repoWhitelist:
- Azure/azure-rest-api-specs
+ scope: pull_request
args:
booleanFilterExpression: "(WaitForARMFeedback&&!ARMSignedOff&&!ARMChangesRequested&&!ARMReviewInProgress)"
- limit: 5d
+ limit: 3d
subject: "Action Required: Please help to review PR ${PR_URL}"
message: " Dear ARM review board,
Please review PR ${PR_URL}, the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to avoid receiving notification on the same PR.
- Please do not reply to this email, this is an automatic generated email.
Best regards,
Azure Management Experience"
to: armapireview@microsoft.com
From a8353533efc393b1b72519ae10beb3c6a42a9a79 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Wed, 11 Dec 2019 17:33:00 +0800
Subject: [PATCH 074/469] enable notification hub cli generation (#7943)
* enable notification hub cli generation
* adding test scenario
---
.../resource-manager/readme.cli.md | 37 +++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 specification/notificationhubs/resource-manager/readme.cli.md
diff --git a/specification/notificationhubs/resource-manager/readme.cli.md b/specification/notificationhubs/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..df9bbb164f98
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/readme.cli.md
@@ -0,0 +1,37 @@
+## CLI
+
+These settings apply only when `--cli` is specified on the command line.
+
+``` yaml $(cli)
+cli:
+ namespace: azure.mgmt.notificationhubs
+ test-scenario:
+ - name: NameSpaceCreate
+ - name: NotificationHubCreate
+ - name: NameSpaceAuthorizationRuleCreate
+ - name: NotificationHubAuthorizationRuleCreate
+ - name: NotificationHubAuthorizationRuleGet
+ - name: NotificationHubAuthorizationRuleListAll
+ - name: NameSpaceAuthorizationRuleGet
+ - name: NotificationHubGet
+ - name: NameSpaceAuthorizationRuleListAll
+ - name: NotificationHubListByNameSpace
+ - name: NameSpaceGet
+ - name: NameSpaceListByResourceGroup
+ - name: NameSpaceList
+ - name: OperationsList
+ - name: NotificationHubAuthorizationRuleRegenrateKey
+ - name: NotificationHubAuthorizationRuleListKey
+ - name: NameSpaceAuthorizationRuleRegenerateKey
+ - name: notificationHubPnsCredentials
+ - name: NameSpaceAuthorizationRuleListKey
+ - name: debugsend
+ - name: NotificationHubPatch
+ - name: notificationHubCheckNameAvailability
+ - name: NameSpaceUpdate
+ - name: NameSpaceCheckNameAvailability
+ - name: NotificationHubAuthorizationRuleDelete
+ - name: NameSpaceAuthorizationRuleDelete
+ - name: NotificationHubDelete
+ - name: NameSpaceDelete
+```
From 3849ede82904412e0b52e7c699bf8bc73b8fc6bd Mon Sep 17 00:00:00 2001
From: Anirban Sarkar <33848291+asarkar84@users.noreply.github.com>
Date: Wed, 11 Dec 2019 17:37:47 -0800
Subject: [PATCH 075/469] Corrected the patch request as per actual
implementation and rest API standards (#7814)
* Billing RP spec changes for listInvoiceSectionsWithCreateSubscriptionPermission API
* Updated the operation id
* Added x-ms-pageable
* Added next link
* Deleted unused file ProductCancelByBillingAccount
* Incorporated review comments
Incorporated review comments
* Added new properties in Invoicing APIs
Added new properties in Invoicing APIs
* Incorporated review comments
Incorporated review comments
* Added invoiceEmailOptIn in the UpdateBillingProfile request
Added invoiceEmailOptIn in the UpdateBillingProfile request
* Update billing.json
* Updating the verbs from Create BillingProfile and InvoiceSection entities
Updating the verbs from Create BillingProfile and InvoiceSection entities
* Corrected the enum valure to match it with actual implementation
Corrected the enum valure to match it with actual implementation
* Updated
* Updating BillingRoleDefinition Permission property to match with actual API response
Updating BillingRoleDefinition Permission property to match with actual API response
* Updated
* Correcting the querystring parameter name as per actual implementation
Correcting the querystring parameter name as per actual implementation
* Updated examples to match it with actual API implementation
Updated examples to match it with actual API implementation
* Corrected the patch request as per actual implementation and rest API standards
Corrected the patch request as per actual implementation and rest API standards
* Formatted the file
* Fixed the build errors
* Incorporated review comments
Incorporated review comments
* Formatted the file to fix formatting to fix PrettierCheck failures
Formatted the file to fix formatting to fix PrettierCheck failures
---
.../preview/2019-10-01-preview/billing.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
index 277e1d89b7b0..345e3074055e 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
@@ -461,7 +461,7 @@
}
}
},
- "post": {
+ "put": {
"tags": [
"BillingProfiles"
],
@@ -718,7 +718,7 @@
}
}
},
- "post": {
+ "put": {
"tags": [
"InvoiceSections"
],
@@ -3253,7 +3253,7 @@
"Transfers"
],
"description": "Lists all transfer's details initiated from given invoice section.",
- "operationId": "PartnerTransfersTransfers_List",
+ "operationId": "PartnerTransfers_List",
"x-ms-examples": {
"TransfersList": {
"$ref": "./examples/PartnerListTransfers.json"
@@ -5992,7 +5992,7 @@
"format": "date-time",
"readOnly": true
},
- "invoiceType" : {
+ "invoiceType": {
"description": "Invoice type.",
"enum": [
"AzureService",
From c1aecc73fc025d3db2714717f69c3560ad23e64d Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Thu, 12 Dec 2019 09:51:49 +0800
Subject: [PATCH 076/469] Dev containerservice microsoft.container service 2019
11 01 (#7930)
* Adds base for updating Microsoft.ContainerService from version stable/2019-10-01 to version 2019-11-01
* Updates readme
* Updates API version in new specs and examples
* Dev containerservice microsoft.container service 2019 11 01 (#7817)
* Feat: add allocatedPorts and idleTimeoutInMinutes to model and examples
* Feat: add outboundType to spec and examples
* fix camelcase typo
* fix idletimeout and allocatedPorts nesting
* add outboundtype to get mc example
* update description indenting
* update indenting of example
* update to string
* narrow down problem example
* remove allocated ports from update example
* remove from all examples
* update naming to allocatedOutboundPorts
* add back single example
* add additional examples
* add final example back
* initial agent pool tag and label api model additions
* Add identity to addonprofile
* agent pool tag and label examples
* remove PREVIEW from zones and agentpool type description
* fix invalid json for identity
* update readme
* Add identityProfile
* fix invalid json
* apply npm prettier-fix
---
.../examples/AgentPoolsCreate_Update.json | 82 +
.../2019-11-01/examples/AgentPoolsDelete.json | 13 +
.../2019-11-01/examples/AgentPoolsGet.json | 25 +
...entPoolsGetAgentPoolAvailableVersions.json | 32 +
.../examples/AgentPoolsGetUpgradeProfile.json | 27 +
.../2019-11-01/examples/AgentPoolsList.json | 28 +
.../ManagedClustersCreate_Update.json | 225 ++
.../examples/ManagedClustersDelete.json | 12 +
.../examples/ManagedClustersGet.json | 91 +
.../ManagedClustersGetAccessProfile.json | 22 +
.../ManagedClustersGetUpgradeProfile.json | 49 +
.../examples/ManagedClustersList.json | 64 +
.../ManagedClustersListByResourceGroup.json | 65 +
...edClustersListClusterCredentialResult.json | 20 +
.../ManagedClustersResetAADProfile.json | 18 +
...dClustersResetServicePrincipalProfile.json | 16 +
...agedClustersRotateClusterCertificates.json | 12 +
.../examples/ManagedClustersUpdateTags.json | 67 +
.../stable/2019-11-01/managedClusters.json | 2431 +++++++++++++++++
.../resource-manager/readme.md | 18 +-
20 files changed, 3314 insertions(+), 3 deletions(-)
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsCreate_Update.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsDelete.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGet.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGetUpgradeProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsList.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersCreate_Update.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersDelete.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGet.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGetAccessProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGetUpgradeProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersList.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersListByResourceGroup.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersListClusterCredentialResult.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersResetAADProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersResetServicePrincipalProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersRotateClusterCertificates.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersUpdateTags.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsCreate_Update.json
new file mode 100644
index 000000000000..927a3199ef60
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsCreate_Update.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1",
+ "parameters": {
+ "properties": {
+ "orchestratorVersion": "",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "osType": "Linux",
+ "tags": {
+ "name1": "val1"
+ },
+ "nodeLabels": {
+ "key1": "val1"
+ },
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "type": "Microsoft.ContainerService/managedClusters/agentPools",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "tags": {
+ "name1": "val1"
+ },
+ "nodeLabels": {
+ "key1": "val1"
+ },
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "type": "Microsoft.ContainerService/managedClusters/agentPools",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Creating",
+ "orchestratorVersion": "1.9.6",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "tags": {
+ "name1": "val1"
+ },
+ "nodeLabels": {
+ "key1": "val1"
+ },
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsDelete.json
new file mode 100644
index 000000000000..099e5a8da2dd
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGet.json
new file mode 100644
index 000000000000..3e1bfc7aa280
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "orchestratorVersion": "1.9.6"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
new file mode 100644
index 000000000000..ac53095e7991
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/availableagentpoolversions",
+ "name": "default",
+ "properties": {
+ "agentPoolVersions": [
+ {
+ "kubernetesVersion": "1.12.7"
+ },
+ {
+ "kubernetesVersion": "1.12.8"
+ },
+ {
+ "default": true,
+ "kubernetesVersion": "1.13.5",
+ "isPreview": true
+ }
+ ]
+ },
+ "type": "Microsoft.ContainerService/managedClusters/availableAgentpoolVersions"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGetUpgradeProfile.json
new file mode 100644
index 000000000000..9df4e51697f7
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsGetUpgradeProfile.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1/upgradeprofiles/default",
+ "name": "default",
+ "properties": {
+ "kubernetesVersion": "1.12.8",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.13.5"
+ }
+ ]
+ },
+ "type": "Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsList.json
new file mode 100644
index 000000000000..9283211407c8
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPoolsList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "orchestratorVersion": "1.9.6"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersCreate_Update.json
new file mode 100644
index 000000000000..5ffa0904f27e
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersCreate_Update.json
@@ -0,0 +1,225 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "location": "location1",
+ "tags": {
+ "tier": "production",
+ "archv2": ""
+ },
+ "properties": {
+ "kubernetesVersion": "",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "osType": "Linux",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "networkProfile": {
+ "loadBalancerSku": "standard",
+ "outboundType": "loadBalancer",
+ "loadBalancerProfile": {
+ "managedOutboundIPs": {
+ "count": 2
+ }
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser",
+ "adminPassword": "replacePassword1234$"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid",
+ "secret": "secret"
+ },
+ "addonProfiles": {},
+ "enableRBAC": true,
+ "enablePodSecurityPolicy": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": true,
+ "enablePodSecurityPolicy": true,
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "networkProfile": {
+ "loadBalancerSku": "basic",
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16",
+ "outboundType": "loadBalancer",
+ "loadBalancerProfile": {
+ "allocatedOutboundPorts": 2000,
+ "idleTimeoutInMinutes": 10,
+ "managedOutboundIPs": {
+ "count": 2
+ },
+ "effectiveOutboundIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Creating",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Creating",
+ "orchestratorVersion": "1.9.6",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": true,
+ "enablePodSecurityPolicy": true,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16",
+ "loadBalancerSku": "standard",
+ "outboundType": "loadBalancer",
+ "loadBalancerProfile": {
+ "allocatedOutboundPorts": 2000,
+ "idleTimeoutInMinutes": 10,
+ "managedOutboundIPs": {
+ "count": 2
+ },
+ "effectiveOutboundIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersDelete.json
new file mode 100644
index 000000000000..e1093d6b6429
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGet.json
new file mode 100644
index 000000000000..f76f181b32c7
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGet.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ]
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16",
+ "loadBalancerSku": "standard",
+ "outboundType": "loadBalancer",
+ "loadBalancerProfile": {
+ "allocatedOutboundPorts": 2000,
+ "idleTimeoutInMinutes": 10,
+ "outboundIPs": {
+ "publicIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/customeroutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/customeroutboundip2"
+ }
+ ]
+ },
+ "effectiveOutboundIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGetAccessProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGetAccessProfile.json
new file mode 100644
index 000000000000..734e326259fc
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGetAccessProfile.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "roleName": "clusterUser"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/accessProfiles/clusterUser",
+ "location": "location1",
+ "name": "clusterUser",
+ "properties": {
+ "kubeConfig": "kubeConfig1"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters/AccessProfiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGetUpgradeProfile.json
new file mode 100644
index 000000000000..79f608833ad4
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersGetUpgradeProfile.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/upgradeprofiles/default",
+ "name": "default",
+ "properties": {
+ "agentPoolProfiles": [
+ {
+ "kubernetesVersion": "1.7.7",
+ "name": "agent",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.7.9"
+ },
+ {
+ "kubernetesVersion": "1.7.11",
+ "isPreview": true
+ }
+ ]
+ }
+ ],
+ "controlPlaneProfile": {
+ "kubernetesVersion": "1.7.7",
+ "name": "master",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.7.9",
+ "isPreview": true
+ },
+ {
+ "kubernetesVersion": "1.7.11"
+ }
+ ]
+ }
+ },
+ "type": "Microsoft.ContainerService/managedClusters/upgradeprofiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersList.json
new file mode 100644
index 000000000000..bb8a8cadd67d
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersList.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/providers/Microsoft.ContainerService/managedClusters",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "maxAgentPools": 1,
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersListByResourceGroup.json
new file mode 100644
index 000000000000..42b7927af660
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersListByResourceGroup.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "maxAgentPools": 1,
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersListClusterCredentialResult.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersListClusterCredentialResult.json
new file mode 100644
index 000000000000..58b3d710dffc
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersListClusterCredentialResult.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "kubeconfigs": [
+ {
+ "name": "credentialName1",
+ "value": "credentialValue1"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersResetAADProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersResetAADProfile.json
new file mode 100644
index 000000000000..624504295a19
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersResetAADProfile.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "clientAppID": "clientappid",
+ "serverAppID": "serverappid",
+ "serverAppSecret": "serverappsecret",
+ "tenantID": "tenantid"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersResetServicePrincipalProfile.json
new file mode 100644
index 000000000000..9097958f42c5
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersResetServicePrincipalProfile.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "clientId": "clientid",
+ "secret": "secret"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersRotateClusterCertificates.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersRotateClusterCertificates.json
new file mode 100644
index 000000000000..e1093d6b6429
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersRotateClusterCertificates.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersUpdateTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersUpdateTags.json
new file mode 100644
index 000000000000..489c82d4682c
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/examples/ManagedClustersUpdateTags.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "tags": {
+ "tier": "testing",
+ "archv3": ""
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv3": "",
+ "tier": "testing"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
new file mode 100644
index 000000000000..12b27f956763
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
@@ -0,0 +1,2431 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ContainerServiceClient",
+ "description": "The Container Service Client.",
+ "version": "2019-11-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.ContainerService/operations": {
+ "get": {
+ "tags": [
+ "managedClusters"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of compute operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_List",
+ "summary": "Gets a list of managed clusters in the specified subscription.",
+ "description": "Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Managed Clusters": {
+ "$ref": "./examples/ManagedClustersList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListByResourceGroup",
+ "summary": "Lists managed clusters in the specified subscription and resource group.",
+ "description": "Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Managed Clusters by Resource Group": {
+ "$ref": "./examples/ManagedClustersListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_GetUpgradeProfile",
+ "summary": "Gets upgrade profile for a managed cluster.",
+ "description": "Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterUpgradeProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Upgrade Profile for Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGetUpgradeProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_GetAccessProfile",
+ "summary": "Gets an access profile of a managed cluster.",
+ "description": "Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "roleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the role for managed cluster accessProfile resource."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterAccessProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGetAccessProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListClusterAdminCredentials",
+ "summary": "Gets cluster admin credential of a managed cluster.",
+ "description": "Gets cluster admin credential of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CredentialResults"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListClusterUserCredentials",
+ "summary": "Gets cluster user credential of a managed cluster.",
+ "description": "Gets cluster user credential of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CredentialResults"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_Get",
+ "summary": "Gets a managed cluster.",
+ "description": "Gets the details of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_CreateOrUpdate",
+ "summary": "Creates or updates a managed cluster.",
+ "description": "Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ },
+ "description": "Parameters supplied to the Create or Update a Managed Cluster operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create/Update Managed Cluster": {
+ "$ref": "./examples/ManagedClustersCreate_Update.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_UpdateTags",
+ "summary": "Updates tags on a managed cluster.",
+ "description": "Updates a managed cluster with the specified tags.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the Update Managed Cluster Tags operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update Managed Cluster Tags": {
+ "$ref": "./examples/ManagedClustersUpdateTags.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_Delete",
+ "summary": "Deletes a managed cluster.",
+ "description": "Deletes the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Managed Cluster": {
+ "$ref": "./examples/ManagedClustersDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_List",
+ "summary": "Gets a list of agent pools in the specified managed cluster.",
+ "description": "Gets a list of agent pools in the specified managed cluster. The operation returns properties of each agent pool.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Agent Pools by Managed Cluster": {
+ "$ref": "./examples/AgentPoolsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_Get",
+ "summary": "Gets the agent pool.",
+ "description": "Gets the details of the agent pool by managed cluster and resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Agent Pool": {
+ "$ref": "./examples/AgentPoolsGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_CreateOrUpdate",
+ "summary": "Creates or updates an agent pool.",
+ "description": "Creates or updates an agent pool in the specified managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ },
+ "description": "Parameters supplied to the Create or Update an agent pool operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create/Update Agent Pool": {
+ "$ref": "./examples/AgentPoolsCreate_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_Delete",
+ "summary": "Deletes an agent pool.",
+ "description": "Deletes the agent pool in the specified managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Agent Pool": {
+ "$ref": "./examples/AgentPoolsDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_GetUpgradeProfile",
+ "summary": "Gets upgrade profile for an agent pool.",
+ "description": "Gets the details of the upgrade profile for an agent pool with a specified resource group and managed cluster name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolUpgradeProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Upgrade Profile for Agent Pool": {
+ "$ref": "./examples/AgentPoolsGetUpgradeProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_GetAvailableAgentPoolVersions",
+ "summary": "Gets a list of supported versions for the specified agent pool.",
+ "description": "Gets a list of supported versions for the specified agent pool.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolAvailableVersions"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available versions for agent pool": {
+ "$ref": "./examples/AgentPoolsGetAgentPoolAvailableVersions.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ResetServicePrincipalProfile",
+ "summary": "Reset Service Principal Profile of a managed cluster.",
+ "description": "Update the service principal Profile for a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterServicePrincipalProfile"
+ },
+ "description": "Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reset Service Principal Profile": {
+ "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ResetAADProfile",
+ "summary": "Reset AAD Profile of a managed cluster.",
+ "description": "Update the AAD Profile for a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterAADProfile"
+ },
+ "description": "Parameters supplied to the Reset AAD Profile operation for a Managed Cluster."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reset AAD Profile": {
+ "$ref": "./examples/ManagedClustersResetAADProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_RotateClusterCertificates",
+ "summary": "Rotate certificates of a managed cluster.",
+ "description": "Rotate certificates of a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Rotate Cluster Certificates": {
+ "$ref": "./examples/ManagedClustersRotateClusterCertificates.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/OperationValue"
+ },
+ "description": "The list of compute operations"
+ }
+ },
+ "description": "The List Compute Operation operation response."
+ },
+ "OperationValue": {
+ "properties": {
+ "origin": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The origin of the compute operation."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the compute operation."
+ },
+ "display": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationValueDisplay",
+ "description": "Describes the properties of a Compute Operation Value Display."
+ }
+ },
+ "description": "Describes the properties of a Compute Operation value."
+ },
+ "OperationValueDisplay": {
+ "properties": {
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the compute operation."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the resource the operation applies to."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The description of the operation."
+ },
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource provider for the operation."
+ }
+ },
+ "description": "Describes the properties of a Compute Operation Value Display."
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "SubResource": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ }
+ },
+ "description": "Reference to another subresource.",
+ "x-ms-azure-resource": true
+ },
+ "TagsObject": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Tags object for patch operations."
+ },
+ "ContainerServiceOSDisk": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 1023,
+ "minimum": 0,
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "ContainerServiceStorageProfile": {
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ContainerServiceStorageProfileTypes",
+ "modelAsString": true
+ },
+ "enum": [
+ "StorageAccount",
+ "ManagedDisks"
+ ],
+ "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
+ },
+ "ContainerServiceVnetSubnetID": {
+ "type": "string",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "ContainerServiceVMSize": {
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ContainerServiceVMSizeTypes",
+ "modelAsString": true
+ },
+ "description": "Size of agent VMs.",
+ "enum": [
+ "Standard_A1",
+ "Standard_A10",
+ "Standard_A11",
+ "Standard_A1_v2",
+ "Standard_A2",
+ "Standard_A2_v2",
+ "Standard_A2m_v2",
+ "Standard_A3",
+ "Standard_A4",
+ "Standard_A4_v2",
+ "Standard_A4m_v2",
+ "Standard_A5",
+ "Standard_A6",
+ "Standard_A7",
+ "Standard_A8",
+ "Standard_A8_v2",
+ "Standard_A8m_v2",
+ "Standard_A9",
+ "Standard_B2ms",
+ "Standard_B2s",
+ "Standard_B4ms",
+ "Standard_B8ms",
+ "Standard_D1",
+ "Standard_D11",
+ "Standard_D11_v2",
+ "Standard_D11_v2_Promo",
+ "Standard_D12",
+ "Standard_D12_v2",
+ "Standard_D12_v2_Promo",
+ "Standard_D13",
+ "Standard_D13_v2",
+ "Standard_D13_v2_Promo",
+ "Standard_D14",
+ "Standard_D14_v2",
+ "Standard_D14_v2_Promo",
+ "Standard_D15_v2",
+ "Standard_D16_v3",
+ "Standard_D16s_v3",
+ "Standard_D1_v2",
+ "Standard_D2",
+ "Standard_D2_v2",
+ "Standard_D2_v2_Promo",
+ "Standard_D2_v3",
+ "Standard_D2s_v3",
+ "Standard_D3",
+ "Standard_D32_v3",
+ "Standard_D32s_v3",
+ "Standard_D3_v2",
+ "Standard_D3_v2_Promo",
+ "Standard_D4",
+ "Standard_D4_v2",
+ "Standard_D4_v2_Promo",
+ "Standard_D4_v3",
+ "Standard_D4s_v3",
+ "Standard_D5_v2",
+ "Standard_D5_v2_Promo",
+ "Standard_D64_v3",
+ "Standard_D64s_v3",
+ "Standard_D8_v3",
+ "Standard_D8s_v3",
+ "Standard_DS1",
+ "Standard_DS11",
+ "Standard_DS11_v2",
+ "Standard_DS11_v2_Promo",
+ "Standard_DS12",
+ "Standard_DS12_v2",
+ "Standard_DS12_v2_Promo",
+ "Standard_DS13",
+ "Standard_DS13-2_v2",
+ "Standard_DS13-4_v2",
+ "Standard_DS13_v2",
+ "Standard_DS13_v2_Promo",
+ "Standard_DS14",
+ "Standard_DS14-4_v2",
+ "Standard_DS14-8_v2",
+ "Standard_DS14_v2",
+ "Standard_DS14_v2_Promo",
+ "Standard_DS15_v2",
+ "Standard_DS1_v2",
+ "Standard_DS2",
+ "Standard_DS2_v2",
+ "Standard_DS2_v2_Promo",
+ "Standard_DS3",
+ "Standard_DS3_v2",
+ "Standard_DS3_v2_Promo",
+ "Standard_DS4",
+ "Standard_DS4_v2",
+ "Standard_DS4_v2_Promo",
+ "Standard_DS5_v2",
+ "Standard_DS5_v2_Promo",
+ "Standard_E16_v3",
+ "Standard_E16s_v3",
+ "Standard_E2_v3",
+ "Standard_E2s_v3",
+ "Standard_E32-16s_v3",
+ "Standard_E32-8s_v3",
+ "Standard_E32_v3",
+ "Standard_E32s_v3",
+ "Standard_E4_v3",
+ "Standard_E4s_v3",
+ "Standard_E64-16s_v3",
+ "Standard_E64-32s_v3",
+ "Standard_E64_v3",
+ "Standard_E64s_v3",
+ "Standard_E8_v3",
+ "Standard_E8s_v3",
+ "Standard_F1",
+ "Standard_F16",
+ "Standard_F16s",
+ "Standard_F16s_v2",
+ "Standard_F1s",
+ "Standard_F2",
+ "Standard_F2s",
+ "Standard_F2s_v2",
+ "Standard_F32s_v2",
+ "Standard_F4",
+ "Standard_F4s",
+ "Standard_F4s_v2",
+ "Standard_F64s_v2",
+ "Standard_F72s_v2",
+ "Standard_F8",
+ "Standard_F8s",
+ "Standard_F8s_v2",
+ "Standard_G1",
+ "Standard_G2",
+ "Standard_G3",
+ "Standard_G4",
+ "Standard_G5",
+ "Standard_GS1",
+ "Standard_GS2",
+ "Standard_GS3",
+ "Standard_GS4",
+ "Standard_GS4-4",
+ "Standard_GS4-8",
+ "Standard_GS5",
+ "Standard_GS5-16",
+ "Standard_GS5-8",
+ "Standard_H16",
+ "Standard_H16m",
+ "Standard_H16mr",
+ "Standard_H16r",
+ "Standard_H8",
+ "Standard_H8m",
+ "Standard_L16s",
+ "Standard_L32s",
+ "Standard_L4s",
+ "Standard_L8s",
+ "Standard_M128-32ms",
+ "Standard_M128-64ms",
+ "Standard_M128ms",
+ "Standard_M128s",
+ "Standard_M64-16ms",
+ "Standard_M64-32ms",
+ "Standard_M64ms",
+ "Standard_M64s",
+ "Standard_NC12",
+ "Standard_NC12s_v2",
+ "Standard_NC12s_v3",
+ "Standard_NC24",
+ "Standard_NC24r",
+ "Standard_NC24rs_v2",
+ "Standard_NC24rs_v3",
+ "Standard_NC24s_v2",
+ "Standard_NC24s_v3",
+ "Standard_NC6",
+ "Standard_NC6s_v2",
+ "Standard_NC6s_v3",
+ "Standard_ND12s",
+ "Standard_ND24rs",
+ "Standard_ND24s",
+ "Standard_ND6s",
+ "Standard_NV12",
+ "Standard_NV24",
+ "Standard_NV6"
+ ]
+ },
+ "ManagedClusterServicePrincipalProfile": {
+ "properties": {
+ "clientId": {
+ "type": "string",
+ "description": "The ID for the service principal."
+ },
+ "secret": {
+ "type": "string",
+ "description": "The secret password associated with the service principal in plain text."
+ }
+ },
+ "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs.",
+ "required": [
+ "clientId"
+ ]
+ },
+ "ContainerServiceMasterProfile": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "enum": [
+ 1,
+ 3,
+ 5
+ ],
+ "x-ms-enum": {
+ "name": "Count",
+ "modelAsString": false
+ },
+ "description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1.",
+ "default": 1
+ },
+ "dnsPrefix": {
+ "type": "string",
+ "description": "DNS prefix to be used to create the FQDN for the master pool."
+ },
+ "vmSize": {
+ "$ref": "#/definitions/ContainerServiceVMSize",
+ "description": "Size of agent VMs."
+ },
+ "osDiskSizeGB": {
+ "$ref": "#/definitions/ContainerServiceOSDisk",
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "vnetSubnetID": {
+ "$ref": "#/definitions/ContainerServiceVnetSubnetID",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "firstConsecutiveStaticIP": {
+ "type": "string",
+ "description": "FirstConsecutiveStaticIP used to specify the first static ip of masters.",
+ "default": "10.240.255.5"
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/ContainerServiceStorageProfile",
+ "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
+ },
+ "fqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN for the master pool."
+ }
+ },
+ "required": [
+ "dnsPrefix",
+ "vmSize"
+ ],
+ "description": "Profile for the container service master."
+ },
+ "ManagedClusterAgentPoolProfileProperties": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 100,
+ "minimum": 1,
+ "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. ",
+ "default": 1
+ },
+ "vmSize": {
+ "$ref": "#/definitions/ContainerServiceVMSize",
+ "description": "Size of agent VMs."
+ },
+ "osDiskSizeGB": {
+ "$ref": "#/definitions/ContainerServiceOSDisk",
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "vnetSubnetID": {
+ "$ref": "#/definitions/ContainerServiceVnetSubnetID",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "maxPods": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of pods that can run on a node."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "maxCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of nodes for auto-scaling"
+ },
+ "minCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum number of nodes for auto-scaling"
+ },
+ "enableAutoScaling": {
+ "type": "boolean",
+ "description": "Whether to enable auto-scaler"
+ },
+ "type": {
+ "$ref": "#/definitions/AgentPoolType",
+ "description": "AgentPoolType represents types of an agent pool"
+ },
+ "orchestratorVersion": {
+ "type": "string",
+ "description": "Version of orchestrator specified when creating the managed cluster."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The current deployment or provisioning state, which only appears in the response."
+ },
+ "availabilityZones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType."
+ },
+ "enableNodePublicIP": {
+ "type": "boolean",
+ "description": "Enable public IP for nodes"
+ },
+ "scaleSetPriority": {
+ "$ref": "#/definitions/ScaleSetPriority",
+ "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular."
+ },
+ "scaleSetEvictionPolicy": {
+ "$ref": "#/definitions/ScaleSetEvictionPolicy",
+ "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Agent pool tags to be persisted on the agent pool virtual machine scale set."
+ },
+ "nodeLabels": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Agent pool node labels to be persisted across all nodes in agent pool."
+ },
+ "nodeTaints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule."
+ }
+ },
+ "required": [
+ "vmSize",
+ "count"
+ ],
+ "description": "Properties for the container service agent pool profile."
+ },
+ "ManagedClusterAgentPoolProfile": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties"
+ },
+ {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Unique name of the agent pool profile in the context of the subscription and resource group.",
+ "pattern": "^[a-z][a-z0-9]{0,11}$"
+ }
+ }
+ }
+ ],
+ "required": [
+ "name"
+ ],
+ "description": "Profile for the container service agent pool."
+ },
+ "AgentPoolType": {
+ "type": "string",
+ "enum": [
+ "VirtualMachineScaleSets",
+ "AvailabilitySet"
+ ],
+ "x-ms-enum": {
+ "name": "AgentPoolType",
+ "modelAsString": true
+ },
+ "description": "AgentPoolType represents types of an agent pool."
+ },
+ "AgentPoolListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AgentPool"
+ },
+ "description": "The list of agent pools."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of agent pool results.",
+ "readOnly": true
+ }
+ },
+ "description": "The response from the List Agent Pools operation."
+ },
+ "AgentPool": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "Properties of an agent pool.",
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ ],
+ "description": "Agent Pool."
+ },
+ "ManagedClusterWindowsProfile": {
+ "properties": {
+ "adminUsername": {
+ "type": "string",
+ "description": "The administrator username to use for Windows VMs.",
+ "pattern": "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"
+ },
+ "adminPassword": {
+ "type": "string",
+ "description": "The administrator password to use for Windows VMs.",
+ "pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"
+ }
+ },
+ "required": [
+ "adminUsername"
+ ],
+ "description": "Profile for Windows VMs in the container service cluster."
+ },
+ "ContainerServiceLinuxProfile": {
+ "properties": {
+ "adminUsername": {
+ "type": "string",
+ "description": "The administrator username to use for Linux VMs.",
+ "pattern": "^[A-Za-z][-A-Za-z0-9_]*$"
+ },
+ "ssh": {
+ "$ref": "#/definitions/ContainerServiceSshConfiguration",
+ "description": "SSH configuration for Linux-based VMs running on Azure."
+ }
+ },
+ "required": [
+ "adminUsername",
+ "ssh"
+ ],
+ "description": "Profile for Linux VMs in the container service cluster."
+ },
+ "ContainerServiceNetworkProfile": {
+ "properties": {
+ "networkPlugin": {
+ "type": "string",
+ "enum": [
+ "azure",
+ "kubenet"
+ ],
+ "default": "kubenet",
+ "x-ms-enum": {
+ "name": "NetworkPlugin",
+ "modelAsString": true
+ },
+ "description": "Network plugin used for building Kubernetes network."
+ },
+ "networkPolicy": {
+ "type": "string",
+ "enum": [
+ "calico",
+ "azure"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkPolicy",
+ "modelAsString": true
+ },
+ "description": "Network policy used for building Kubernetes network."
+ },
+ "podCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "10.244.0.0/16",
+ "description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used."
+ },
+ "serviceCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "10.0.0.0/16",
+ "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges."
+ },
+ "dnsServiceIP": {
+ "type": "string",
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "default": "10.0.0.10",
+ "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr."
+ },
+ "dockerBridgeCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "172.17.0.1/16",
+ "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range."
+ },
+ "outboundType": {
+ "type": "string",
+ "enum": [
+ "loadBalancer",
+ "userDefinedRouting"
+ ],
+ "x-ms-enum": {
+ "name": "outboundType",
+ "modelAsString": true
+ },
+ "default": "loadBalancer",
+ "description": "The outbound (egress) routing method."
+ },
+ "loadBalancerSku": {
+ "type": "string",
+ "enum": [
+ "standard",
+ "basic"
+ ],
+ "x-ms-enum": {
+ "name": "loadBalancerSku",
+ "modelAsString": true
+ },
+ "description": "The load balancer sku for the managed cluster."
+ },
+ "loadBalancerProfile": {
+ "$ref": "#/definitions/ManagedClusterLoadBalancerProfile",
+ "description": "Profile of the cluster load balancer."
+ }
+ },
+ "description": "Profile of network configuration."
+ },
+ "ManagedClusterLoadBalancerProfile": {
+ "properties": {
+ "managedOutboundIPs": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 100,
+ "minimum": 1,
+ "description": "Desired number of outbound IP created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. ",
+ "default": 1
+ }
+ },
+ "description": "Desired managed outbound IPs for the cluster load balancer."
+ },
+ "outboundIPPrefixes": {
+ "properties": {
+ "publicIPPrefixes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "A list of public IP prefix resources."
+ }
+ },
+ "description": "Desired outbound IP Prefix resources for the cluster load balancer."
+ },
+ "outboundIPs": {
+ "properties": {
+ "publicIPs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "A list of public IP resources."
+ }
+ },
+ "description": "Desired outbound IP resources for the cluster load balancer."
+ },
+ "effectiveOutboundIPs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "The effective outbound IP resources of the cluster load balancer."
+ },
+ "allocatedOutboundPorts": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 64000,
+ "minimum": 0,
+ "description": "Desired number of allocated SNAT ports per VM. Allowed values must be in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports.",
+ "default": 0
+ },
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 120,
+ "minimum": 4,
+ "description": "Desired outbound flow idle timeout in minutes. Allowed values must be in the range of 4 to 120 (inclusive). The default value is 30 minutes.",
+ "default": 30
+ }
+ },
+ "description": "Profile of the managed cluster load balancer."
+ },
+ "ResourceReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified Azure resource id."
+ }
+ },
+ "description": "A reference to an Azure resource."
+ },
+ "ContainerServiceSshConfiguration": {
+ "properties": {
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerServiceSshPublicKey"
+ },
+ "description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified."
+ }
+ },
+ "description": "SSH configuration for Linux-based VMs running on Azure.",
+ "required": [
+ "publicKeys"
+ ]
+ },
+ "ContainerServiceSshPublicKey": {
+ "properties": {
+ "keyData": {
+ "type": "string",
+ "description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
+ }
+ },
+ "required": [
+ "keyData"
+ ],
+ "description": "Contains information about SSH certificate public key data."
+ },
+ "ContainerServiceDiagnosticsProfile": {
+ "properties": {
+ "vmDiagnostics": {
+ "$ref": "#/definitions/ContainerServiceVMDiagnostics",
+ "description": "Profile for diagnostics on the container service VMs."
+ }
+ },
+ "description": "Profile for diagnostics on the container service cluster.",
+ "required": [
+ "vmDiagnostics"
+ ]
+ },
+ "ContainerServiceVMDiagnostics": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether the VM diagnostic agent is provisioned on the VM."
+ },
+ "storageUri": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI of the storage account where diagnostics are stored."
+ }
+ },
+ "description": "Profile for diagnostics on the container service VMs.",
+ "required": [
+ "enabled"
+ ]
+ },
+ "ManagedClusterListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedCluster"
+ },
+ "description": "The list of managed clusters."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of managed cluster results.",
+ "readOnly": true
+ }
+ },
+ "description": "The response from the List Managed Clusters operation."
+ },
+ "ManagedCluster": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "Properties of a managed cluster.",
+ "$ref": "#/definitions/ManagedClusterProperties",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "$ref": "#/definitions/ManagedClusterIdentity",
+ "description": "The identity of the managed cluster, if configured."
+ }
+ }
+ }
+ ],
+ "description": "Managed cluster."
+ },
+ "ManagedClusterProperties": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The current deployment or provisioning state, which only appears in the response."
+ },
+ "maxAgentPools": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The max number of agent pools for the managed cluster."
+ },
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Version of Kubernetes specified when creating the managed cluster."
+ },
+ "dnsPrefix": {
+ "type": "string",
+ "description": "DNS prefix specified when creating the managed cluster."
+ },
+ "fqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN for the master pool."
+ },
+ "privateFQDN": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN of private cluster."
+ },
+ "agentPoolProfiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfile"
+ },
+ "description": "Properties of the agent pool."
+ },
+ "linuxProfile": {
+ "$ref": "#/definitions/ContainerServiceLinuxProfile",
+ "description": "Profile for Linux VMs in the container service cluster."
+ },
+ "windowsProfile": {
+ "$ref": "#/definitions/ManagedClusterWindowsProfile",
+ "description": "Profile for Windows VMs in the container service cluster."
+ },
+ "servicePrincipalProfile": {
+ "$ref": "#/definitions/ManagedClusterServicePrincipalProfile",
+ "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
+ },
+ "addonProfiles": {
+ "additionalProperties": {
+ "$ref": "#/definitions/ManagedClusterAddonProfile"
+ },
+ "description": "Profile of managed cluster add-on."
+ },
+ "nodeResourceGroup": {
+ "type": "string",
+ "description": "Name of the resource group containing agent pool nodes."
+ },
+ "enableRBAC": {
+ "type": "boolean",
+ "description": "Whether to enable Kubernetes Role-Based Access Control."
+ },
+ "enablePodSecurityPolicy": {
+ "type": "boolean",
+ "description": "(PREVIEW) Whether to enable Kubernetes Pod security policy."
+ },
+ "networkProfile": {
+ "$ref": "#/definitions/ContainerServiceNetworkProfile",
+ "description": "Profile of network configuration."
+ },
+ "aadProfile": {
+ "$ref": "#/definitions/ManagedClusterAADProfile",
+ "description": "Profile of Azure Active Directory configuration."
+ },
+ "apiServerAccessProfile": {
+ "$ref": "#/definitions/ManagedClusterAPIServerAccessProfile",
+ "description": "Access profile for managed cluster API server."
+ },
+ "identityProfile": {
+ "additionalProperties": {
+ "readOnly": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/UserAssignedIdentity"
+ }
+ ]
+ },
+ "description": "Identities associated with the cluster."
+ }
+ },
+ "description": "Properties of the managed cluster."
+ },
+ "ManagedClusterAPIServerAccessProfile": {
+ "properties": {
+ "authorizedIPRanges": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Authorized IP Ranges to kubernetes API server."
+ },
+ "enablePrivateCluster": {
+ "type": "boolean",
+ "description": "Whether to create the cluster as a private cluster or not."
+ }
+ },
+ "description": "Access profile for managed cluster API server."
+ },
+ "ManagedClusterIdentity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of the system assigned identity which is used by master components."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant id of the system assigned identity which is used by master components."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly created identity in master components and an auto-created user assigned identity in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service principal will be used instead.",
+ "enum": [
+ "SystemAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Identity for the managed cluster."
+ },
+ "UserAssignedIdentity": {
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "description": "The resource id of the user assigned identity."
+ },
+ "clientId": {
+ "type": "string",
+ "description": "The client id of the user assigned identity."
+ },
+ "objectId": {
+ "type": "string",
+ "description": "The object id of the user assigned identity."
+ }
+ }
+ },
+ "ManagedClusterAccessProfile": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "AccessProfile of a managed cluster.",
+ "$ref": "#/definitions/AccessProfile",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ ],
+ "description": "Managed cluster Access Profile.",
+ "x-ms-azure-resource": false
+ },
+ "AccessProfile": {
+ "type": "object",
+ "properties": {
+ "kubeConfig": {
+ "type": "string",
+ "format": "byte",
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "Profile for enabling a user to access a managed cluster."
+ },
+ "ManagedClusterPoolUpgradeProfile": {
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "name": {
+ "type": "string",
+ "description": "Pool name."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "ContainerServiceOSTypes",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "upgrades": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of orchestrator types and versions available for upgrade."
+ }
+ },
+ "required": [
+ "kubernetesVersion",
+ "osType"
+ ],
+ "description": "The list of available upgrade versions."
+ },
+ "ManagedClusterUpgradeProfileProperties": {
+ "properties": {
+ "controlPlaneProfile": {
+ "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile",
+ "description": "The list of available upgrade versions for the control plane."
+ },
+ "agentPoolProfiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile"
+ },
+ "description": "The list of available upgrade versions for agent pools."
+ }
+ },
+ "required": [
+ "controlPlaneProfile",
+ "agentPoolProfiles"
+ ],
+ "description": "Control plane and agent pool upgrade profiles."
+ },
+ "ManagedClusterAADProfile": {
+ "properties": {
+ "clientAppID": {
+ "type": "string",
+ "description": "The client AAD application ID."
+ },
+ "serverAppID": {
+ "type": "string",
+ "description": "The server AAD application ID."
+ },
+ "serverAppSecret": {
+ "type": "string",
+ "description": "The server AAD application secret."
+ },
+ "tenantID": {
+ "type": "string",
+ "description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription."
+ }
+ },
+ "required": [
+ "clientAppID",
+ "serverAppID"
+ ],
+ "description": "AADProfile specifies attributes for Azure Active Directory integration."
+ },
+ "ManagedClusterAddonProfile": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether the add-on is enabled or not."
+ },
+ "config": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value pairs for configuring an add-on."
+ },
+ "identity": {
+ "readOnly": true,
+ "description": "Information of user assigned identity used by this add-on.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UserAssignedIdentity"
+ }
+ ]
+ }
+ },
+ "required": [
+ "enabled"
+ ],
+ "description": "A Kubernetes add-on profile for a managed cluster."
+ },
+ "ManagedClusterUpgradeProfile": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of upgrade profile."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of upgrade profile."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of upgrade profile."
+ },
+ "properties": {
+ "$ref": "#/definitions/ManagedClusterUpgradeProfileProperties",
+ "description": "Properties of upgrade profile.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available upgrades for compute pools."
+ },
+ "AgentPoolUpgradeProfile": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of the agent pool upgrade profile."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the agent pool upgrade profile."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the agent pool upgrade profile."
+ },
+ "properties": {
+ "$ref": "#/definitions/AgentPoolUpgradeProfileProperties",
+ "description": "Properties of agent pool upgrade profile.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available upgrades for an agent pool."
+ },
+ "AgentPoolUpgradeProfileProperties": {
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "ContainerServiceOSTypes",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "upgrades": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of orchestrator types and versions available for upgrade."
+ }
+ },
+ "required": [
+ "kubernetesVersion",
+ "osType"
+ ],
+ "description": "The list of available upgrade versions."
+ },
+ "AgentPoolAvailableVersions": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of the agent pool available versions."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the agent pool available versions."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the agent pool available versions."
+ },
+ "properties": {
+ "$ref": "#/definitions/AgentPoolAvailableVersionsProperties",
+ "description": "Properties of agent pool available versions.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available versions for an agent pool."
+ },
+ "AgentPoolAvailableVersionsProperties": {
+ "properties": {
+ "agentPoolVersions": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "default": {
+ "type": "boolean",
+ "description": "Whether this version is the default agent pool version."
+ },
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of versions available for agent pool."
+ }
+ },
+ "description": "The list of available agent pool versions."
+ },
+ "OSType": {
+ "type": "string",
+ "default": "Linux",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "ScaleSetPriority": {
+ "type": "string",
+ "default": "Regular",
+ "enum": [
+ "Low",
+ "Regular"
+ ],
+ "x-ms-enum": {
+ "name": "ScaleSetPriority",
+ "modelAsString": true
+ },
+ "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular."
+ },
+ "ScaleSetEvictionPolicy": {
+ "type": "string",
+ "default": "Delete",
+ "enum": [
+ "Delete",
+ "Deallocate"
+ ],
+ "x-ms-enum": {
+ "name": "ScaleSetEvictionPolicy",
+ "modelAsString": true
+ },
+ "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete."
+ },
+ "CredentialResults": {
+ "properties": {
+ "kubeconfigs": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/CredentialResult"
+ },
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "The list of credential result response."
+ },
+ "CredentialResult": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the credential."
+ },
+ "value": {
+ "type": "string",
+ "format": "byte",
+ "readOnly": true,
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "The credential result response."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody",
+ "description": "Details about the error."
+ }
+ },
+ "description": "An error response from the Container service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Container service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version.",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceNameParameter": {
+ "name": "resourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 63,
+ "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$",
+ "description": "The name of the managed cluster resource.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index d38e96683f60..99c37642f9cb 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -34,9 +34,21 @@ These are the global settings for the ContainerServices API.
``` yaml
openapi-type: arm
-tag: package-2019-10
+tag: package-2019-11
```
+
+### Tag: package-2019-11
+
+These settings apply only when `--tag=package-2019-11` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-11'
+input-file:
+ - Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
+ - Microsoft.ContainerService/stable/2017-07-01/containerService.json
+ - Microsoft.ContainerService/stable/2019-08-01/location.json
+ - Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
+```
### Tag: package-2019-09-30-preview
These settings apply only when `--tag=package-2019-09-30-preview` is specified on the command line.
@@ -49,18 +61,18 @@ input-file:
- Microsoft.ContainerService/stable/2019-08-01/location.json
```
-
### Tag: package-2019-10
These settings apply only when `--tag=package-2019-10` is specified on the command line.
-```yaml $(tag) == 'package-2019-10'
+``` yaml $(tag) == 'package-2019-10'
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
```
+
### Tag: package-2019-08
These settings apply only when `--tag=package-2019-08` is specified on the command line.
From 11c297cb58c163a1bcc0f9aa8d0d0ec28b7bf2b2 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Thu, 12 Dec 2019 01:55:41 +0000
Subject: [PATCH 077/469] regenerated all-api-versions
---
specification/containerservice/resource-manager/readme.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index 99c37642f9cb..8406f3b8a2d0 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -406,11 +406,12 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- - $(this-folder)/Microsoft.ContainerService/preview/2019-09-30/openShiftManagedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2017-07-01/containerService.json
- - $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/location.json
- - $(this-folder)/Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/preview/2019-09-30/openShiftManagedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-06-01/location.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json
From a57bbad5975ad8ad7304d24575ebead6f44157c7 Mon Sep 17 00:00:00 2001
From: Ganesha
Date: Wed, 11 Dec 2019 18:15:21 -0800
Subject: [PATCH 078/469] Dev containerservice microsoft.container service 2019
11 01 readme (#7945)
* add batch tag to go readme
* update readme for 2019-11-01
---
.../containerservice/resource-manager/readme.go.md | 11 +++++++++++
.../resource-manager/readme.java.md | 14 ++++++++++++++
.../containerservice/resource-manager/readme.md | 9 +++++++++
.../resource-manager/readme.python.md | 13 +++++++++++++
4 files changed, 47 insertions(+)
diff --git a/specification/containerservice/resource-manager/readme.go.md b/specification/containerservice/resource-manager/readme.go.md
index e7a22a8c40cd..bfebefd3d5ed 100644
--- a/specification/containerservice/resource-manager/readme.go.md
+++ b/specification/containerservice/resource-manager/readme.go.md
@@ -12,6 +12,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-11
- tag: package-2019-10
- tag: package-2019-08
- tag: package-2019-06
@@ -26,6 +27,16 @@ batch:
- tag: package-2017-07
```
+### Tag: package-2019-11 and go
+
+These settings apply only when `--package-2019-11 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2019-11' && $(go)
+namespace: containerservice
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-11-01/$(namespace)
+```
+
### Tag: package-2019-10 and go
These settings apply only when `--package-2019-10 --go` is specified on the command line.
diff --git a/specification/containerservice/resource-manager/readme.java.md b/specification/containerservice/resource-manager/readme.java.md
index 75f36926433e..51dc3f4eee5a 100644
--- a/specification/containerservice/resource-manager/readme.java.md
+++ b/specification/containerservice/resource-manager/readme.java.md
@@ -19,6 +19,20 @@ batch:
- tag: package-2019-06
- tag: package-2019-08
- tag: package-2019-10
+ - tag: package-2019-11
+```
+
+### Tag: package-2019-11 and java
+
+These settings apply only when `--tag=package-2019-11` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-11' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerservice.v2019_11_01
+ output-folder: $(azure-libraries-for-java-folder)/sdk/containerservice/mgmt-v2019_11_01
+regenerate-manager: true
+generate-interface: true
```
### Tag: package-2019-10 and java
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index 8406f3b8a2d0..944cb86f2c09 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -186,6 +186,15 @@ input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
```
+### Tag: package-2019-11-01-only
+
+These settings apply only when `--tag=package-2019-11-01-only` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-11-01-only'
+input-file:
+- Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
+```
+
### Tag: package-2019-10-01-only
These settings apply only when `--tag=package-2019-10-01-only` is specified on the command line.
diff --git a/specification/containerservice/resource-manager/readme.python.md b/specification/containerservice/resource-manager/readme.python.md
index 0c8ffda066ae..114dc47f8e02 100644
--- a/specification/containerservice/resource-manager/readme.python.md
+++ b/specification/containerservice/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-11-01-only
- tag: package-2019-10-01-only
- tag: package-2019-08-01-only
- tag: package-2019-06-01-only
@@ -30,6 +31,18 @@ batch:
- tag: package-2018-03-only
- tag: package-2017-07-only-extended
```
+
+### Tag: package-2019-11-01-only and python
+
+These settings apply only when `--tag=package-2019-11-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-11-01-only' && $(python)
+python:
+ namespace: azure.mgmt.containerservice.v2019_11_01
+ output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01
+```
+
### Tag: package-2019-10-01-only and python
These settings apply only when `--tag=package-2019-10-01-only --python` is specified on the command line.
From 4918a0c0adfc3e654cc9b285b50e1b42adc4de54 Mon Sep 17 00:00:00 2001
From: Manik Roy
Date: Wed, 11 Dec 2019 18:21:28 -0800
Subject: [PATCH 079/469] Updated documentation for "evictionPolicy" property
for Azure Spot virtual machine and scale sets (#7937)
* Removed link to "x-ms-enum" for evictionPolicy
The evictionPolicy for Azure Spot Virtual Machine and Virtual Machine Scale Sets should have different texts.
* Update compute.json
---
.../Microsoft.Compute/stable/2019-07-01/compute.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index f86e4f015e6a..7438a582cdba 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -7900,7 +7900,7 @@
},
"evictionPolicy": {
"$ref": "#/definitions/evictionPolicy",
- "description": "Specifies the eviction policy for the Azure Spot virtual machine. Only supported value is 'Deallocate'.
Minimum api-version: 2019-03-01"
+ "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, the only supported value is 'Deallocate' and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview."
},
"billingProfile": {
"$ref": "#/definitions/BillingProfile",
@@ -9198,7 +9198,7 @@
},
"evictionPolicy": {
"$ref": "#/definitions/evictionPolicy",
- "description": "Specifies the eviction policy for virtual machines in a Azure Spot scale set.
Minimum api-version: 2017-10-30-preview"
+ "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, the only supported value is 'Deallocate' and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview."
},
"billingProfile": {
"$ref": "#/definitions/BillingProfile",
From 4d1203fe529fbfe54d5cb6dd0e68ea5b1f3df3f5 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Thu, 12 Dec 2019 17:03:22 +0800
Subject: [PATCH 080/469] enable alerts management cli generation (#7955)
---
.../resource-manager/readme.cli.md | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 specification/alertsmanagement/resource-manager/readme.cli.md
diff --git a/specification/alertsmanagement/resource-manager/readme.cli.md b/specification/alertsmanagement/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..045547609823
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/readme.cli.md
@@ -0,0 +1,31 @@
+## CLI
+
+These settings apply only when `--cli` is specified on the command line.
+
+``` yaml $(cli)
+cli:
+ namespace: azure.mgmt.alertsmanagement
+ test-scenario:
+ - name: PutActionRule
+ - name: Create or update a Smart Detector alert rule
+ - name: Get a Smart Detector alert rule
+ - name: GetActionRuleById
+ - name: List alert rules
+ - name: GetActionRulesResourceGroupWide
+ - name: Resolve
+ - name: Get
+ - name: Resolve
+ - name: List Smart Detector alert rules
+ - name: GetById
+ - name: Summary
+ - name: List
+ - name: GetActionRulesSubscriptionWide
+ - name: ListAlerts
+ - name: MonService
+ - name: Patch alert rules
+ - name: PatchActionRule
+ - name: changestate
+ - name: Resolve
+ - name: Delete a Smart Detector alert rule
+ - name: DeleteActionRule
+```
From 28adfecc8c8d9a425451a5b7f6f2688e471a60f4 Mon Sep 17 00:00:00 2001
From: shleiAmy <50385461+shleiAmy@users.noreply.github.com>
Date: Thu, 12 Dec 2019 09:00:16 -0800
Subject: [PATCH 081/469] Add two new APIs to attestation data plane swagger
(#7927)
* Add two new APIs to attestation data plane swagger
* Update Get_MetadataConfiguration.json
* Update Get_Certs.json
* Fix .net SDK auto generation
---
.../2018-09-01-preview/attestation.json | 76 +++++++++++++++++++
.../examples/Get_Certs.json | 36 +++++++++
.../examples/Get_MetadataConfiguration.json | 40 ++++++++++
.../attestation/data-plane/readme.md | 16 ++--
4 files changed, 157 insertions(+), 11 deletions(-)
create mode 100644 specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_Certs.json
create mode 100644 specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_MetadataConfiguration.json
diff --git a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
index 508f140ccc76..ef1c4cb174af 100644
--- a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
+++ b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
@@ -257,6 +257,82 @@
}
}
}
+ },
+ "/certs": {
+ "get": {
+ "tags": [
+ "attestation"
+ ],
+ "summary": "Retrieves the OpenID Configuration data for the Azure Attestation Service",
+ "description": "Retrieves attestation signing keys in use by the attestation service",
+ "operationId": "Certs_Get",
+ "consumes": [
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "type": "object"
+ }
+ },
+ "400": {
+ "description": "Error processing the request",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Reset Policy": {
+ "$ref": "./examples/Get_Certs.json"
+ }
+ }
+ }
+ },
+ "/.well-known/openid-configuration": {
+ "get": {
+ "tags": [
+ "attestation"
+ ],
+ "summary": "Retrieves the OpenID Configuration data for the Azure Attestation Service",
+ "description": "Retrieves metadata about the attestation signing keys in use by the attestation service",
+ "operationId": "MetadataConfiguration_Get",
+ "consumes": [
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "type": "object"
+ }
+ },
+ "400": {
+ "description": "Error processing the request",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Reset Policy": {
+ "$ref": "./examples/Get_MetadataConfiguration.json"
+ }
+ }
+ }
}
},
"definitions": {
diff --git a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_Certs.json b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_Certs.json
new file mode 100644
index 000000000000..4f025f9bb19b
--- /dev/null
+++ b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_Certs.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "tenantBaseUrl": "'https://mytest.attest.azure.net'",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "keys": [
+ {
+ "x5c": [
+ "MIIDazCCAlOgAwIBAgIQR8q7RtYeX6RHhpcFE6HNGDANBgkqhkiG9w0BAQsFADA/MT0wOwYDVQQDEzRodHRwczovL3Rlc3RhdHRlc3RhdGlvbjk5MzQudXMudGVzdC5hdHRlc3QuYXp1cmUubmV0MB4XDTE5MTIxMDAwNDY0OFoXDTIwMTIxMDAwNDY0OFowPzE9MDsGA1UEAxM0aHR0cHM6Ly90ZXN0YXR0ZXN0YXRpb245OTM0LnVzLnRlc3QuYXR0ZXN0LmF6dXJlLm5ldDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2v9qLRt313zyzvF3dbPK6AcVO61RhTpRpnlnttwsGIK9A03Rb2bhJLrNsEOHvAPLgSPQWYNrNoeO/X9f9N2w18oZ9ReUIFOj0L0V/trOTYhJJ42f4zsCFz6iX8klqY1vE29y8YL+beqvjXg/8aLaTgs48I+R0coEuJECNADqIL8TCn+UzP1o2tTiH7EKGEG8qpiWRyC25Yl59EITpKrn78v/VMDF6RWkx5uetYDWBXeHi0l48k1lo38BOVOXhJPJvuCKeTSF1Oew7yTsR1QrVviOsnexOTAPtvINYXkLnDzbguNbTfs5FS3RzV017M7kcL3XC+x4B7HkrpvYKUuzsCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgIEMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFIvByEw07sUvWMMQwiVoU5kDb09eMB8GA1UdIwQYMBaAFIvByEw07sUvWMMQwiVoU5kDb09eMA0GCSqGSIb3DQEBCwUAA4IBAQBM+itN5ZPTA7aRzzfnRNVIoixVrege/jPd5r9caHAQdhdOYy/TOxtpTkxYuP+pvlh/8e3F1zV/72iLjZCUYVQQLTRJ9BenF/AA4YJA2y/48UNHm9c+RauUB/KaxfMUolMQ9rkhGYxMBYhq1N3BitJ0m4WlPVzA0eVf1+UMARocasDUDkfmzAj4MAnee9oIBYOLaHe4La5DrLR7MV5v85rkP5Ed/oqznkyKcDT/OPSE3zwVy18BW6GskeLQ+kaTK/7MZM7nnsHO86Wpvjr4EkZZViupIlj/yQED6vWWnR41mCEN/P3MSoKYK1OQtdyhr0sow+CNSjZxz0ndWj7U6Rq1"
+ ],
+ "kid": "fAFUDjo0GcezSay/DP2z+LcPe4g/yjCUUAg88BXbDGw=",
+ "kty": "RSA"
+ },
+ {
+ "x5c": [
+ "MIIDcDCCAligAwIBAgIQAMxeVti2SRWf2t71dDYmaTANBgkqhkiG9w0BAQsFADA1MTMwMQYDVQQDEypBdHRlc3RhdGlvblNlcnZpY2UtTG9jYWxUZXN0LVJlcG9ydFNpZ25pbmcwHhcNMTkwNDI0MTYwMjUwWhcNMjEwNDI0MTYxMjUwWjA1MTMwMQYDVQQDEypBdHRlc3RhdGlvblNlcnZpY2UtTG9jYWxUZXN0LVJlcG9ydFNpZ25pbmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCww8VBqpnKDXo6W+DJbYOXP3BPIFFQi8XnHC59fIco08l7XLwr6mCY+Zzh9qInAENV7fzRJPt4hluCLoUb1vmTY9VdrvSgR5fX4nALJ4FuCFOeLzsxD+5+jP6L0KOT+Lz/3K5s26QaWv4SCNhEz2vI2ffO31AC5w4qfvV+QTK0pI8t9NoW0Afldd7F0E2UowFLHtwVV4lVBtGszvFiIo4X/NpRkj/8e4/0cQdmFlQFFtP/xKg9XP25EZTHrvsmLHSl3tG1F31Om9qsakkL4plTxaOosn71GzyU6BWIh8ZQgSszyTrY8qw0h8KNAot2v3RQrNVYWAxugYVnHhPspofXAgMBAAGjfDB6MA4GA1UdDwEB/wQEAwIFoDAJBgNVHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAfBgNVHSMEGDAWgBRQCw4UHmsEwWMJKvERNt2nUVnaIDAdBgNVHQ4EFgQUUAsOFB5rBMFjCSrxETbdp1FZ2iAwDQYJKoZIhvcNAQELBQADggEBAJogTjVhZvG85eig5Qkqt72Hpm4YR9d06UYrwo8nQKoRLsOWW01ySOn7phGvb3dxEyXQmTe10U2x1X1gsGFqnXETXGX11oHnDCWtPk4hK+uVI3Uv2qlX1134nUGoicZb2nRicyUSh8+VHY0ZuOmUs95v+HEMIsEM12AbwWZRKB0+MTAW+4cXSR9LTxRm1pwLS+wKd4A2PYi4TLuO6erZBhZ4BbvmsQtdOaulsUJYWvF72fX+jGQF4WS3qiuN4QaI6Tm/ga3Dcgdfd2oBHePTkxLE252zxlKGZ8kx/WdOuVm/1F24e0fC5M67vlFJvq9VB9I+ElMcGponp8REzQamAIU="
+ ],
+ "kid": "81dsh2B8UUKHZ2JXSOQn-VwfQMU",
+ "kty": "RSA"
+ }
+ ]
+ }
+ },
+ "400": {
+ "body": {
+ "error": {
+ "code": "400",
+ "message": "error message"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_MetadataConfiguration.json b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_MetadataConfiguration.json
new file mode 100644
index 000000000000..b02fafa04c45
--- /dev/null
+++ b/specification/attestation/data-plane/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_MetadataConfiguration.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "tenantBaseUrl": "'https://mytest.attest.azure.net'",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "response_types_supported": [
+ "token",
+ "none"
+ ],
+ "id_token_signing_alg_values_supported": [
+ "RS256"
+ ],
+ "revocation_endpoint": "https://mytest.attest.azure.net/revoke",
+ "jwks_uri": "https://mytest.attest.azure.net/certs",
+ "claims_supported": [
+ "is-debuggable",
+ "sgx-mrsigner",
+ "sgx-mrenclave",
+ "product-id",
+ "svn",
+ "tee",
+ "device_id",
+ "component_0_id",
+ "expected_components"
+ ]
+ }
+ },
+ "400": {
+ "body": {
+ "error": {
+ "code": "400",
+ "message": "error message"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/attestation/data-plane/readme.md b/specification/attestation/data-plane/readme.md
index 9e4b36b4fead..1963b714e4da 100644
--- a/specification/attestation/data-plane/readme.md
+++ b/specification/attestation/data-plane/readme.md
@@ -20,19 +20,13 @@ To see additional help and options, run:
## Configuration
Following are the settings for using this specification with [AutoRest](https://aka.ms/autorest) tool to validation and optionally generate SDK.
-### Azure Validator Suppressions
+### Suppression
-Suppressed Rule | Reason
-----------------|--------
-R3023 OperationsAPIImplementation | This is the attestation data plane APIs, this rule is not applicable.
-
-```yaml
-model-validator: true
-semantic-validator: true
-azure-validator: true
+``` yaml
directive:
- suppress:
- - R3023
+ - suppress: R3023
+ from: attestation.json
+ reason: This is the attestation data plane APIs, this rule is not applicable
```
### Basic Information
From 1d10f2292c2b017ce82acc79c2af2939c4066c94 Mon Sep 17 00:00:00 2001
From: LU WU
Date: Thu, 12 Dec 2019 17:27:33 -0800
Subject: [PATCH 082/469] Add encryption in DiskUpdateProperties and
SnapshotUpdateProperties (#7913)
---
.../Microsoft.Compute/stable/2019-07-01/disk.json | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
index 94d5782c31e7..508b04311d46 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
@@ -1515,6 +1515,10 @@
"type": "integer",
"format": "int32",
"description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10."
+ },
+ "encryption": {
+ "$ref": "#/definitions/Encryption",
+ "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys."
}
},
"description": "Disk resource update properties."
@@ -1541,6 +1545,10 @@
"encryptionSettingsCollection": {
"$ref": "#/definitions/EncryptionSettingsCollection",
"description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ },
+ "encryption": {
+ "$ref": "#/definitions/Encryption",
+ "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys."
}
},
"description": "Snapshot resource update properties."
From 0aab60192843361d66519e84a4c46543f5a3df7a Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Fri, 13 Dec 2019 09:57:54 +0800
Subject: [PATCH 083/469] Test update (#7965)
---
.../Microsoft.Batch/stable/2019-08-01/BatchManagement.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
index 116ce7441348..f1c433d1c280 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
@@ -50,7 +50,7 @@
"$ref": "./examples/BatchAccountCreate_BYOS.json"
}
},
- "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
+ "description": "Create a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
From e80fcbe1aeea236377a0a146568789875e2ba844 Mon Sep 17 00:00:00 2001
From: Sornakumar Sundararajan
Date: Tue, 3 Dec 2019 10:31:43 -0800
Subject: [PATCH 084/469] Adding a stable 2019-12-01 API version for licenses.
---
.../2019-06-01-preview/softwareplan.json | 2 +-
.../examples/DeleteHybridUseBenefit.json | 11 +
.../examples/GetAllHybridUseBenefits.json | 29 +
.../GetHybridUseBenefitRevisions.json | 29 +
.../2019-12-01/examples/GetOperations.json | 68 +++
.../examples/GetSingleHybridUseBenefit.json | 25 +
.../examples/PatchHybridUseBenefit.json | 31 +
.../examples/PutHybridUseBenefit.json | 31 +
.../examples/RegisterSubscription.json | 9 +
.../stable/2019-12-01/softwareplan.json | 569 ++++++++++++++++++
.../resource-manager/readme.csharp.md | 4 +-
.../resource-manager/readme.go.md | 9 +
.../softwareplan/resource-manager/readme.md | 14 +
.../resource-manager/readme.ruby.md | 10 +
.../resource-manager/readme.typescript.md | 1 -
15 files changed, 838 insertions(+), 4 deletions(-)
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/DeleteHybridUseBenefit.json
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetAllHybridUseBenefits.json
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetHybridUseBenefitRevisions.json
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetOperations.json
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetSingleHybridUseBenefit.json
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/PatchHybridUseBenefit.json
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/PutHybridUseBenefit.json
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/RegisterSubscription.json
create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/softwareplan.json
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json
index a0318a7406c3..0629b302f888 100644
--- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json
@@ -5,7 +5,7 @@
"title": "Software Plan RP",
"description": "Azure software plans let users create and manage licenses for various software used in Azure.",
"x-ms-code-generation-settings": {
- "name": "softwareplanClient"
+ "name": "SoftwareplanClient"
}
},
"host": "management.azure.com",
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/DeleteHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/DeleteHybridUseBenefit.json
new file mode 100644
index 000000000000..eb57b2bf393c
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/DeleteHybridUseBenefit.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}",
+ "planId": "94f46eda-45f8-493a-8425-251921463a89",
+ "api-version": "2019-12-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetAllHybridUseBenefits.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetAllHybridUseBenefits.json
new file mode 100644
index 000000000000..5959284070b8
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetAllHybridUseBenefits.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}",
+ "api-version": "2019-12-01",
+ "$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/SQL_hostGroup_hostName",
+ "name": "SQL_hostGroup_hostName",
+ "type": "Microsoft.SoftwarePlans/hybridUseBenefits",
+ "sku": {
+ "name": "SQL_Server_EE_AHB"
+ },
+ "etag": 1,
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdDate": "2019-06-05T21:50:07.846Z",
+ "lastUpdatedDate": "2019-06-05T21:50:07.846Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetHybridUseBenefitRevisions.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetHybridUseBenefitRevisions.json
new file mode 100644
index 000000000000..67dce019e227
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetHybridUseBenefitRevisions.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}",
+ "planId": "94f46eda-45f8-493a-8425-251921463a89",
+ "api-version": "2019-12-01"
+ },
+ "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/SQL_{hostGroupName}_{hostName}",
+ "name": "SQL_{hostGroupName}_{hostName}",
+ "type": "Microsoft.SoftwarePlans/hybridUseBenefits",
+ "sku": {
+ "name": "SQL_Server_EE_AHB"
+ },
+ "etag": 1,
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdDate": "2019-06-05T21:50:07.846Z",
+ "lastUpdatedDate": "2019-06-05T21:50:07.846Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetOperations.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetOperations.json
new file mode 100644
index 000000000000..0e122e870b66
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetOperations.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}",
+ "api-version": "2019-12-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.SoftwarePlan/hybridUseBenefits/read",
+ "display": {
+ "provider": "Microsoft Software Plan",
+ "resource": "hybridUseBenefits",
+ "operation": "Get hybrid use benefit",
+ "description": "Read all hybrid use benefits"
+ }
+ },
+ {
+ "name": "Microsoft.SoftwarePlan/hybridUseBenefits/write",
+ "display": {
+ "provider": "Microsoft Software Plan",
+ "resource": "hybridUseBenefits",
+ "operation": "Create hybrid use benefit",
+ "description": "Create a hybrid use benefit"
+ }
+ },
+ {
+ "name": "Microsoft.SoftwarePlan/hybridUseBenefits/action",
+ "display": {
+ "provider": "Microsoft Software Plan",
+ "resource": "hybridUseBenefits",
+ "operation": "Update hybrid use benefit",
+ "description": "Update a hybrid use benefit"
+ }
+ },
+ {
+ "name": "Microsoft.SoftwarePlan/hybridUseBenefits/delete",
+ "display": {
+ "provider": "Microsoft Software Plan",
+ "resource": "hybridUseBenefits",
+ "operation": "Delete hybrid use benefit",
+ "description": "Delete a hybrid use benefit"
+ }
+ },
+ {
+ "name": "Microsoft.SoftwarePlan/hybridUseBenefits/revisions/read",
+ "display": {
+ "provider": "Microsoft Software Plan",
+ "resource": "hybridUseBenefits",
+ "operation": "Get hybrid use benefit",
+ "description": "Read all hybrid use benefit revisions"
+ }
+ },
+ {
+ "name": "Microsoft.SoftwarePlan/register/action",
+ "display": {
+ "provider": "Microsoft Software Plan",
+ "resource": "SoftwarePlan",
+ "operation": "Registers the SoftwarePlan Resource Provider.",
+ "description": "Registers the SoftwarePlan resource provider and enables the creation of SoftwarePlan resources."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetSingleHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetSingleHybridUseBenefit.json
new file mode 100644
index 000000000000..b2d36fc80af1
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/GetSingleHybridUseBenefit.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}",
+ "planId": "94f46eda-45f8-493a-8425-251921463a89",
+ "api-version": "2019-12-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "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": "SQL_Server_EE_AHB"
+ },
+ "etag": 1,
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdDate": "2019-06-05T21:50:07.846Z",
+ "lastUpdatedDate": "2019-06-05T21:50:07.846Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/PatchHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/PatchHybridUseBenefit.json
new file mode 100644
index 000000000000..6dcc643540ed
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/PatchHybridUseBenefit.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}",
+ "planId": "94f46eda-45f8-493a-8425-251921463a89",
+ "api-version": "2019-12-01",
+ "body": {
+ "type": "Microsoft.SoftwarePlan/hybridUseBenefits",
+ "sku": {
+ "name": "SQLBYOLStandardForADH"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "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"
+ },
+ "etag": 1,
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdDate": "2019-06-05T21:50:07.846Z",
+ "lastUpdatedDate": "2019-06-05T21:50:07.846Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/PutHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/PutHybridUseBenefit.json
new file mode 100644
index 000000000000..95d8d8303acd
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/PutHybridUseBenefit.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}",
+ "planId": "94f46eda-45f8-493a-8425-251921463a89",
+ "api-version": "2019-12-01",
+ "body": {
+ "type": "Microsoft.SoftwarePlan/hybridUseBenefits",
+ "sku": {
+ "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/SQL_{hostGroupName}_{hostName}",
+ "name": "SQL_{hostGroupName}_{hostName}",
+ "type": "Microsoft.SoftwarePlans/hybridUseBenefits",
+ "sku": {
+ "name": "SQL_Server_Perpetual"
+ },
+ "etag": 1,
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdDate": "2019-06-05T21:50:07.846Z",
+ "lastUpdatedDate": "2019-06-05T21:50:07.846Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/RegisterSubscription.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/RegisterSubscription.json
new file mode 100644
index 000000000000..3ce9513193d8
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/examples/RegisterSubscription.json
@@ -0,0 +1,9 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01",
+ "subscriptionId": "98df3792-7962-4f18-8be2-d5576f122de3 "
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/softwareplan.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/softwareplan.json
new file mode 100644
index 000000000000..dc407928a5e5
--- /dev/null
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/stable/2019-12-01/softwareplan.json
@@ -0,0 +1,569 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-12-01",
+ "title": "Software Plan RP",
+ "description": "Azure software plans let users create and manage licenses for various software used in Azure.",
+ "x-ms-code-generation-settings": {
+ "name": "SoftwareplanClient"
+ }
+ },
+ "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.SoftwarePlan/register": {
+ "post": {
+ "description": "Register to Microsoft.SoftwarePlan resource provider.",
+ "operationId": "SoftwarePlan_Register",
+ "tags": [
+ "Software plan"
+ ],
+ "x-ms-examples": {
+ "HybridUseBenefitListResult": {
+ "$ref": "./examples/RegisterSubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "OK - Microsoft.SoftwarePlan is registered"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits": {
+ "get": {
+ "description": "Get all hybrid use benefits associated with an ARM resource.",
+ "operationId": "HybridUseBenefit_List",
+ "tags": [
+ "Hybrid use benefits"
+ ],
+ "x-ms-examples": {
+ "HybridUseBenefitListResult": {
+ "$ref": "./examples/GetAllHybridUseBenefits.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Supports applying filter on the type of SKU"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - returns an array of plans at that scope",
+ "schema": {
+ "$ref": "#/definitions/HybridUseBenefitListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}": {
+ "put": {
+ "description": "Create a new hybrid use benefit under a given scope",
+ "operationId": "HybridUseBenefit_Create",
+ "tags": [
+ "Hybrid use benefit"
+ ],
+ "x-ms-examples": {
+ "HybridUseBenefit": {
+ "$ref": "./examples/PutHybridUseBenefit.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/PlanIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/PutBodyParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - returns the plan that is created",
+ "schema": {
+ "$ref": "#/definitions/HybridUseBenefitModel"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/Error"
+ }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates an existing hybrid use benefit",
+ "operationId": "HybridUseBenefit_Update",
+ "tags": [
+ "Hybrid use benefit"
+ ],
+ "x-ms-examples": {
+ "HybridUseBenefit": {
+ "$ref": "./examples/PatchHybridUseBenefit.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/PlanIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/PutBodyParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - successfully updated the given hybrid use benefit",
+ "schema": {
+ "$ref": "#/definitions/HybridUseBenefitModel"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/Error"
+ }
+ }
+ }
+ },
+ "get": {
+ "description": "Gets a given plan ID",
+ "operationId": "HybridUseBenefit_Get",
+ "tags": [
+ "Hybrid use benefit"
+ ],
+ "x-ms-examples": {
+ "HybridUseBenefit": {
+ "$ref": "./examples/GetSingleHybridUseBenefit.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/PlanIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - returns the plan that is created",
+ "schema": {
+ "$ref": "#/definitions/HybridUseBenefitModel"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/Error"
+ }
+ }
+ }
+ },
+ "delete": {
+ "description": "Deletes a given plan ID",
+ "operationId": "HybridUseBenefit_Delete",
+ "tags": [
+ "Hybrid use benefit"
+ ],
+ "x-ms-examples": {
+ "HybridUseBenefit": {
+ "$ref": "./examples/DeleteHybridUseBenefit.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/PlanIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - successfully deleted the given plan"
+ },
+ "204": {
+ "description": "OK - there was no plan to delete"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}/revisions": {
+ "get": {
+ "description": "Gets the version history of a hybrid use benefit",
+ "operationId": "HybridUseBenefitRevision_List",
+ "tags": [
+ "Hybrid use benefit revisions"
+ ],
+ "x-ms-examples": {
+ "HybridUseBenefitRevisionsResponse": {
+ "$ref": "./examples/GetHybridUseBenefitRevisions.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/PlanIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - returns an array of plans ordered by revision",
+ "schema": {
+ "$ref": "#/definitions/HybridUseBenefitListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.SoftwarePlan/operations": {
+ "get": {
+ "summary": "Get operations.",
+ "description": "List all the operations.",
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "GetOperations": {
+ "$ref": "./examples/GetOperations.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "Software plan operations"
+ ],
+ "responses": {
+ "200": {
+ "description": "List all the operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/Error"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Error": {
+ "type": "object",
+ "description": "Error object returned by the RP",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "$ref": "#/definitions/ErrorCode"
+ },
+ "message": {
+ "type": "string",
+ "description": "A user readable error message. Localized based on x-ms-effective-locale header in the request"
+ }
+ }
+ },
+ "ErrorCode": {
+ "type": "string",
+ "description": "Defined error codes to be returned to the client.",
+ "enum": [
+ "InvalidRequestParameter",
+ "MissingRequestParameter"
+ ],
+ "x-ms-enum": {
+ "name": "ErrorCode",
+ "modelAsString": true
+ }
+ },
+ "Sku": {
+ "type": "object",
+ "description": "The SKU to be applied for this resource",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the SKU to be applied"
+ }
+ }
+ },
+ "ProvisioningState": {
+ "type": "string",
+ "description": "Represent the current state of the Reservation.",
+ "enum": [
+ "Succeeded",
+ "Cancelled",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "HybridUseBenefitListResult": {
+ "description": "List of hybrid use benefits",
+ "properties": {
+ "value": {
+ "description": "List of hybrid use benefits",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HybridUseBenefitModel"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Url to get the next page of items."
+ }
+ }
+ },
+ "HybridUseBenefitModel": {
+ "description": "Response on GET of a hybrid use benefit",
+ "required": [
+ "sku"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "sku": {
+ "description": "Hybrid use benefit SKU",
+ "$ref": "#/definitions/Sku"
+ },
+ "etag": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Indicates the revision of the hybrid use benefit",
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Property bag for a hybrid use benefit response",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/HybridUseBenefitProperties"
+ }
+ }
+ },
+ "HybridUseBenefitProperties": {
+ "description": "Hybrid use benefit properties",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state",
+ "$ref": "#/definitions/ProvisioningState",
+ "readOnly": true
+ },
+ "createdDate": {
+ "type": "string",
+ "description": "Created date",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "lastUpdatedDate": {
+ "type": "string",
+ "description": "Last updated date",
+ "format": "date-time",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationList": {
+ "type": "object",
+ "description": "List all the operations.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of all operations",
+ "items": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Url to get the next page of items."
+ }
+ }
+ },
+ "OperationResponse": {
+ "type": "object",
+ "description": "Operation response.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the operation"
+ },
+ "display": {
+ "description": "Display properties for the operation",
+ "$ref": "#/definitions/OperationDisplay"
+ },
+ "origin": {
+ "description": "Origin of the response",
+ "type": "string"
+ }
+ }
+ },
+ "OperationDisplay": {
+ "type": "object",
+ "description": "Display fields for an operation.",
+ "properties": {
+ "provider": {
+ "description": "Resource Provider name",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource that is acted upon",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation to be performed",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the operation",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ScopeParameter": {
+ "name": "scope",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true,
+ "type": "string",
+ "description": "The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now"
+ },
+ "PutBodyParameter": {
+ "name": "body",
+ "in": "body",
+ "x-ms-parameter-location": "method",
+ "required": true,
+ "description": "Request body for creating a hybrid use benefit",
+ "schema": {
+ "$ref": "#/definitions/HybridUseBenefitModel"
+ }
+ },
+ "PlanIdParameter": {
+ "name": "planId",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true,
+ "type": "string",
+ "description": "This is a unique identifier for a plan. Should be a guid."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "x-ms-parameter-location": "client",
+ "required": true,
+ "description": "The api-version to be used by the service",
+ "type": "string"
+ }
+ }
+}
diff --git a/specification/softwareplan/resource-manager/readme.csharp.md b/specification/softwareplan/resource-manager/readme.csharp.md
index 08b9ce90303d..4a02b80293f8 100644
--- a/specification/softwareplan/resource-manager/readme.csharp.md
+++ b/specification/softwareplan/resource-manager/readme.csharp.md
@@ -10,6 +10,6 @@ csharp:
payload-flattening-threshold: 1
clear-output-folder: true
client-side-validation: false
- namespace: Microsoft.SoftwarePlan
- output-folder: $(csharp-sdks-folder)/softwareplan/management/Microsoft.SoftwarePlan/GeneratedProtocol
+ namespace: Microsoft.Azure.Management.SoftwarePlan
+ output-folder: $(csharp-sdks-folder)/softwareplan/Microsoft.Azure.Management.SoftwarePlan/src/Generated
```
diff --git a/specification/softwareplan/resource-manager/readme.go.md b/specification/softwareplan/resource-manager/readme.go.md
index bef5d3527255..42fff5ba2e85 100644
--- a/specification/softwareplan/resource-manager/readme.go.md
+++ b/specification/softwareplan/resource-manager/readme.go.md
@@ -17,3 +17,12 @@ Please also specify `--go-sdks-folder=`.
+
+```yaml $(tag) == 'package-2019-12-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-12-01/$(namespace)
+```
diff --git a/specification/softwareplan/resource-manager/readme.md b/specification/softwareplan/resource-manager/readme.md
index a10b52f0105f..530f263b5d93 100644
--- a/specification/softwareplan/resource-manager/readme.md
+++ b/specification/softwareplan/resource-manager/readme.md
@@ -38,6 +38,20 @@ input-file:
- Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json
```
+``` yaml
+openapi-type: arm
+tag: package-2019-12-01
+```
+
+### Tag: package-2019-12-01
+
+These settings apply only when `--tag=package-2019-12-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-12-01'
+input-file:
+ - Microsoft.SoftwarePlan/stable/2019-12-01/softwareplan.json
+```
+
---
# Code Generation
diff --git a/specification/softwareplan/resource-manager/readme.ruby.md b/specification/softwareplan/resource-manager/readme.ruby.md
index 52724cb7a5a6..595a28e1efac 100644
--- a/specification/softwareplan/resource-manager/readme.ruby.md
+++ b/specification/softwareplan/resource-manager/readme.ruby.md
@@ -17,3 +17,13 @@ Please also specify `--ruby-sdks-folder=`.
+
+```yaml $(tag) == 'package-2019-12-01' && $(ruby)
+namespace: Microsoft.SoftwarePlan
+output-folder: $(ruby-sdks-folder)/softwareplan
+```
\ No newline at end of file
diff --git a/specification/softwareplan/resource-manager/readme.typescript.md b/specification/softwareplan/resource-manager/readme.typescript.md
index f32fe370c9ea..2b3f11033e27 100644
--- a/specification/softwareplan/resource-manager/readme.typescript.md
+++ b/specification/softwareplan/resource-manager/readme.typescript.md
@@ -9,6 +9,5 @@ typescript:
package-name: "@azure/arm-softwareplan"
output-folder: "$(typescript-sdks-folder)/sdk/softwareplan/arm-softwareplan"
clear-output-folder: true
- payload-flattening-threshold: 1
generate-metadata: true
```
From 705c4ff1a275ff15fa37da23b3418c07ecedec0b Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Fri, 13 Dec 2019 02:10:27 +0000
Subject: [PATCH 085/469] regenerated all-api-versions
---
specification/softwareplan/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/softwareplan/resource-manager/readme.md b/specification/softwareplan/resource-manager/readme.md
index 530f263b5d93..6fc4969b1f81 100644
--- a/specification/softwareplan/resource-manager/readme.md
+++ b/specification/softwareplan/resource-manager/readme.md
@@ -116,6 +116,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json
+ - $(this-folder)/Microsoft.SoftwarePlan/stable/2019-12-01/softwareplan.json
```
From 6c03f91f1f332886e1eba7776e0f22158211b874 Mon Sep 17 00:00:00 2001
From: Yang Yuan
Date: Thu, 12 Dec 2019 19:27:54 -0800
Subject: [PATCH 086/469] Add 202 async support for Account operations (#7944)
* Add 202 async support for Account operations
* Update samples
* Fix prettier
---
.../stable/2017-04-18/cognitiveservices.json | 15 +++++++++++++++
.../2017-04-18/examples/CreateAccount.json | 18 ++++++++++++++++++
.../2017-04-18/examples/DeleteAccount.json | 1 +
.../2017-04-18/examples/UpdateAccount.json | 18 ++++++++++++++++++
4 files changed, 52 insertions(+)
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
index 578647611f03..a0d747af107d 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
@@ -86,6 +86,12 @@
"$ref": "#/definitions/CognitiveServicesAccount"
}
},
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/CognitiveServicesAccount"
+ }
+ },
"default": {
"description": "Error response describing why the operation failed",
"schema": {
@@ -146,6 +152,12 @@
"$ref": "#/definitions/CognitiveServicesAccount"
}
},
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/CognitiveServicesAccount"
+ }
+ },
"default": {
"description": "Error response describing why the operation failed. If the resource group *or* resource does not exist, 404 (NotFound) should be returned.",
"schema": {
@@ -194,6 +206,9 @@
"200": {
"description": "A 200 (OK) should be returned if the object exists and was deleted successfully;"
},
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
+ },
"204": {
"description": "a 204 (NoContent) should be used if the resource does not exist and the request is well formed."
},
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CreateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CreateAccount.json
index 0fb6620ac0c8..89c1b013bdd2 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CreateAccount.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CreateAccount.json
@@ -49,6 +49,24 @@
"internalId": "9dc1c5b9bb95486aa63899acdaebd9a0"
}
}
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/felixwa-01/providers/Microsoft.CognitiveServices/accounts/testCreate1",
+ "name": "testCreate1",
+ "type": "Microsoft.CognitiveServices/accounts",
+ "location": "West US",
+ "sku": {
+ "name": "S0"
+ },
+ "kind": "Emotion",
+ "etag": "W/\"datetime'2017-04-10T07%3A57%3A48.4582781Z'\"",
+ "properties": {
+ "endpoint": "https://westus.api.cognitive.microsoft.com/emotion/v1.0",
+ "provisioningState": "Succeeded",
+ "internalId": "9dc1c5b9bb95486aa63899acdaebd9a0"
+ }
+ }
}
}
}
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/DeleteAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/DeleteAccount.json
index ca8c96fbff78..cd0244d1544b 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/DeleteAccount.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/DeleteAccount.json
@@ -7,6 +7,7 @@
},
"responses": {
"200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/UpdateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/UpdateAccount.json
index 5202d73879af..e4ba6c016f26 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/UpdateAccount.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/UpdateAccount.json
@@ -28,6 +28,24 @@
"internalId": "ceebe1e8e40f44e69554c1a759de4cf9"
}
}
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/bvttest/providers/Microsoft.CognitiveServices/accounts/bingSearch",
+ "name": "bingSearch",
+ "type": "Microsoft.CognitiveServices/accounts",
+ "location": "global",
+ "sku": {
+ "name": "S2"
+ },
+ "kind": "Bing.Search",
+ "etag": "W/\"datetime'2017-04-10T07%3A46%3A21.5618831Z'\"",
+ "properties": {
+ "endpoint": "https://api.cognitive.microsoft.com/bing/v5.0",
+ "provisioningState": "Succeeded",
+ "internalId": "ceebe1e8e40f44e69554c1a759de4cf9"
+ }
+ }
}
}
}
From c49b44d0febd631455d0a8768829844089d1ba38 Mon Sep 17 00:00:00 2001
From: Siddique Juman
Date: Thu, 12 Dec 2019 20:00:12 -0800
Subject: [PATCH 087/469] Added new rps (#7960)
---
profile/2019-03-01-hybrid.json | 144 +++++++++++++++++++++++++++++++++
1 file changed, 144 insertions(+)
diff --git a/profile/2019-03-01-hybrid.json b/profile/2019-03-01-hybrid.json
index 004816d295d6..4c18c211609f 100644
--- a/profile/2019-03-01-hybrid.json
+++ b/profile/2019-03-01-hybrid.json
@@ -40,6 +40,26 @@
}
]
},
+ "microsoft.commerce": {
+ "2015-06-01-preview":[
+ {
+ "resourceType": "estimateResourceSpend",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json"
+ },
+ {
+ "resourceType": "operations",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json"
+ },
+ {
+ "resourceType": "subscriberUsageAggregates",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json"
+ },
+ {
+ "resourceType": "usageAggregates",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json"
+ }
+ ]
+ },
"microsoft.compute": {
"2017-12-01": [
{
@@ -114,6 +134,130 @@
}
]
},
+ "microsoft.databoxedge":{
+ "2019-08-01": [
+ {
+ "resourceType": "dataBoxEdgeDevices",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json"
+ },
+ {
+ "resourceType": "dataBoxEdgeDevices/checkNameAvailability",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json"
+ },
+ {
+ "resourceType": "operations",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json"
+ }
+ ]
+ },
+ "microsoft.devices": {
+ "2019-07-01-preview":[
+ {
+ "resourceType": "usages",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "locations",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "locations/quotas",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "locations/skus",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "checkNameAvailability",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "operations",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "operationResults",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "IotHubs",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "backupProviders",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ },
+ {
+ "resourceType": "backupProviders/operationResults",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json"
+ }
+ ]
+ },
+ "microsoft.eventhubs": {
+ "2018-01-01-preview": [
+ {
+ "resourceType": "availableClusterRegions",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json"
+ },
+ {
+ "resourceType": "clusters",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json"
+ },
+ {
+ "resourceType": "locations",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json"
+ },
+ {
+ "resourceType": "locations/clusterOperations",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json"
+ },
+ {
+ "resourceType": "locations/namespaceOperations",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json"
+ },
+ {
+ "resourceType": "namespaces",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json"
+ }
+ ],
+ "2017-04-01": [
+ {
+ "resourceType": "checkNameAvailability",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json"
+ },
+ {
+ "resourceType": "namespaces/authorizationRules",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json"
+ },
+ {
+ "resourceType": "namespaces/eventhubs",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json"
+ },
+ {
+ "resourceType": "namespaces/eventhubs/authorizationRules",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json"
+ },
+ {
+ "resourceType": "namespaces/eventhubs/consumerGroups",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json"
+ },
+ {
+ "resourceType": "operations",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json"
+ },
+ {
+ "resourceType": "sku",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json"
+ }
+ ],
+ "2015-08-01": [
+ {
+ "resourceType": "checkNamespaceAvailability",
+ "path":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json"
+ }
+ ]
+ },
"microsoft.insights": {
"2018-01-01": [
{
From 1d8613da202d6cdbe1b6cd55c7a8cc895bf76e1e Mon Sep 17 00:00:00 2001
From: melmullen <50640763+melmullen@users.noreply.github.com>
Date: Thu, 12 Dec 2019 20:31:47 -0800
Subject: [PATCH 088/469] CostManagement 2019-11-01 (#7958)
---
.../stable/2019-11-01/costmanagement.json | 1478 +++++++++++++++++
.../BillingAccountDimensionsList.json | 45 +
...lingAccountDimensionsListExpandAndTop.json | 59 +
...illingAccountDimensionsListWithFilter.json | 40 +
.../examples/BillingAccountQuery.json | 107 ++
.../examples/BillingAccountQueryGrouping.json | 69 +
.../examples/DepartmentDimensionsList.json | 46 +
.../DepartmentDimensionsListExpandAndTop.json | 60 +
.../DepartmentDimensionsListWithFilter.json | 41 +
.../2019-11-01/examples/DepartmentQuery.json | 108 ++
.../examples/DepartmentQueryGrouping.json | 70 +
.../EnrollmentAccountDimensionsList.json | 46 +
...mentAccountDimensionsListExpandAndTop.json | 60 +
...llmentAccountDimensionsListWithFilter.json | 41 +
.../examples/EnrollmentAccountQuery.json | 108 ++
.../EnrollmentAccountQueryGrouping.json | 77 +
.../examples/ExportByBillingAccount.json | 87 +
.../examples/ExportByDepartment.json | 88 +
.../examples/ExportByEnrollmentAccount.json | 88 +
.../examples/ExportByManagementGroup.json | 87 +
.../examples/ExportByResourceGroup.json | 88 +
.../examples/ExportBySubscription.json | 87 +
.../ExportCreateOrUpdateByBillingAccount.json | 287 ++++
.../ExportCreateOrUpdateByDepartment.json | 288 ++++
...portCreateOrUpdateByEnrollmentAccount.json | 288 ++++
...ExportCreateOrUpdateByManagementGroup.json | 287 ++++
.../ExportCreateOrUpdateByResourceGroup.json | 288 ++++
.../ExportCreateOrUpdateBySubscription.json | 287 ++++
.../ExportDeleteByBillingAccount.json | 11 +
.../examples/ExportDeleteByDepartment.json | 12 +
.../ExportDeleteByEnrollmentAccount.json | 12 +
.../ExportDeleteByManagementGroup.json | 11 +
.../examples/ExportDeleteByResourceGroup.json | 12 +
.../examples/ExportDeleteBySubscription.json | 11 +
.../ExportExecutionByBillingAccount.json | 11 +
.../examples/ExportExecutionByDepartment.json | 12 +
.../ExportExecutionByEnrollmentAccount.json | 12 +
.../ExportExecutionByManagementGroup.json | 11 +
.../ExportExecutionByResourceGroup.json | 12 +
.../ExportExecutionBySubscription.json | 11 +
.../ExportExecutionListByBillingAccount.json | 198 +++
.../ExportExecutionListByDepartment.json | 199 +++
...xportExecutionListByEnrollmentAccount.json | 199 +++
.../ExportExecutionListByManagementGroup.json | 198 +++
.../ExportExecutionListByResourceGroup.json | 199 +++
.../ExportExecutionListBySubscription.json | 198 +++
.../examples/ExportListByBillingAccount.json | 174 ++
.../examples/ExportListByDepartment.json | 175 ++
.../ExportListByEnrollmentAccount.json | 175 ++
.../examples/ExportListByManagementGroup.json | 174 ++
.../examples/ExportListByResourceGroup.json | 175 ++
.../examples/ExportListBySubscription.json | 174 ++
.../MCABillingAccountDimensionsList.json | 45 +
...lingAccountDimensionsListExpandAndTop.json | 59 +
...illingAccountDimensionsListWithFilter.json | 40 +
.../examples/MCABillingAccountQuery.json | 107 ++
.../MCABillingAccountQueryGrouping.json | 69 +
.../MCABillingProfileDimensionsList.json | 46 +
...lingProfileDimensionsListExpandAndTop.json | 60 +
...illingProfileDimensionsListWithFilter.json | 41 +
.../examples/MCABillingProfileQuery.json | 108 ++
.../MCABillingProfileQueryGrouping.json | 70 +
.../examples/MCACustomerDimensionsList.json | 46 +
...MCACustomerDimensionsListExpandAndTop.json | 60 +
.../MCACustomerDimensionsListWithFilter.json | 41 +
.../2019-11-01/examples/MCACustomerQuery.json | 108 ++
.../examples/MCACustomerQueryGrouping.json | 70 +
.../MCAInvoiceSectionDimensionsList.json | 47 +
...oiceSectionDimensionsListExpandAndTop.json | 61 +
...nvoiceSectionDimensionsListWithFilter.json | 42 +
.../examples/MCAInvoiceSectionQuery.json | 109 ++
.../MCAInvoiceSectionQueryGrouping.json | 71 +
.../ManagementGroupDimensionsList.json | 45 +
...gementGroupDimensionsListExpandAndTop.json | 59 +
...nagementGroupDimensionsListWithFilter.json | 40 +
.../examples/ManagementGroupQuery.json | 107 ++
.../ManagementGroupQueryGrouping.json | 76 +
.../examples/ResourceGroupDimensionsList.json | 56 +
.../examples/ResourceGroupQuery.json | 96 ++
.../examples/ResourceGroupQueryGrouping.json | 71 +
.../examples/SubscriptionDimensionsList.json | 58 +
.../examples/SubscriptionQuery.json | 107 ++
.../examples/SubscriptionQueryGrouping.json | 74 +
.../resource-manager/readme.go.md | 8 +
.../resource-manager/readme.md | 12 +-
85 files changed, 9189 insertions(+), 1 deletion(-)
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/costmanagement.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsListExpandAndTop.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsListWithFilter.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsListExpandAndTop.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsListWithFilter.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsListExpandAndTop.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsListWithFilter.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByBillingAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByDepartment.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByEnrollmentAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByManagementGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByResourceGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportBySubscription.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByBillingAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByDepartment.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByEnrollmentAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByManagementGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByResourceGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateBySubscription.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByBillingAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByDepartment.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByEnrollmentAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByManagementGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByResourceGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteBySubscription.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByBillingAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByDepartment.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByEnrollmentAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByManagementGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByResourceGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionBySubscription.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByBillingAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByDepartment.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByEnrollmentAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByManagementGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByResourceGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListBySubscription.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByBillingAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByDepartment.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByEnrollmentAccount.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByManagementGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByResourceGroup.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListBySubscription.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsListExpandAndTop.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsListWithFilter.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsListExpandAndTop.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsListWithFilter.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsListExpandAndTop.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsListWithFilter.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsListExpandAndTop.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsListWithFilter.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsListExpandAndTop.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsListWithFilter.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupQueryGrouping.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionDimensionsList.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionQueryGrouping.json
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/costmanagement.json
new file mode 100644
index 000000000000..ff05dfd68c52
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/costmanagement.json
@@ -0,0 +1,1478 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-11-01",
+ "title": "CostManagementClient"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.CostManagement/dimensions": {
+ "get": {
+ "tags": [
+ "Dimensions"
+ ],
+ "x-ms-odata": "#/definitions/Dimension",
+ "operationId": "Dimensions_List",
+ "description": "Lists the dimensions by the defined scope.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionDimensionsList-Legacy": {
+ "$ref": "./examples/SubscriptionDimensionsList.json"
+ },
+ "ResourceGroupDimensionsList-Legacy": {
+ "$ref": "./examples/ResourceGroupDimensionsList.json"
+ },
+ "ManagementGroupDimensionsList-Legacy": {
+ "$ref": "./examples/ManagementGroupDimensionsList.json"
+ },
+ "ManagementGroupDimensionsListExpandAndTop-Legacy": {
+ "$ref": "./examples/ManagementGroupDimensionsListExpandAndTop.json"
+ },
+ "ManagementGroupDimensionsListWithFilter-Legacy": {
+ "$ref": "./examples/ManagementGroupDimensionsListWithFilter.json"
+ },
+ "DepartmentDimensionsList-Legacy": {
+ "$ref": "./examples/DepartmentDimensionsList.json"
+ },
+ "DepartmentDimensionsListExpandAndTop-Legacy": {
+ "$ref": "./examples/DepartmentDimensionsListExpandAndTop.json"
+ },
+ "DepartmentDimensionsListWithFilter-Legacy": {
+ "$ref": "./examples/DepartmentDimensionsListWithFilter.json"
+ },
+ "EnrollmentAccountDimensionsList-Legacy": {
+ "$ref": "./examples/EnrollmentAccountDimensionsList.json"
+ },
+ "EnrollmentAccountDimensionsListExpandAndTop-Legacy": {
+ "$ref": "./examples/EnrollmentAccountDimensionsListExpandAndTop.json"
+ },
+ "EnrollmentAccountDimensionsListWithFilter-Legacy": {
+ "$ref": "./examples/EnrollmentAccountDimensionsListWithFilter.json"
+ },
+ "BillingAccountDimensionsList-Legacy": {
+ "$ref": "./examples/BillingAccountDimensionsList.json"
+ },
+ "BillingAccountDimensionsListExpandAndTop-Legacy": {
+ "$ref": "./examples/BillingAccountDimensionsListExpandAndTop.json"
+ },
+ "BillingAccountDimensionsListWithFilter-Legacy": {
+ "$ref": "./examples/BillingAccountDimensionsListWithFilter.json"
+ },
+ "BillingAccountDimensionsList-Modern": {
+ "$ref": "./examples/MCABillingAccountDimensionsList.json"
+ },
+ "BillingAccountDimensionsListExpandAndTop-Modern": {
+ "$ref": "./examples/MCABillingAccountDimensionsListExpandAndTop.json"
+ },
+ "BillingAccountDimensionsListWithFilter-Modern": {
+ "$ref": "./examples/MCABillingAccountDimensionsListWithFilter.json"
+ },
+ "BillingProfileDimensionsList-Modern": {
+ "$ref": "./examples/MCABillingProfileDimensionsList.json"
+ },
+ "BillingProfileDimensionsListExpandAndTop-Modern": {
+ "$ref": "./examples/MCABillingProfileDimensionsListExpandAndTop.json"
+ },
+ "BillingProfileDimensionsListWithFilter-Modern": {
+ "$ref": "./examples/MCABillingProfileDimensionsListWithFilter.json"
+ },
+ "InvoiceSectionDimensionsList-Modern": {
+ "$ref": "./examples/MCAInvoiceSectionDimensionsList.json"
+ },
+ "InvoiceSectionDimensionsListExpandAndTop-Modern": {
+ "$ref": "./examples/MCAInvoiceSectionDimensionsListExpandAndTop.json"
+ },
+ "InvoiceSectionDimensionsListWithFilter-Modern": {
+ "$ref": "./examples/MCAInvoiceSectionDimensionsListWithFilter.json"
+ },
+ "CustomerDimensionsList-Modern": {
+ "$ref": "./examples/MCACustomerDimensionsList.json"
+ },
+ "CustomerDimensionsListExpandAndTop-Modern": {
+ "$ref": "./examples/MCACustomerDimensionsListExpandAndTop.json"
+ },
+ "CustomerDimensionsListWithFilter-Modern": {
+ "$ref": "./examples/MCACustomerDimensionsListWithFilter.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeDimensionParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N dimension data.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/DimensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.CostManagement/query": {
+ "post": {
+ "tags": [
+ "Query"
+ ],
+ "operationId": "Query_Usage",
+ "description": "Query the usage data for scope defined.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionQuery-Legacy": {
+ "$ref": "./examples/SubscriptionQuery.json"
+ },
+ "SubscriptionQueryGrouping-Legacy": {
+ "$ref": "./examples/SubscriptionQueryGrouping.json"
+ },
+ "ResourceGroupQuery-Legacy": {
+ "$ref": "./examples/ResourceGroupQuery.json"
+ },
+ "ResourceGroupQueryGrouping-Legacy": {
+ "$ref": "./examples/ResourceGroupQueryGrouping.json"
+ },
+ "BillingAccountQuery-Legacy": {
+ "$ref": "./examples/BillingAccountQuery.json"
+ },
+ "BillingAccountQueryGrouping-Legacy": {
+ "$ref": "./examples/BillingAccountQueryGrouping.json"
+ },
+ "EnrollmentAccountQuery-Legacy": {
+ "$ref": "./examples/EnrollmentAccountQuery.json"
+ },
+ "EnrollmentAccountQueryGrouping-Legacy": {
+ "$ref": "./examples/EnrollmentAccountQueryGrouping.json"
+ },
+ "DepartmentQuery-Legacy": {
+ "$ref": "./examples/DepartmentQuery.json"
+ },
+ "DepartmentQueryGrouping-Legacy": {
+ "$ref": "./examples/DepartmentQueryGrouping.json"
+ },
+ "ManagementGroupQuery-Legacy": {
+ "$ref": "./examples/ManagementGroupQuery.json"
+ },
+ "ManagementGroupQueryGrouping-Legacy": {
+ "$ref": "./examples/ManagementGroupQueryGrouping.json"
+ },
+ "BillingAccountQuery-Modern": {
+ "$ref": "./examples/MCABillingAccountQuery.json"
+ },
+ "BillingAccountQueryGrouping-Modern": {
+ "$ref": "./examples/MCABillingAccountQueryGrouping.json"
+ },
+ "BillingProfileQuery-Modern": {
+ "$ref": "./examples/MCABillingProfileQuery.json"
+ },
+ "BillingProfileQueryGrouping-Modern": {
+ "$ref": "./examples/MCABillingProfileQueryGrouping.json"
+ },
+ "InvoiceSectionQuery-Modern": {
+ "$ref": "./examples/MCAInvoiceSectionQuery.json"
+ },
+ "InvoiceSectionQueryGrouping-Modern": {
+ "$ref": "./examples/MCAInvoiceSectionQueryGrouping.json"
+ },
+ "CustomerQuery-Modern": {
+ "$ref": "./examples/MCACustomerQuery.json"
+ },
+ "CustomerQueryGrouping-Modern": {
+ "$ref": "./examples/MCACustomerQueryGrouping.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/QueryDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Query Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.CostManagement/exports": {
+ "get": {
+ "tags": [
+ "Exports"
+ ],
+ "operationId": "Exports_List",
+ "description": "The operation to list all exports at the given scope.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionExportList": {
+ "$ref": "./examples/ExportListBySubscription.json"
+ },
+ "ResourceGroupExportList": {
+ "$ref": "./examples/ExportListByResourceGroup.json"
+ },
+ "BillingAccountExportList": {
+ "$ref": "./examples/ExportListByBillingAccount.json"
+ },
+ "DepartmentExportList": {
+ "$ref": "./examples/ExportListByDepartment.json"
+ },
+ "EnrollmentAccountExportList": {
+ "$ref": "./examples/ExportListByEnrollmentAccount.json"
+ },
+ "ManagementGroupExportList": {
+ "$ref": "./examples/ExportListByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ExportListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.CostManagement/exports/{exportName}": {
+ "get": {
+ "tags": [
+ "Exports"
+ ],
+ "operationId": "Exports_Get",
+ "description": "The operation to get the export for the defined scope by export name.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionExport": {
+ "$ref": "./examples/ExportBySubscription.json"
+ },
+ "ResourceGroupExport": {
+ "$ref": "./examples/ExportByResourceGroup.json"
+ },
+ "BillingAccountExport": {
+ "$ref": "./examples/ExportByBillingAccount.json"
+ },
+ "DepartmentExport": {
+ "$ref": "./examples/ExportByDepartment.json"
+ },
+ "EnrollmentAccountExport": {
+ "$ref": "./examples/ExportByEnrollmentAccount.json"
+ },
+ "ManagementGroupExport": {
+ "$ref": "./examples/ExportByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/exportNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Export"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Exports"
+ ],
+ "operationId": "Exports_CreateOrUpdate",
+ "description": "The operation to create or update a export. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionCreateOrUpdateExport": {
+ "$ref": "./examples/ExportCreateOrUpdateBySubscription.json"
+ },
+ "ResourceGroupCreateOrUpdateExport": {
+ "$ref": "./examples/ExportCreateOrUpdateByResourceGroup.json"
+ },
+ "BillingAccountCreateOrUpdateExport": {
+ "$ref": "./examples/ExportCreateOrUpdateByBillingAccount.json"
+ },
+ "DepartmentCreateOrUpdateExport": {
+ "$ref": "./examples/ExportCreateOrUpdateByDepartment.json"
+ },
+ "EnrollmentAccountCreateOrUpdateExport": {
+ "$ref": "./examples/ExportCreateOrUpdateByEnrollmentAccount.json"
+ },
+ "ManagementGroupCreateOrUpdateExport": {
+ "$ref": "./examples/ExportCreateOrUpdateByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/exportNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Export"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Export operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Export"
+ }
+ },
+ "201": {
+ "description": "Created.",
+ "schema": {
+ "$ref": "#/definitions/Export"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Exports"
+ ],
+ "operationId": "Exports_Delete",
+ "description": "The operation to delete a export.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionDeleteExport": {
+ "$ref": "./examples/ExportDeleteBySubscription.json"
+ },
+ "ResourceGroupDeleteExport": {
+ "$ref": "./examples/ExportDeleteByResourceGroup.json"
+ },
+ "BillingAccountDeleteExport": {
+ "$ref": "./examples/ExportDeleteByBillingAccount.json"
+ },
+ "EnrollmentAccountDeleteExport": {
+ "$ref": "./examples/ExportDeleteByEnrollmentAccount.json"
+ },
+ "DepartmentDeleteExport": {
+ "$ref": "./examples/ExportDeleteByDepartment.json"
+ },
+ "ManagementGroupDeleteExport": {
+ "$ref": "./examples/ExportDeleteByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/exportNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.CostManagement/exports/{exportName}/run": {
+ "post": {
+ "tags": [
+ "Exports"
+ ],
+ "operationId": "Exports_Execute",
+ "description": "The operation to execute a export.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionExecuteExport": {
+ "$ref": "./examples/ExportExecutionBySubscription.json"
+ },
+ "ResourceGroupExecuteExport": {
+ "$ref": "./examples/ExportExecutionByResourceGroup.json"
+ },
+ "BillingAccountExecuteExport": {
+ "$ref": "./examples/ExportExecutionByBillingAccount.json"
+ },
+ "DepartmentExecuteExport": {
+ "$ref": "./examples/ExportExecutionByDepartment.json"
+ },
+ "EnrollmentAccountExecuteExport": {
+ "$ref": "./examples/ExportExecutionByEnrollmentAccount.json"
+ },
+ "ManagementGroupExecuteExport": {
+ "$ref": "./examples/ExportExecutionByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/exportNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.CostManagement/exports/{exportName}/runHistory": {
+ "get": {
+ "tags": [
+ "Exports"
+ ],
+ "operationId": "Exports_GetExecutionHistory",
+ "description": "The operation to get the execution history of an export for the defined scope by export name.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionExecutionHistoryExport": {
+ "$ref": "./examples/ExportExecutionListBySubscription.json"
+ },
+ "ResourceGroupExecutionHistoryExport": {
+ "$ref": "./examples/ExportExecutionListByResourceGroup.json"
+ },
+ "BillingAccountExecutionHistoryExport": {
+ "$ref": "./examples/ExportExecutionListByBillingAccount.json"
+ },
+ "DepartmentExecutionHistoryExport": {
+ "$ref": "./examples/ExportExecutionListByDepartment.json"
+ },
+ "EnrollmentAccountExecutionHistoryExport": {
+ "$ref": "./examples/ExportExecutionListByEnrollmentAccount.json"
+ },
+ "ManagementGroupExecutionHistoryExport": {
+ "$ref": "./examples/ExportExecutionListByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/exportNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ExportExecutionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Lists all of the available cost management REST API operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorDetails": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The details of the error.",
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "tags": {
+ "readOnly": true,
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "DimensionsListResult": {
+ "description": "Result of listing dimensions. It contains a list of available dimensions.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of dimensions.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Dimension"
+ }
+ }
+ }
+ },
+ "Dimension": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DimensionProperties",
+ "title": "Dimension properties"
+ }
+ }
+ },
+ "DimensionProperties": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "Dimension description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "filterEnabled": {
+ "description": "Filter enabled.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "groupingEnabled": {
+ "description": "Grouping enabled.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "data": {
+ "type": "array",
+ "items": {
+ "description": "Dimension data item.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "total": {
+ "description": "Total number of data for the dimension.",
+ "format": "int32",
+ "type": "integer",
+ "readOnly": true
+ },
+ "category": {
+ "description": "Dimension category.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "Usage start.",
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": "Usage end.",
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "QueryResult": {
+ "description": "Result of query. It contains all columns listed under groupings and aggregation.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/QueryProperties",
+ "title": "Query properties"
+ }
+ }
+ },
+ "QueryProperties": {
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string"
+ },
+ "columns": {
+ "description": "Array of columns",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QueryColumn"
+ }
+ },
+ "rows": {
+ "description": "Array of rows",
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {}
+ }
+ }
+ }
+ },
+ "QueryColumn": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of column.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of column.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of listing cost management operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "description": "List of cost management operations supported by the Microsoft.CostManagement resource provider.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Operation": {
+ "description": "A Cost management REST API operation.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.CostManagement.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Dimensions, Query.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+ },
+ "QueryDefinition": {
+ "description": "The definition of a query.",
+ "properties": {
+ "type": {
+ "description": "The type of the query.",
+ "type": "string",
+ "enum": [
+ "Usage",
+ "ActualCost",
+ "AmortizedCost"
+ ],
+ "x-ms-enum": {
+ "name": "ExportType",
+ "modelAsString": true
+ }
+ },
+ "timeframe": {
+ "description": "The time frame for pulling data for the query. If custom, then a specific time period must be provided.",
+ "type": "string",
+ "enum": [
+ "MonthToDate",
+ "BillingMonthToDate",
+ "TheLastMonth",
+ "TheLastBillingMonth",
+ "WeekToDate",
+ "Custom"
+ ],
+ "x-ms-enum": {
+ "name": "TimeframeType",
+ "modelAsString": true
+ }
+ },
+ "timePeriod": {
+ "description": "Has time period for pulling data for the query.",
+ "$ref": "#/definitions/QueryTimePeriod"
+ },
+ "dataset": {
+ "description": "Has definition for data in this query.",
+ "$ref": "#/definitions/QueryDataset"
+ }
+ },
+ "required": [
+ "type",
+ "timeframe"
+ ]
+ },
+ "QueryTimePeriod": {
+ "description": "The start and end date for pulling data for the query.",
+ "properties": {
+ "from": {
+ "description": "The start date to pull data from.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "to": {
+ "description": "The end date to pull data to.",
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ]
+ },
+ "QueryDataset": {
+ "description": "The definition of data present in the query.",
+ "properties": {
+ "granularity": {
+ "description": "The granularity of rows in the query.",
+ "type": "string",
+ "enum": [
+ "Daily"
+ ],
+ "x-ms-enum": {
+ "name": "GranularityType",
+ "modelAsString": true
+ }
+ },
+ "configuration": {
+ "description": "Has configuration information for the data in the export. The configuration will be ignored if aggregation and grouping are provided.",
+ "$ref": "#/definitions/QueryDatasetConfiguration"
+ },
+ "aggregation": {
+ "type": "object",
+ "description": "Dictionary of aggregation expression to use in the query. The key of each item in the dictionary is the alias for the aggregated column. Query can have up to 2 aggregation clauses.",
+ "additionalProperties": {
+ "type": "object",
+ "$ref": "#/definitions/QueryAggregation"
+ },
+ "maxItems": 2
+ },
+ "grouping": {
+ "description": "Array of group by expression to use in the query. Query can have up to 2 group by clauses.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QueryGrouping"
+ },
+ "maxItems": 2
+ },
+ "filter": {
+ "type": "object",
+ "description": "Has filter expression to use in the query.",
+ "$ref": "#/definitions/QueryFilter"
+ }
+ }
+ },
+ "QueryDatasetConfiguration": {
+ "description": "The configuration of dataset in the query.",
+ "properties": {
+ "columns": {
+ "description": "Array of column names to be included in the query. Any valid query column name is allowed. If not provided, then query includes all columns.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "QueryAggregation": {
+ "description": "The aggregation expression to be used in the query.",
+ "properties": {
+ "name": {
+ "description": "The name of the column to aggregate.",
+ "type": "string"
+ },
+ "function": {
+ "description": "The name of the aggregation function to use.",
+ "type": "string",
+ "enum": [
+ "Sum"
+ ],
+ "x-ms-enum": {
+ "name": "FunctionType",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name",
+ "function"
+ ]
+ },
+ "QueryGrouping": {
+ "description": "The group by expression to be used in the query.",
+ "properties": {
+ "type": {
+ "description": "Has type of the column to group.",
+ "$ref": "#/definitions/QueryColumnType"
+ },
+ "name": {
+ "description": "The name of the column to group.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name"
+ ]
+ },
+ "QueryFilter": {
+ "description": "The filter expression to be used in the export.",
+ "properties": {
+ "and": {
+ "description": "The logical \"AND\" expression. Must have at least 2 items.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QueryFilter"
+ },
+ "minItems": 2
+ },
+ "or": {
+ "description": "The logical \"OR\" expression. Must have at least 2 items.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QueryFilter"
+ },
+ "minItems": 2
+ },
+ "not": {
+ "description": "The logical \"NOT\" expression.",
+ "$ref": "#/definitions/QueryFilter"
+ },
+ "dimension": {
+ "description": "Has comparison expression for a dimension",
+ "$ref": "#/definitions/QueryComparisonExpression"
+ },
+ "tag": {
+ "description": "Has comparison expression for a tag",
+ "$ref": "#/definitions/QueryComparisonExpression"
+ }
+ }
+ },
+ "QueryColumnType": {
+ "description": "The type of the column in the export.",
+ "type": "string",
+ "enum": [
+ "Tag",
+ "Dimension"
+ ],
+ "x-ms-enum": {
+ "name": "QueryColumnType",
+ "modelAsString": true
+ }
+ },
+ "QueryComparisonExpression": {
+ "description": "The comparison expression to be used in the query.",
+ "properties": {
+ "name": {
+ "description": "The name of the column to use in comparison.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "The operator to use for comparison.",
+ "type": "string",
+ "enum": [
+ "In"
+ ],
+ "x-ms-enum": {
+ "name": "OperatorType",
+ "modelAsString": true
+ }
+ },
+ "values": {
+ "description": "Array of values to use for comparison",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1
+ }
+ },
+ "required": [
+ "name",
+ "operator",
+ "values"
+ ]
+ },
+ "ExportListResult": {
+ "description": "Result of listing exports. It contains a list of available exports in the scope provided.",
+ "properties": {
+ "value": {
+ "description": "The list of exports.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Export"
+ }
+ }
+ }
+ },
+ "Export": {
+ "description": "A export resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExportProperties",
+ "title": "Export properties"
+ }
+ }
+ },
+ "ExportProperties": {
+ "description": "The properties of the export.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CommonExportProperties"
+ }
+ ],
+ "properties": {
+ "schedule": {
+ "description": "Has schedule information for the export.",
+ "$ref": "#/definitions/ExportSchedule"
+ }
+ }
+ },
+ "CommonExportProperties": {
+ "description": "The common properties of the export.",
+ "properties": {
+ "format": {
+ "description": "The format of the export being delivered.",
+ "type": "string",
+ "enum": [
+ "Csv"
+ ],
+ "x-ms-enum": {
+ "name": "FormatType",
+ "modelAsString": true
+ }
+ },
+ "deliveryInfo": {
+ "description": "Has delivery information for the export.",
+ "$ref": "#/definitions/ExportDeliveryInfo"
+ },
+ "definition": {
+ "description": "Has definition for the export.",
+ "$ref": "#/definitions/QueryDefinition"
+ }
+ },
+ "required": [
+ "deliveryInfo",
+ "definition"
+ ]
+ },
+ "ExportSchedule": {
+ "description": "The schedule associated with a export.",
+ "properties": {
+ "status": {
+ "description": "The status of the schedule. Whether active or not. If inactive, the export's scheduled execution is paused.",
+ "type": "string",
+ "enum": [
+ "Active",
+ "Inactive"
+ ],
+ "x-ms-enum": {
+ "name": "StatusType",
+ "modelAsString": true
+ }
+ },
+ "recurrence": {
+ "description": "The schedule recurrence.",
+ "type": "string",
+ "enum": [
+ "Daily",
+ "Weekly",
+ "Monthly",
+ "Annually"
+ ],
+ "x-ms-enum": {
+ "name": "RecurrenceType",
+ "modelAsString": true
+ }
+ },
+ "recurrencePeriod": {
+ "description": "Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.",
+ "$ref": "#/definitions/ExportRecurrencePeriod"
+ }
+ },
+ "required": [
+ "recurrence"
+ ]
+ },
+ "ExportDeliveryInfo": {
+ "description": "The delivery information associated with a export.",
+ "properties": {
+ "destination": {
+ "description": "Has destination for the export being delivered.",
+ "$ref": "#/definitions/ExportDeliveryDestination"
+ }
+ },
+ "required": [
+ "destination"
+ ]
+ },
+ "ExportRecurrencePeriod": {
+ "description": "The start and end date for recurrence schedule.",
+ "properties": {
+ "from": {
+ "description": "The start date of recurrence.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "to": {
+ "description": "The end date of recurrence.",
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "from"
+ ]
+ },
+ "ExportDeliveryDestination": {
+ "description": "The destination information for the delivery of the export. To allow access to a storage account, you must register the account's subscription with the Microsoft.CostManagementExports resource provider. This is required once per subscription. When creating an export in the Azure portal, it is done automatically, however API users need to register the subscription. For more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services .",
+ "properties": {
+ "resourceId": {
+ "description": "The resource id of the storage account where exports will be delivered.",
+ "type": "string"
+ },
+ "container": {
+ "description": "The name of the container where exports will be uploaded.",
+ "type": "string"
+ },
+ "rootFolderPath": {
+ "description": "The name of the directory where exports will be uploaded.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "resourceId",
+ "container"
+ ]
+ },
+ "ExportExecutionListResult": {
+ "description": "Result of listing exports execution history of a export by name",
+ "properties": {
+ "value": {
+ "description": "The list of export executions.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ExportExecution"
+ }
+ }
+ }
+ },
+ "ExportExecution": {
+ "description": "A export execution.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExportExecutionProperties",
+ "title": "Export execution properties"
+ }
+ }
+ },
+ "ExportExecutionProperties": {
+ "description": "The properties of the export execution.",
+ "properties": {
+ "executionType": {
+ "description": "The type of the export execution.",
+ "type": "string",
+ "enum": [
+ "OnDemand",
+ "Scheduled"
+ ],
+ "x-ms-enum": {
+ "name": "ExecutionType",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The status of the export execution.",
+ "type": "string",
+ "enum": [
+ "Queued",
+ "InProgress",
+ "Completed",
+ "Failed",
+ "Timeout",
+ "NewDataNotAvailable",
+ "DataNotAvailable"
+ ],
+ "x-ms-enum": {
+ "name": "ExecutionStatus",
+ "modelAsString": true
+ }
+ },
+ "submittedBy": {
+ "description": "The identifier for the entity that executed the export. For OnDemand executions, it is the email id. For Scheduled executions, it is the constant value - System.",
+ "type": "string"
+ },
+ "submittedTime": {
+ "description": "The time when export was queued to be executed.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "processingStartTime": {
+ "description": "The time when export was picked up to be executed.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "processingEndTime": {
+ "description": "The time when export execution finished.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "fileName": {
+ "description": "The name of the file export got written to.",
+ "type": "string"
+ },
+ "runSettings": {
+ "$ref": "#/definitions/CommonExportProperties"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "scopeDimensionParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with dimension operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeQueryParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with query and export operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. The current version is 2019-11-01."
+ },
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Azure Subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "Azure Resource Group Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "billingAccountIdParameter": {
+ "name": "billingAccountId",
+ "in": "path",
+ "description": "BillingAccount ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "managementGroupIdParameter": {
+ "name": "managementGroupId",
+ "in": "path",
+ "description": "ManagementGroup ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "departmentIdParameter": {
+ "name": "departmentId",
+ "in": "path",
+ "description": "Department ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "enrollmentAccountIdParameter": {
+ "name": "enrollmentAccountId",
+ "in": "path",
+ "description": "Enrollment Account ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "exportNameParameter": {
+ "name": "exportName",
+ "in": "path",
+ "description": "Export Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsList.json
new file mode 100644
index 000000000000..8f2f6f365cb4
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsList.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsListExpandAndTop.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsListExpandAndTop.json
new file mode 100644
index 000000000000..b5521f5bfb68
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsListExpandAndTop.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "providers/Microsoft.Billing/billingAccounts/100"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "thoroetrg01",
+ "default-notificationhubs-westus",
+ "jedikeyvaultrg",
+ "contosocodeflow8d4a",
+ "noobaa"
+ ],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.automation/automationaccounts",
+ "microsoft.databricks/workspaces",
+ "microsoft.dbformysql/servers",
+ "microsoft.containerregistry/registries",
+ "microsoft.search/searchservices"
+ ],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsListWithFilter.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsListWithFilter.json
new file mode 100644
index 000000000000..572606fcd52a
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountDimensionsListWithFilter.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "$expand": "properties/data",
+ "$top": 5,
+ "$filter": "properties/category eq 'resourceId'",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
+ "/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
+ ],
+ "total": 1409,
+ "category": "ResourceId",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true,
+ "nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountQuery.json
new file mode 100644
index 000000000000..80d3082985f3
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountQuery.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "70664866",
+ "scope": "providers/Microsoft.Billing/billingAccounts/70664866",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountQueryGrouping.json
new file mode 100644
index 000000000000..cc666efa60dd
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/BillingAccountQueryGrouping.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "70664866",
+ "scope": "providers/Microsoft.Billing/billingAccounts/70664866",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "None",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsList.json
new file mode 100644
index 000000000000..4aa6dec17440
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsList.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "departmentId": "123",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsListExpandAndTop.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsListExpandAndTop.json
new file mode 100644
index 000000000000..066a3bc16f25
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsListExpandAndTop.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "departmentId": "123",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "thoroetrg01",
+ "default-notificationhubs-westus",
+ "jedikeyvaultrg",
+ "contosocodeflow8d4a",
+ "noobaa"
+ ],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.automation/automationaccounts",
+ "microsoft.databricks/workspaces",
+ "microsoft.dbformysql/servers",
+ "microsoft.containerregistry/registries",
+ "microsoft.search/searchservices"
+ ],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsListWithFilter.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsListWithFilter.json
new file mode 100644
index 000000000000..f486f6e36fa2
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentDimensionsListWithFilter.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "departmentId": "123",
+ "$expand": "properties/data",
+ "$top": 5,
+ "$filter": "properties/category eq 'resourceId'",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
+ "/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
+ ],
+ "total": 1409,
+ "category": "ResourceId",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true,
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentQuery.json
new file mode 100644
index 000000000000..59cd36defe51
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentQuery.json
@@ -0,0 +1,108 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "70664866",
+ "departmentId": "123",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentQueryGrouping.json
new file mode 100644
index 000000000000..27ae96d00be2
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/DepartmentQueryGrouping.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "70664866",
+ "departmentId": "123",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "None",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsList.json
new file mode 100644
index 000000000000..1c23de80068c
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsList.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsListExpandAndTop.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsListExpandAndTop.json
new file mode 100644
index 000000000000..98551eb4e953
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsListExpandAndTop.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "thoroetrg01",
+ "default-notificationhubs-westus",
+ "jedikeyvaultrg",
+ "contosocodeflow8d4a",
+ "noobaa"
+ ],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.automation/automationaccounts",
+ "microsoft.databricks/workspaces",
+ "microsoft.dbformysql/servers",
+ "microsoft.containerregistry/registries",
+ "microsoft.search/searchservices"
+ ],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsListWithFilter.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsListWithFilter.json
new file mode 100644
index 000000000000..7de518cb7769
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountDimensionsListWithFilter.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "$expand": "properties/data",
+ "$top": 5,
+ "$filter": "properties/category eq 'resourceId'",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
+ "/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
+ ],
+ "total": 1409,
+ "category": "ResourceId",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true,
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountQuery.json
new file mode 100644
index 000000000000..d8adb4734eea
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountQuery.json
@@ -0,0 +1,108 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "70664866",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountQueryGrouping.json
new file mode 100644
index 000000000000..34d2421e5a3a
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/EnrollmentAccountQueryGrouping.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "70664866",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "Daily",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByBillingAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByBillingAccount.json
new file mode 100644
index 000000000000..b26f828bc357
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByBillingAccount.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/{billingAccount-Id}/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "UsageDate",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "Contains",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByDepartment.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByDepartment.json
new file mode 100644
index 000000000000..d11ad0ad975b
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByDepartment.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12",
+ "departmentId": "1234",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12/departments/1234",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "UsageDate",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "Contains",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByEnrollmentAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByEnrollmentAccount.json
new file mode 100644
index 000000000000..b0bce06ad682
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByEnrollmentAccount.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "UsageDate",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "Contains",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByManagementGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByManagementGroup.json
new file mode 100644
index 000000000000..1290e445f707
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByManagementGroup.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "TestMG",
+ "scope": "providers/Microsoft.Management/managementGroups/TestMG",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "UsageDate",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "Contains",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByResourceGroup.json
new file mode 100644
index 000000000000..e3beba0c8343
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportByResourceGroup.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "UsageDate",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "Contains",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportBySubscription.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportBySubscription.json
new file mode 100644
index 000000000000..76e5cff1b6fe
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportBySubscription.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "UsageDate",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "Contains",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByBillingAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByBillingAccount.json
new file mode 100644
index 000000000000..aea12dd18fa4
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByBillingAccount.json
@@ -0,0 +1,287 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456",
+ "exportName": "TestExport",
+ "parameters": {
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByDepartment.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByDepartment.json
new file mode 100644
index 000000000000..c16d6e3a1c28
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByDepartment.json
@@ -0,0 +1,288 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12",
+ "departmentId": "1234",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12/departments/1234",
+ "exportName": "TestExport",
+ "parameters": {
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByEnrollmentAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByEnrollmentAccount.json
new file mode 100644
index 000000000000..f77e82a0de3f
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByEnrollmentAccount.json
@@ -0,0 +1,288 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
+ "exportName": "TestExport",
+ "parameters": {
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByManagementGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByManagementGroup.json
new file mode 100644
index 000000000000..af6a151d25f7
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByManagementGroup.json
@@ -0,0 +1,287 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "TestMG",
+ "scope": "providers/Microsoft.Management/managementGroups/TestMG",
+ "exportName": "TestExport",
+ "parameters": {
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByResourceGroup.json
new file mode 100644
index 000000000000..26f5b7029b70
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateByResourceGroup.json
@@ -0,0 +1,288 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG",
+ "exportName": "TestExport",
+ "parameters": {
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateBySubscription.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateBySubscription.json
new file mode 100644
index 000000000000..a9a858270c77
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportCreateOrUpdateBySubscription.json
@@ -0,0 +1,287 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "exportName": "TestExport",
+ "parameters": {
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/TestExport",
+ "name": "TestExport",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ },
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByBillingAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByBillingAccount.json
new file mode 100644
index 000000000000..83c165df44b9
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByBillingAccount.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByDepartment.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByDepartment.json
new file mode 100644
index 000000000000..3ecc3e257800
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByDepartment.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12",
+ "departmentId": "1234",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12/departments/1234",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByEnrollmentAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByEnrollmentAccount.json
new file mode 100644
index 000000000000..8f65eb4822fe
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByEnrollmentAccount.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByManagementGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByManagementGroup.json
new file mode 100644
index 000000000000..a1ed453f872c
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByManagementGroup.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "TestMG",
+ "scope": "providers/Microsoft.Management/managementGroups/TestMG",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByResourceGroup.json
new file mode 100644
index 000000000000..81b2eda0c457
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteByResourceGroup.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteBySubscription.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteBySubscription.json
new file mode 100644
index 000000000000..82f1d8081dc5
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportDeleteBySubscription.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByBillingAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByBillingAccount.json
new file mode 100644
index 000000000000..83c165df44b9
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByBillingAccount.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByDepartment.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByDepartment.json
new file mode 100644
index 000000000000..3ecc3e257800
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByDepartment.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12",
+ "departmentId": "1234",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12/departments/1234",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByEnrollmentAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByEnrollmentAccount.json
new file mode 100644
index 000000000000..8f65eb4822fe
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByEnrollmentAccount.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByManagementGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByManagementGroup.json
new file mode 100644
index 000000000000..a1ed453f872c
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByManagementGroup.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "TestMG",
+ "scope": "providers/Microsoft.Management/managementGroups/TestMG",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByResourceGroup.json
new file mode 100644
index 000000000000..81b2eda0c457
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionByResourceGroup.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionBySubscription.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionBySubscription.json
new file mode 100644
index 000000000000..82f1d8081dc5
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionBySubscription.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByBillingAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByBillingAccount.json
new file mode 100644
index 000000000000..4fb134ee1f8c
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByBillingAccount.json
@@ -0,0 +1,198 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/{billingAccount-id}/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/1e25d58a-a3b0-4916-9542-6e04a89bc100",
+ "properties": {
+ "executionType": "OnDemand",
+ "status": "Completed",
+ "submittedBy": "john.doe@gmail.com",
+ "submittedTime": "2018-08-03T07:52:15.6016681Z",
+ "processingStartTime": "2018-08-03T07:52:16.9123797Z",
+ "processingEndTime": "2018-08-03T07:52:28.0373318Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_1e25d58a-a3b0-4916-9542-6e04a89bc100.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/{billingAccount-id}/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/11ac6811-dca3-46ad-b326-4704cf0c58ef",
+ "properties": {
+ "executionType": "Scheduled",
+ "status": "Completed",
+ "submittedBy": "System",
+ "submittedTime": "2018-08-03T09:03:58.5710244Z",
+ "processingStartTime": "2018-08-03T09:03:58.5710244Z",
+ "processingEndTime": "2018-08-03T09:04:19.7223808Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_11ac6811-dca3-46ad-b326-4704cf0c58ef.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByDepartment.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByDepartment.json
new file mode 100644
index 000000000000..de165f29c5c3
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByDepartment.json
@@ -0,0 +1,199 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12",
+ "departmentId": "1234",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12/departments/1234",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/1e25d58a-a3b0-4916-9542-6e04a89bc100",
+ "properties": {
+ "executionType": "OnDemand",
+ "status": "Completed",
+ "submittedBy": "john.doe@gmail.com",
+ "submittedTime": "2018-08-03T07:52:15.6016681Z",
+ "processingStartTime": "2018-08-03T07:52:16.9123797Z",
+ "processingEndTime": "2018-08-03T07:52:28.0373318Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_1e25d58a-a3b0-4916-9542-6e04a89bc100.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/11ac6811-dca3-46ad-b326-4704cf0c58ef",
+ "properties": {
+ "executionType": "Scheduled",
+ "status": "Completed",
+ "submittedBy": "System",
+ "submittedTime": "2018-08-03T09:03:58.5710244Z",
+ "processingStartTime": "2018-08-03T09:03:58.5710244Z",
+ "processingEndTime": "2018-08-03T09:04:19.7223808Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_11ac6811-dca3-46ad-b326-4704cf0c58ef.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByEnrollmentAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByEnrollmentAccount.json
new file mode 100644
index 000000000000..8128b50e68b2
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByEnrollmentAccount.json
@@ -0,0 +1,199 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/1e25d58a-a3b0-4916-9542-6e04a89bc100",
+ "properties": {
+ "executionType": "OnDemand",
+ "status": "Completed",
+ "submittedBy": "john.doe@gmail.com",
+ "submittedTime": "2018-08-03T07:52:15.6016681Z",
+ "processingStartTime": "2018-08-03T07:52:16.9123797Z",
+ "processingEndTime": "2018-08-03T07:52:28.0373318Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_1e25d58a-a3b0-4916-9542-6e04a89bc100.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/11ac6811-dca3-46ad-b326-4704cf0c58ef",
+ "properties": {
+ "executionType": "Scheduled",
+ "status": "Completed",
+ "submittedBy": "System",
+ "submittedTime": "2018-08-03T09:03:58.5710244Z",
+ "processingStartTime": "2018-08-03T09:03:58.5710244Z",
+ "processingEndTime": "2018-08-03T09:04:19.7223808Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_11ac6811-dca3-46ad-b326-4704cf0c58ef.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByManagementGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByManagementGroup.json
new file mode 100644
index 000000000000..1e9a65bf7174
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByManagementGroup.json
@@ -0,0 +1,198 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "TestMG",
+ "scope": "providers/Microsoft.Management/managementGroups/TestMG",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport/Run/1e25d58a-a3b0-4916-9542-6e04a89bc100",
+ "properties": {
+ "executionType": "OnDemand",
+ "status": "Completed",
+ "submittedBy": "john.doe@gmail.com",
+ "submittedTime": "2018-08-03T07:52:15.6016681Z",
+ "processingStartTime": "2018-08-03T07:52:16.9123797Z",
+ "processingEndTime": "2018-08-03T07:52:28.0373318Z",
+ "fileName": "ScheduledForTestExport/TestExportSchedule/20180729-20180804/TestExportSchedule_1e25d58a-a3b0-4916-9542-6e04a89bc100.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport/Run/11ac6811-dca3-46ad-b326-4704cf0c58ef",
+ "properties": {
+ "executionType": "Scheduled",
+ "status": "Completed",
+ "submittedBy": "System",
+ "submittedTime": "2018-08-03T09:03:58.5710244Z",
+ "processingStartTime": "2018-08-03T09:03:58.5710244Z",
+ "processingEndTime": "2018-08-03T09:04:19.7223808Z",
+ "fileName": "ScheduledForTestExport/TestExportSchedule/20180729-20180804/TestExportSchedule_11ac6811-dca3-46ad-b326-4704cf0c58ef.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByResourceGroup.json
new file mode 100644
index 000000000000..e86174909e1b
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListByResourceGroup.json
@@ -0,0 +1,199 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/1e25d58a-a3b0-4916-9542-6e04a89bc100",
+ "properties": {
+ "executionType": "OnDemand",
+ "status": "Completed",
+ "submittedBy": "john.doe@gmail.com",
+ "submittedTime": "2018-08-03T07:52:15.6016681Z",
+ "processingStartTime": "2018-08-03T07:52:16.9123797Z",
+ "processingEndTime": "2018-08-03T07:52:28.0373318Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_1e25d58a-a3b0-4916-9542-6e04a89bc100.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/11ac6811-dca3-46ad-b326-4704cf0c58ef",
+ "properties": {
+ "executionType": "Scheduled",
+ "status": "Completed",
+ "submittedBy": "System",
+ "submittedTime": "2018-08-03T09:03:58.5710244Z",
+ "processingStartTime": "2018-08-03T09:03:58.5710244Z",
+ "processingEndTime": "2018-08-03T09:04:19.7223808Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_11ac6811-dca3-46ad-b326-4704cf0c58ef.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListBySubscription.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListBySubscription.json
new file mode 100644
index 000000000000..01e75509fc57
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportExecutionListBySubscription.json
@@ -0,0 +1,198 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "exportName": "TestExport"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/1e25d58a-a3b0-4916-9542-6e04a89bc100",
+ "properties": {
+ "executionType": "OnDemand",
+ "status": "Completed",
+ "submittedBy": "john.doe@gmail.com",
+ "submittedTime": "2018-08-03T07:52:15.6016681Z",
+ "processingStartTime": "2018-08-03T07:52:16.9123797Z",
+ "processingEndTime": "2018-08-03T07:52:28.0373318Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_1e25d58a-a3b0-4916-9542-6e04a89bc100.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/JohnDoeSchedule/Run/11ac6811-dca3-46ad-b326-4704cf0c58ef",
+ "properties": {
+ "executionType": "Scheduled",
+ "status": "Completed",
+ "submittedBy": "System",
+ "submittedTime": "2018-08-03T09:03:58.5710244Z",
+ "processingStartTime": "2018-08-03T09:03:58.5710244Z",
+ "processingEndTime": "2018-08-03T09:04:19.7223808Z",
+ "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_11ac6811-dca3-46ad-b326-4704cf0c58ef.csv",
+ "runSettings": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ScheduledTestsForJohnDoe"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByBillingAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByBillingAccount.json
new file mode 100644
index 000000000000..d49ef5d803db
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByBillingAccount.json
@@ -0,0 +1,174 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.CostManagement/exports/TestExport1",
+ "name": "TestExport1",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.CostManagement/exports/TestExport2",
+ "name": "TestExport2",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "WeekToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByDepartment.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByDepartment.json
new file mode 100644
index 000000000000..7da006e80592
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByDepartment.json
@@ -0,0 +1,175 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12",
+ "departmentId": "1234",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12/departments/123"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport1",
+ "name": "TestExport1",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport2",
+ "name": "TestExport2",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "WeekToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByEnrollmentAccount.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByEnrollmentAccount.json
new file mode 100644
index 000000000000..399b2f759670
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByEnrollmentAccount.json
@@ -0,0 +1,175 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "100",
+ "enrollmentAccountId": "456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport1",
+ "name": "TestExport1",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport2",
+ "name": "TestExport2",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "WeekToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByManagementGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByManagementGroup.json
new file mode 100644
index 000000000000..a0d02300d2d9
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByManagementGroup.json
@@ -0,0 +1,174 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "TestMG",
+ "scope": "providers/Microsoft.Management/managementGroups/TestMG"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport1",
+ "name": "TestExport1",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport2",
+ "name": "TestExport2",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "WeekToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByResourceGroup.json
new file mode 100644
index 000000000000..feacef7c6bf0
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListByResourceGroup.json
@@ -0,0 +1,175 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/TestExport1",
+ "name": "TestExport1",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/TestExport2",
+ "name": "TestExport2",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "WeekToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListBySubscription.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListBySubscription.json
new file mode 100644
index 000000000000..813bb6a84f32
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ExportListBySubscription.json
@@ -0,0 +1,174 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/TestExport1",
+ "name": "TestExport1",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "Custom",
+ "timePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ },
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "PreTaxCost"
+ ]
+ },
+ "aggregation": {
+ "costSum": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "SubscriptionName"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/TestExport2",
+ "name": "TestExport2",
+ "type": "Microsoft.CostManagement/exports",
+ "properties": {
+ "schedule": {
+ "status": "Active",
+ "recurrence": "Weekly",
+ "recurrencePeriod": {
+ "from": "2018-06-01T00:00:00Z",
+ "to": "2018-10-31T00:00:00Z"
+ }
+ },
+ "format": "Csv",
+ "deliveryInfo": {
+ "destination": {
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
+ "container": "exports",
+ "rootFolderPath": "ad-hoc"
+ }
+ },
+ "definition": {
+ "type": "Usage",
+ "timeframe": "WeekToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "configuration": {
+ "columns": [
+ "Date",
+ "MeterId",
+ "InstanceId",
+ "ResourceLocation",
+ "UsageQuantity"
+ ]
+ },
+ "aggregation": {
+ "usageSum": {
+ "name": "UsageQuantity",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Tag",
+ "name": "Environment"
+ }
+ ],
+ "filter": {
+ "and": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsList.json
new file mode 100644
index 000000000000..accdaebf5212
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsList.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceType_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsListExpandAndTop.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsListExpandAndTop.json
new file mode 100644
index 000000000000..81839ef51c4e
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsListExpandAndTop.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "thoroetrg01",
+ "default-notificationhubs-westus",
+ "jedikeyvaultrg",
+ "contosocodeflow8d4a",
+ "noobaa"
+ ],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceType_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.automation/automationaccounts",
+ "microsoft.databricks/workspaces",
+ "microsoft.dbformysql/servers",
+ "microsoft.containerregistry/registries",
+ "microsoft.search/searchservices"
+ ],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsListWithFilter.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsListWithFilter.json
new file mode 100644
index 000000000000..ab76379cbce0
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountDimensionsListWithFilter.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "$expand": "properties/data",
+ "$top": 5,
+ "$filter": "properties/category eq 'resourceId'",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceId_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceId_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
+ "/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
+ ],
+ "total": 1409,
+ "category": "ResourceId",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true,
+ "nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountQuery.json
new file mode 100644
index 000000000000..8abfb5dc2eca
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountQuery.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountQueryGrouping.json
new file mode 100644
index 000000000000..648ebf053be2
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingAccountQueryGrouping.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "None",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsList.json
new file mode 100644
index 000000000000..11d84a74f6c9
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsList.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceType_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsListExpandAndTop.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsListExpandAndTop.json
new file mode 100644
index 000000000000..2102cbb9407a
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsListExpandAndTop.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "thoroetrg01",
+ "default-notificationhubs-westus",
+ "jedikeyvaultrg",
+ "contosocodeflow8d4a",
+ "noobaa"
+ ],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceType_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.automation/automationaccounts",
+ "microsoft.databricks/workspaces",
+ "microsoft.dbformysql/servers",
+ "microsoft.containerregistry/registries",
+ "microsoft.search/searchservices"
+ ],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsListWithFilter.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsListWithFilter.json
new file mode 100644
index 000000000000..118eda5d0cfd
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileDimensionsListWithFilter.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "$expand": "properties/data",
+ "$top": 5,
+ "$filter": "properties/category eq 'resourceId'",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceId_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceId_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
+ "/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
+ ],
+ "total": 1409,
+ "category": "ResourceId",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true,
+ "nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileQuery.json
new file mode 100644
index 000000000000..89e2f2fb78ca
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileQuery.json
@@ -0,0 +1,108 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileQueryGrouping.json
new file mode 100644
index 000000000000..3946eb12c2cf
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCABillingProfileQueryGrouping.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "None",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsList.json
new file mode 100644
index 000000000000..0a63b2667392
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsList.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "customerId": "5678",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceType_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsListExpandAndTop.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsListExpandAndTop.json
new file mode 100644
index 000000000000..738eb52bf1f8
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsListExpandAndTop.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "customerId": "5678",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "thoroetrg01",
+ "default-notificationhubs-westus",
+ "jedikeyvaultrg",
+ "contosocodeflow8d4a",
+ "noobaa"
+ ],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceType_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.automation/automationaccounts",
+ "microsoft.databricks/workspaces",
+ "microsoft.dbformysql/servers",
+ "microsoft.containerregistry/registries",
+ "microsoft.search/searchservices"
+ ],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsListWithFilter.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsListWithFilter.json
new file mode 100644
index 000000000000..dc9903eb348a
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerDimensionsListWithFilter.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "customerId": "13579",
+ "$expand": "properties/data",
+ "$top": 5,
+ "$filter": "properties/category eq 'resourceId'",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceId_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceId_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
+ "/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
+ ],
+ "total": 1409,
+ "category": "ResourceId",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true,
+ "nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerQuery.json
new file mode 100644
index 000000000000..41a095e8750c
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerQuery.json
@@ -0,0 +1,108 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "customerId": "5678",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerQueryGrouping.json
new file mode 100644
index 000000000000..a4629cc12c8c
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCACustomerQueryGrouping.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "customerId": "5678",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "None",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsList.json
new file mode 100644
index 000000000000..381d346fa3ba
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsList.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "invoiceSectionId": "9876",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceType_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsListExpandAndTop.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsListExpandAndTop.json
new file mode 100644
index 000000000000..17dedb5444fc
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsListExpandAndTop.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "invoiceSectionId": "9876",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "thoroetrg01",
+ "default-notificationhubs-westus",
+ "jedikeyvaultrg",
+ "contosocodeflow8d4a",
+ "noobaa"
+ ],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceType_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.automation/automationaccounts",
+ "microsoft.databricks/workspaces",
+ "microsoft.dbformysql/servers",
+ "microsoft.containerregistry/registries",
+ "microsoft.search/searchservices"
+ ],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsListWithFilter.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsListWithFilter.json
new file mode 100644
index 000000000000..9dc3219f73e3
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionDimensionsListWithFilter.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "invoiceSectionId": "9876",
+ "$expand": "properties/data",
+ "$top": 5,
+ "$filter": "properties/category eq 'resourceId'",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceId_2019-10-01_2019-10-31",
+ "name": "dimensions_ResourceId_2019-10-01_2019-10-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
+ "/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
+ ],
+ "total": 1409,
+ "category": "ResourceId",
+ "usageStart": "2019-10-01T00:00:00-07:00",
+ "usageEnd": "2019-10-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true,
+ "nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionQuery.json
new file mode 100644
index 000000000000..ddacc8d3b487
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionQuery.json
@@ -0,0 +1,109 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "invoiceSectionId": "9876",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionQueryGrouping.json
new file mode 100644
index 000000000000..c680c09d1ac3
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/MCAInvoiceSectionQueryGrouping.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "billingAccountId": "12345:6789",
+ "billingProfileId": "13579",
+ "invoiceSectionId": "9876",
+ "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "None",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsList.json
new file mode 100644
index 000000000000..46d654b664b9
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsList.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "MyMgId",
+ "scope": "providers/Microsoft.Management/managementGroups/MyMgId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsListExpandAndTop.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsListExpandAndTop.json
new file mode 100644
index 000000000000..616047e5e4bf
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsListExpandAndTop.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "MyMgId",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "providers/Microsoft.Management/managementGroups/MyMgId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "thoroetrg01",
+ "default-notificationhubs-westus",
+ "jedikeyvaultrg",
+ "contosocodeflow8d4a",
+ "noobaa"
+ ],
+ "total": 377,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.automation/automationaccounts",
+ "microsoft.databricks/workspaces",
+ "microsoft.dbformysql/servers",
+ "microsoft.containerregistry/registries",
+ "microsoft.search/searchservices"
+ ],
+ "total": 37,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsListWithFilter.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsListWithFilter.json
new file mode 100644
index 000000000000..de501d6cc1ee
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupDimensionsListWithFilter.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "MyMgId",
+ "$expand": "properties/data",
+ "$top": 5,
+ "$filter": "properties/category eq 'resourceId'",
+ "scope": "providers/Microsoft.Management/managementGroups/MyMgId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
+ "/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
+ ],
+ "total": 1409,
+ "category": "ResourceId",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true,
+ "nextLink": "http://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupQuery.json
new file mode 100644
index 000000000000..8bb619cee8e3
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupQuery.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "MyMgId",
+ "scope": "providers/Microsoft.Management/managementGroups/MyMgId",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupQueryGrouping.json
new file mode 100644
index 000000000000..0f3b0ef56cd3
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ManagementGroupQueryGrouping.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "managementGroupId": "MyMgId",
+ "scope": "providers/Microsoft.Management/managementGroups/MyMgId",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "None",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupDimensionsList.json
new file mode 100644
index 000000000000..d0f789435863
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupDimensionsList.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "system.orlando",
+ "$expand": "properties/data",
+ "$top": 5,
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/system.orlando"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/system.orlando/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.storage/storageaccounts"
+ ],
+ "total": 1,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/system.orlando/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/authprod",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/systemevents",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/armadminprod",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/publicsystemportal"
+ ],
+ "total": 27,
+ "category": "ResourceId",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource Id",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupQuery.json
new file mode 100644
index 000000000000..052910483e76
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupQuery.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "55312978-ba1b-415c-9304-c4b9c43c0481",
+ "resourceGroupName": "ScreenSharingTest-peer",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/55312978-ba1b-415c-9304-c4b9c43c0481/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb",
+ "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": null,
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 2.10333307059661,
+ "ScreenSharingTest-peer",
+ 20180417,
+ "USD"
+ ],
+ [
+ 20.10333307059661,
+ "ScreenSharingTest-peer",
+ 20180418,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupQueryGrouping.json
new file mode 100644
index 000000000000..da7cb4d9a91f
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/ResourceGroupQueryGrouping.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "ScreenSharingTest-peer",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "Daily",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceType"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb",
+ "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": null,
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceType",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 2.10333307059661,
+ "Microsoft.SqlServer",
+ 20180417,
+ "USD"
+ ],
+ [
+ 20.10333307059661,
+ "Microsoft.Compute",
+ 20180418,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionDimensionsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionDimensionsList.json
new file mode 100644
index 000000000000..89e401409972
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionDimensionsList.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$top": 5,
+ "$expand": "properties/data",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "dcrg",
+ "rg",
+ "offlinegalleryrg",
+ "system.orlando.adminkeyvault",
+ "system.orlando.keyvault"
+ ],
+ "total": 68,
+ "category": "ResourceGroup",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource group",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
+ "type": "microsoft.CostManagement/dimensions",
+ "properties": {
+ "data": [
+ "microsoft.storage/storageaccounts",
+ "microsoft.web.admin/role",
+ "microsoft.sql/servers",
+ "microsoft.compute/virtualmachines"
+ ],
+ "total": 4,
+ "category": "ResourceType",
+ "usageStart": "2018-05-01T00:00:00-07:00",
+ "usageEnd": "2018-05-31T00:00:00-07:00",
+ "description": "Resource type",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionQuery.json
new file mode 100644
index 000000000000..c9d3f535ad9c
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionQuery.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000",
+ "name": "55312978-ba1b-415c-9304-cfd9c43c0481",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": null,
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 2.10333307059661,
+ "ScreenSharingTest-peer",
+ 20180331,
+ "USD"
+ ],
+ [
+ 218.68795741935486,
+ "Ict_StratAndPlan_GoldSprova_Prod",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.14384913581657052,
+ "ssbciotelement01",
+ 20180401,
+ "USD"
+ ],
+ [
+ 0.009865586851323632,
+ "ict_stratandplan_goldsprova_prod",
+ 20180429,
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionQueryGrouping.json
new file mode 100644
index 000000000000..f155bfd59622
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SubscriptionQueryGrouping.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "TheLastMonth",
+ "dataset": {
+ "granularity": "None",
+ "aggregation": {
+ "totalCost": {
+ "name": "PreTaxCost",
+ "function": "Sum"
+ }
+ },
+ "grouping": [
+ {
+ "type": "Dimension",
+ "name": "ResourceGroup"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000",
+ "name": "55312978-ba1b-415c-9304-cfd9c43c0481",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": null,
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 0.009865586851323632,
+ "Ict_StratAndPlan_GoldSprova_Prod_0",
+ "USD"
+ ],
+ [
+ 218.68795741935486,
+ "Ict_StratAndPlan_GoldSprova_Prod_1",
+ "USD"
+ ],
+ [
+ 2.10333307059661,
+ "ScreenSharingTest-peer1",
+ "USD"
+ ],
+ [
+ 0.14384913581657052,
+ "Ssbciotelement01",
+ "USD"
+ ]
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/readme.go.md b/specification/cost-management/resource-manager/readme.go.md
index 4a31cbb06ecc..19a211b46d9d 100644
--- a/specification/cost-management/resource-manager/readme.go.md
+++ b/specification/cost-management/resource-manager/readme.go.md
@@ -58,3 +58,11 @@ Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-11' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-11-01/$(namespace)
+```
diff --git a/specification/cost-management/resource-manager/readme.md b/specification/cost-management/resource-manager/readme.md
index 3db6038a3bb5..4f67bba4f0e2 100644
--- a/specification/cost-management/resource-manager/readme.md
+++ b/specification/cost-management/resource-manager/readme.md
@@ -26,13 +26,22 @@ These are the global settings for the Cost Management API.
``` yaml
openapi-type: arm
-tag: package-2019-10
+tag: package-2019-11
azure-validator: true
```
---
+### Tag: package-2019-11
+
+These settings apply only when `--tag=package-2019-11` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-11'
+input-file:
+ - Microsoft.CostManagement/stable/2019-11-01/costmanagement.json
+```
+
### Tag: package-2019-10
These settings apply only when `--tag=package-2019-10` is specified on the command line.
@@ -332,6 +341,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.CostManagement/stable/2019-11-01/costmanagement.json
- $(this-folder)/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json
- $(this-folder)/Microsoft.CostManagement/stable/2019-09-01/costmanagement.json
- $(this-folder)/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json
From 1e70cdb40bc6b74e2d176f1550ddd62974894457 Mon Sep 17 00:00:00 2001
From: hapandar <45051871+hapandar@users.noreply.github.com>
Date: Thu, 12 Dec 2019 20:46:53 -0800
Subject: [PATCH 089/469] Update description for grace period and remove
property from Automatic repairs policy (#7928)
---
.../Microsoft.Compute/stable/2018-10-01/compute.json | 6 +-----
.../examples/CreateAScaleSetWithAutomaticRepairs.json | 9 +++------
.../Microsoft.Compute/stable/2019-03-01/compute.json | 6 +-----
.../examples/CreateAScaleSetWithAutomaticRepairs.json | 9 +++------
.../Microsoft.Compute/stable/2019-07-01/compute.json | 6 +-----
.../examples/CreateAScaleSetWithAutomaticRepairs.json | 9 +++------
6 files changed, 12 insertions(+), 33 deletions(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
index 9a43adb6f835..f793a723d513 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
@@ -6087,11 +6087,7 @@
},
"gracePeriod": {
"type": "string",
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)."
- },
- "maxInstanceRepairsPercent": {
- "type": "integer",
- "description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%."
+ "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value."
}
},
"description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set."
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAScaleSetWithAutomaticRepairs.json
index 3041b5e76774..8e8160513e48 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAScaleSetWithAutomaticRepairs.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAScaleSetWithAutomaticRepairs.json
@@ -61,8 +61,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
}
}
}
@@ -137,8 +136,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
},
"provisioningState": "Creating"
},
@@ -216,8 +214,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
},
"provisioningState": "Creating"
},
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 d3470a7280a8..3a626b5f5f45 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
@@ -6971,11 +6971,7 @@
},
"gracePeriod": {
"type": "string",
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)."
- },
- "maxInstanceRepairsPercent": {
- "type": "integer",
- "description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%."
+ "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value."
}
},
"description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set."
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithAutomaticRepairs.json
index 99a8dbe41c9b..68aa07a0ea3b 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithAutomaticRepairs.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithAutomaticRepairs.json
@@ -61,8 +61,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
}
}
}
@@ -137,8 +136,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
},
"provisioningState": "Creating"
},
@@ -216,8 +214,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
},
"provisioningState": "Creating"
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index 7438a582cdba..923a462f1a5d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -7501,11 +7501,7 @@
},
"gracePeriod": {
"type": "string",
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)."
- },
- "maxInstanceRepairsPercent": {
- "type": "integer",
- "description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%."
+ "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value."
}
},
"description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set."
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
index 04db97b2889d..6791548f32e7 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
@@ -61,8 +61,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
}
}
}
@@ -137,8 +136,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
},
"provisioningState": "Creating"
},
@@ -216,8 +214,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "gracePeriod": "PT30M"
},
"provisioningState": "Creating"
},
From 9ead90346c80f00983ec1c2c08428be1f97eac04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Magdalena=20Bia=C5=82ecka?=
<2598290+mbialecka@users.noreply.github.com>
Date: Thu, 12 Dec 2019 20:49:34 -0800
Subject: [PATCH 090/469] [Hub Generated] Review request for
Microsoft.WindowsESU to add version preview/2019-09-16-preview (#7888)
---
custom-words.txt | 1 +
.../examples/CreateMultipleActivationKey.json | 56 ++
.../examples/DeleteMultipleActivationKey.json | 12 +
.../examples/GetMultipleActivationKey.json | 28 +
.../examples/ListMultipleActivationKeys.json | 46 ++
...MultipleActivationKeysByResourceGroup.json | 47 ++
.../examples/ListOperations.json | 22 +
.../examples/UpdateMultipleActivationKey.json | 38 ++
.../2019-09-16-preview/windowsesu.json | 524 ++++++++++++++++++
.../resource-manager/readme.csharp.md | 15 +
.../windowsesu/resource-manager/readme.go.md | 19 +
.../windowsesu/resource-manager/readme.md | 79 +++
.../resource-manager/readme.python.md | 21 +
.../resource-manager/readme.ruby.md | 19 +
.../resource-manager/readme.typescript.md | 13 +
15 files changed, 940 insertions(+)
create mode 100644 specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/CreateMultipleActivationKey.json
create mode 100644 specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/DeleteMultipleActivationKey.json
create mode 100644 specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/GetMultipleActivationKey.json
create mode 100644 specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListMultipleActivationKeys.json
create mode 100644 specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListMultipleActivationKeysByResourceGroup.json
create mode 100644 specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListOperations.json
create mode 100644 specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/UpdateMultipleActivationKey.json
create mode 100644 specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/windowsesu.json
create mode 100644 specification/windowsesu/resource-manager/readme.csharp.md
create mode 100644 specification/windowsesu/resource-manager/readme.go.md
create mode 100644 specification/windowsesu/resource-manager/readme.md
create mode 100644 specification/windowsesu/resource-manager/readme.python.md
create mode 100644 specification/windowsesu/resource-manager/readme.ruby.md
create mode 100644 specification/windowsesu/resource-manager/readme.typescript.md
diff --git a/custom-words.txt b/custom-words.txt
index 0d4b01879a9a..ce169f4f0b37 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1653,6 +1653,7 @@ Whitelistings
Whois
Widevine
windowsazuremediaservices
+windowsesu
wlmengg
workbooktemplates
Workernode
diff --git a/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/CreateMultipleActivationKey.json b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/CreateMultipleActivationKey.json
new file mode 100644
index 000000000000..1e13372078fe
--- /dev/null
+++ b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/CreateMultipleActivationKey.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-09-16",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testgr1",
+ "multipleActivationKeyName": "server08-key-2019",
+ "multipleActivationKey": {
+ "location": "East US",
+ "properties": {
+ "osType": "WindowsServer2008",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testgr1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08-key-2019",
+ "name": "server08-key-2019",
+ "type": "Microsoft.WindowsESU/multipleActivationKeys",
+ "location": "East US",
+ "properties": {
+ "multipleActivationKey": "aaaaa-bbbbb-ccccc-ddddd-eeeee",
+ "expirationDate": "2020-11-21T21:12:26+00:00",
+ "osType": "WindowsServer2008",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true,
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testgr1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08-key-2019",
+ "name": "server08-key-2019",
+ "type": "Microsoft.WindowsESU/multipleActivationKeys",
+ "location": "East US",
+ "properties": {
+ "multipleActivationKey": "aaaaa-bbbbb-ccccc-ddddd-eeeee",
+ "expirationDate": "2020-11-21T21:12:26+00:00",
+ "osType": "WindowsServer2008",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true,
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/DeleteMultipleActivationKey.json b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/DeleteMultipleActivationKey.json
new file mode 100644
index 000000000000..bcb3b6818dc7
--- /dev/null
+++ b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/DeleteMultipleActivationKey.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-09-16",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testgr1",
+ "multipleActivationKeyName": "server08-key-2019"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/GetMultipleActivationKey.json b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/GetMultipleActivationKey.json
new file mode 100644
index 000000000000..5cbb853b71b2
--- /dev/null
+++ b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/GetMultipleActivationKey.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-09-16",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testgr1",
+ "multipleActivationKeyName": "server08-key-2019"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testgr1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08-key-2019",
+ "name": "server08-key-2019",
+ "type": "Microsoft.WindowsESU/multipleActivationKeys",
+ "location": "East US",
+ "properties": {
+ "multipleActivationKey": "aaaaa-bbbbb-ccccc-ddddd-eeeee",
+ "expirationDate": "2020-11-21T21:12:26+00:00",
+ "osType": "WindowsServer2008",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListMultipleActivationKeys.json b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListMultipleActivationKeys.json
new file mode 100644
index 000000000000..c96e51c81ae1
--- /dev/null
+++ b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListMultipleActivationKeys.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-09-16",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08-key-2019",
+ "name": "server08-key-2019",
+ "type": "Microsoft.WindowsESU/multipleActivationKeys",
+ "location": "East US",
+ "properties": {
+ "multipleActivationKey": "aaaaa-bbbbb-ccccc-ddddd-eeeee",
+ "expirationDate": "2020-11-21T21:12:26+00:00",
+ "osType": "WindowsServer2008",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08r2-key-2019",
+ "name": "server08r2-key-2019",
+ "type": "Microsoft.WindowsESU/multipleActivationKeys",
+ "location": "East US",
+ "properties": {
+ "multipleActivationKey": "aaaaa-bbbbb-ccccc-ddddd-eeeee",
+ "expirationDate": "2020-12-01T10:33:09+00:00",
+ "osType": "WindowsServer2008R2",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListMultipleActivationKeysByResourceGroup.json b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListMultipleActivationKeysByResourceGroup.json
new file mode 100644
index 000000000000..5c2ac75ca898
--- /dev/null
+++ b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListMultipleActivationKeysByResourceGroup.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-09-16",
+ "resourceGroupName": "testrg1",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08-key-2019",
+ "name": "server08-key-2019",
+ "type": "Microsoft.WindowsESU/multipleActivationKeys",
+ "location": "East US",
+ "properties": {
+ "multipleActivationKey": "aaaaa-bbbbb-ccccc-ddddd-eeeee",
+ "expirationDate": "2020-11-21T21:12:26+00:00",
+ "osType": "WindowsServer2008",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08r2-key-2019",
+ "name": "server08r2-key-2019",
+ "type": "Microsoft.WindowsESU/multipleActivationKeys",
+ "location": "East US",
+ "properties": {
+ "multipleActivationKey": "aaaaa-bbbbb-ccccc-ddddd-eeeee",
+ "expirationDate": "2020-12-01T10:33:09+00:00",
+ "osType": "WindowsServer2008R2",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListOperations.json b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListOperations.json
new file mode 100644
index 000000000000..974cd1331300
--- /dev/null
+++ b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/ListOperations.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-09-16"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.WindowsESU/multipleActivationKeys/Read",
+ "display": {
+ "provider": "Microsoft Windows Extended Security Updates",
+ "resource": "multipleActivationKey",
+ "operation": "List MAK keys",
+ "description": "List MAK keys."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/UpdateMultipleActivationKey.json b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/UpdateMultipleActivationKey.json
new file mode 100644
index 000000000000..96573b91936a
--- /dev/null
+++ b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/examples/UpdateMultipleActivationKey.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-09-16",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testgr1",
+ "multipleActivationKeyName": "server08-key-2019",
+ "multipleActivationKey": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testgr1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08-key-2019",
+ "name": "server08-key-2019",
+ "type": "Microsoft.WindowsESU/multipleActivationKeys",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "location": "East US",
+ "properties": {
+ "multipleActivationKey": "aaaaa-bbbbb-ccccc-ddddd-eeeee",
+ "expirationDate": "2020-11-21T21:12:26+00:00",
+ "osType": "WindowsServer2008",
+ "supportType": "SupplementalServicing",
+ "installedServerNumber": 100,
+ "agreementNumber": "1a2b45ag",
+ "isEligible": true,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/windowsesu.json b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/windowsesu.json
new file mode 100644
index 000000000000..9f9718c27eb2
--- /dev/null
+++ b/specification/windowsesu/resource-manager/Microsoft.WindowsESU/preview/2019-09-16-preview/windowsesu.json
@@ -0,0 +1,524 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-09-16-preview",
+ "title": "windowsesu",
+ "description": "Manage Multi-Access Keys (MAK) that enable Windows Extended Security Updates (ESU).",
+ "x-ms-code-generation-settings": {
+ "name": "windowsesuClient"
+ }
+ },
+ "host": "management.azure.com",
+ "schemes": ["https"],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
+ "security": [
+ {
+ "azure_auth": ["user_impersonation"]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.WindowsESU/operations": {
+ "get": {
+ "tags": ["Operations"],
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "ListOperations": { "$ref": "./examples/ListOperations.json" }
+ },
+ "description": "List all available Windows.ESU provider operations.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.WindowsESU/multipleActivationKeys": {
+ "get": {
+ "tags": ["MultipleActivationKeys"],
+ "operationId": "MultipleActivationKeys_List",
+ "x-ms-examples": {
+ "ListMultipleActivationKeys": { "$ref": "./examples/ListMultipleActivationKeys.json" }
+ },
+ "description": "List all Multiple Activation Keys (MAK) created for a subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MultipleActivationKeyList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsESU/multipleActivationKeys": {
+ "get": {
+ "tags": ["MultipleActivationKeys"],
+ "operationId": "MultipleActivationKeys_ListByResourceGroup",
+ "x-ms-examples": {
+ "ListMultipleActivationKeys": { "$ref": "./examples/ListMultipleActivationKeysByResourceGroup.json" }
+ },
+ "description": "List all Multiple Activation Keys (MAK) in a resource group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MultipleActivationKeyList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsESU/multipleActivationKeys/{multipleActivationKeyName}": {
+ "get": {
+ "tags": ["MultipleActivationKeys"],
+ "operationId": "MultipleActivationKeys_Get",
+ "x-ms-examples": {
+ "GetMultipleActivationKey": { "$ref": "./examples/GetMultipleActivationKey.json" }
+ },
+ "description": "Get a MAK key.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MultipleActivationKeyNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MultipleActivationKey"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": ["MultipleActivationKeys"],
+ "operationId": "MultipleActivationKeys_Create",
+ "x-ms-examples": {
+ "CreateMultipleActivationKey": { "$ref": "./examples/CreateMultipleActivationKey.json" }
+ },
+ "description": "Create a MAK key.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MultipleActivationKeyNameParameter"
+ },
+ {
+ "name": "multipleActivationKey",
+ "in": "body",
+ "description": "Details of the MAK key.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MultipleActivationKey"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MultipleActivationKey"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/MultipleActivationKey"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": ["MultipleActivationKeys"],
+ "operationId": "MultipleActivationKeys_Update",
+ "x-ms-examples": {
+ "UpdateMultipleActivationKey": { "$ref": "./examples/UpdateMultipleActivationKey.json" }
+ },
+ "description": "Update a MAK key.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MultipleActivationKeyNameParameter"
+ },
+ {
+ "name": "multipleActivationKey",
+ "in": "body",
+ "description": "Details of the MAK key.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MultipleActivationKeyUpdate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MultipleActivationKey"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": ["MultipleActivationKeys"],
+ "operationId": "MultipleActivationKeys_Delete",
+ "x-ms-examples": {
+ "DeleteMultipleActivationKey": { "$ref": "./examples/DeleteMultipleActivationKey.json" }
+ },
+ "description": "Delete a MAK key.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MultipleActivationKeyNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "MultipleActivationKey": {
+ "description": "MAK key details.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "MAK key specific properties.",
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "multipleActivationKey": {
+ "description": "MAK 5x5 key.",
+ "type": "string",
+ "readOnly": true
+ },
+ "expirationDate": {
+ "description": "End of support of security updates activated by the MAK key.",
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "osType": {
+ "description": "Type of OS for which the key is requested.",
+ "type": "string",
+ "enum": [
+ "Windows7",
+ "WindowsServer2008",
+ "WindowsServer2008R2"
+ ],
+ "x-ms-enum": {
+ "name": "OsType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": ["create", "read"]
+ },
+ "supportType": {
+ "description": "Type of support",
+ "type": "string",
+ "enum": [
+ "SupplementalServicing",
+ "PremiumAssurance"
+ ],
+ "default": "SupplementalServicing",
+ "x-ms-enum": {
+ "name": "SupportType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": ["create", "read"]
+ },
+ "installedServerNumber": {
+ "description": "Number of activations/servers using the MAK key.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 5000,
+ "x-ms-mutability": ["create", "read"]
+ },
+ "agreementNumber": {
+ "description": "Agreement number under which the key is requested.",
+ "type": "string",
+ "x-ms-mutability": ["create", "read"]
+ },
+ "isEligible": {
+ "description": " true if user has eligible on-premises Windows physical or virtual machines, and that the requested key will only be used in their organization; false otherwise.",
+ "type": "boolean",
+ "x-ms-mutability": ["create", "read"]
+ },
+ "provisioningState": {
+ "type": "string",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Accepted",
+ "Provisioning"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "MultipleActivationKeyList": {
+ "description": "List of MAK keys.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of MAK keys.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MultipleActivationKey"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next page of resources.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MultipleActivationKeyUpdate": {
+ "description": "MAK key details.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Operation": {
+ "description": "REST API operation details.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplay"
+ }
+ }
+ },
+ "OperationDisplay": {
+ "description": "Meta data about operation used for display in portal.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "type": "string"
+ },
+ "resource": {
+ "type": "string"
+ },
+ "operation": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ }
+ },
+ "OperationList": {
+ "description": "List of available REST API operations.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of operations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next page of resources.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response.",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ErrorDefinition",
+ "description": "The error details."
+ }
+ }
+ },
+ "ErrorDefinition": {
+ "description": "Error definition.",
+ "properties": {
+ "code": {
+ "description": "Service specific error code which serves as the substatus for the HTTP error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Description of the error.",
+ "type": "string",
+ "readOnly": true
+ },
+ "details": {
+ "description": "Internal error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDefinition"
+ },
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "MultipleActivationKeyNameParameter": {
+ "name": "multipleActivationKeyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the MAK key.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/windowsesu/resource-manager/readme.csharp.md b/specification/windowsesu/resource-manager/readme.csharp.md
new file mode 100644
index 000000000000..8ccb66c6d234
--- /dev/null
+++ b/specification/windowsesu/resource-manager/readme.csharp.md
@@ -0,0 +1,15 @@
+## C
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+```yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 1
+ clear-output-folder: true
+ client-side-validation: false
+ namespace: Microsoft.WindowsESU
+ output-folder: $(csharp-sdks-folder)/windowsesu/management/Microsoft.WindowsESU/GeneratedProtocol
+```
diff --git a/specification/windowsesu/resource-manager/readme.go.md b/specification/windowsesu/resource-manager/readme.go.md
new file mode 100644
index 000000000000..0a8da41b4dde
--- /dev/null
+++ b/specification/windowsesu/resource-manager/readme.go.md
@@ -0,0 +1,19 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+```yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ clear-output-folder: true
+```
+
+### Tag: package-2019-09-16-preview and go
+
+These settings apply only when `--tag=package-2019-09-16-preview --go` is specified on the command line.
+Please also specify `--go-sdks-folder=`.
+
+```yaml $(tag) == 'package-2019-09-16-preview' && $(go)
+namespace: windowsesu
+output-folder: $(go-sdk-folder)/services/preview/windowsesu/2019-09-16-preview/$(namespace)
+```
diff --git a/specification/windowsesu/resource-manager/readme.md b/specification/windowsesu/resource-manager/readme.md
new file mode 100644
index 000000000000..6215bf3390bb
--- /dev/null
+++ b/specification/windowsesu/resource-manager/readme.md
@@ -0,0 +1,79 @@
+# windowsesu
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for windowsesu.
+
+## Getting Started
+
+To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run:
+
+> `autorest readme.md`
+
+To see additional help and options, run:
+
+> `autorest --help`
+
+For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page.
+
+---
+
+## Configuration
+
+### Basic Information
+
+These are the global settings for the windowsesu.
+
+```yaml
+openapi-type: arm
+tag: package-2019-09-16-preview
+```
+
+### Tag: package-2019-09-16-preview
+
+These settings apply only when `--tag=package-2019-09-16-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-09-16-preview'
+input-file:
+ - Microsoft.WindowsESU/preview/2019-09-16-preview/windowsesu.json
+```
+
+---
+
+# Code Generation
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+```yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-java
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-js
+ - repo: azure-sdk-for-ruby
+ after_scripts:
+ - bundle install && rake arm:regen_all_profiles['azure_mgmt_windowsesu']
+```
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
+## Ruby
+
+See configuration in [readme.ruby.md](./readme.ruby.md)
+
+## TypeScript
+
+See configuration in [readme.typescript.md](./readme.typescript.md)
+
+## CSharp
+
+See configuration in [readme.csharp.md](./readme.csharp.md)
diff --git a/specification/windowsesu/resource-manager/readme.python.md b/specification/windowsesu/resource-manager/readme.python.md
new file mode 100644
index 000000000000..6f42325163a8
--- /dev/null
+++ b/specification/windowsesu/resource-manager/readme.python.md
@@ -0,0 +1,21 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+```yaml $(python)
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: Microsoft.WindowsESU
+ package-name: windowsesu
+ package-version: 2019-09-16-preview
+ clear-output-folder: true
+```
+
+```yaml $(python)
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/azure-mgmt/windowsesu
+```
diff --git a/specification/windowsesu/resource-manager/readme.ruby.md b/specification/windowsesu/resource-manager/readme.ruby.md
new file mode 100644
index 000000000000..cd9a8f590d1a
--- /dev/null
+++ b/specification/windowsesu/resource-manager/readme.ruby.md
@@ -0,0 +1,19 @@
+## Ruby
+
+These settings apply only when `--ruby` is specified on the command line.
+
+```yaml
+package-name: azure_mgmt_windowsesu
+package-version: 2019-09-16-preview
+azure-arm: true
+```
+
+### Tag: package-2019-09-16-preview and ruby
+
+These settings apply only when `--tag=package-2019-09-16-preview --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+```yaml $(tag) == 'package-2019-09-16-preview' && $(ruby)
+namespace: Microsoft.WindowsESU
+output-folder: $(ruby-sdks-folder)/windowsesu
+```
diff --git a/specification/windowsesu/resource-manager/readme.typescript.md b/specification/windowsesu/resource-manager/readme.typescript.md
new file mode 100644
index 000000000000..e9ef111223ee
--- /dev/null
+++ b/specification/windowsesu/resource-manager/readme.typescript.md
@@ -0,0 +1,13 @@
+## TypeScript
+
+These settings apply only when `--typescript` is specified on the command line.
+Please also specify `--typescript-sdks-folder=`.
+
+```yaml $(typescript)
+typescript:
+ azure-arm: true
+ package-name: "windowsesu"
+ output-folder: "$(typescript-sdks-folder)/packages/windowsesu"
+ payload-flattening-threshold: 1
+ generate-metadata: true
+```
From 95a07a02a137d4850a3a2c5b53da757ea891151f Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Fri, 13 Dec 2019 04:51:02 +0000
Subject: [PATCH 091/469] regenerated all-api-versions
---
.../windowsesu/resource-manager/readme.md | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/specification/windowsesu/resource-manager/readme.md b/specification/windowsesu/resource-manager/readme.md
index 6215bf3390bb..01b339562489 100644
--- a/specification/windowsesu/resource-manager/readme.md
+++ b/specification/windowsesu/resource-manager/readme.md
@@ -77,3 +77,28 @@ See configuration in [readme.typescript.md](./readme.typescript.md)
## CSharp
See configuration in [readme.csharp.md](./readme.csharp.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.WindowsESU/preview/2019-09-16-preview/windowsesu.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
From d4f44d9289445aeaadd7a028c8840ca50f075a66 Mon Sep 17 00:00:00 2001
From: Pratima Upadhyay
Date: Sat, 14 Dec 2019 10:45:02 +0530
Subject: [PATCH 092/469] Policy Updates for new version (#7699)
* Policy Updates for new version
* Moving ProtectionPolicies_Delete from 2016-12-01 to 2019-06-15
* Updating to new version 2019-06-15
* Revert "Updating to new version 2019-06-15"
This reverts commit 9321d734232935ec9855142cd52598a26be2ffbb.
* Updating to new version 2019-06-15
* Added fixes for semantic and avocado checks
* Fix for semantic failure
* Revert "Fix for semantic failure"
This reverts commit c3b1463067ba4a394b6bd7949dcc5ba675b0a4ec.
* Updating 2019-05-13 to 2019-06-15
* Semantic failure fix
* Updates to existing version
* Dummy change
* Revert "Dummy change"
This reverts commit 77c7bd5bb8e38b0870934e12c3db31a9f7873399.
* Updating default version to 2019-05
* Retaining old entry(2019-05-13) and creating new package (2019-06)
* Update
---
.../stable/2019-06-15/bms.json | 5169 +++++++++++++++++
.../AzureIaasVm/BackupPolicies_List.json | 76 +
.../BackupProtectedItems_List.json | 39 +
.../ClassicCompute_ProtectedItem_Get.json | 38 +
.../Compute_ProtectedItem_Get.json | 38 +
.../AzureIaasVm/ConfigureProtection.json | 51 +
.../ProtectedItemOperationResults.json | 46 +
...ectionPolicies_CreateOrUpdate_Complex.json | 181 +
...tectionPolicies_CreateOrUpdate_Simple.json | 75 +
.../AzureIaasVm/ProtectionPolicies_Get.json | 43 +
.../ProtectionPolicyOperationResults_Get.json | 44 +
.../AzureIaasVm/RecoveryPoints_Get.json | 39 +
.../AzureIaasVm/RecoveryPoints_List.json | 74 +
.../examples/AzureIaasVm/StopProtection.json | 51 +
.../AzureIaasVm/TriggerRestore_ALR.json | 40 +
.../TriggerRestore_RestoreDisks.json | 36 +
.../ValidateOperation_RestoreDisk.json | 46 +
.../AzureWorkload/BackupPolicies_List.json | 70 +
...ectionPolicies_CreateOrUpdate_Complex.json | 260 +
.../BackupResourceVaultConfigs_Get.json | 21 +
.../BackupResourceVaultConfigs_Patch.json | 27 +
.../Common/CancelJobOperationResult.json | 20 +
.../Common/ExportJobsOperationResult.json | 41 +
.../examples/Common/GetJobDetails.json | 46 +
.../2019-06-15/examples/Common/ListJobs.json | 49 +
.../ListJobsWithAllSupportedFilters.json | 33 +
...istJobsWithStartTimeAndEndTimeFilters.json | 51 +
.../examples/Common/ProtectedItem_Delete.json | 21 +
.../examples/Common/TriggerCancelJob.json | 17 +
.../examples/Common/TriggerExportJobs.json | 16 +
.../resource-manager/readme.md | 13 +-
31 files changed, 6770 insertions(+), 1 deletion(-)
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/bms.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/BackupPolicies_List.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/BackupProtectedItems_List.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ConfigureProtection.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectedItemOperationResults.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_Get.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/RecoveryPoints_Get.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/RecoveryPoints_List.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/StopProtection.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/TriggerRestore_ALR.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/TriggerRestore_RestoreDisks.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureWorkload/BackupPolicies_List.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/BackupResourceVaultConfigs_Get.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/BackupResourceVaultConfigs_Patch.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/CancelJobOperationResult.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ExportJobsOperationResult.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/GetJobDetails.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobs.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobsWithAllSupportedFilters.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ProtectedItem_Delete.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/TriggerCancelJob.json
create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/TriggerExportJobs.json
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/bms.json
new file mode 100644
index 000000000000..bd6f75035561
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/bms.json
@@ -0,0 +1,5169 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-15",
+ "title": "RecoveryServicesBackupClient",
+ "x-ms-code-generation-settings": {
+ "internalConstructors": false
+ }
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig": {
+ "get": {
+ "tags": [
+ "BackupResourceVaultConfigs"
+ ],
+ "description": "Fetches resource vault config.",
+ "operationId": "BackupResourceVaultConfigs_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/BackupResourceVaultConfigResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Vault Security Config": {
+ "$ref": "./examples/Common/BackupResourceVaultConfigs_Get.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "BackupResourceVaultConfigs"
+ ],
+ "description": "Updates vault security config.",
+ "operationId": "BackupResourceVaultConfigs_Update",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "resource config request",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BackupResourceVaultConfigResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/BackupResourceVaultConfigResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update Vault Security Config": {
+ "$ref": "./examples/Common/BackupResourceVaultConfigs_Patch.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}": {
+ "get": {
+ "tags": [
+ "ProtectedItems"
+ ],
+ "description": "Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,\r\ncall the GetItemOperationResult API.",
+ "operationId": "ProtectedItems_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "fabricName",
+ "in": "path",
+ "description": "Fabric name associated with the backed up item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "Container name associated with the backed up item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "protectedItemName",
+ "in": "path",
+ "description": "Backed up item name whose details are to be fetched.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "OData filter options.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProtectedItemResource"
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/GetProtectedItemQueryObject",
+ "x-ms-examples": {
+ "Get Protected Classic Virtual Machine Details": {
+ "$ref": "./examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json"
+ },
+ "Get Protected Virtual Machine Details": {
+ "$ref": "./examples/AzureIaasVm/Compute_ProtectedItem_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ProtectedItems"
+ ],
+ "description": "Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an\r\nasynchronous operation. To know the status of the operation, call the GetItemOperationResult API.",
+ "operationId": "ProtectedItems_CreateOrUpdate",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "fabricName",
+ "in": "path",
+ "description": "Fabric name associated with the backup item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "Container name associated with the backup item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "protectedItemName",
+ "in": "path",
+ "description": "Item name to be backed up.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "resource backed up item",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ProtectedItemResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProtectedItemResource"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-examples": {
+ "Enable Protection on Azure IaasVm": {
+ "$ref": "./examples/AzureIaasVm/ConfigureProtection.json"
+ },
+ "Stop Protection with retain data on Azure IaasVm": {
+ "$ref": "./examples/AzureIaasVm/StopProtection.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ProtectedItems"
+ ],
+ "description": "Used to disable backup of an item within a container. This is an asynchronous operation. To know the status of the\r\nrequest, call the GetItemOperationResult API.",
+ "operationId": "ProtectedItems_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "fabricName",
+ "in": "path",
+ "description": "Fabric name associated with the backed up item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "Container name associated with the backed up item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "protectedItemName",
+ "in": "path",
+ "description": "Backed up item to be deleted.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ }
+ },
+ "x-ms-examples": {
+ "Delete Protection from Azure Virtual Machine": {
+ "$ref": "./examples/Common/ProtectedItem_Delete.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/operationResults/{operationId}": {
+ "get": {
+ "tags": [
+ "ProtectedItemOperationResults"
+ ],
+ "description": "Fetches the result of any operation on the backup item.",
+ "operationId": "ProtectedItemOperationResults_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "fabricName",
+ "in": "path",
+ "description": "Fabric name associated with the backup item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "Container name associated with the backup item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "protectedItemName",
+ "in": "path",
+ "description": "Backup item name whose details are to be fetched.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "operationId",
+ "in": "path",
+ "description": "OperationID which represents the operation whose result needs to be fetched.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProtectedItemResource"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ }
+ },
+ "x-ms-examples": {
+ "Get Operation Results of Protected Vm": {
+ "$ref": "./examples/AzureIaasVm/ProtectedItemOperationResults.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints": {
+ "get": {
+ "tags": [
+ "RecoveryPoints"
+ ],
+ "description": "Lists the backup copies for the backed up item.",
+ "operationId": "RecoveryPoints_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "fabricName",
+ "in": "path",
+ "description": "Fabric name associated with the backed up item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "Container name associated with the backed up item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "protectedItemName",
+ "in": "path",
+ "description": "Backed up item whose backup copies are to be fetched.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "OData filter options.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RecoveryPointResourceList"
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/BMSRPQueryObject",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Protected Azure Vm Recovery Points": {
+ "$ref": "./examples/AzureIaasVm/RecoveryPoints_List.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}": {
+ "get": {
+ "tags": [
+ "RecoveryPoints"
+ ],
+ "description": "Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation.\r\nTo know the status of the operation, call the GetProtectedItemOperationResult API.",
+ "operationId": "RecoveryPoints_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "fabricName",
+ "in": "path",
+ "description": "Fabric name associated with backed up item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "Container name associated with backed up item.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "protectedItemName",
+ "in": "path",
+ "description": "Backed up item name whose backup data needs to be fetched.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "recoveryPointId",
+ "in": "path",
+ "description": "RecoveryPointID represents the backed up data to be fetched.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RecoveryPointResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Azure Vm Recovery Point Details": {
+ "$ref": "./examples/AzureIaasVm/RecoveryPoints_Get.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/restore": {
+ "post": {
+ "tags": [
+ "Restores"
+ ],
+ "description": "Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use\r\nGetProtectedItemOperationResult API.",
+ "operationId": "Restores_Trigger",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "fabricName",
+ "in": "path",
+ "description": "Fabric name associated with the backed up items.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "containerName",
+ "in": "path",
+ "description": "Container name associated with the backed up items.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "protectedItemName",
+ "in": "path",
+ "description": "Backed up item to be restored.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "recoveryPointId",
+ "in": "path",
+ "description": "Recovery point ID which represents the backed up data to be restored.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "resource restore request",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RestoreRequestResource"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-examples": {
+ "Restore to New Azure IaasVm": {
+ "$ref": "./examples/AzureIaasVm/TriggerRestore_ALR.json"
+ },
+ "Restore Disks": {
+ "$ref": "./examples/AzureIaasVm/TriggerRestore_RestoreDisks.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies": {
+ "get": {
+ "tags": [
+ "BackupPolicies"
+ ],
+ "description": "Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch\r\nscoped results.",
+ "operationId": "BackupPolicies_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "OData filter options.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProtectionPolicyResourceList"
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/ProtectionPolicyQueryObject",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List protection policies with backupManagementType filter as AzureIaasVm": {
+ "$ref": "./examples/AzureIaasVm/BackupPolicies_List.json"
+ },
+ "List protection policies with backupManagementType filter as AzureWorkload": {
+ "$ref": "./examples/AzureWorkload/BackupPolicies_List.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}": {
+ "get": {
+ "tags": [
+ "ProtectionPolicies"
+ ],
+ "description": "Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous\r\noperation. Status of the operation can be fetched using GetPolicyOperationResult API.",
+ "operationId": "ProtectionPolicies_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "policyName",
+ "in": "path",
+ "description": "Backup policy information to be fetched.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProtectionPolicyResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Azure IaasVm Protection Policy Details": {
+ "$ref": "./examples/AzureIaasVm/ProtectionPolicies_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ProtectionPolicies"
+ ],
+ "description": "Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched\r\nusing GetPolicyOperationResult API.",
+ "operationId": "ProtectionPolicies_CreateOrUpdate",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "policyName",
+ "in": "path",
+ "description": "Backup policy to be created.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "resource backup policy",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ProtectionPolicyResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProtectionPolicyResource"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update Simple Azure Vm Protection Policy": {
+ "$ref": "./examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json"
+ },
+ "Create or Update Full Azure Vm Protection Policy": {
+ "$ref": "./examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json"
+ },
+ "Create or Update Full Azure Workload Protection Policy": {
+ "$ref": "./examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}/operationResults/{operationId}": {
+ "get": {
+ "tags": [
+ "ProtectionPolicyOperationResults"
+ ],
+ "description": "Provides the result of an operation.",
+ "operationId": "ProtectionPolicyOperationResults_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "policyName",
+ "in": "path",
+ "description": "Backup policy name whose operation's result needs to be fetched.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "operationId",
+ "in": "path",
+ "description": "Operation ID which represents the operation whose result needs to be fetched.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProtectionPolicyResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Protection Policy Operation Results": {
+ "$ref": "./examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs": {
+ "get": {
+ "tags": [
+ "BackupJobs"
+ ],
+ "description": "Provides a pageable list of jobs.",
+ "operationId": "BackupJobs_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "OData filter options.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "skipToken Filter.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/JobResourceList"
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/JobQueryObject",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List All Jobs": {
+ "$ref": "./examples/Common/ListJobs.json"
+ },
+ "List Jobs With Filters": {
+ "$ref": "./examples/Common/ListJobsWithAllSupportedFilters.json"
+ },
+ "List Jobs With Time Filter": {
+ "$ref": "./examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}": {
+ "get": {
+ "tags": [
+ "JobDetails"
+ ],
+ "description": "Gets extended information associated with the job.",
+ "operationId": "JobDetails_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "jobName",
+ "in": "path",
+ "description": "Name of the job whose details are to be fetched.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/JobResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Job Details": {
+ "$ref": "./examples/Common/GetJobDetails.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}/cancel": {
+ "post": {
+ "tags": [
+ "JobCancellations"
+ ],
+ "description": "Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call\r\nGetCancelOperationResult API.",
+ "operationId": "JobCancellations_Trigger",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "jobName",
+ "in": "path",
+ "description": "Name of the job to cancel.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-examples": {
+ "Cancel Job": {
+ "$ref": "./examples/Common/TriggerCancelJob.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}/operationResults/{operationId}": {
+ "get": {
+ "tags": [
+ "JobOperationResults"
+ ],
+ "description": "Fetches the result of any operation.",
+ "operationId": "JobOperationResults_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "jobName",
+ "in": "path",
+ "description": "Job name whose operation result has to be fetched.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "operationId",
+ "in": "path",
+ "description": "OperationID which represents the operation whose result has to be fetched.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ }
+ },
+ "x-ms-examples": {
+ "Cancel Job Operation Result": {
+ "$ref": "./examples/Common/CancelJobOperationResult.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/operationResults/{operationId}": {
+ "get": {
+ "tags": [
+ "ExportJobsOperationResults"
+ ],
+ "description": "Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also\r\ncontains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.",
+ "operationId": "ExportJobsOperationResults_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "operationId",
+ "in": "path",
+ "description": "OperationID which represents the export job.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationResultInfoBaseResource"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/OperationResultInfoBaseResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Export Jobs Operation Results": {
+ "$ref": "./examples/Common/ExportJobsOperationResult.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobsExport": {
+ "post": {
+ "tags": [
+ "Jobs"
+ ],
+ "description": "Triggers export of jobs specified by filters and returns an OperationID to track.",
+ "operationId": "Jobs_Export",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "OData filter options.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-odata": "#/definitions/JobQueryObject",
+ "x-ms-examples": {
+ "Export Jobs": {
+ "$ref": "./examples/Common/TriggerExportJobs.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectedItems": {
+ "get": {
+ "tags": [
+ "BackupProtectedItems"
+ ],
+ "description": "Provides a pageable list of all items that are backed up within a vault.",
+ "operationId": "BackupProtectedItems_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "OData filter options.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "skipToken Filter.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProtectedItemResourceList"
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/ProtectedItemQueryObject",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List protected items with backupManagementType filter as AzureIaasVm": {
+ "$ref": "./examples/AzureIaasVm/BackupProtectedItems_List.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupValidateOperation": {
+ "post": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Validate operation for specified backed up item. This is a synchronous operation.",
+ "operationId": "Operation_Validate",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/VaultName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "resource validate operation request",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ValidateOperationRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ValidateOperationsResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Validate Operation": {
+ "$ref": "./examples/AzureIaasVm/ValidateOperation_RestoreDisk.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AzureFileshareProtectedItem": {
+ "description": "Azure File Share workload-specific backup item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectedItem"
+ }
+ ],
+ "properties": {
+ "friendlyName": {
+ "description": "Friendly name of the fileshare represented by this backup item.",
+ "type": "string"
+ },
+ "protectionStatus": {
+ "description": "Backup status of this backup item.",
+ "type": "string"
+ },
+ "protectionState": {
+ "description": "Backup state of this backup item.",
+ "enum": [
+ "Invalid",
+ "IRPending",
+ "Protected",
+ "ProtectionError",
+ "ProtectionStopped",
+ "ProtectionPaused"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProtectionState",
+ "modelAsString": true
+ }
+ },
+ "healthStatus": {
+ "description": "backups running status for this backup item.",
+ "enum": [
+ "Passed",
+ "ActionRequired",
+ "ActionSuggested",
+ "Invalid"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "HealthStatus",
+ "modelAsString": true
+ }
+ },
+ "lastBackupStatus": {
+ "description": "Last backup operation status. Possible values: Healthy, Unhealthy.",
+ "type": "string"
+ },
+ "lastBackupTime": {
+ "format": "date-time",
+ "description": "Timestamp of the last backup operation on this backup item.",
+ "type": "string"
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/AzureFileshareProtectedItemExtendedInfo",
+ "description": "Additional information with this backup item."
+ }
+ },
+ "x-ms-discriminator-value": "AzureFileShareProtectedItem"
+ },
+ "AzureFileshareProtectedItemExtendedInfo": {
+ "description": "Additional information about Azure File Share backup item.",
+ "type": "object",
+ "properties": {
+ "oldestRecoveryPoint": {
+ "format": "date-time",
+ "description": "The oldest backup copy available for this item in the service.",
+ "type": "string"
+ },
+ "recoveryPointCount": {
+ "format": "int32",
+ "description": "Number of available backup copies associated with this backup item.",
+ "type": "integer"
+ },
+ "policyState": {
+ "description": "Indicates consistency of policy object and policy applied to this backup item.",
+ "type": "string"
+ },
+ "resourceState": {
+ "description": "Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceStateSyncTime": {
+ "format": "date-time",
+ "description": "The resource state sync time for this backup item.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "AzureFileShareRecoveryPoint": {
+ "description": "Azure File Share workload specific backup copy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RecoveryPoint"
+ }
+ ],
+ "properties": {
+ "recoveryPointType": {
+ "description": "Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recoveryPointTime": {
+ "format": "date-time",
+ "description": "Time at which this backup copy was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "fileShareSnapshotUri": {
+ "description": "Contains Url to the snapshot of fileshare, if applicable",
+ "type": "string",
+ "readOnly": true
+ },
+ "recoveryPointSizeInGB": {
+ "format": "int32",
+ "description": "Contains recovery point size",
+ "type": "integer",
+ "readOnly": true
+ }
+ },
+ "x-ms-discriminator-value": "AzureFileShareRecoveryPoint"
+ },
+ "AzureFileShareRestoreRequest": {
+ "description": "AzureFileShare Restore Request",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestoreRequest"
+ }
+ ],
+ "properties": {
+ "recoveryType": {
+ "description": "Type of this recovery.",
+ "enum": [
+ "Invalid",
+ "OriginalLocation",
+ "AlternateLocation",
+ "RestoreDisks",
+ "Offline"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RecoveryType",
+ "modelAsString": true
+ }
+ },
+ "sourceResourceId": {
+ "description": "Source storage account ARM Id",
+ "type": "string"
+ },
+ "copyOptions": {
+ "description": "Options to resolve copy conflicts.",
+ "enum": [
+ "Invalid",
+ "CreateCopy",
+ "Skip",
+ "Overwrite",
+ "FailOnConflict"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CopyOptions",
+ "modelAsString": true
+ }
+ },
+ "restoreRequestType": {
+ "description": "Restore Type (FullShareRestore or ItemLevelRestore)",
+ "enum": [
+ "Invalid",
+ "FullShareRestore",
+ "ItemLevelRestore"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RestoreRequestType",
+ "modelAsString": true
+ }
+ },
+ "restoreFileSpecs": {
+ "description": "List of Source Files/Folders(which need to recover) and TargetFolderPath details",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RestoreFileSpecs"
+ }
+ },
+ "targetDetails": {
+ "$ref": "#/definitions/TargetAFSRestoreInfo",
+ "description": "Target File Share Details"
+ }
+ },
+ "x-ms-discriminator-value": "AzureFileShareRestoreRequest"
+ },
+ "AzureVmWorkloadProtectionPolicy": {
+ "description": "Azure VM (Mercury) workload-specific backup policy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectionPolicy"
+ }
+ ],
+ "properties": {
+ "workLoadType": {
+ "description": "Type of workload for the backup management",
+ "enum": [
+ "Invalid",
+ "VM",
+ "FileFolder",
+ "AzureSqlDb",
+ "SQLDB",
+ "Exchange",
+ "Sharepoint",
+ "VMwareVM",
+ "SystemState",
+ "Client",
+ "GenericDataSource",
+ "SQLDataBase",
+ "AzureFileShare",
+ "SAPHanaDatabase",
+ "SAPAseDatabase"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WorkloadType",
+ "modelAsString": true
+ }
+ },
+ "settings": {
+ "$ref": "#/definitions/Settings",
+ "description": "Common settings for the backup management"
+ },
+ "subProtectionPolicy": {
+ "description": "List of sub-protection policies which includes schedule and retention",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubProtectionPolicy"
+ }
+ },
+ "makePolicyConsistent": {
+ "description": "Fix the policy inconsistency",
+ "type": "boolean"
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkload"
+ },
+ "AzureFileShareProtectionPolicy": {
+ "description": "AzureStorage backup policy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectionPolicy"
+ }
+ ],
+ "properties": {
+ "workLoadType": {
+ "description": "Type of workload for the backup management",
+ "enum": [
+ "Invalid",
+ "VM",
+ "FileFolder",
+ "AzureSqlDb",
+ "SQLDB",
+ "Exchange",
+ "Sharepoint",
+ "VMwareVM",
+ "SystemState",
+ "Client",
+ "GenericDataSource",
+ "SQLDataBase",
+ "AzureFileShare",
+ "SAPHanaDatabase",
+ "SAPAseDatabase"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WorkloadType",
+ "modelAsString": true
+ }
+ },
+ "schedulePolicy": {
+ "$ref": "#/definitions/SchedulePolicy",
+ "description": "Backup schedule specified as part of backup policy."
+ },
+ "retentionPolicy": {
+ "$ref": "#/definitions/RetentionPolicy",
+ "description": "Retention policy with the details on backup copy retention ranges."
+ },
+ "timeZone": {
+ "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "AzureStorage"
+ },
+ "AzureIaaSClassicComputeVMProtectedItem": {
+ "description": "IaaS VM workload-specific backup item representing the Classic Compute VM.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureIaaSVMProtectedItem"
+ }
+ ],
+ "x-ms-discriminator-value": "Microsoft.ClassicCompute/virtualMachines"
+ },
+ "AzureIaaSComputeVMProtectedItem": {
+ "description": "IaaS VM workload-specific backup item representing the Azure Resource Manager VM.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureIaaSVMProtectedItem"
+ }
+ ],
+ "x-ms-discriminator-value": "Microsoft.Compute/virtualMachines"
+ },
+ "AzureIaaSVMErrorInfo": {
+ "description": "Azure IaaS VM workload-specific error information.",
+ "type": "object",
+ "properties": {
+ "errorCode": {
+ "format": "int32",
+ "description": "Error code.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "errorTitle": {
+ "description": "Title: Typically, the entity that the error pertains to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorString": {
+ "description": "Localized error string.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recommendations": {
+ "description": "List of localized recommendations for above error code.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "AzureIaaSVMHealthDetails": {
+ "description": "Azure IaaS VM workload-specific Health Details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "format": "int32",
+ "description": "Health Code",
+ "type": "integer",
+ "readOnly": true
+ },
+ "title": {
+ "description": "Health Title",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Health Message",
+ "type": "string",
+ "readOnly": true
+ },
+ "recommendations": {
+ "description": "Health Recommended Actions",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "AzureIaaSVMJob": {
+ "description": "Azure IaaS VM workload-specific job object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Job"
+ }
+ ],
+ "properties": {
+ "duration": {
+ "format": "duration",
+ "description": "Time elapsed during the execution of this job.",
+ "type": "string"
+ },
+ "actionsInfo": {
+ "description": "Gets or sets the state/actions applicable on this job like cancel/retry.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Invalid",
+ "Cancellable",
+ "Retriable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "JobSupportedAction",
+ "modelAsString": false
+ }
+ }
+ },
+ "errorDetails": {
+ "description": "Error details on execution of this job.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureIaaSVMErrorInfo"
+ }
+ },
+ "virtualMachineVersion": {
+ "description": "Specifies whether the backup item is a Classic or an Azure Resource Manager VM.",
+ "type": "string"
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/AzureIaaSVMJobExtendedInfo",
+ "description": "Additional information for this job."
+ }
+ },
+ "x-ms-discriminator-value": "AzureIaaSVMJob"
+ },
+ "AzureIaaSVMJobExtendedInfo": {
+ "description": "Azure IaaS VM workload-specific additional information for job.",
+ "type": "object",
+ "properties": {
+ "tasksList": {
+ "description": "List of tasks associated with this job.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureIaaSVMJobTaskDetails"
+ }
+ },
+ "propertyBag": {
+ "description": "Job properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "internalPropertyBag": {
+ "description": "Job internal properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "progressPercentage": {
+ "format": "double",
+ "description": "Indicates progress of the job. Null if it has not started or completed.",
+ "type": "number"
+ },
+ "estimatedRemainingDuration": {
+ "description": "Time remaining for execution of this job.",
+ "type": "string"
+ },
+ "dynamicErrorMessage": {
+ "description": "Non localized error message on job execution.",
+ "type": "string"
+ }
+ }
+ },
+ "AzureIaaSVMJobTaskDetails": {
+ "description": "Azure IaaS VM workload-specific job task details.",
+ "type": "object",
+ "properties": {
+ "taskId": {
+ "description": "The task display name.",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The start time.",
+ "type": "string"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "The end time.",
+ "type": "string"
+ },
+ "instanceId": {
+ "description": "The instanceId.",
+ "type": "string"
+ },
+ "duration": {
+ "format": "duration",
+ "description": "Time elapsed for task.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status.",
+ "type": "string"
+ },
+ "progressPercentage": {
+ "format": "double",
+ "description": "Progress of the task.",
+ "type": "number"
+ },
+ "taskExecutionDetails": {
+ "description": "Details about execution of the task.\r\neg: number of bytes transferred etc",
+ "type": "string"
+ }
+ }
+ },
+ "AzureIaaSVMProtectedItem": {
+ "description": "IaaS VM workload-specific backup item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectedItem"
+ }
+ ],
+ "properties": {
+ "friendlyName": {
+ "description": "Friendly name of the VM represented by this backup item.",
+ "type": "string"
+ },
+ "virtualMachineId": {
+ "description": "Fully qualified ARM ID of the virtual machine represented by this item.",
+ "type": "string"
+ },
+ "protectionStatus": {
+ "description": "Backup status of this backup item.",
+ "type": "string"
+ },
+ "protectionState": {
+ "description": "Backup state of this backup item.",
+ "enum": [
+ "Invalid",
+ "IRPending",
+ "Protected",
+ "ProtectionError",
+ "ProtectionStopped",
+ "ProtectionPaused"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProtectionState",
+ "modelAsString": true
+ }
+ },
+ "healthStatus": {
+ "description": "Health status of protected item",
+ "enum": [
+ "Passed",
+ "ActionRequired",
+ "ActionSuggested",
+ "Invalid"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "HealthStatus",
+ "modelAsString": true
+ }
+ },
+ "healthDetails": {
+ "description": "Health details on this backup item.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureIaaSVMHealthDetails"
+ }
+ },
+ "lastBackupStatus": {
+ "description": "Last backup operation status.",
+ "type": "string"
+ },
+ "lastBackupTime": {
+ "format": "date-time",
+ "description": "Timestamp of the last backup operation on this backup item.",
+ "type": "string"
+ },
+ "protectedItemDataId": {
+ "description": "Data ID of the protected item.",
+ "type": "string"
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/AzureIaaSVMProtectedItemExtendedInfo",
+ "description": "Additional information for this backup item."
+ },
+ "extendedProperties": {
+ "$ref": "#/definitions/ExtendedProperties"
+ }
+ },
+ "x-ms-discriminator-value": "AzureIaaSVMProtectedItem"
+ },
+ "AzureIaaSVMProtectedItemExtendedInfo": {
+ "description": "Additional information on Azure IaaS VM specific backup item.",
+ "type": "object",
+ "properties": {
+ "oldestRecoveryPoint": {
+ "format": "date-time",
+ "description": "The oldest backup copy available for this backup item.",
+ "type": "string"
+ },
+ "recoveryPointCount": {
+ "format": "int32",
+ "description": "Number of backup copies available for this backup item.",
+ "type": "integer"
+ },
+ "policyInconsistent": {
+ "description": "Specifies if backup policy associated with the backup item is inconsistent.",
+ "type": "boolean"
+ }
+ }
+ },
+ "AzureIaaSVMProtectionPolicy": {
+ "description": "IaaS VM workload-specific backup policy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectionPolicy"
+ }
+ ],
+ "properties": {
+ "instantRPDetails": {
+ "$ref": "#/definitions/InstantRPAdditionalDetails"
+ },
+ "schedulePolicy": {
+ "$ref": "#/definitions/SchedulePolicy",
+ "description": "Backup schedule specified as part of backup policy."
+ },
+ "retentionPolicy": {
+ "$ref": "#/definitions/RetentionPolicy",
+ "description": "Retention policy with the details on backup copy retention ranges."
+ },
+ "instantRpRetentionRangeInDays": {
+ "format": "int32",
+ "description": "Instant RP retention policy range in days",
+ "type": "integer"
+ },
+ "timeZone": {
+ "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "AzureIaasVM"
+ },
+ "AzureSqlProtectedItem": {
+ "description": "Azure SQL workload-specific backup item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectedItem"
+ }
+ ],
+ "properties": {
+ "protectedItemDataId": {
+ "description": "Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.",
+ "type": "string"
+ },
+ "protectionState": {
+ "description": "Backup state of the backed up item.",
+ "enum": [
+ "Invalid",
+ "IRPending",
+ "Protected",
+ "ProtectionError",
+ "ProtectionStopped",
+ "ProtectionPaused"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProtectedItemState",
+ "modelAsString": true
+ }
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/AzureSqlProtectedItemExtendedInfo",
+ "description": "Additional information for this backup item."
+ }
+ },
+ "x-ms-discriminator-value": "Microsoft.Sql/servers/databases"
+ },
+ "AzureSqlProtectedItemExtendedInfo": {
+ "description": "Additional information on Azure Sql specific protected item.",
+ "type": "object",
+ "properties": {
+ "oldestRecoveryPoint": {
+ "format": "date-time",
+ "description": "The oldest backup copy available for this item in the service.",
+ "type": "string"
+ },
+ "recoveryPointCount": {
+ "format": "int32",
+ "description": "Number of available backup copies associated with this backup item.",
+ "type": "integer"
+ },
+ "policyState": {
+ "description": "State of the backup policy associated with this backup item.",
+ "type": "string"
+ }
+ }
+ },
+ "AzureStorageErrorInfo": {
+ "description": "Azure storage specific error information",
+ "type": "object",
+ "properties": {
+ "errorCode": {
+ "format": "int32",
+ "description": "Error code.",
+ "type": "integer"
+ },
+ "errorString": {
+ "description": "Localized error string.",
+ "type": "string"
+ },
+ "recommendations": {
+ "description": "List of localized recommendations for above error code.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "AzureSqlProtectionPolicy": {
+ "description": "Azure SQL workload-specific backup policy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectionPolicy"
+ }
+ ],
+ "properties": {
+ "retentionPolicy": {
+ "$ref": "#/definitions/RetentionPolicy",
+ "description": "Retention policy details."
+ }
+ },
+ "x-ms-discriminator-value": "AzureSql"
+ },
+ "AzureStorageJob": {
+ "description": "Azure storage specific job.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Job"
+ }
+ ],
+ "properties": {
+ "duration": {
+ "format": "duration",
+ "description": "Time elapsed during the execution of this job.",
+ "type": "string"
+ },
+ "actionsInfo": {
+ "description": "Gets or sets the state/actions applicable on this job like cancel/retry.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Invalid",
+ "Cancellable",
+ "Retriable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "JobSupportedAction",
+ "modelAsString": false
+ }
+ }
+ },
+ "errorDetails": {
+ "description": "Error details on execution of this job.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureStorageErrorInfo"
+ }
+ },
+ "storageAccountName": {
+ "description": "Specifies friendly name of the storage account.",
+ "type": "string"
+ },
+ "storageAccountVersion": {
+ "description": "Specifies whether the Storage account is a Classic or an Azure Resource Manager Storage account.",
+ "type": "string"
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/AzureStorageJobExtendedInfo",
+ "description": "Additional information about the job."
+ }
+ },
+ "x-ms-discriminator-value": "AzureStorageJob"
+ },
+ "AzureStorageJobExtendedInfo": {
+ "description": "Azure Storage workload-specific additional information for job.",
+ "type": "object",
+ "properties": {
+ "tasksList": {
+ "description": "List of tasks for this job",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureStorageJobTaskDetails"
+ }
+ },
+ "propertyBag": {
+ "description": "Job properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "dynamicErrorMessage": {
+ "description": "Non localized error message on job execution.",
+ "type": "string"
+ }
+ }
+ },
+ "AzureStorageJobTaskDetails": {
+ "description": "Azure storage workload specific job task details.",
+ "type": "object",
+ "properties": {
+ "taskId": {
+ "description": "The task display name.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status.",
+ "type": "string"
+ }
+ }
+ },
+ "AzureVmWorkloadProtectedItem": {
+ "description": "Azure VM workload-specific protected item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectedItem"
+ }
+ ],
+ "properties": {
+ "friendlyName": {
+ "description": "Friendly name of the DB represented by this backup item.",
+ "type": "string"
+ },
+ "serverName": {
+ "description": "Host/Cluster Name for instance or AG",
+ "type": "string"
+ },
+ "parentName": {
+ "description": "Parent name of the DB such as Instance or Availability Group.",
+ "type": "string"
+ },
+ "parentType": {
+ "description": "Parent type of protected item, example: for a DB, standalone server or distributed",
+ "type": "string"
+ },
+ "protectionStatus": {
+ "description": "Backup status of this backup item.",
+ "type": "string"
+ },
+ "protectionState": {
+ "description": "Backup state of this backup item.",
+ "enum": [
+ "Invalid",
+ "IRPending",
+ "Protected",
+ "ProtectionError",
+ "ProtectionStopped",
+ "ProtectionPaused"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProtectionState",
+ "modelAsString": true
+ }
+ },
+ "lastBackupStatus": {
+ "description": "Last backup operation status. Possible values: Healthy, Unhealthy.",
+ "enum": [
+ "Invalid",
+ "Healthy",
+ "Unhealthy",
+ "IRPending"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "LastBackupStatus",
+ "modelAsString": true
+ }
+ },
+ "lastBackupTime": {
+ "format": "date-time",
+ "description": "Timestamp of the last backup operation on this backup item.",
+ "type": "string"
+ },
+ "lastBackupErrorDetail": {
+ "$ref": "#/definitions/ErrorDetail",
+ "description": "Error details in last backup"
+ },
+ "protectedItemDataSourceId": {
+ "description": "Data ID of the protected item.",
+ "type": "string"
+ },
+ "protectedItemHealthStatus": {
+ "description": "Health status of the backup item, evaluated based on last heartbeat received",
+ "enum": [
+ "Invalid",
+ "Healthy",
+ "Unhealthy",
+ "NotReachable",
+ "IRPending"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProtectedItemHealthStatus",
+ "modelAsString": true
+ }
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo",
+ "description": "Additional information for this backup item."
+ }
+ },
+ "x-ms-discriminator-value": "AzureVmWorkloadProtectedItem"
+ },
+ "AzureVmWorkloadProtectedItemExtendedInfo": {
+ "description": "Additional information on Azure Workload for SQL specific backup item.",
+ "type": "object",
+ "properties": {
+ "oldestRecoveryPoint": {
+ "format": "date-time",
+ "description": "The oldest backup copy available for this backup item.",
+ "type": "string"
+ },
+ "recoveryPointCount": {
+ "format": "int32",
+ "description": "Number of backup copies available for this backup item.",
+ "type": "integer"
+ },
+ "policyState": {
+ "description": "Indicates consistency of policy object and policy applied to this backup item.",
+ "type": "string"
+ }
+ }
+ },
+ "AzureVmWorkloadSAPAseDatabaseProtectedItem": {
+ "description": "Azure VM workload-specific protected item representing SAP ASE Database.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureVmWorkloadProtectedItem"
+ }
+ ],
+ "x-ms-discriminator-value": "AzureVmWorkloadSAPAseDatabase"
+ },
+ "AzureVmWorkloadSAPHanaDatabaseProtectedItem": {
+ "description": "Azure VM workload-specific protected item representing SAP HANA Database.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureVmWorkloadProtectedItem"
+ }
+ ],
+ "x-ms-discriminator-value": "AzureVmWorkloadSAPHanaDatabase"
+ },
+ "AzureVmWorkloadSQLDatabaseProtectedItem": {
+ "description": "Azure VM workload-specific protected item representing SQL Database.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureVmWorkloadProtectedItem"
+ }
+ ],
+ "x-ms-discriminator-value": "AzureVmWorkloadSQLDatabase"
+ },
+ "AzureWorkloadErrorInfo": {
+ "description": "Azure storage specific error information",
+ "type": "object",
+ "properties": {
+ "errorCode": {
+ "format": "int32",
+ "description": "Error code.",
+ "type": "integer"
+ },
+ "errorString": {
+ "description": "Localized error string.",
+ "type": "string"
+ },
+ "errorTitle": {
+ "description": "Title: Typically, the entity that the error pertains to.",
+ "type": "string"
+ },
+ "recommendations": {
+ "description": "List of localized recommendations for above error code.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "additionalDetails": {
+ "description": "Additional details for above error code.",
+ "type": "string"
+ }
+ }
+ },
+ "AzureWorkloadJob": {
+ "description": "Azure storage specific job.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Job"
+ }
+ ],
+ "properties": {
+ "workloadType": {
+ "description": "Workload type of the job",
+ "type": "string"
+ },
+ "duration": {
+ "format": "duration",
+ "description": "Time elapsed during the execution of this job.",
+ "type": "string"
+ },
+ "actionsInfo": {
+ "description": "Gets or sets the state/actions applicable on this job like cancel/retry.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Invalid",
+ "Cancellable",
+ "Retriable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "JobSupportedAction",
+ "modelAsString": false
+ }
+ }
+ },
+ "errorDetails": {
+ "description": "Error details on execution of this job.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureWorkloadErrorInfo"
+ }
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/AzureWorkloadJobExtendedInfo",
+ "description": "Additional information about the job."
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadJob"
+ },
+ "AzureWorkloadJobExtendedInfo": {
+ "description": "Azure VM workload-specific additional information for job.",
+ "type": "object",
+ "properties": {
+ "tasksList": {
+ "description": "List of tasks for this job",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureWorkloadJobTaskDetails"
+ }
+ },
+ "propertyBag": {
+ "description": "Job properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "dynamicErrorMessage": {
+ "description": "Non localized error message on job execution.",
+ "type": "string"
+ }
+ }
+ },
+ "AzureWorkloadJobTaskDetails": {
+ "description": "Azure VM workload specific job task details.",
+ "type": "object",
+ "properties": {
+ "taskId": {
+ "description": "The task display name.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status.",
+ "type": "string"
+ }
+ }
+ },
+ "AzureWorkloadPointInTimeRecoveryPoint": {
+ "description": "Recovery point specific to PointInTime",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadRecoveryPoint"
+ }
+ ],
+ "properties": {
+ "timeRanges": {
+ "description": "List of log ranges",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PointInTimeRange"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadPointInTimeRecoveryPoint"
+ },
+ "AzureWorkloadPointInTimeRestoreRequest": {
+ "description": "AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadRestoreRequest"
+ }
+ ],
+ "properties": {
+ "pointInTime": {
+ "format": "date-time",
+ "description": "PointInTime value",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadPointInTimeRestoreRequest"
+ },
+ "AzureWorkloadRecoveryPoint": {
+ "description": "Workload specific recovery point, specifically encapsulates full/diff recovery point",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RecoveryPoint"
+ }
+ ],
+ "properties": {
+ "recoveryPointTimeInUTC": {
+ "format": "date-time",
+ "description": "UTC time at which recovery point was created",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of restore point",
+ "enum": [
+ "Invalid",
+ "Full",
+ "Log",
+ "Differential"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RestorePointType",
+ "modelAsString": true
+ },
+ "readOnly": true
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadRecoveryPoint"
+ },
+ "AzureWorkloadRestoreRequest": {
+ "description": "AzureWorkload-specific restore.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestoreRequest"
+ }
+ ],
+ "properties": {
+ "recoveryType": {
+ "description": "Type of this recovery.",
+ "enum": [
+ "Invalid",
+ "OriginalLocation",
+ "AlternateLocation",
+ "RestoreDisks",
+ "Offline"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RecoveryType",
+ "modelAsString": true
+ }
+ },
+ "sourceResourceId": {
+ "description": "Fully qualified ARM ID of the VM on which workload that was running is being recovered.",
+ "type": "string"
+ },
+ "propertyBag": {
+ "description": "Workload specific property bag.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "targetInfo": {
+ "$ref": "#/definitions/TargetRestoreInfo",
+ "description": "Details of target database"
+ },
+ "recoveryMode": {
+ "description": "Defines whether the current recovery mode is file restore or database restore",
+ "enum": [
+ "Invalid",
+ "FileRecovery",
+ "WorkloadRecovery"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RecoveryMode",
+ "modelAsString": true
+ }
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadRestoreRequest"
+ },
+ "AzureWorkloadSAPHanaPointInTimeRecoveryPoint": {
+ "description": "Recovery point specific to PointInTime in SAPHana",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadPointInTimeRecoveryPoint"
+ }
+ ],
+ "x-ms-discriminator-value": "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"
+ },
+ "AzureWorkloadSAPHanaPointInTimeRestoreRequest": {
+ "description": "AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadSAPHanaRestoreRequest"
+ }
+ ],
+ "properties": {
+ "pointInTime": {
+ "format": "date-time",
+ "description": "PointInTime value",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadSAPHanaPointInTimeRestoreRequest"
+ },
+ "AzureWorkloadSAPHanaRecoveryPoint": {
+ "description": "SAPHana specific recoverypoint, specifically encapsulates full/diff recoverypoints",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadRecoveryPoint"
+ }
+ ],
+ "x-ms-discriminator-value": "AzureWorkloadSAPHanaRecoveryPoint"
+ },
+ "AzureWorkloadSAPHanaRestoreRequest": {
+ "description": "AzureWorkload SAP Hana-specific restore.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadRestoreRequest"
+ }
+ ],
+ "x-ms-discriminator-value": "AzureWorkloadSAPHanaRestoreRequest"
+ },
+ "AzureWorkloadSQLPointInTimeRecoveryPoint": {
+ "description": "Recovery point specific to PointInTime",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadSQLRecoveryPoint"
+ }
+ ],
+ "properties": {
+ "timeRanges": {
+ "description": "List of log ranges",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PointInTimeRange"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadSQLPointInTimeRecoveryPoint"
+ },
+ "AzureWorkloadSQLPointInTimeRestoreRequest": {
+ "description": "AzureWorkload SQL -specific restore. Specifically for PointInTime/Log restore",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadSQLRestoreRequest"
+ }
+ ],
+ "properties": {
+ "pointInTime": {
+ "format": "date-time",
+ "description": "PointInTime value",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadSQLPointInTimeRestoreRequest"
+ },
+ "AzureWorkloadSQLRecoveryPoint": {
+ "description": "SQL specific recoverypoint, specifically encapsulates full/diff recoverypoint along with extended info",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadRecoveryPoint"
+ }
+ ],
+ "properties": {
+ "extendedInfo": {
+ "$ref": "#/definitions/AzureWorkloadSQLRecoveryPointExtendedInfo",
+ "description": "Extended Info that provides data directory details. Will be populated in two cases:\r\nWhen a specific recovery point is accessed using GetRecoveryPoint\r\nOr when ListRecoveryPoints is called for Log RP only with ExtendedInfo query filter"
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadSQLRecoveryPoint"
+ },
+ "AzureWorkloadSQLRecoveryPointExtendedInfo": {
+ "description": "Extended info class details",
+ "type": "object",
+ "properties": {
+ "dataDirectoryTimeInUTC": {
+ "format": "date-time",
+ "description": "UTC time at which data directory info was captured",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataDirectoryPaths": {
+ "description": "List of data directory paths during restore operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SQLDataDirectory"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "AzureWorkloadSQLRestoreRequest": {
+ "description": "AzureWorkload SQL -specific restore. Specifically for full/diff restore",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureWorkloadRestoreRequest"
+ }
+ ],
+ "properties": {
+ "shouldUseAlternateTargetLocation": {
+ "description": "Default option set to true. If this is set to false, alternate data directory must be provided",
+ "type": "boolean"
+ },
+ "isNonRecoverable": {
+ "description": "SQL specific property where user can chose to set no-recovery when restore operation is tried",
+ "type": "boolean"
+ },
+ "alternateDirectoryPaths": {
+ "description": "Data directory details",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SQLDataDirectoryMapping"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "AzureWorkloadSQLRestoreRequest"
+ },
+ "BackupResourceVaultConfig": {
+ "description": "Backup resource vault config details.",
+ "type": "object",
+ "properties": {
+ "storageModelType": {
+ "description": "Storage type.",
+ "enum": [
+ "Invalid",
+ "GeoRedundant",
+ "LocallyRedundant"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageType",
+ "modelAsString": true
+ }
+ },
+ "storageType": {
+ "description": "Storage type.",
+ "enum": [
+ "Invalid",
+ "GeoRedundant",
+ "LocallyRedundant"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageType",
+ "modelAsString": true
+ }
+ },
+ "storageTypeState": {
+ "description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked.",
+ "enum": [
+ "Invalid",
+ "Locked",
+ "Unlocked"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageTypeState",
+ "modelAsString": true
+ }
+ },
+ "enhancedSecurityState": {
+ "description": "Enabled or Disabled.",
+ "enum": [
+ "Invalid",
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EnhancedSecurityState",
+ "modelAsString": true
+ }
+ },
+ "softDeleteFeatureState": {
+ "description": "Soft Delete feature state",
+ "enum": [
+ "Invalid",
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SoftDeleteFeatureState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "BackupResourceVaultConfigResource": {
+ "description": "Backup resource vault config details.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BackupResourceVaultConfig",
+ "description": "BackupResourceVaultConfigResource properties"
+ }
+ }
+ },
+ "BEKDetails": {
+ "description": "BEK is bitlocker encryption key.",
+ "type": "object",
+ "properties": {
+ "secretUrl": {
+ "description": "Secret is BEK.",
+ "type": "string"
+ },
+ "secretVaultId": {
+ "description": "ID of the Key Vault where this Secret is stored.",
+ "type": "string"
+ },
+ "secretData": {
+ "description": "BEK data.",
+ "type": "string"
+ }
+ }
+ },
+ "BMSRPQueryObject": {
+ "description": "Filters to list backup copies.",
+ "type": "object",
+ "properties": {
+ "startDate": {
+ "format": "date-time",
+ "description": "Backup copies created after this time.",
+ "type": "string"
+ },
+ "endDate": {
+ "format": "date-time",
+ "description": "Backup copies created before this time.",
+ "type": "string"
+ },
+ "restorePointQueryType": {
+ "description": "RestorePoint type",
+ "enum": [
+ "Invalid",
+ "Full",
+ "Log",
+ "Differential",
+ "FullAndDifferential",
+ "All"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RestorePointQueryType",
+ "modelAsString": true
+ }
+ },
+ "extendedInfo": {
+ "description": "In Get Recovery Point, it tells whether extended information about recovery point is asked.",
+ "type": "boolean"
+ }
+ }
+ },
+ "DiskExclusionProperties": {
+ "type": "object",
+ "properties": {
+ "diskLunList": {
+ "description": "List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.",
+ "type": "array",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "isInclusionList": {
+ "description": "Flag to indicate whether DiskLunList is to be included/ excluded from backup.",
+ "type": "boolean"
+ }
+ }
+ },
+ "DiskInformation": {
+ "description": "Disk information",
+ "type": "object",
+ "properties": {
+ "lun": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "DailyRetentionFormat": {
+ "description": "Daily retention format.",
+ "type": "object",
+ "properties": {
+ "daysOfTheMonth": {
+ "description": "List of days of the month.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Day"
+ }
+ }
+ }
+ },
+ "DailyRetentionSchedule": {
+ "description": "Daily retention schedule.",
+ "type": "object",
+ "properties": {
+ "retentionTimes": {
+ "description": "Retention times of retention policy.",
+ "type": "array",
+ "items": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "retentionDuration": {
+ "$ref": "#/definitions/RetentionDuration",
+ "description": "Retention duration of retention Policy."
+ }
+ }
+ },
+ "Day": {
+ "description": "Day of the week.",
+ "type": "object",
+ "properties": {
+ "date": {
+ "format": "int32",
+ "description": "Date of the month",
+ "type": "integer"
+ },
+ "isLast": {
+ "description": "Whether Date is last date of month",
+ "type": "boolean"
+ }
+ }
+ },
+ "DpmErrorInfo": {
+ "description": "DPM workload-specific error information.",
+ "type": "object",
+ "properties": {
+ "errorString": {
+ "description": "Localized error string.",
+ "type": "string"
+ },
+ "recommendations": {
+ "description": "List of localized recommendations for above error code.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DpmJob": {
+ "description": "DPM workload-specific job object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Job"
+ }
+ ],
+ "properties": {
+ "duration": {
+ "format": "duration",
+ "description": "Time elapsed for job.",
+ "type": "string"
+ },
+ "dpmServerName": {
+ "description": "DPM server name managing the backup item or backup job.",
+ "type": "string"
+ },
+ "containerName": {
+ "description": "Name of cluster/server protecting current backup item, if any.",
+ "type": "string"
+ },
+ "containerType": {
+ "description": "Type of container.",
+ "type": "string"
+ },
+ "workloadType": {
+ "description": "Type of backup item.",
+ "type": "string"
+ },
+ "actionsInfo": {
+ "description": "The state/actions applicable on this job like cancel/retry.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Invalid",
+ "Cancellable",
+ "Retriable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "JobSupportedAction",
+ "modelAsString": false
+ }
+ }
+ },
+ "errorDetails": {
+ "description": "The errors.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DpmErrorInfo"
+ }
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/DpmJobExtendedInfo",
+ "description": "Additional information for this job."
+ }
+ },
+ "x-ms-discriminator-value": "DpmJob"
+ },
+ "DpmJobExtendedInfo": {
+ "description": "Additional information on the DPM workload-specific job.",
+ "type": "object",
+ "properties": {
+ "tasksList": {
+ "description": "List of tasks associated with this job.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DpmJobTaskDetails"
+ }
+ },
+ "propertyBag": {
+ "description": "The job properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "dynamicErrorMessage": {
+ "description": "Non localized error message on job execution.",
+ "type": "string"
+ }
+ }
+ },
+ "DpmJobTaskDetails": {
+ "description": "DPM workload-specific job task details.",
+ "type": "object",
+ "properties": {
+ "taskId": {
+ "description": "The task display name.",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The start time.",
+ "type": "string"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "The end time.",
+ "type": "string"
+ },
+ "duration": {
+ "format": "duration",
+ "description": "Time elapsed for task.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status.",
+ "type": "string"
+ }
+ }
+ },
+ "DPMProtectedItem": {
+ "description": "Additional information on Backup engine specific backup item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectedItem"
+ }
+ ],
+ "properties": {
+ "friendlyName": {
+ "description": "Friendly name of the managed item",
+ "type": "string"
+ },
+ "backupEngineName": {
+ "description": "Backup Management server protecting this backup item",
+ "type": "string"
+ },
+ "protectionState": {
+ "description": "Protection state of the backup engine",
+ "enum": [
+ "Invalid",
+ "IRPending",
+ "Protected",
+ "ProtectionError",
+ "ProtectionStopped",
+ "ProtectionPaused"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProtectedItemState",
+ "modelAsString": true
+ }
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/DPMProtectedItemExtendedInfo",
+ "description": "Extended info of the backup item."
+ }
+ },
+ "x-ms-discriminator-value": "DPMProtectedItem"
+ },
+ "DPMProtectedItemExtendedInfo": {
+ "description": "Additional information of DPM Protected item.",
+ "type": "object",
+ "properties": {
+ "protectableObjectLoadPath": {
+ "description": "Attribute to provide information on various DBs.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "protected": {
+ "description": "To check if backup item is disk protected.",
+ "type": "boolean"
+ },
+ "isPresentOnCloud": {
+ "description": "To check if backup item is cloud protected.",
+ "type": "boolean"
+ },
+ "lastBackupStatus": {
+ "description": "Last backup status information on backup item.",
+ "type": "string"
+ },
+ "lastRefreshedAt": {
+ "format": "date-time",
+ "description": "Last refresh time on backup item.",
+ "type": "string"
+ },
+ "oldestRecoveryPoint": {
+ "format": "date-time",
+ "description": "Oldest cloud recovery point time.",
+ "type": "string"
+ },
+ "recoveryPointCount": {
+ "format": "int32",
+ "description": "cloud recovery point count.",
+ "type": "integer"
+ },
+ "onPremiseOldestRecoveryPoint": {
+ "format": "date-time",
+ "description": "Oldest disk recovery point time.",
+ "type": "string"
+ },
+ "onPremiseLatestRecoveryPoint": {
+ "format": "date-time",
+ "description": "latest disk recovery point time.",
+ "type": "string"
+ },
+ "onPremiseRecoveryPointCount": {
+ "format": "int32",
+ "description": "disk recovery point count.",
+ "type": "integer"
+ },
+ "isCollocated": {
+ "description": "To check if backup item is collocated.",
+ "type": "boolean"
+ },
+ "protectionGroupName": {
+ "description": "Protection group name of the backup item.",
+ "type": "string"
+ },
+ "diskStorageUsedInBytes": {
+ "description": "Used Disk storage in bytes.",
+ "type": "string"
+ },
+ "totalDiskStorageSizeInBytes": {
+ "description": "total Disk storage in bytes.",
+ "type": "string"
+ }
+ }
+ },
+ "EncryptionDetails": {
+ "description": "Details needed if the VM was encrypted at the time of backup.",
+ "type": "object",
+ "properties": {
+ "encryptionEnabled": {
+ "description": "Identifies whether this backup copy represents an encrypted VM at the time of backup.",
+ "type": "boolean"
+ },
+ "kekUrl": {
+ "description": "Key Url.",
+ "type": "string"
+ },
+ "secretKeyUrl": {
+ "description": "Secret Url.",
+ "type": "string"
+ },
+ "kekVaultId": {
+ "description": "ID of Key Vault where KEK is stored.",
+ "type": "string"
+ },
+ "secretKeyVaultId": {
+ "description": "ID of Key Vault where Secret is stored.",
+ "type": "string"
+ }
+ }
+ },
+ "ErrorDetail": {
+ "description": "Error Detail class which encapsulates Code, Message and Recommendations.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error Message related to the Code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recommendations": {
+ "description": "List of recommendation strings.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ExportJobsOperationResultInfo": {
+ "description": "This class is used to send blob details after exporting jobs.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OperationResultInfoBase"
+ }
+ ],
+ "properties": {
+ "blobUrl": {
+ "description": "URL of the blob into which the serialized string of list of jobs is exported.",
+ "type": "string"
+ },
+ "blobSasKey": {
+ "description": "SAS key to access the blob. It expires in 15 mins.",
+ "type": "string"
+ },
+ "excelFileBlobUrl": {
+ "description": "URL of the blob into which the ExcelFile is uploaded.",
+ "type": "string"
+ },
+ "excelFileBlobSasKey": {
+ "description": "SAS key to access the blob. It expires in 15 mins.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "ExportJobsOperationResultInfo"
+ },
+ "ExtendedProperties": {
+ "description": "Extended Properties for Azure IaasVM Backup.",
+ "type": "object",
+ "properties": {
+ "diskExclusionProperties": {
+ "$ref": "#/definitions/DiskExclusionProperties",
+ "description": "Extended Properties for Disk Exclusion."
+ }
+ }
+ },
+ "GenericProtectionPolicy": {
+ "description": "Azure VM (Mercury) workload-specific backup policy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectionPolicy"
+ }
+ ],
+ "properties": {
+ "subProtectionPolicy": {
+ "description": "List of sub-protection policies which includes schedule and retention",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubProtectionPolicy"
+ }
+ },
+ "timeZone": {
+ "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".",
+ "type": "string"
+ },
+ "fabricName": {
+ "description": "Name of this policy's fabric.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "GenericProtectionPolicy"
+ },
+ "InstantRPAdditionalDetails": {
+ "type": "object",
+ "properties": {
+ "azureBackupRGNamePrefix": {
+ "type": "string"
+ },
+ "azureBackupRGNameSuffix": {
+ "type": "string"
+ }
+ }
+ },
+ "GenericProtectedItem": {
+ "description": "Base class for backup items.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectedItem"
+ }
+ ],
+ "properties": {
+ "friendlyName": {
+ "description": "Friendly name of the container.",
+ "type": "string"
+ },
+ "policyState": {
+ "description": "Indicates consistency of policy object and policy applied to this backup item.",
+ "type": "string"
+ },
+ "protectionState": {
+ "description": "Backup state of this backup item.",
+ "enum": [
+ "Invalid",
+ "IRPending",
+ "Protected",
+ "ProtectionError",
+ "ProtectionStopped",
+ "ProtectionPaused"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProtectionState",
+ "modelAsString": true
+ }
+ },
+ "protectedItemId": {
+ "format": "int64",
+ "description": "Data Plane Service ID of the protected item.",
+ "type": "integer"
+ },
+ "sourceAssociations": {
+ "description": "Loosely coupled (type, value) associations (example - parent of a protected item)",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "fabricName": {
+ "description": "Name of this backup item's fabric.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "GenericProtectedItem"
+ },
+ "GenericRecoveryPoint": {
+ "description": "Generic backup copy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RecoveryPoint"
+ }
+ ],
+ "properties": {
+ "friendlyName": {
+ "description": "Friendly name of the backup copy.",
+ "type": "string"
+ },
+ "recoveryPointType": {
+ "description": "Type of the backup copy.",
+ "type": "string"
+ },
+ "recoveryPointTime": {
+ "format": "date-time",
+ "description": "Time at which this backup copy was created.",
+ "type": "string"
+ },
+ "recoveryPointAdditionalInfo": {
+ "description": "Additional information associated with this backup copy.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "GenericRecoveryPoint"
+ },
+ "GetProtectedItemQueryObject": {
+ "description": "Filters to list backup items.",
+ "type": "object",
+ "properties": {
+ "expand": {
+ "description": "Specifies if the additional information should be provided for this item.",
+ "type": "string"
+ }
+ }
+ },
+ "IaasVMRecoveryPoint": {
+ "description": "IaaS VM workload specific backup copy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RecoveryPoint"
+ }
+ ],
+ "properties": {
+ "recoveryPointType": {
+ "description": "Type of the backup copy.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recoveryPointTime": {
+ "format": "date-time",
+ "description": "Time at which this backup copy was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recoveryPointAdditionalInfo": {
+ "description": "Additional information associated with this backup copy.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sourceVMStorageType": {
+ "description": "Storage type of the VM whose backup copy is created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isSourceVMEncrypted": {
+ "description": "Identifies whether the VM was encrypted when the backup copy is created.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "keyAndSecret": {
+ "$ref": "#/definitions/KeyAndSecretDetails",
+ "description": "Required details for recovering an encrypted VM. Applicable only when IsSourceVMEncrypted is true."
+ },
+ "isInstantIlrSessionActive": {
+ "description": "Is the session to recover items from this backup copy still active.",
+ "type": "boolean"
+ },
+ "recoveryPointTierDetails": {
+ "description": "Recovery point tier information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RecoveryPointTierInformation"
+ }
+ },
+ "isManagedVirtualMachine": {
+ "description": "Whether VM is with Managed Disks",
+ "type": "boolean"
+ },
+ "virtualMachineSize": {
+ "description": "Virtual Machine Size",
+ "type": "string"
+ },
+ "originalStorageAccountOption": {
+ "description": "Original Storage Account Option",
+ "type": "boolean"
+ },
+ "osType": {
+ "description": "OS type",
+ "type": "string"
+ },
+ "recoveryPointDiskConfiguration": {
+ "$ref": "#/definitions/RecoveryPointDiskConfiguration",
+ "description": "Disk configuration"
+ }
+ },
+ "x-ms-discriminator-value": "IaasVMRecoveryPoint"
+ },
+ "IaasVMRestoreRequest": {
+ "description": "IaaS VM workload-specific restore.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestoreRequest"
+ }
+ ],
+ "properties": {
+ "recoveryPointId": {
+ "description": "ID of the backup copy to be recovered.",
+ "type": "string"
+ },
+ "recoveryType": {
+ "description": "Type of this recovery.",
+ "enum": [
+ "Invalid",
+ "OriginalLocation",
+ "AlternateLocation",
+ "RestoreDisks",
+ "Offline"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RecoveryType",
+ "modelAsString": true
+ }
+ },
+ "sourceResourceId": {
+ "description": "Fully qualified ARM ID of the VM which is being recovered.",
+ "type": "string"
+ },
+ "targetVirtualMachineId": {
+ "description": "This is the complete ARM Id of the VM that will be created.\r\nFor e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}",
+ "type": "string"
+ },
+ "targetResourceGroupId": {
+ "description": "This is the ARM Id of the resource group that you want to create for this Virtual machine and other artifacts.\r\nFor e.g. /subscriptions/{subId}/resourcegroups/{rg}",
+ "type": "string"
+ },
+ "storageAccountId": {
+ "description": "Fully qualified ARM ID of the storage account to which the VM has to be restored.",
+ "type": "string"
+ },
+ "virtualNetworkId": {
+ "description": "This is the virtual network Id of the vnet that will be attached to the virtual machine.\r\nUser will be validated for join action permissions in the linked access.",
+ "type": "string"
+ },
+ "subnetId": {
+ "description": "Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be\r\n{VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource ID used to represent\r\nthe subnet.",
+ "type": "string"
+ },
+ "targetDomainNameId": {
+ "description": "Fully qualified ARM ID of the domain name to be associated to the VM being restored. This applies only to Classic\r\nVirtual Machines.",
+ "type": "string"
+ },
+ "region": {
+ "description": "Region in which the virtual machine is restored.",
+ "type": "string"
+ },
+ "affinityGroup": {
+ "description": "Affinity group associated to VM to be restored. Used only for Classic Compute Virtual Machines.",
+ "type": "string"
+ },
+ "createNewCloudService": {
+ "description": "Should a new cloud service be created while restoring the VM. If this is false, VM will be restored to the same\r\ncloud service as it was at the time of backup.",
+ "type": "boolean"
+ },
+ "originalStorageAccountOption": {
+ "description": "Original Storage Account Option",
+ "type": "boolean"
+ },
+ "encryptionDetails": {
+ "$ref": "#/definitions/EncryptionDetails",
+ "description": "Details needed if the VM was encrypted at the time of backup."
+ },
+ "restoreDiskLunList": {
+ "description": "List of Disk LUNs for partial restore",
+ "type": "array",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "IaasVMRestoreRequest"
+ },
+ "Job": {
+ "description": "Defines workload agnostic properties for a job.",
+ "required": [
+ "jobType"
+ ],
+ "type": "object",
+ "properties": {
+ "entityFriendlyName": {
+ "description": "Friendly name of the entity on which the current job is executing.",
+ "type": "string"
+ },
+ "backupManagementType": {
+ "description": "Backup management type to execute the current job.",
+ "enum": [
+ "Invalid",
+ "AzureIaasVM",
+ "MAB",
+ "DPM",
+ "AzureBackupServer",
+ "AzureSql",
+ "AzureStorage",
+ "AzureWorkload",
+ "DefaultBackup"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BackupManagementType",
+ "modelAsString": true
+ }
+ },
+ "operation": {
+ "description": "The operation name.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Job status.",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The start time.",
+ "type": "string"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "The end time.",
+ "type": "string"
+ },
+ "activityId": {
+ "description": "ActivityId of job.",
+ "type": "string"
+ },
+ "jobType": {
+ "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ "type": "string"
+ }
+ },
+ "discriminator": "jobType"
+ },
+ "JobQueryObject": {
+ "description": "Filters to list the jobs.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "Status of the job.",
+ "enum": [
+ "Invalid",
+ "InProgress",
+ "Completed",
+ "Failed",
+ "CompletedWithWarnings",
+ "Cancelled",
+ "Cancelling"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "JobStatus",
+ "modelAsString": true
+ }
+ },
+ "backupManagementType": {
+ "description": "Type of backup management for the job.",
+ "enum": [
+ "Invalid",
+ "AzureIaasVM",
+ "MAB",
+ "DPM",
+ "AzureBackupServer",
+ "AzureSql",
+ "AzureStorage",
+ "AzureWorkload",
+ "DefaultBackup"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BackupManagementType",
+ "modelAsString": true
+ }
+ },
+ "operation": {
+ "description": "Type of operation.",
+ "enum": [
+ "Invalid",
+ "Register",
+ "UnRegister",
+ "ConfigureBackup",
+ "Backup",
+ "Restore",
+ "DisableBackup",
+ "DeleteBackupData",
+ "CrossRegionRestore",
+ "Undelete"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "JobOperationType",
+ "modelAsString": true
+ }
+ },
+ "jobId": {
+ "description": "JobID represents the job uniquely.",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "Job has started at this time. Value is in UTC.",
+ "type": "string"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "Job has ended at this time. Value is in UTC.",
+ "type": "string"
+ }
+ }
+ },
+ "JobResource": {
+ "description": "Defines workload agnostic properties for a job.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/Job",
+ "description": "JobResource properties"
+ }
+ }
+ },
+ "JobResourceList": {
+ "description": "List of Job resources",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceList"
+ }
+ ],
+ "properties": {
+ "value": {
+ "description": "List of resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JobResource"
+ }
+ }
+ }
+ },
+ "KEKDetails": {
+ "description": "KEK is encryption key for BEK.",
+ "type": "object",
+ "properties": {
+ "keyUrl": {
+ "description": "Key is KEK.",
+ "type": "string"
+ },
+ "keyVaultId": {
+ "description": "Key Vault ID where this Key is stored.",
+ "type": "string"
+ },
+ "keyBackupData": {
+ "description": "KEK data.",
+ "type": "string"
+ }
+ }
+ },
+ "KeyAndSecretDetails": {
+ "description": "BEK is bitlocker key.\r\nKEK is encryption key for BEK\r\nIf the VM was encrypted then we will store following details :\r\n1. Secret(BEK) - Url + Backup Data + vaultId.\r\n2. Key(KEK) - Url + Backup Data + vaultId.\r\n3. EncryptionMechanism\r\nBEK and KEK can potentially have different vault ids.",
+ "type": "object",
+ "properties": {
+ "kekDetails": {
+ "$ref": "#/definitions/KEKDetails",
+ "description": "KEK is encryption key for BEK."
+ },
+ "bekDetails": {
+ "$ref": "#/definitions/BEKDetails",
+ "description": "BEK is bitlocker encryption key."
+ },
+ "encryptionMechanism": {
+ "description": "Encryption mechanism: None/ SinglePass/ DoublePass",
+ "type": "string"
+ }
+ }
+ },
+ "LogSchedulePolicy": {
+ "description": "Log policy schedule.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SchedulePolicy"
+ }
+ ],
+ "properties": {
+ "scheduleFrequencyInMins": {
+ "format": "int32",
+ "description": "Frequency of the log schedule operation of this policy in minutes.",
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "LogSchedulePolicy"
+ },
+ "LongTermRetentionPolicy": {
+ "description": "Long term retention policy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RetentionPolicy"
+ }
+ ],
+ "properties": {
+ "dailySchedule": {
+ "$ref": "#/definitions/DailyRetentionSchedule",
+ "description": "Daily retention schedule of the protection policy."
+ },
+ "weeklySchedule": {
+ "$ref": "#/definitions/WeeklyRetentionSchedule",
+ "description": "Weekly retention schedule of the protection policy."
+ },
+ "monthlySchedule": {
+ "$ref": "#/definitions/MonthlyRetentionSchedule",
+ "description": "Monthly retention schedule of the protection policy."
+ },
+ "yearlySchedule": {
+ "$ref": "#/definitions/YearlyRetentionSchedule",
+ "description": "Yearly retention schedule of the protection policy."
+ }
+ },
+ "x-ms-discriminator-value": "LongTermRetentionPolicy"
+ },
+ "LongTermSchedulePolicy": {
+ "description": "Long term policy schedule.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SchedulePolicy"
+ }
+ ],
+ "x-ms-discriminator-value": "LongTermSchedulePolicy"
+ },
+ "MabErrorInfo": {
+ "description": "MAB workload-specific error information.",
+ "type": "object",
+ "properties": {
+ "errorString": {
+ "description": "Localized error string.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recommendations": {
+ "description": "List of localized recommendations.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "MabFileFolderProtectedItem": {
+ "description": "MAB workload-specific backup item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectedItem"
+ }
+ ],
+ "properties": {
+ "friendlyName": {
+ "description": "Friendly name of this backup item.",
+ "type": "string"
+ },
+ "computerName": {
+ "description": "Name of the computer associated with this backup item.",
+ "type": "string"
+ },
+ "lastBackupStatus": {
+ "description": "Status of last backup operation.",
+ "type": "string"
+ },
+ "lastBackupTime": {
+ "format": "date-time",
+ "description": "Timestamp of the last backup operation on this backup item.",
+ "type": "string"
+ },
+ "protectionState": {
+ "description": "Protected, ProtectionStopped, IRPending or ProtectionError",
+ "type": "string"
+ },
+ "deferredDeleteSyncTimeInUTC": {
+ "format": "int64",
+ "description": "Sync time for deferred deletion in UTC",
+ "type": "integer"
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/MabFileFolderProtectedItemExtendedInfo",
+ "description": "Additional information with this backup item."
+ }
+ },
+ "x-ms-discriminator-value": "MabFileFolderProtectedItem"
+ },
+ "MabFileFolderProtectedItemExtendedInfo": {
+ "description": "Additional information on the backed up item.",
+ "type": "object",
+ "properties": {
+ "lastRefreshedAt": {
+ "format": "date-time",
+ "description": "Last time when the agent data synced to service.",
+ "type": "string"
+ },
+ "oldestRecoveryPoint": {
+ "format": "date-time",
+ "description": "The oldest backup copy available.",
+ "type": "string"
+ },
+ "recoveryPointCount": {
+ "format": "int32",
+ "description": "Number of backup copies associated with the backup item.",
+ "type": "integer"
+ }
+ }
+ },
+ "MabJob": {
+ "description": "MAB workload-specific job.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Job"
+ }
+ ],
+ "properties": {
+ "duration": {
+ "format": "duration",
+ "description": "Time taken by job to run.",
+ "type": "string"
+ },
+ "actionsInfo": {
+ "description": "The state/actions applicable on jobs like cancel/retry.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Invalid",
+ "Cancellable",
+ "Retriable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "JobSupportedAction",
+ "modelAsString": false
+ }
+ }
+ },
+ "mabServerName": {
+ "description": "Name of server protecting the DS.",
+ "type": "string"
+ },
+ "mabServerType": {
+ "description": "Server type of MAB container.",
+ "enum": [
+ "Invalid",
+ "Unknown",
+ "IaasVMContainer",
+ "IaasVMServiceContainer",
+ "DPMContainer",
+ "AzureBackupServerContainer",
+ "MABContainer",
+ "Cluster",
+ "AzureSqlContainer",
+ "Windows",
+ "VCenter",
+ "VMAppContainer",
+ "SQLAGWorkLoadContainer",
+ "StorageContainer",
+ "GenericContainer"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MabServerType",
+ "modelAsString": true
+ }
+ },
+ "workloadType": {
+ "description": "Workload type of backup item.",
+ "enum": [
+ "Invalid",
+ "VM",
+ "FileFolder",
+ "AzureSqlDb",
+ "SQLDB",
+ "Exchange",
+ "Sharepoint",
+ "VMwareVM",
+ "SystemState",
+ "Client",
+ "GenericDataSource",
+ "SQLDataBase",
+ "AzureFileShare",
+ "SAPHanaDatabase",
+ "SAPAseDatabase"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WorkloadType",
+ "modelAsString": true
+ }
+ },
+ "errorDetails": {
+ "description": "The errors.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MabErrorInfo"
+ }
+ },
+ "extendedInfo": {
+ "$ref": "#/definitions/MabJobExtendedInfo",
+ "description": "Additional information on the job."
+ }
+ },
+ "x-ms-discriminator-value": "MabJob"
+ },
+ "MabJobExtendedInfo": {
+ "description": "Additional information for the MAB workload-specific job.",
+ "type": "object",
+ "properties": {
+ "tasksList": {
+ "description": "List of tasks for this job.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MabJobTaskDetails"
+ }
+ },
+ "propertyBag": {
+ "description": "The job properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "dynamicErrorMessage": {
+ "description": "Non localized error message specific to this job.",
+ "type": "string"
+ }
+ }
+ },
+ "MabJobTaskDetails": {
+ "description": "MAB workload-specific job task details.",
+ "type": "object",
+ "properties": {
+ "taskId": {
+ "description": "The task display name.",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The start time.",
+ "type": "string"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "The end time.",
+ "type": "string"
+ },
+ "duration": {
+ "format": "duration",
+ "description": "Time elapsed for task.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status.",
+ "type": "string"
+ }
+ }
+ },
+ "MabProtectionPolicy": {
+ "description": "Mab container-specific backup policy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProtectionPolicy"
+ }
+ ],
+ "properties": {
+ "schedulePolicy": {
+ "$ref": "#/definitions/SchedulePolicy",
+ "description": "Backup schedule of backup policy."
+ },
+ "retentionPolicy": {
+ "$ref": "#/definitions/RetentionPolicy",
+ "description": "Retention policy details."
+ }
+ },
+ "x-ms-discriminator-value": "MAB"
+ },
+ "MonthlyRetentionSchedule": {
+ "description": "Monthly retention schedule.",
+ "type": "object",
+ "properties": {
+ "retentionScheduleFormatType": {
+ "description": "Retention schedule format type for monthly retention policy.",
+ "enum": [
+ "Invalid",
+ "Daily",
+ "Weekly"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RetentionScheduleFormat",
+ "modelAsString": true
+ }
+ },
+ "retentionScheduleDaily": {
+ "$ref": "#/definitions/DailyRetentionFormat",
+ "description": "Daily retention format for monthly retention policy."
+ },
+ "retentionScheduleWeekly": {
+ "$ref": "#/definitions/WeeklyRetentionFormat",
+ "description": "Weekly retention format for monthly retention policy."
+ },
+ "retentionTimes": {
+ "description": "Retention times of retention policy.",
+ "type": "array",
+ "items": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "retentionDuration": {
+ "$ref": "#/definitions/RetentionDuration",
+ "description": "Retention duration of retention Policy."
+ }
+ }
+ },
+ "OperationResultInfo": {
+ "description": "Operation result info.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OperationResultInfoBase"
+ }
+ ],
+ "properties": {
+ "jobList": {
+ "description": "List of jobs created by this operation.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "OperationResultInfo"
+ },
+ "OperationResultInfoBase": {
+ "description": "Base class for operation result info.",
+ "required": [
+ "objectType"
+ ],
+ "type": "object",
+ "properties": {
+ "objectType": {
+ "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ "type": "string"
+ }
+ },
+ "discriminator": "objectType"
+ },
+ "OperationResultInfoBaseResource": {
+ "description": "Base class for operation result info.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OperationWorkerResponse"
+ }
+ ],
+ "properties": {
+ "operation": {
+ "$ref": "#/definitions/OperationResultInfoBase",
+ "description": "OperationResultInfoBaseResource operation"
+ }
+ }
+ },
+ "OperationWorkerResponse": {
+ "description": "This is the base class for operation result responses.",
+ "type": "object",
+ "properties": {
+ "statusCode": {
+ "description": "HTTP Status Code of the operation.",
+ "enum": [
+ "Continue",
+ "SwitchingProtocols",
+ "OK",
+ "Created",
+ "Accepted",
+ "NonAuthoritativeInformation",
+ "NoContent",
+ "ResetContent",
+ "PartialContent",
+ "MultipleChoices",
+ "Ambiguous",
+ "MovedPermanently",
+ "Moved",
+ "Found",
+ "Redirect",
+ "SeeOther",
+ "RedirectMethod",
+ "NotModified",
+ "UseProxy",
+ "Unused",
+ "TemporaryRedirect",
+ "RedirectKeepVerb",
+ "BadRequest",
+ "Unauthorized",
+ "PaymentRequired",
+ "Forbidden",
+ "NotFound",
+ "MethodNotAllowed",
+ "NotAcceptable",
+ "ProxyAuthenticationRequired",
+ "RequestTimeout",
+ "Conflict",
+ "Gone",
+ "LengthRequired",
+ "PreconditionFailed",
+ "RequestEntityTooLarge",
+ "RequestUriTooLong",
+ "UnsupportedMediaType",
+ "RequestedRangeNotSatisfiable",
+ "ExpectationFailed",
+ "UpgradeRequired",
+ "InternalServerError",
+ "NotImplemented",
+ "BadGateway",
+ "ServiceUnavailable",
+ "GatewayTimeout",
+ "HttpVersionNotSupported"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "HttpStatusCode",
+ "modelAsString": false
+ }
+ },
+ "headers": {
+ "description": "HTTP headers associated with this operation.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "PointInTimeRange": {
+ "description": "Provides details for log ranges",
+ "type": "object",
+ "properties": {
+ "startTime": {
+ "format": "date-time",
+ "description": "Start time of the time range for log recovery.",
+ "type": "string"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "End time of the time range for log recovery.",
+ "type": "string"
+ }
+ }
+ },
+ "ProtectedItem": {
+ "description": "Base class for backup items.",
+ "required": [
+ "protectedItemType"
+ ],
+ "type": "object",
+ "properties": {
+ "protectedItemType": {
+ "description": "backup item type.",
+ "type": "string"
+ },
+ "backupManagementType": {
+ "description": "Type of backup management for the backed up item.",
+ "enum": [
+ "Invalid",
+ "AzureIaasVM",
+ "MAB",
+ "DPM",
+ "AzureBackupServer",
+ "AzureSql",
+ "AzureStorage",
+ "AzureWorkload",
+ "DefaultBackup"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BackupManagementType",
+ "modelAsString": true
+ }
+ },
+ "workloadType": {
+ "description": "Type of workload this item represents.",
+ "enum": [
+ "Invalid",
+ "VM",
+ "FileFolder",
+ "AzureSqlDb",
+ "SQLDB",
+ "Exchange",
+ "Sharepoint",
+ "VMwareVM",
+ "SystemState",
+ "Client",
+ "GenericDataSource",
+ "SQLDataBase",
+ "AzureFileShare",
+ "SAPHanaDatabase",
+ "SAPAseDatabase"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DataSourceType",
+ "modelAsString": true
+ }
+ },
+ "containerName": {
+ "description": "Unique name of container",
+ "type": "string"
+ },
+ "sourceResourceId": {
+ "description": "ARM ID of the resource to be backed up.",
+ "type": "string"
+ },
+ "policyId": {
+ "description": "ID of the backup policy with which this item is backed up.",
+ "type": "string"
+ },
+ "lastRecoveryPoint": {
+ "format": "date-time",
+ "description": "Timestamp when the last (latest) backup copy was created for this backup item.",
+ "type": "string"
+ },
+ "backupSetName": {
+ "description": "Name of the backup set the backup item belongs to",
+ "type": "string"
+ },
+ "createMode": {
+ "description": "Create mode to indicate recovery of existing soft deleted data source or creation of new data source.",
+ "enum": [
+ "Invalid",
+ "Default",
+ "Recover"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CreateMode",
+ "modelAsString": true
+ }
+ },
+ "deferredDeleteTimeInUTC": {
+ "format": "date-time",
+ "description": "Time for deferred deletion in UTC",
+ "type": "string"
+ },
+ "isScheduledForDeferredDelete": {
+ "description": "Flag to identify whether the DS is scheduled for deferred delete",
+ "type": "boolean"
+ },
+ "deferredDeleteTimeRemaining": {
+ "description": "Time remaining before the DS marked for deferred delete is permanently deleted",
+ "type": "string"
+ },
+ "isDeferredDeleteScheduleUpcoming": {
+ "description": "Flag to identify whether the deferred deleted DS is to be purged soon",
+ "type": "boolean"
+ },
+ "isRehydrate": {
+ "description": "Flag to identify that deferred deleted DS is to be moved into Pause state",
+ "type": "boolean"
+ }
+ },
+ "discriminator": "protectedItemType"
+ },
+ "ProtectedItemQueryObject": {
+ "description": "Filters to list backup items.",
+ "type": "object",
+ "properties": {
+ "healthState": {
+ "description": "Health State for the backed up item.",
+ "enum": [
+ "Passed",
+ "ActionRequired",
+ "ActionSuggested",
+ "Invalid"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "HealthState",
+ "modelAsString": true
+ }
+ },
+ "backupManagementType": {
+ "description": "Backup management type for the backed up item.",
+ "enum": [
+ "Invalid",
+ "AzureIaasVM",
+ "MAB",
+ "DPM",
+ "AzureBackupServer",
+ "AzureSql",
+ "AzureStorage",
+ "AzureWorkload",
+ "DefaultBackup"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BackupManagementType",
+ "modelAsString": true
+ }
+ },
+ "itemType": {
+ "description": "Type of workload this item represents.",
+ "enum": [
+ "Invalid",
+ "VM",
+ "FileFolder",
+ "AzureSqlDb",
+ "SQLDB",
+ "Exchange",
+ "Sharepoint",
+ "VMwareVM",
+ "SystemState",
+ "Client",
+ "GenericDataSource",
+ "SQLDataBase",
+ "AzureFileShare",
+ "SAPHanaDatabase",
+ "SAPAseDatabase"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DataSourceType",
+ "modelAsString": true
+ }
+ },
+ "policyName": {
+ "description": "Backup policy name associated with the backup item.",
+ "type": "string"
+ },
+ "containerName": {
+ "description": "Name of the container.",
+ "type": "string"
+ },
+ "backupEngineName": {
+ "description": "Backup Engine name",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "Friendly name of protected item",
+ "type": "string"
+ },
+ "fabricName": {
+ "description": "Name of the fabric.",
+ "type": "string"
+ },
+ "backupSetName": {
+ "description": "Name of the backup set.",
+ "type": "string"
+ }
+ }
+ },
+ "ProtectedItemResource": {
+ "description": "Base class for backup items.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ProtectedItem",
+ "description": "ProtectedItemResource properties"
+ }
+ }
+ },
+ "ProtectedItemResourceList": {
+ "description": "List of ProtectedItem resources",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceList"
+ }
+ ],
+ "properties": {
+ "value": {
+ "description": "List of resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProtectedItemResource"
+ }
+ }
+ }
+ },
+ "ProtectionPolicy": {
+ "description": "Base class for backup policy. Workload-specific backup policies are derived from this class.",
+ "required": [
+ "backupManagementType"
+ ],
+ "type": "object",
+ "properties": {
+ "protectedItemsCount": {
+ "format": "int32",
+ "description": "Number of items associated with this policy.",
+ "type": "integer"
+ },
+ "backupManagementType": {
+ "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ "type": "string"
+ }
+ },
+ "discriminator": "backupManagementType"
+ },
+ "ProtectionPolicyQueryObject": {
+ "description": "Filters the list backup policies API.",
+ "type": "object",
+ "properties": {
+ "backupManagementType": {
+ "description": "Backup management type for the backup policy.",
+ "enum": [
+ "Invalid",
+ "AzureIaasVM",
+ "MAB",
+ "DPM",
+ "AzureBackupServer",
+ "AzureSql",
+ "AzureStorage",
+ "AzureWorkload",
+ "DefaultBackup"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BackupManagementType",
+ "modelAsString": true
+ }
+ },
+ "fabricName": {
+ "description": "Fabric name for filter",
+ "type": "string"
+ },
+ "workloadType": {
+ "description": "Workload type for the backup policy.",
+ "enum": [
+ "Invalid",
+ "VM",
+ "FileFolder",
+ "AzureSqlDb",
+ "SQLDB",
+ "Exchange",
+ "Sharepoint",
+ "VMwareVM",
+ "SystemState",
+ "Client",
+ "GenericDataSource",
+ "SQLDataBase",
+ "AzureFileShare",
+ "SAPHanaDatabase",
+ "SAPAseDatabase"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WorkloadType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ProtectionPolicyResource": {
+ "description": "Base class for backup policy. Workload-specific backup policies are derived from this class.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ProtectionPolicy",
+ "description": "ProtectionPolicyResource properties"
+ }
+ }
+ },
+ "ProtectionPolicyResourceList": {
+ "description": "List of ProtectionPolicy resources",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceList"
+ }
+ ],
+ "properties": {
+ "value": {
+ "description": "List of resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProtectionPolicyResource"
+ }
+ }
+ }
+ },
+ "RecoveryPoint": {
+ "description": "Base class for backup copies. Workload-specific backup copies are derived from this class.",
+ "required": [
+ "objectType"
+ ],
+ "type": "object",
+ "properties": {
+ "objectType": {
+ "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ "type": "string"
+ }
+ },
+ "discriminator": "objectType"
+ },
+ "RecoveryPointDiskConfiguration": {
+ "description": "Disk configuration",
+ "type": "object",
+ "properties": {
+ "numberOfDisksIncludedInBackup": {
+ "format": "int32",
+ "description": "Number of disks included in backup",
+ "type": "integer"
+ },
+ "numberOfDisksAttachedToVm": {
+ "format": "int32",
+ "description": "Number of disks attached to the VM",
+ "type": "integer"
+ },
+ "includedDiskList": {
+ "description": "Information of disks included in backup",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskInformation"
+ }
+ },
+ "excludedDiskList": {
+ "description": "Information of disks excluded from backup",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskInformation"
+ }
+ }
+ }
+ },
+ "RecoveryPointResource": {
+ "description": "Base class for backup copies. Workload-specific backup copies are derived from this class.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/RecoveryPoint",
+ "description": "RecoveryPointResource properties"
+ }
+ }
+ },
+ "RecoveryPointResourceList": {
+ "description": "List of RecoveryPoint resources",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceList"
+ }
+ ],
+ "properties": {
+ "value": {
+ "description": "List of resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RecoveryPointResource"
+ }
+ }
+ }
+ },
+ "RecoveryPointTierInformation": {
+ "description": "Recovery point tier information.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Recovery point tier type.",
+ "enum": [
+ "Invalid",
+ "InstantRP",
+ "HardenedRP"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RecoveryPointTierType",
+ "modelAsString": false
+ }
+ },
+ "status": {
+ "description": "Recovery point tier status.",
+ "enum": [
+ "Invalid",
+ "Valid",
+ "Disabled",
+ "Deleted"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RecoveryPointTierStatus",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM Resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource Id represents the complete path to the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name associated with the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "Resource location.",
+ "type": "string"
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "eTag": {
+ "description": "Optional ETag.",
+ "type": "string"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ResourceList": {
+ "description": "Base for all lists of resources.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.",
+ "type": "string"
+ }
+ }
+ },
+ "RestoreFileSpecs": {
+ "description": "Restore file specs like file path, type and target folder path info.",
+ "type": "object",
+ "properties": {
+ "path": {
+ "description": "Source File/Folder path",
+ "type": "string"
+ },
+ "fileSpecType": {
+ "description": "Indicates what the Path variable stands for",
+ "type": "string"
+ },
+ "targetFolderPath": {
+ "description": "Destination folder path in target FileShare",
+ "type": "string"
+ }
+ }
+ },
+ "RestoreRequest": {
+ "description": "Base class for restore request. Workload-specific restore requests are derived from this class.",
+ "required": [
+ "objectType"
+ ],
+ "type": "object",
+ "properties": {
+ "objectType": {
+ "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ "type": "string"
+ }
+ },
+ "discriminator": "objectType"
+ },
+ "RestoreRequestResource": {
+ "description": "Base class for restore request. Workload-specific restore requests are derived from this class.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/RestoreRequest",
+ "description": "RestoreRequestResource properties"
+ }
+ }
+ },
+ "RetentionDuration": {
+ "description": "Retention duration.",
+ "type": "object",
+ "properties": {
+ "count": {
+ "format": "int32",
+ "description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\nFor example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.",
+ "type": "integer"
+ },
+ "durationType": {
+ "description": "Retention duration type of retention policy.",
+ "enum": [
+ "Invalid",
+ "Days",
+ "Weeks",
+ "Months",
+ "Years"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RetentionDurationType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "RetentionPolicy": {
+ "description": "Base class for retention policy.",
+ "required": [
+ "retentionPolicyType"
+ ],
+ "type": "object",
+ "properties": {
+ "retentionPolicyType": {
+ "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ "type": "string"
+ }
+ },
+ "discriminator": "retentionPolicyType"
+ },
+ "SchedulePolicy": {
+ "description": "Base class for backup schedule.",
+ "required": [
+ "schedulePolicyType"
+ ],
+ "type": "object",
+ "properties": {
+ "schedulePolicyType": {
+ "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ "type": "string"
+ }
+ },
+ "discriminator": "schedulePolicyType"
+ },
+ "Settings": {
+ "description": "Common settings field for backup management",
+ "type": "object",
+ "properties": {
+ "timeZone": {
+ "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".",
+ "type": "string"
+ },
+ "issqlcompression": {
+ "description": "SQL compression flag",
+ "type": "boolean"
+ },
+ "isCompression": {
+ "description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\nwill be deprecated once clients upgrade to consider this flag.",
+ "type": "boolean"
+ }
+ }
+ },
+ "SimpleRetentionPolicy": {
+ "description": "Simple policy retention.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RetentionPolicy"
+ }
+ ],
+ "properties": {
+ "retentionDuration": {
+ "$ref": "#/definitions/RetentionDuration",
+ "description": "Retention duration of the protection policy."
+ }
+ },
+ "x-ms-discriminator-value": "SimpleRetentionPolicy"
+ },
+ "SimpleSchedulePolicy": {
+ "description": "Simple policy schedule.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SchedulePolicy"
+ }
+ ],
+ "properties": {
+ "scheduleRunFrequency": {
+ "description": "Frequency of the schedule operation of this policy.",
+ "enum": [
+ "Invalid",
+ "Daily",
+ "Weekly"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ScheduleRunType",
+ "modelAsString": true
+ }
+ },
+ "scheduleRunDays": {
+ "description": "List of days of week this schedule has to be run.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": false
+ }
+ }
+ },
+ "scheduleRunTimes": {
+ "description": "List of times of day this schedule has to be run.",
+ "type": "array",
+ "items": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "scheduleWeeklyFrequency": {
+ "format": "int32",
+ "description": "At every number weeks this schedule has to be run.",
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "SimpleSchedulePolicy"
+ },
+ "SubProtectionPolicy": {
+ "description": "Sub-protection policy which includes schedule and retention",
+ "type": "object",
+ "properties": {
+ "policyType": {
+ "description": "Type of backup policy type",
+ "enum": [
+ "Invalid",
+ "Full",
+ "Differential",
+ "Log",
+ "CopyOnlyFull"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PolicyType",
+ "modelAsString": true
+ }
+ },
+ "schedulePolicy": {
+ "$ref": "#/definitions/SchedulePolicy",
+ "description": "Backup schedule specified as part of backup policy."
+ },
+ "retentionPolicy": {
+ "$ref": "#/definitions/RetentionPolicy",
+ "description": "Retention policy with the details on backup copy retention ranges."
+ }
+ }
+ },
+ "SQLDataDirectory": {
+ "description": "SQLDataDirectory info",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Type of data directory mapping",
+ "enum": [
+ "Invalid",
+ "Data",
+ "Log"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SQLDataDirectoryType",
+ "modelAsString": true
+ }
+ },
+ "path": {
+ "description": "File path",
+ "type": "string"
+ },
+ "logicalName": {
+ "description": "Logical name of the file",
+ "type": "string"
+ }
+ }
+ },
+ "SQLDataDirectoryMapping": {
+ "description": "Encapsulates information regarding data directory",
+ "type": "object",
+ "properties": {
+ "mappingType": {
+ "description": "Type of data directory mapping",
+ "enum": [
+ "Invalid",
+ "Data",
+ "Log"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SQLDataDirectoryType",
+ "modelAsString": true
+ }
+ },
+ "sourceLogicalName": {
+ "description": "Restore source logical name path",
+ "type": "string"
+ },
+ "sourcePath": {
+ "description": "Restore source path",
+ "type": "string"
+ },
+ "targetPath": {
+ "description": "Target path",
+ "type": "string"
+ }
+ }
+ },
+ "TargetAFSRestoreInfo": {
+ "description": "Target Azure File Share Info.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "File share name",
+ "type": "string"
+ },
+ "targetResourceId": {
+ "description": "Target file share resource ARM ID",
+ "type": "string"
+ }
+ }
+ },
+ "TargetRestoreInfo": {
+ "description": "Details about target workload during restore operation.",
+ "type": "object",
+ "properties": {
+ "overwriteOption": {
+ "description": "Can Overwrite if Target DataBase already exists",
+ "enum": [
+ "Invalid",
+ "FailOnConflict",
+ "Overwrite"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OverwriteOptions",
+ "modelAsString": true
+ }
+ },
+ "containerId": {
+ "description": "Resource Id name of the container in which Target DataBase resides",
+ "type": "string"
+ },
+ "databaseName": {
+ "description": "Database name InstanceName/DataBaseName for SQL or System/DbName for SAP Hana",
+ "type": "string"
+ }
+ }
+ },
+ "ValidateIaasVMRestoreOperationRequest": {
+ "description": "AzureRestoreValidation request.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ValidateRestoreOperationRequest"
+ }
+ ],
+ "x-ms-discriminator-value": "ValidateIaasVMRestoreOperationRequest"
+ },
+ "ValidateOperationRequest": {
+ "description": "Base class for validate operation request.",
+ "required": [
+ "objectType"
+ ],
+ "type": "object",
+ "properties": {
+ "objectType": {
+ "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ "type": "string"
+ }
+ },
+ "discriminator": "objectType"
+ },
+ "ValidateOperationResponse": {
+ "description": "Base class for validate operation response.",
+ "type": "object",
+ "properties": {
+ "validationResults": {
+ "description": "Gets the validation result",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
+ }
+ }
+ }
+ },
+ "ValidateOperationsResponse": {
+ "type": "object",
+ "properties": {
+ "validateOperationResponse": {
+ "$ref": "#/definitions/ValidateOperationResponse"
+ }
+ }
+ },
+ "ValidateRestoreOperationRequest": {
+ "description": "AzureRestoreValidation request.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ValidateOperationRequest"
+ }
+ ],
+ "properties": {
+ "restoreRequest": {
+ "$ref": "#/definitions/RestoreRequest",
+ "description": "Sets restore request to be validated"
+ }
+ },
+ "x-ms-discriminator-value": "ValidateRestoreOperationRequest"
+ },
+ "WeeklyRetentionFormat": {
+ "description": "Weekly retention format.",
+ "type": "object",
+ "properties": {
+ "daysOfTheWeek": {
+ "description": "List of days of the week.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": false
+ }
+ }
+ },
+ "weeksOfTheMonth": {
+ "description": "List of weeks of month.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "First",
+ "Second",
+ "Third",
+ "Fourth",
+ "Last",
+ "Invalid"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WeekOfMonth",
+ "modelAsString": false
+ }
+ }
+ }
+ }
+ },
+ "WeeklyRetentionSchedule": {
+ "description": "Weekly retention schedule.",
+ "type": "object",
+ "properties": {
+ "daysOfTheWeek": {
+ "description": "List of days of week for weekly retention policy.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": false
+ }
+ }
+ },
+ "retentionTimes": {
+ "description": "Retention times of retention policy.",
+ "type": "array",
+ "items": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "retentionDuration": {
+ "$ref": "#/definitions/RetentionDuration",
+ "description": "Retention duration of retention Policy."
+ }
+ }
+ },
+ "YearlyRetentionSchedule": {
+ "description": "Yearly retention schedule.",
+ "type": "object",
+ "properties": {
+ "retentionScheduleFormatType": {
+ "description": "Retention schedule format for yearly retention policy.",
+ "enum": [
+ "Invalid",
+ "Daily",
+ "Weekly"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RetentionScheduleFormat",
+ "modelAsString": true
+ }
+ },
+ "monthsOfYear": {
+ "description": "List of months of year of yearly retention policy.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Invalid",
+ "January",
+ "February",
+ "March",
+ "April",
+ "May",
+ "June",
+ "July",
+ "August",
+ "September",
+ "October",
+ "November",
+ "December"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MonthOfYear",
+ "modelAsString": false
+ }
+ }
+ },
+ "retentionScheduleDaily": {
+ "$ref": "#/definitions/DailyRetentionFormat",
+ "description": "Daily retention format for yearly retention policy."
+ },
+ "retentionScheduleWeekly": {
+ "$ref": "#/definitions/WeeklyRetentionFormat",
+ "description": "Weekly retention format for yearly retention policy."
+ },
+ "retentionTimes": {
+ "description": "Retention times of retention policy.",
+ "type": "array",
+ "items": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "retentionDuration": {
+ "$ref": "#/definitions/RetentionDuration",
+ "description": "Retention duration of retention Policy."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription Id.",
+ "required": true,
+ "type": "string"
+ },
+ "ResourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group where the recovery services vault is present.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VaultName": {
+ "name": "vaultName",
+ "in": "path",
+ "description": "The name of the recovery services vault.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersion": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Client Api Version.",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account."
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/BackupPolicies_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/BackupPolicies_List.json
new file mode 100644
index 000000000000..fc2c06ed00d7
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/BackupPolicies_List.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "api-version": "2019-06-15",
+ "$filter": "backupManagementType eq 'AzureIaasVM'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/DefaultPolicy",
+ "name": "DefaultPolicy",
+ "type": "Microsoft.RecoveryServices/vaults/backupPolicies",
+ "properties": {
+ "backupManagementType": "AzureIaasVM",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Daily",
+ "scheduleRunTimes": [
+ "2017-12-05T19:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "dailySchedule": {
+ "retentionTimes": [
+ "2017-12-05T19:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 30,
+ "durationType": "Days"
+ }
+ }
+ },
+ "protectedItemsCount": 0
+ }
+ },
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1",
+ "name": "testPolicy1",
+ "type": "Microsoft.RecoveryServices/vaults/backupPolicies",
+ "properties": {
+ "backupManagementType": "AzureIaasVM",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Daily",
+ "scheduleRunTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "dailySchedule": {
+ "retentionTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Days"
+ }
+ }
+ },
+ "timeZone": "Pacific Standard Time",
+ "protectedItemsCount": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/BackupProtectedItems_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/BackupProtectedItems_List.json
new file mode 100644
index 000000000000..0af1a5e2d311
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/BackupProtectedItems_List.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "api-version": "2019-06-15",
+ "$filter": "backupManagementType eq 'AzureIaasVM' and itemType eq 'VM'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1",
+ "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
+ "properties": {
+ "friendlyName": "iaasvm-1",
+ "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1",
+ "protectionStatus": "Healthy",
+ "protectionState": "Protected",
+ "healthStatus": "Passed",
+ "lastBackupStatus": "Completed",
+ "lastBackupTime": "2018-01-22T12:25:32.048723Z",
+ "protectedItemDataId": "636482643132986882",
+ "protectedItemType": "Microsoft.ClassicCompute/virtualMachines",
+ "backupManagementType": "AzureIaasVM",
+ "workloadType": "VM",
+ "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1",
+ "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1",
+ "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
new file mode 100644
index 000000000000..58e625cad181
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "PythonSDKBackupTestRg",
+ "vaultName": "PySDKBackupTestRsVault",
+ "fabricName": "Azure",
+ "containerName": "iaasvmcontainer;iaasvmcontainer;iaasvm-rg;iaasvm-1",
+ "protectedItemName": "vm;iaasvmcontainer;iaasvm-rg;iaasvm-1",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1",
+ "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
+ "properties": {
+ "friendlyName": "iaasvm-1",
+ "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1",
+ "protectionStatus": "Healthy",
+ "protectionState": "Protected",
+ "healthStatus": "Passed",
+ "lastBackupStatus": "Completed",
+ "lastBackupTime": "2018-01-22T12:25:32.048723Z",
+ "protectedItemDataId": "636482643132986882",
+ "protectedItemType": "Microsoft.ClassicCompute/virtualMachines",
+ "backupManagementType": "AzureIaasVM",
+ "workloadType": "VM",
+ "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1",
+ "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1",
+ "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/Compute_ProtectedItem_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
new file mode 100644
index 000000000000..df420bf905a1
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "PythonSDKBackupTestRg",
+ "vaultName": "PySDKBackupTestRsVault",
+ "fabricName": "Azure",
+ "containerName": "iaasvmcontainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
+ "protectedItemName": "vm;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
+ "name": "VM;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
+ "properties": {
+ "friendlyName": "iaasvm-1",
+ "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1",
+ "protectionStatus": "Healthy",
+ "protectionState": "Protected",
+ "healthStatus": "Passed",
+ "lastBackupStatus": "Completed",
+ "lastBackupTime": "2018-01-22T12:25:32.048723Z",
+ "protectedItemDataId": "636482643132986882",
+ "protectedItemType": "Microsoft.Compute/virtualMachines",
+ "backupManagementType": "AzureIaasVM",
+ "workloadType": "VM",
+ "containerName": "iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1",
+ "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1",
+ "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ConfigureProtection.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ConfigureProtection.json
new file mode 100644
index 000000000000..c65d24a58868
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ConfigureProtection.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "fabricName": "Azure",
+ "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "properties": {
+ "protectedItemType": "Microsoft.Compute/virtualMachines",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/DefaultPolicy"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Retry-After": 60
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "name": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
+ "properties": {
+ "friendlyName": "netvmtestv2vm1",
+ "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "protectionStatus": "Healthy",
+ "protectionState": "Protected",
+ "healthStatus": "Passed",
+ "lastBackupStatus": "Completed",
+ "lastBackupTime": "2018-01-22T12:25:32.048723Z",
+ "protectedItemDataId": "636482643132986882",
+ "protectedItemType": "Microsoft.Compute/virtualMachines",
+ "backupManagementType": "AzureIaasVM",
+ "workloadType": "VM",
+ "containerName": "iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1",
+ "lastRecoveryPoint": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectedItemOperationResults.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectedItemOperationResults.json
new file mode 100644
index 000000000000..620fc00b0474
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectedItemOperationResults.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "fabricName": "Azure",
+ "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "operationId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Retry-After": 60
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "name": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
+ "properties": {
+ "friendlyName": "netvmtestv2vm1",
+ "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "protectionStatus": "Healthy",
+ "protectionState": "Protected",
+ "healthStatus": "Passed",
+ "lastBackupStatus": "Completed",
+ "lastBackupTime": "2018-01-22T12:25:32.048723Z",
+ "protectedItemDataId": "636482643132986882",
+ "protectedItemType": "Microsoft.Compute/virtualMachines",
+ "backupManagementType": "AzureIaasVM",
+ "workloadType": "VM",
+ "containerName": "iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1",
+ "lastRecoveryPoint": null
+ }
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json
new file mode 100644
index 000000000000..36299ea1fe2f
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json
@@ -0,0 +1,181 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "policyName": "testPolicy1",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "properties": {
+ "backupManagementType": "AzureIaasVM",
+ "timeZone": "Pacific Standard Time",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Weekly",
+ "scheduleRunTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "scheduleRunDays": [
+ "Monday",
+ "Wednesday",
+ "Thursday"
+ ]
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "weeklySchedule": {
+ "daysOfTheWeek": [
+ "Monday",
+ "Wednesday",
+ "Thursday"
+ ],
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Weeks"
+ }
+ },
+ "monthlySchedule": {
+ "retentionScheduleFormatType": "Weekly",
+ "retentionScheduleWeekly": {
+ "daysOfTheWeek": [
+ "Wednesday",
+ "Thursday"
+ ],
+ "weeksOfTheMonth": [
+ "First",
+ "Third"
+ ]
+ },
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 2,
+ "durationType": "Months"
+ }
+ },
+ "yearlySchedule": {
+ "retentionScheduleFormatType": "Weekly",
+ "monthsOfYear": [
+ "February",
+ "November"
+ ],
+ "retentionScheduleWeekly": {
+ "daysOfTheWeek": [
+ "Monday",
+ "Thursday"
+ ],
+ "weeksOfTheMonth": [
+ "Fourth"
+ ]
+ },
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 4,
+ "durationType": "Years"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1",
+ "name": "testPolicy1",
+ "type": "Microsoft.RecoveryServices/vaults/backupPolicies",
+ "properties": {
+ "backupManagementType": "AzureIaasVM",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Weekly",
+ "scheduleRunDays": [
+ "Monday",
+ "Wednesday",
+ "Thursday"
+ ],
+ "scheduleRunTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "weeklySchedule": {
+ "daysOfTheWeek": [
+ "Monday",
+ "Wednesday",
+ "Thursday"
+ ],
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Weeks"
+ }
+ },
+ "monthlySchedule": {
+ "retentionScheduleFormatType": "Weekly",
+ "retentionScheduleWeekly": {
+ "daysOfTheWeek": [
+ "Wednesday",
+ "Thursday"
+ ],
+ "weeksOfTheMonth": [
+ "First",
+ "Third"
+ ]
+ },
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 2,
+ "durationType": "Months"
+ }
+ },
+ "yearlySchedule": {
+ "retentionScheduleFormatType": "Weekly",
+ "monthsOfYear": [
+ "February",
+ "November"
+ ],
+ "retentionScheduleWeekly": {
+ "daysOfTheWeek": [
+ "Monday",
+ "Thursday"
+ ],
+ "weeksOfTheMonth": [
+ "Fourth"
+ ]
+ },
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 4,
+ "durationType": "Years"
+ }
+ }
+ },
+ "timeZone": "Pacific Standard Time",
+ "protectedItemsCount": 0
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01",
+ "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01",
+ "Retry-After": 60
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json
new file mode 100644
index 000000000000..df749edb0f33
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "policyName": "testPolicy1",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "properties": {
+ "backupManagementType": "AzureIaasVM",
+ "timeZone": "Pacific Standard Time",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Daily",
+ "scheduleRunTimes": [
+ "2018-01-24T02:00:00Z"
+ ]
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "dailySchedule": {
+ "retentionTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Days"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1",
+ "name": "testPolicy1",
+ "type": "Microsoft.RecoveryServices/vaults/backupPolicies",
+ "properties": {
+ "backupManagementType": "AzureIaasVM",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Daily",
+ "scheduleRunTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "dailySchedule": {
+ "retentionTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Days"
+ }
+ }
+ },
+ "timeZone": "Pacific Standard Time",
+ "protectedItemsCount": 0
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01",
+ "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01",
+ "Retry-After": 60
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_Get.json
new file mode 100644
index 000000000000..d6e9dd3d37bf
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicies_Get.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "policyName": "testPolicy1",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1",
+ "name": "testPolicy1",
+ "type": "Microsoft.RecoveryServices/vaults/backupPolicies",
+ "properties": {
+ "backupManagementType": "AzureIaasVM",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Daily",
+ "scheduleRunTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "dailySchedule": {
+ "retentionTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Days"
+ }
+ }
+ },
+ "timeZone": "Pacific Standard Time",
+ "protectedItemsCount": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json
new file mode 100644
index 000000000000..341db335ac37
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "policyName": "testPolicy1",
+ "operationId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1",
+ "name": "testPolicy1",
+ "type": "Microsoft.RecoveryServices/vaults/backupPolicies",
+ "properties": {
+ "backupManagementType": "AzureIaasVM",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Daily",
+ "scheduleRunTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "dailySchedule": {
+ "retentionTimes": [
+ "2018-01-24T02:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Days"
+ }
+ }
+ },
+ "timeZone": "Pacific Standard Time",
+ "protectedItemsCount": 1
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/RecoveryPoints_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/RecoveryPoints_Get.json
new file mode 100644
index 000000000000..c09b0da2e36a
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/RecoveryPoints_Get.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rshhtestmdvmrg",
+ "vaultName": "rshvault",
+ "fabricName": "Azure",
+ "containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
+ "protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
+ "recoveryPointId": "26083826328862",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/26083826328862",
+ "name": "26083826328862",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints",
+ "properties": {
+ "objectType": "IaasVMRecoveryPoint",
+ "recoveryPointType": "CrashConsistent",
+ "recoveryPointTime": "2017-11-22T22:32:46.6088472Z",
+ "recoveryPointAdditionalInfo": "",
+ "sourceVMStorageType": "NormalStorage",
+ "isSourceVMEncrypted": false,
+ "isInstantIlrSessionActive": false,
+ "recoveryPointTierDetails": [
+ {
+ "type": "HardenedRP",
+ "status": "Valid"
+ }
+ ],
+ "isManagedVirtualMachine": true,
+ "virtualMachineSize": "Standard_D1",
+ "originalStorageAccountOption": false
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/RecoveryPoints_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/RecoveryPoints_List.json
new file mode 100644
index 000000000000..c7def4baf6ef
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/RecoveryPoints_List.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rshhtestmdvmrg",
+ "vaultName": "rshvault",
+ "fabricName": "Azure",
+ "containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
+ "protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/22244821112382",
+ "name": "22244821112382",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints",
+ "properties": {
+ "objectType": "IaasVMRecoveryPoint",
+ "recoveryPointType": "CrashConsistent",
+ "recoveryPointTime": "2017-12-21T22:48:25.4353958Z",
+ "recoveryPointAdditionalInfo": "",
+ "sourceVMStorageType": "NormalStorage",
+ "isSourceVMEncrypted": false,
+ "isInstantIlrSessionActive": false,
+ "recoveryPointTierDetails": [
+ {
+ "type": "InstantRP",
+ "status": "Valid"
+ },
+ {
+ "type": "HardenedRP",
+ "status": "Valid"
+ }
+ ],
+ "isManagedVirtualMachine": true,
+ "virtualMachineSize": "Standard_D1",
+ "originalStorageAccountOption": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/24977149827250",
+ "name": "24977149827250",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints",
+ "properties": {
+ "objectType": "IaasVMRecoveryPoint",
+ "recoveryPointType": "CrashConsistent",
+ "recoveryPointTime": "2017-12-20T22:49:44.3317945Z",
+ "recoveryPointAdditionalInfo": "",
+ "sourceVMStorageType": "NormalStorage",
+ "isSourceVMEncrypted": false,
+ "isInstantIlrSessionActive": false,
+ "recoveryPointTierDetails": [
+ {
+ "type": "InstantRP",
+ "status": "Valid"
+ },
+ {
+ "type": "HardenedRP",
+ "status": "Valid"
+ }
+ ],
+ "isManagedVirtualMachine": true,
+ "virtualMachineSize": "Standard_D1",
+ "originalStorageAccountOption": false
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/StopProtection.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/StopProtection.json
new file mode 100644
index 000000000000..0b1bc6aa3b27
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/StopProtection.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "fabricName": "Azure",
+ "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "properties": {
+ "protectedItemType": "Microsoft.Compute/virtualMachines",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "protectionState": "ProtectionStopped"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Retry-After": 60
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "name": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
+ "properties": {
+ "friendlyName": "netvmtestv2vm1",
+ "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "protectionStatus": "Healthy",
+ "protectionState": "ProtectionStopped",
+ "healthStatus": "Passed",
+ "lastBackupStatus": "Completed",
+ "lastBackupTime": "2018-01-22T12:25:32.048723Z",
+ "protectedItemDataId": "636482643132986882",
+ "protectedItemType": "Microsoft.Compute/virtualMachines",
+ "backupManagementType": "AzureIaasVM",
+ "workloadType": "VM",
+ "containerName": "iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1",
+ "lastRecoveryPoint": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/TriggerRestore_ALR.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/TriggerRestore_ALR.json
new file mode 100644
index 000000000000..79ce11e4796c
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/TriggerRestore_ALR.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "netsdktestrg",
+ "vaultName": "testVault",
+ "fabricName": "Azure",
+ "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "recoveryPointId": "348916168024334",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "properties": {
+ "objectType": "IaasVMRestoreRequest",
+ "recoveryPointId": "348916168024334",
+ "recoveryType": "AlternateLocation",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "targetVirtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg2/providers/Microsoft.Compute/virtualmachines/RSMDALRVM981435",
+ "targetResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg2",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Storage/storageAccounts/testingAccount",
+ "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Network/virtualNetworks/testNet",
+ "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Network/virtualNetworks/testNet/subnets/default",
+ "region": "southeastasia",
+ "createNewCloudService": false,
+ "originalStorageAccountOption": false,
+ "encryptionDetails": {
+ "encryptionEnabled": false
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2017-07-01",
+ "Retry-After": 60
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/TriggerRestore_RestoreDisks.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/TriggerRestore_RestoreDisks.json
new file mode 100644
index 000000000000..e3319fdfb201
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/TriggerRestore_RestoreDisks.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "netsdktestrg",
+ "vaultName": "testVault",
+ "fabricName": "Azure",
+ "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
+ "recoveryPointId": "348916168024334",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "properties": {
+ "objectType": "IaasVMRestoreRequest",
+ "recoveryPointId": "348916168024334",
+ "recoveryType": "RestoreDisks",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testingRg/providers/Microsoft.Storage/storageAccounts/testAccount",
+ "region": "southeastasia",
+ "createNewCloudService": true,
+ "originalStorageAccountOption": false,
+ "encryptionDetails": {
+ "encryptionEnabled": false
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Retry-After": 60
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json
new file mode 100644
index 000000000000..5c9c915685f5
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "testRG",
+ "vaultName": "testVault",
+ "fabricName": "Azure",
+ "containerName": "IaasVMContainer;iaasvmcontainerv2;testRG;testvmName",
+ "protectedItemName": "VM;iaasvmcontainerv2;testRG;testvmName",
+ "recoveryPointId": "348916168024334",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "objectType": "ValidateIaasVMRestoreOperationRequest",
+ "restoreRequest": {
+ "recoveryPointId": "348916168024334",
+ "objectType": "IaasVMRestoreRequest",
+ "recoveryType": "RestoreDisks",
+ "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testingRg/providers/Microsoft.Storage/storageAccounts/testAccount",
+ "region": "southeastasia",
+ "createNewCloudService": true,
+ "originalStorageAccountOption": false,
+ "encryptionDetails": {
+ "encryptionEnabled": false
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "validateOperationResponse": {
+ "validationResults": [
+ {
+ "code": "UserErrorCoreCountSubscriptionQuotaReached",
+ "message": "Core Count subscription quota has been reached.",
+ "recommendations": [
+ "Contact Azure support to increase the limits."
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureWorkload/BackupPolicies_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureWorkload/BackupPolicies_List.json
new file mode 100644
index 000000000000..345704199d42
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureWorkload/BackupPolicies_List.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "api-version": "2019-06-15",
+ "$filter": "backupManagementType eq 'AzureWorkload'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/HourlyLogBackup",
+ "name": "HourlyLogBackup",
+ "type": "Microsoft.RecoveryServices/vaults/backupPolicies",
+ "properties": {
+ "backupManagementType": "AzureWorkload",
+ "workLoadType": "SQLDataBase",
+ "settings": {
+ "timeZone": "UTC",
+ "issqlcompression": false
+ },
+ "subProtectionPolicy": [
+ {
+ "policyType": "Full",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Daily",
+ "scheduleRunTimes": [
+ "2017-12-05T19:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "dailySchedule": {
+ "retentionTimes": [
+ "2017-12-05T19:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 30,
+ "durationType": "Days"
+ }
+ }
+ }
+ },
+ {
+ "policyType": "Log",
+ "schedulePolicy": {
+ "schedulePolicyType": "LogSchedulePolicy",
+ "scheduleFrequencyInMins": 60
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "SimpleRetentionPolicy",
+ "retentionDuration": {
+ "count": 30,
+ "durationType": "Days"
+ }
+ }
+ }
+ ],
+ "protectedItemsCount": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json
new file mode 100644
index 000000000000..df49995d8d60
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json
@@ -0,0 +1,260 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "policyName": "testPolicy1",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "properties": {
+ "backupManagementType": "AzureWorkload",
+ "workLoadType": "SQLDataBase",
+ "settings": {
+ "timeZone": "Pacific Standard Time",
+ "issqlcompression": false
+ },
+ "subProtectionPolicy": [
+ {
+ "policyType": "Full",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Weekly",
+ "scheduleRunTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "scheduleRunDays": [
+ "Sunday",
+ "Tuesday"
+ ]
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "weeklySchedule": {
+ "daysOfTheWeek": [
+ "Sunday",
+ "Tuesday"
+ ],
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 2,
+ "durationType": "Weeks"
+ }
+ },
+ "monthlySchedule": {
+ "retentionScheduleFormatType": "Weekly",
+ "retentionScheduleWeekly": {
+ "daysOfTheWeek": [
+ "Sunday"
+ ],
+ "weeksOfTheMonth": [
+ "Second"
+ ]
+ },
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Months"
+ }
+ },
+ "yearlySchedule": {
+ "retentionScheduleFormatType": "Weekly",
+ "monthsOfYear": [
+ "January",
+ "June",
+ "December"
+ ],
+ "retentionScheduleWeekly": {
+ "daysOfTheWeek": [
+ "Sunday"
+ ],
+ "weeksOfTheMonth": [
+ "Last"
+ ]
+ },
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Years"
+ }
+ }
+ }
+ },
+ {
+ "policyType": "Differential",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Weekly",
+ "scheduleRunTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "scheduleRunDays": [
+ "Friday"
+ ]
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "SimpleRetentionPolicy",
+ "retentionDuration": {
+ "count": 8,
+ "durationType": "Days"
+ }
+ }
+ },
+ {
+ "policyType": "Log",
+ "schedulePolicy": {
+ "schedulePolicyType": "LogSchedulePolicy",
+ "scheduleFrequencyInMins": 60
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "SimpleRetentionPolicy",
+ "retentionDuration": {
+ "count": 7,
+ "durationType": "Days"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1",
+ "name": "testPolicy1",
+ "type": "Microsoft.RecoveryServices/vaults/backupPolicies",
+ "properties": {
+ "backupManagementType": "AzureWorkload",
+ "workLoadType": "SQLDataBase",
+ "settings": {
+ "timeZone": "Pacific Standard Time",
+ "issqlcompression": false
+ },
+ "subProtectionPolicy": [
+ {
+ "policyType": "Full",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Weekly",
+ "scheduleRunDays": [
+ "Sunday",
+ "Tuesday"
+ ],
+ "scheduleRunTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "LongTermRetentionPolicy",
+ "weeklySchedule": {
+ "daysOfTheWeek": [
+ "Sunday",
+ "Tuesday"
+ ],
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 2,
+ "durationType": "Weeks"
+ }
+ },
+ "monthlySchedule": {
+ "retentionScheduleFormatType": "Weekly",
+ "retentionScheduleWeekly": {
+ "daysOfTheWeek": [
+ "Sunday"
+ ],
+ "weeksOfTheMonth": [
+ "Second"
+ ]
+ },
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Months"
+ }
+ },
+ "yearlySchedule": {
+ "retentionScheduleFormatType": "Weekly",
+ "monthsOfYear": [
+ "January",
+ "June",
+ "December"
+ ],
+ "retentionScheduleWeekly": {
+ "daysOfTheWeek": [
+ "Sunday"
+ ],
+ "weeksOfTheMonth": [
+ "Last"
+ ]
+ },
+ "retentionTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "retentionDuration": {
+ "count": 1,
+ "durationType": "Years"
+ }
+ }
+ }
+ },
+ {
+ "policyType": "Differential",
+ "schedulePolicy": {
+ "schedulePolicyType": "SimpleSchedulePolicy",
+ "scheduleRunFrequency": "Weekly",
+ "scheduleRunDays": [
+ "Friday"
+ ],
+ "scheduleRunTimes": [
+ "2018-01-24T10:00:00Z"
+ ],
+ "scheduleWeeklyFrequency": 0
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "SimpleRetentionPolicy",
+ "retentionDuration": {
+ "count": 8,
+ "durationType": "Days"
+ }
+ }
+ },
+ {
+ "policyType": "Log",
+ "schedulePolicy": {
+ "schedulePolicyType": "LogSchedulePolicy",
+ "scheduleFrequencyInMins": 60
+ },
+ "retentionPolicy": {
+ "retentionPolicyType": "SimpleRetentionPolicy",
+ "retentionDuration": {
+ "count": 7,
+ "durationType": "Days"
+ }
+ }
+ }
+ ],
+ "protectedItemsCount": 0
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01",
+ "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01",
+ "Retry-After": 60
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/BackupResourceVaultConfigs_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/BackupResourceVaultConfigs_Get.json
new file mode 100644
index 000000000000..3afb23d5160a
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/BackupResourceVaultConfigs_Get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "SwaggerTest",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig",
+ "name": "vaultconfig",
+ "type": "Microsoft.RecoveryServices/vaults/backupconfig",
+ "properties": {
+ "enhancedSecurityState": "Enabled",
+ "softDeleteFeatureState": "Enabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/BackupResourceVaultConfigs_Patch.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/BackupResourceVaultConfigs_Patch.json
new file mode 100644
index 000000000000..3afab713b496
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/BackupResourceVaultConfigs_Patch.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "SwaggerTest",
+ "api-version": "2019-06-15",
+ "parameters": {
+ "properties": {
+ "enhancedSecurityState": "Enabled",
+ "softDeleteFeatureState": "Disabled"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig",
+ "name": "vaultconfig",
+ "type": "Microsoft.RecoveryServices/vaults/backupconfig",
+ "properties": {
+ "enhancedSecurityState": "Enabled",
+ "softDeleteFeatureState": "Disabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/CancelJobOperationResult.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/CancelJobOperationResult.json
new file mode 100644
index 000000000000..63e435e0db8e
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/CancelJobOperationResult.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "jobName": "00000000-0000-0000-0000-000000000000",
+ "operationId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "204": {},
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01",
+ "Retry-After": 60
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ExportJobsOperationResult.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ExportJobsOperationResult.json
new file mode 100644
index 000000000000..d7e737fcd04c
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ExportJobsOperationResult.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "operationId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "operation": {
+ "objectType": "ExportJobsOperationResultInfo",
+ "blobUrl": "https://azureblob.blob.core.windows.net/reportcontainer/exportjobsreportc00000000-0000-0000-0000-000000000000",
+ "blobSasKey": "?sv=2014-02-14&sr=b&sig=&st=2017-11-29T07%3A53%3A34Z&se=2017-11-29T08%3A03%3A34Z&sp=r"
+ },
+ "headers": {}
+ }
+ },
+ "202": {
+ "headers": {
+ "Retry-After": 60,
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01"
+ },
+ "body": {
+ "operation": {
+ "objectType": "ExportJobsOperationResultInfo"
+ },
+ "headers": {
+ "Location": [
+ "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01"
+ ],
+ "Retry-After": [
+ "60"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/GetJobDetails.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/GetJobDetails.json
new file mode 100644
index 000000000000..077f4bb9c7f0
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/GetJobDetails.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "jobName": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.RecoveryServices/vaults/backupJobs",
+ "properties": {
+ "jobType": "AzureIaaSVMJob",
+ "duration": "PT9.8782791S",
+ "virtualMachineVersion": "Compute",
+ "extendedInfo": {
+ "tasksList": [
+ {
+ "taskId": "Take Snapshot",
+ "duration": "PT0S",
+ "status": "InProgress"
+ },
+ {
+ "taskId": "Transfer data to vault",
+ "duration": "PT0S",
+ "status": "NotStarted"
+ }
+ ],
+ "propertyBag": {
+ "VM Name": "testvm"
+ }
+ },
+ "entityFriendlyName": "testvm",
+ "backupManagementType": "AzureIaasVM",
+ "operation": "Backup",
+ "status": "InProgress",
+ "startTime": "2017-08-03T05:31:07.014604Z",
+ "activityId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobs.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobs.json
new file mode 100644
index 000000000000..0f138a87eba8
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobs.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.RecoveryServices/vaults/backupJobs",
+ "properties": {
+ "jobType": "AzureIaaSVMJob",
+ "duration": "PT12.4272909S",
+ "virtualMachineVersion": "Compute",
+ "entityFriendlyName": "testvm",
+ "backupManagementType": "AzureIaasVM",
+ "operation": "Backup",
+ "status": "InProgress",
+ "startTime": "2017-08-03T05:31:07.014604Z",
+ "activityId": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.RecoveryServices/vaults/backupJobs",
+ "properties": {
+ "jobType": "AzureIaaSVMJob",
+ "duration": "PT31.3066291S",
+ "virtualMachineVersion": "Compute",
+ "entityFriendlyName": "testvm",
+ "backupManagementType": "AzureIaasVM",
+ "operation": "ConfigureBackup",
+ "status": "Completed",
+ "startTime": "2017-08-03T05:30:32.4487085Z",
+ "endTime": "2017-08-03T05:31:03.7553376Z",
+ "activityId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobsWithAllSupportedFilters.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobsWithAllSupportedFilters.json
new file mode 100644
index 000000000000..fd04c044c41f
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobsWithAllSupportedFilters.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "api-version": "2019-06-15",
+ "$filter": "startTime eq '2016-01-01 00:00:00 AM' and endTime eq '2017-11-29 00:00:00 AM' and operation eq 'Backup' and backupManagementType eq 'AzureIaasVM' and status eq 'InProgress'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.RecoveryServices/vaults/backupJobs",
+ "properties": {
+ "jobType": "AzureIaaSVMJob",
+ "duration": "PT12.4272909S",
+ "virtualMachineVersion": "Compute",
+ "entityFriendlyName": "testvm",
+ "backupManagementType": "AzureIaasVM",
+ "operation": "Backup",
+ "status": "InProgress",
+ "startTime": "2017-08-03T05:31:07.014604Z",
+ "activityId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
new file mode 100644
index 000000000000..1f1aa1a63914
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "api-version": "2019-06-15",
+ "$filter": "startTime eq '2016-01-01 00:00:00 AM' and endTime eq '2017-11-29 00:00:00 AM'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.RecoveryServices/vaults/backupJobs",
+ "properties": {
+ "jobType": "AzureIaaSVMJob",
+ "duration": "PT12.4272909S",
+ "virtualMachineVersion": "Compute",
+ "entityFriendlyName": "testvm",
+ "backupManagementType": "AzureIaasVM",
+ "operation": "Backup",
+ "status": "InProgress",
+ "startTime": "2017-08-03T05:31:07.014604Z",
+ "activityId": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.RecoveryServices/vaults/backupJobs",
+ "properties": {
+ "jobType": "AzureIaaSVMJob",
+ "duration": "PT31.3066291S",
+ "virtualMachineVersion": "Compute",
+ "entityFriendlyName": "testvm",
+ "backupManagementType": "AzureIaasVM",
+ "operation": "ConfigureBackup",
+ "status": "Completed",
+ "startTime": "2017-08-03T05:30:32.4487085Z",
+ "endTime": "2017-08-03T05:31:03.7553376Z",
+ "activityId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs?api-version=2017-07-01&%24filter=startTime+eq+%272016-01-01+00%3a00%3a00+AM%27+and+endTime+eq+%272017-11-29+00%3a00%3a00+AM%27&%24skiptoken=%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-16%22%3f%3e%0d%0a%3cContinuationToken%3e%0d%0a++%3cContinuationToken%3e%0d%0a++++%3cVersion%3e2.0%3c%2fVersion%3e%0d%0a++++%3cType%3eTable%3c%2fType%3e%0d%0a++++%3cNextPartitionKey%3e1!28!NzI5MTk0OTM1MDkwNjEwODQzMA--%3c%2fNextPartitionKey%3e%0d%0a++++%3cNextRowKey%3e1!108!am9ic3N0YXJ0dGltZWluZGV4XzBfMjUxODkxNDYzNTI2NjE5Nzg5OF8wXzYwOWZkM2JmLTU4MzctNDFkYi1iMjExLTY1MzliNDNlZjM1OA--%3c%2fNextRowKey%3e%0d%0a++++%3cTargetLocation%3ePrimary%3c%2fTargetLocation%3e%0d%0a++%3c%2fContinuationToken%3e%0d%0a%3c%2fContinuationToken%3e"
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ProtectedItem_Delete.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ProtectedItem_Delete.json
new file mode 100644
index 000000000000..52ba8dabefe8
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/ProtectedItem_Delete.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "PythonSDKBackupTestRg",
+ "vaultName": "PySDKBackupTestRsVault",
+ "fabricName": "Azure",
+ "containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
+ "protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01",
+ "Retry-After": 60
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/TriggerCancelJob.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/TriggerCancelJob.json
new file mode 100644
index 000000000000..43df73675bc5
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/TriggerCancelJob.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "jobName": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01",
+ "Retry-After": 60
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/TriggerExportJobs.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/TriggerExportJobs.json
new file mode 100644
index 000000000000..229adf3c239a
--- /dev/null
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/examples/Common/TriggerExportJobs.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "SwaggerTestRg",
+ "vaultName": "NetSDKTestRsVault",
+ "api-version": "2019-06-15"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01",
+ "Retry-After": 60
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md
index bb8a2a2f6a5b..a826cb9e5feb 100644
--- a/specification/recoveryservicesbackup/resource-manager/readme.md
+++ b/specification/recoveryservicesbackup/resource-manager/readme.md
@@ -28,7 +28,7 @@ These are the global settings for the RecoveryServicesBackup API.
title: Recovery Services Backup Client
description: Open API 2.0 Specs for Azure RecoveryServices Backup service
openapi-type: arm
-tag: package-2017-07
+tag: package-2019-06
csharp-sdks-folder: ./Generated/CSharp
python-sdks-folder: ./Generated/Python
go-sdk-folder: ./Generated/Golang
@@ -45,6 +45,17 @@ model-validator: true
semantic-validator: true
message-format: json
```
+### Tag: package-2019-06
+
+These settings apply only when `--tag=package-2019-06` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-06'
+input-file:
+- Microsoft.RecoveryServices/stable/2019-06-15/bms.json
+- Microsoft.RecoveryServices/stable/2017-07-01/bms.json
+- Microsoft.RecoveryServices/stable/2016-12-01/bms.json
+- Microsoft.RecoveryServices/stable/2016-08-10/operations.json
+```
### Tag: package-2019-05
From 357d9ee0acaa77d40eb604a2399ad319024a2065 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Sat, 14 Dec 2019 05:16:31 +0000
Subject: [PATCH 093/469] regenerated all-api-versions
---
.../recoveryservicesbackup/resource-manager/readme.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md
index a826cb9e5feb..0aa7a9b3d7db 100644
--- a/specification/recoveryservicesbackup/resource-manager/readme.md
+++ b/specification/recoveryservicesbackup/resource-manager/readme.md
@@ -175,10 +175,11 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- - $(this-folder)/Microsoft.RecoveryServices/stable/2019-05-13/bms.json
+ - $(this-folder)/Microsoft.RecoveryServices/stable/2019-06-15/bms.json
- $(this-folder)/Microsoft.RecoveryServices/stable/2017-07-01/bms.json
- $(this-folder)/Microsoft.RecoveryServices/stable/2016-12-01/bms.json
- $(this-folder)/Microsoft.RecoveryServices/stable/2016-08-10/operations.json
+ - $(this-folder)/Microsoft.RecoveryServices/stable/2019-05-13/bms.json
- $(this-folder)/Microsoft.RecoveryServices/stable/2016-06-01/recoveryservicesbackup.json
- $(this-folder)/Microsoft.RecoveryServices/stable/2016-06-01/registeredIdentities.json
From 273e728a98793c777e8e696fa6b9840fb41b0c52 Mon Sep 17 00:00:00 2001
From: Scott Schaab
Date: Sun, 15 Dec 2019 15:21:59 -0800
Subject: [PATCH 094/469] KeyVault resource-manager removing secrets.json from
readme.md (#7956)
---
specification/keyvault/resource-manager/readme.md | 2 --
1 file changed, 2 deletions(-)
diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md
index 6ebccfde4bec..1588d764de06 100644
--- a/specification/keyvault/resource-manager/readme.md
+++ b/specification/keyvault/resource-manager/readme.md
@@ -38,7 +38,6 @@ These settings apply only when `--tag=package-2019-09` is specified on the comma
input-file:
- Microsoft.KeyVault/stable/2019-09-01/keyvault.json
- Microsoft.KeyVault/stable/2019-09-01/providers.json
-- Microsoft.KeyVault/stable/2019-09-01/secrets.json
```
@@ -50,7 +49,6 @@ These settings apply only when `--tag=package-2018-02-14-preview` is specified o
input-file:
- Microsoft.KeyVault/preview/2018-02-14-preview/keyvault.json
- Microsoft.KeyVault/preview/2018-02-14-preview/providers.json
-- Microsoft.KeyVault/preview/2018-02-14-preview/secrets.json
```
From fcab4b732623a0ccee128fca5b6e3a766970369a Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Sun, 15 Dec 2019 23:23:29 +0000
Subject: [PATCH 095/469] regenerated all-api-versions
---
specification/keyvault/resource-manager/readme.md | 2 --
1 file changed, 2 deletions(-)
diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md
index 1588d764de06..24cac2e8b445 100644
--- a/specification/keyvault/resource-manager/readme.md
+++ b/specification/keyvault/resource-manager/readme.md
@@ -131,10 +131,8 @@ require: $(this-folder)/../../../profiles/readme.md
input-file:
- $(this-folder)/Microsoft.KeyVault/stable/2019-09-01/keyvault.json
- $(this-folder)/Microsoft.KeyVault/stable/2019-09-01/providers.json
- - $(this-folder)/Microsoft.KeyVault/stable/2019-09-01/secrets.json
- $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/keyvault.json
- $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/providers.json
- - $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/secrets.json
- $(this-folder)/Microsoft.KeyVault/stable/2018-02-14/keyvault.json
- $(this-folder)/Microsoft.KeyVault/stable/2018-02-14/providers.json
- $(this-folder)/Microsoft.KeyVault/stable/2016-10-01/keyvault.json
From 831573b92f1dbd60e76e1528f87d83f921db8363 Mon Sep 17 00:00:00 2001
From: Filiz Topatan
Date: Sun, 15 Dec 2019 17:29:05 -0800
Subject: [PATCH 096/469] [Blueprints] Parameter value model update and add
managedResources property (#7971)
* Update how we're modeling parameter value
* Add managedResources property
* Update description
---
.../blueprintAssignment.json | 55 ++++++-------------
.../blueprintDefinition.json | 44 ++-------------
2 files changed, 22 insertions(+), 77 deletions(-)
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
index 51375d097579..48dd6aaf9cf7 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
@@ -306,7 +306,16 @@
"AssignmentStatus": {
"description": "The status of a blueprint assignment. This field is readonly.",
"type": "object",
- "properties": {},
+ "properties": {
+ "managedResources": {
+ "type": "array",
+ "description": "List of resources that were created by the blueprint assignment.",
+ "readOnly": true,
+ "items": {
+ "type": "string"
+ }
+ }
+ },
"allOf": [
{
"$ref": "#/definitions/BlueprintResourceStatusBase"
@@ -402,53 +411,21 @@
"properties": {},
"additionalProperties": {
"description": "Key/Value pair of parameter fulfillment.",
- "$ref": "#/definitions/ParameterValueBase"
- }
- },
- "ParameterValueBase": {
- "description": "Base class for ParameterValue.",
- "type": "object",
- "properties": {
- "description": {
- "description": "Optional property. Establishes ParameterValueBase as a BaseClass.",
- "type": "string"
- }
+ "$ref": "#/definitions/ParameterValue"
}
},
"ParameterValue": {
- "description": "Value for the specified parameter.",
+ "description": "Value for the specified parameter. Can be either 'value' or 'reference' but not both.",
"type": "object",
"properties": {
"value": {
- "description": "Actual value."
- }
- },
- "required": [
- "value"
- ],
- "allOf": [
- {
- "$ref": "#/definitions/ParameterValueBase"
- }
- ]
- },
- "SecretReferenceParameterValue": {
- "description": "The reference to a secret, if the parameter should be protected.",
- "type": "object",
- "properties": {
+ "description": "Parameter value as value type."
+ },
"reference": {
- "description": "Specifies the reference.",
+ "description": "Parameter value as reference type.",
"$ref": "#/definitions/SecretValueReference"
}
- },
- "required": [
- "reference"
- ],
- "allOf": [
- {
- "$ref": "#/definitions/ParameterValueBase"
- }
- ]
+ }
},
"SecretValueReference": {
"description": "Reference to a Key Vault secret.",
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
index 8e438d1ceedd..d4c2472e7dfa 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
@@ -1073,53 +1073,21 @@
"properties": {},
"additionalProperties": {
"description": "Key/Value pair of parameter fulfillment.",
- "$ref": "#/definitions/ParameterValueBase"
- }
- },
- "ParameterValueBase": {
- "description": "Base class for ParameterValue.",
- "type": "object",
- "properties": {
- "description": {
- "description": "Optional property. Establishes ParameterValueBase as a BaseClass.",
- "type": "string"
- }
+ "$ref": "#/definitions/ParameterValue"
}
},
"ParameterValue": {
- "description": "Value for the specified parameter.",
+ "description": "Value for the specified parameter. Can be either 'value' or 'reference' but not both.",
"type": "object",
"properties": {
"value": {
- "description": "Actual value."
- }
- },
- "required": [
- "value"
- ],
- "allOf": [
- {
- "$ref": "#/definitions/ParameterValueBase"
- }
- ]
- },
- "SecretReferenceParameterValue": {
- "description": "The reference to a secret, if the parameter should be protected.",
- "type": "object",
- "properties": {
+ "description": "Parameter value as value type."
+ },
"reference": {
- "description": "Specifies the reference.",
+ "description": "Parameter value as reference type.",
"$ref": "#/definitions/SecretValueReference"
}
- },
- "required": [
- "reference"
- ],
- "allOf": [
- {
- "$ref": "#/definitions/ParameterValueBase"
- }
- ]
+ }
},
"SecretValueReference": {
"description": "Reference to a Key Vault secret.",
From d63fcdd7fb749da2d8f8bf1d8d48063312728b04 Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Mon, 16 Dec 2019 13:34:57 +0800
Subject: [PATCH 097/469] Revert "Test update (#7965)" (#7974)
This reverts commit 0aab60192843361d66519e84a4c46543f5a3df7a.
---
.../Microsoft.Batch/stable/2019-08-01/BatchManagement.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
index f1c433d1c280..116ce7441348 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
@@ -50,7 +50,7 @@
"$ref": "./examples/BatchAccountCreate_BYOS.json"
}
},
- "description": "Create a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
+ "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
From f9d377493a3915f2fec10c5a0b6a9346f5a78f47 Mon Sep 17 00:00:00 2001
From: Rohan Ds
Date: Sun, 15 Dec 2019 22:54:21 -0800
Subject: [PATCH 098/469] Added location capabilities (supported editions) for
Instance Pools (#7949)
* Added location capabilities for Instance Pools (supported editions)
* Missing example file
* Updated readme to include new capabilities.xml
* Updated wrong example file
* Fixed prettier json validation check
* Ran prettier check on example json
* Addressed more comments, used common definition for SKU
* Ran prettier check on all edited files
---
.../2018-06-01-preview/capabilities.json | 1255 +
.../LocationCapabilityListByLocation.json | 68692 ++++++++++++++++
specification/sql/resource-manager/readme.md | 4 +-
3 files changed, 69950 insertions(+), 1 deletion(-)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/capabilities.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/LocationCapabilityListByLocation.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/capabilities.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/capabilities.json
new file mode 100644
index 000000000000..b0b82c19ea38
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/capabilities.json
@@ -0,0 +1,1255 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/capabilities": {
+ "get": {
+ "tags": [
+ "LocationCapabilities"
+ ],
+ "description": "Gets the subscription capabilities available for the specified location.",
+ "operationId": "Capabilities_ListByLocation",
+ "parameters": [
+ {
+ "name": "locationName",
+ "in": "path",
+ "description": "The location name whose capabilities are retrieved.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "include",
+ "in": "query",
+ "description": "If specified, restricts the response to only include the selected item.",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "supportedEditions",
+ "supportedElasticPoolEditions",
+ "supportedManagedInstanceVersions",
+ "supportedInstancePoolEditions",
+ "supportedManagedInstanceEditions"
+ ],
+ "x-ms-enum": {
+ "name": "CapabilityGroup",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the subscription location capabilities.",
+ "schema": {
+ "$ref": "#/definitions/LocationCapabilities"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 SubscriptionNotFound - The requested subscription was not found."
+ }
+ },
+ "x-ms-examples": {
+ "List subscription capabilities in the given location.": {
+ "$ref": "./examples/LocationCapabilityListByLocation.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "LocationCapabilities": {
+ "description": "The location capability.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The location name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedServerVersions": {
+ "description": "The list of supported server versions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServerVersionCapability"
+ },
+ "readOnly": true
+ },
+ "supportedManagedInstanceVersions": {
+ "description": "The list of supported managed instance versions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedInstanceVersionCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ServerVersionCapability": {
+ "description": "The server capability",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The server version name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedEditions": {
+ "description": "The list of supported database editions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EditionCapability"
+ },
+ "readOnly": true
+ },
+ "supportedElasticPoolEditions": {
+ "description": "The list of supported elastic pool editions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ElasticPoolEditionCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ManagedInstanceVersionCapability": {
+ "description": "The managed instance capability",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The server version name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedEditions": {
+ "description": "The list of supported managed instance editions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedInstanceEditionCapability"
+ },
+ "readOnly": true
+ },
+ "supportedInstancePoolEditions": {
+ "description": "The list of supported instance pool editions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstancePoolEditionCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "EditionCapability": {
+ "description": "The edition capability.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The database edition name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedServiceLevelObjectives": {
+ "description": "The list of supported service objectives for the edition.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceObjectiveCapability"
+ },
+ "readOnly": true
+ },
+ "zoneRedundant": {
+ "description": "Whether or not zone redundancy is supported for the edition.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "readScale": {
+ "$ref": "#/definitions/ReadScaleCapability",
+ "description": "The read scale capability for the edition.",
+ "readOnly": true
+ },
+ "supportedStorageCapabilities": {
+ "description": "The list of supported storage capabilities for this edition",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ElasticPoolEditionCapability": {
+ "description": "The elastic pool edition capability.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The elastic pool edition name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedElasticPoolPerformanceLevels": {
+ "description": "The list of supported elastic pool DTU levels for the edition.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ElasticPoolPerformanceLevelCapability"
+ },
+ "readOnly": true
+ },
+ "zoneRedundant": {
+ "description": "Whether or not zone redundancy is supported for the edition.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ManagedInstanceEditionCapability": {
+ "description": "The managed server capability",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The managed server version name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedFamilies": {
+ "description": "The supported families.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedInstanceFamilyCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "InstancePoolEditionCapability": {
+ "description": "The instance pool capability",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The instance pool version name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedFamilies": {
+ "description": "The supported families.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstancePoolFamilyCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ServiceObjectiveCapability": {
+ "description": "The service objectives capability.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "description": "The unique ID of the service objective.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The service objective name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedMaxSizes": {
+ "description": "The list of supported maximum database sizes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MaxSizeRangeCapability"
+ },
+ "readOnly": true
+ },
+ "performanceLevel": {
+ "$ref": "#/definitions/PerformanceLevelCapability",
+ "description": "The performance level.",
+ "readOnly": true
+ },
+ "sku": {
+ "$ref": "../../../common/v1/types.json#/definitions/Sku",
+ "description": "The sku.",
+ "readOnly": true
+ },
+ "supportedLicenseTypes": {
+ "description": "List of supported license types.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LicenseTypeCapability"
+ },
+ "readOnly": true
+ },
+ "includedMaxSize": {
+ "$ref": "#/definitions/MaxSizeCapability",
+ "description": "The included (free) max size.",
+ "readOnly": true
+ },
+ "zoneRedundant": {
+ "description": "Whether or not zone redundancy is supported for the service objective.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "supportedAutoPauseDelay": {
+ "$ref": "#/definitions/AutoPauseDelayTimeRange",
+ "description": "Supported time range for auto pause delay",
+ "readOnly": true
+ },
+ "supportedMinCapacities": {
+ "description": "List of supported min capacities",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinCapacityCapability"
+ },
+ "readOnly": true
+ },
+ "computeModel": {
+ "description": "The compute model",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ReadScaleCapability": {
+ "description": "The read scale capability.",
+ "type": "object",
+ "properties": {
+ "maxNumberOfReplicas": {
+ "format": "int32",
+ "description": "The maximum number of read scale replicas.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "StorageCapability": {
+ "description": "The storage account type capability.",
+ "type": "object",
+ "properties": {
+ "storageAccountType": {
+ "description": "The storage account type for the database's backups.",
+ "enum": [
+ "GRS",
+ "LRS",
+ "ZRS"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ElasticPoolPerformanceLevelCapability": {
+ "description": "The Elastic Pool performance level capability.",
+ "type": "object",
+ "properties": {
+ "performanceLevel": {
+ "$ref": "#/definitions/PerformanceLevelCapability",
+ "description": "The performance level for the pool.",
+ "readOnly": true
+ },
+ "sku": {
+ "$ref": "../../../common/v1/types.json#/definitions/Sku",
+ "description": "The sku.",
+ "readOnly": true
+ },
+ "supportedLicenseTypes": {
+ "description": "List of supported license types.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LicenseTypeCapability"
+ },
+ "readOnly": true
+ },
+ "maxDatabaseCount": {
+ "format": "int32",
+ "description": "The maximum number of databases supported.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "includedMaxSize": {
+ "$ref": "#/definitions/MaxSizeCapability",
+ "description": "The included (free) max size for this performance level.",
+ "readOnly": true
+ },
+ "supportedMaxSizes": {
+ "description": "The list of supported max sizes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MaxSizeRangeCapability"
+ },
+ "readOnly": true
+ },
+ "supportedPerDatabaseMaxSizes": {
+ "description": "The list of supported per database max sizes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MaxSizeRangeCapability"
+ },
+ "readOnly": true
+ },
+ "supportedPerDatabaseMaxPerformanceLevels": {
+ "description": "The list of supported per database max performance levels.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ElasticPoolPerDatabaseMaxPerformanceLevelCapability"
+ },
+ "readOnly": true
+ },
+ "zoneRedundant": {
+ "description": "Whether or not zone redundancy is supported for the performance level.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ManagedInstanceFamilyCapability": {
+ "description": "The managed server family capability.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Family name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sku": {
+ "description": "SKU name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedLicenseTypes": {
+ "description": "List of supported license types.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LicenseTypeCapability"
+ },
+ "readOnly": true
+ },
+ "supportedVcoresValues": {
+ "description": "List of supported virtual cores values.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedInstanceVcoresCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "InstancePoolFamilyCapability": {
+ "description": "The instance pool family capability.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Family name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "supportedLicenseTypes": {
+ "description": "List of supported license types.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LicenseTypeCapability"
+ },
+ "readOnly": true
+ },
+ "supportedVcoresValues": {
+ "description": "List of supported virtual cores values.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstancePoolVcoresCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "MaxSizeRangeCapability": {
+ "description": "The maximum size range capability.",
+ "type": "object",
+ "properties": {
+ "minValue": {
+ "$ref": "#/definitions/MaxSizeCapability",
+ "description": "Minimum value.",
+ "readOnly": true
+ },
+ "maxValue": {
+ "$ref": "#/definitions/MaxSizeCapability",
+ "description": "Maximum value.",
+ "readOnly": true
+ },
+ "scaleSize": {
+ "$ref": "#/definitions/MaxSizeCapability",
+ "description": "Scale/step size for discrete values between the minimum value and the maximum value.",
+ "readOnly": true
+ },
+ "logSize": {
+ "$ref": "#/definitions/LogSizeCapability",
+ "description": "Size of transaction log.",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "PerformanceLevelCapability": {
+ "description": "The performance level capability.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "Performance level value.",
+ "type": "number",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "Unit type used to measure performance level.",
+ "enum": [
+ "DTU",
+ "VCores"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "PerformanceLevelUnit",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "LicenseTypeCapability": {
+ "description": "The license type capability",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "License type identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "MaxSizeCapability": {
+ "description": "The maximum size capability.",
+ "type": "object",
+ "properties": {
+ "limit": {
+ "format": "int32",
+ "description": "The maximum size limit (see 'unit' for the units).",
+ "type": "integer",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "The units that the limit is expressed in.",
+ "enum": [
+ "Megabytes",
+ "Gigabytes",
+ "Terabytes",
+ "Petabytes"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "MaxSizeUnit",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AutoPauseDelayTimeRange": {
+ "description": "Supported auto pause delay time range",
+ "type": "object",
+ "properties": {
+ "minValue": {
+ "format": "int32",
+ "description": "Minimum value",
+ "type": "integer",
+ "readOnly": true
+ },
+ "maxValue": {
+ "format": "int32",
+ "description": "Maximum value",
+ "type": "integer",
+ "readOnly": true
+ },
+ "stepSize": {
+ "format": "int32",
+ "description": "Step value for discrete values between the minimum value and the maximum value.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "default": {
+ "format": "int32",
+ "description": "Default value is no value is provided",
+ "type": "integer",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "Unit of time that delay is expressed in",
+ "enum": [
+ "Minutes"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "PauseDelayTimeUnit",
+ "modelAsString": true
+ }
+ },
+ "doNotPauseValue": {
+ "format": "int32",
+ "description": "Value that is used to not pause (infinite delay before pause)",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "MinCapacityCapability": {
+ "description": "The min capacity capability",
+ "type": "object",
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "Min capacity value",
+ "type": "number",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ElasticPoolPerDatabaseMaxPerformanceLevelCapability": {
+ "description": "The max per-database performance level capability.",
+ "type": "object",
+ "properties": {
+ "limit": {
+ "format": "double",
+ "description": "The maximum performance level per database.",
+ "type": "number",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "Unit type used to measure performance level.",
+ "enum": [
+ "DTU",
+ "VCores"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "PerformanceLevelUnit",
+ "modelAsString": true
+ }
+ },
+ "supportedPerDatabaseMinPerformanceLevels": {
+ "description": "The list of supported min database performance levels.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ElasticPoolPerDatabaseMinPerformanceLevelCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "ManagedInstanceVcoresCapability": {
+ "description": "The managed instance virtual cores capability.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The virtual cores identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "value": {
+ "format": "int32",
+ "description": "The virtual cores value.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "includedMaxSize": {
+ "$ref": "#/definitions/MaxSizeCapability",
+ "description": "Included size.",
+ "readOnly": true
+ },
+ "supportedStorageSizes": {
+ "description": "Storage size ranges.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MaxSizeRangeCapability"
+ },
+ "readOnly": true
+ },
+ "instancePoolSupported": {
+ "description": "True if this service objective is supported for managed instances in an instance pool.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "standaloneSupported": {
+ "description": "True if this service objective is supported for standalone managed instances.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "InstancePoolVcoresCapability": {
+ "description": "The managed instance virtual cores capability.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The virtual cores identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "value": {
+ "format": "int32",
+ "description": "The virtual cores value.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "storageLimit": {
+ "$ref": "#/definitions/MaxSizeCapability",
+ "description": "Storage limit.",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ },
+ "LogSizeCapability": {
+ "description": "The log size capability.",
+ "type": "object",
+ "properties": {
+ "limit": {
+ "format": "int32",
+ "description": "The log size limit (see 'unit' for the units).",
+ "type": "integer",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "The units that the limit is expressed in.",
+ "enum": [
+ "Megabytes",
+ "Gigabytes",
+ "Terabytes",
+ "Petabytes",
+ "Percent"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "LogSizeUnit",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ElasticPoolPerDatabaseMinPerformanceLevelCapability": {
+ "description": "The minimum per-database performance level capability.",
+ "type": "object",
+ "properties": {
+ "limit": {
+ "format": "double",
+ "description": "The minimum performance level per database.",
+ "type": "number",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "Unit type used to measure performance level.",
+ "enum": [
+ "DTU",
+ "VCores"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "PerformanceLevelUnit",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The status of the capability.",
+ "enum": [
+ "Visible",
+ "Available",
+ "Default",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CapabilityStatus",
+ "modelAsString": false
+ }
+ },
+ "reason": {
+ "description": "The reason for the capability not being available.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/LocationCapabilityListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/LocationCapabilityListByLocation.json
new file mode 100644
index 000000000000..af199c989b2a
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/LocationCapabilityListByLocation.json
@@ -0,0 +1,68692 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "locationName": "eastus2euap",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "North Central US",
+ "supportedServerVersions": [
+ {
+ "name": "12.0",
+ "supportedEditions": [
+ {
+ "name": "System",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "26e021db-f1f9-4c98-84c6-92af8ef433d7",
+ "name": "System",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "id": "29dd7459-4a7c-4e56-be22-f0adda49440d",
+ "name": "System0",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "id": "c99ac918-dbea-463f-a475-16ec020fdc12",
+ "name": "System1",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "id": "620323bf-2879-4807-b30d-c2e6d7b3b3aa",
+ "name": "System2",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "id": "33d0db1f-6893-4210-99f9-463fb9b496a4",
+ "name": "System3",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "id": "da24338c-a6c9-46c2-a4bf-4ac95b496ae4",
+ "name": "System4",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "id": "53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9",
+ "name": "System2L",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "id": "e79cd55c-689f-48d9-bffa-0dd12c772248",
+ "name": "System3L",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "id": "4b37bb6d-e004-47ac-8f7a-be56ac9fb490",
+ "name": "System4L",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "performanceLevel": {
+ "value": 0,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "System",
+ "tier": "System",
+ "capacity": 0
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 0
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Visible",
+ "reason": "'System' is not a valid database edition in this version of SQL Server."
+ },
+ {
+ "name": "Free",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "6aa3bb3e-7f50-40d6-95ef-5497c30d99d8",
+ "name": "Free",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 5,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Free",
+ "tier": "Free",
+ "capacity": 5
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 32,
+ "unit": "Megabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 0
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "name": "Basic",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c",
+ "name": "Basic",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 5,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic",
+ "capacity": 5
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 0
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "name": "Standard",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "f1173c43-91bd-4aaa-973c-54e79e15235b",
+ "name": "S0",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 10,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "id": "1b1ebd4d-d903-4baa-97f9-4ea675f5e928",
+ "name": "S1",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 20,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 20
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "455330e1-00cd-488b-b5fa-177c226f28b7",
+ "name": "S2",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 50,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 50
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "789681b8-ca10-4eb0-bdf2-e0b050601b40",
+ "name": "S3",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 100,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 100
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "3cf14e1a-0a5d-408c-bbc7-f63c5282f735",
+ "name": "S4",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 200,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 200
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "ab69b4e3-d7cc-4aa5-87a6-f8b50615a03c",
+ "name": "S6",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 400,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 400
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "b6ca0894-d2f0-4e40-99f5-0f8a93cc2437",
+ "name": "S7",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 800,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 800
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "0efa88e9-99ff-4e36-a148-8c4b20c0826c",
+ "name": "S9",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 1600,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1600
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "98100e8b-2f8a-4a81-9eb5-4d1e675c5a29",
+ "name": "S12",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 3000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 3000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 0
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "name": "Premium",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "7203483a-c4fb-4304-9e9f-17c71c904f5d",
+ "name": "P1",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 125,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Premium",
+ "tier": "Premium",
+ "capacity": 125
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "id": "a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0",
+ "name": "P2",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 250,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Premium",
+ "tier": "Premium",
+ "capacity": 250
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc",
+ "name": "P4",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Premium",
+ "tier": "Premium",
+ "capacity": 500
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "43940481-9191-475a-9dba-6b505615b9aa",
+ "name": "P6",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 1000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Premium",
+ "tier": "Premium",
+ "capacity": 1000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "dd00d544-bbc0-4f61-ba60-cdce0c410288",
+ "name": "P11",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 1750,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Premium",
+ "tier": "Premium",
+ "capacity": 1750
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71",
+ "name": "P15",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 4000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Premium",
+ "tier": "Premium",
+ "capacity": 4000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 1
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "name": "DataWarehouse",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "9f848803-41b2-4a6d-9501-bb0e0ab31d2e",
+ "name": "DW100c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 900,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 900
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "bd2edbf5-11a2-4a87-b371-4b78eb82280e",
+ "name": "DW200c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 1800,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 1800
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "f1e305d4-5a13-4fd1-9deb-033d86ad8ea3",
+ "name": "DW300c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 2700,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 2700
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "9e6d0543-d417-4aee-a7aa-b588e0aa9722",
+ "name": "DW400c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 3600,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 3600
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "16d01b30-3ecd-4b97-aeaf-a3d52f46fcbe",
+ "name": "DW500c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 4500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 4500
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "6b6d6207-2c78-48e2-8549-ae2cdc62f634",
+ "name": "DW1000c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 9000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "64dec603-ff44-4497-b77f-d4dcbc013e20",
+ "name": "DW1500c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 13500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 13500
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "32084fd6-8bc7-4d72-9aeb-9e5954f28779",
+ "name": "DW2000c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 18000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 18000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "ea58fa6b-4504-4a59-8a8b-278a60f04fd3",
+ "name": "DW2500c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 22500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 22500
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "15e8ff68-3583-42da-9c2e-a29d08bba253",
+ "name": "DW3000c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 27000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 27000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "bcf5eb94-46c3-40c3-b701-c5c189300a79",
+ "name": "DW5000c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 45000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 45000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "8bf62e3f-72a3-4d03-9838-8cc5e2115a07",
+ "name": "DW6000c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 54000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 54000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "c3e07aba-7c88-4fdb-a9ee-ccc6705e2002",
+ "name": "DW7500c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ }
+ ],
+ "performanceLevel": {
+ "value": 67500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 67500
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "id": "36ec908d-7322-4ba6-91c2-f2012eb4f32e",
+ "name": "DW10000c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ }
+ ],
+ "performanceLevel": {
+ "value": 90000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 90000
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "id": "5199131b-d29a-49fd-91e6-a8bdd789659f",
+ "name": "DW15000c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ }
+ ],
+ "performanceLevel": {
+ "value": 135000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 135000
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "id": "df4771c8-dd92-4795-b9eb-01cbb35a8cdc",
+ "name": "DW30000c",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ }
+ ],
+ "performanceLevel": {
+ "value": 270000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 270000
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "status": "Visible",
+ "reason": "Certain regions do not support Data Warehouse provisioning or scaling to DW7500c or larger DW SLOs. Please either try a different performance level (DWU) or choose another region. For more information, please contact Microsoft support."
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 0
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "name": "Stretch",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "9cfc850f-d57f-4760-b5a6-bb640d268bf0",
+ "name": "DS100",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 750,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 750
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "id": "053407ef-f01c-46f4-b829-96e01a14f449",
+ "name": "DS200",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 1500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 1500
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "013a9e10-cafc-45a8-8fcf-93095655d2ce",
+ "name": "DS300",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 2250,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 2250
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "79f61db4-8c10-46ba-a93a-d7d02dddd61c",
+ "name": "DS400",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 3000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 3000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "44eaac33-df00-4ef4-a2bb-f7ff87899eea",
+ "name": "DS500",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 3750,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 3750
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72",
+ "name": "DS600",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 4500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 4500
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "b9ed8f51-a414-42dc-8348-e4a1de25e12b",
+ "name": "DS1000",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 7500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 7500
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "07479569-6d70-47a5-8db6-0af55d34f2c1",
+ "name": "DS1200",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 9000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 9000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "2d79baec-2879-46d5-9f5d-fb70eb004c4e",
+ "name": "DS1500",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 11250,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 11250
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee",
+ "name": "DS2000",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 60,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 70,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 80,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 90,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "performanceLevel": {
+ "value": 15000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "Stretch",
+ "tier": "Stretch",
+ "capacity": 15000
+ },
+ "supportedLicenseTypes": [],
+ "includedMaxSize": {
+ "limit": 240,
+ "unit": "Terabytes"
+ },
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 0
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "name": "GeneralPurpose",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "5934b5fa-2f4c-4a4b-8dfb-1ce116f0f587",
+ "name": "GP_Gen4_1",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 1,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 1
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "aa3dbf38-039b-4a88-8487-94dfddfd1f86",
+ "name": "GP_S_Gen5_1",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 524288,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 1,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 1
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 0.5,
+ "status": "Default"
+ },
+ {
+ "value": 0.75,
+ "status": "Available"
+ },
+ {
+ "value": 1,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "29575dba-2a11-4440-8813-fc75b9c32a83",
+ "name": "GP_Gen4_2",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "f21733ad-9b9b-4d4e-a4fa-94a133c41718",
+ "name": "GP_Gen5_2",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "id": "3d6269f6-9ca1-4192-a947-5bff42c8c2aa",
+ "name": "GP_S_Gen5_2",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 0.5,
+ "status": "Default"
+ },
+ {
+ "value": 0.75,
+ "status": "Available"
+ },
+ {
+ "value": 1,
+ "status": "Available"
+ },
+ {
+ "value": 1.25,
+ "status": "Available"
+ },
+ {
+ "value": 1.5,
+ "status": "Available"
+ },
+ {
+ "value": 1.75,
+ "status": "Available"
+ },
+ {
+ "value": 2,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "a265476d-7f55-47c5-af89-41f619593622",
+ "name": "GP_Gen4_3",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 3,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 3
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "12127802-4801-442f-acdc-6a305e5d8607",
+ "name": "GP_Gen4_4",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "5a2250bb-cc3e-4f86-acbd-599fe184b9be",
+ "name": "GP_Gen5_4",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "3372b1c4-d1ab-485c-80dc-e6a0ce4e5f91",
+ "name": "GP_S_Gen5_4",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 0.5,
+ "status": "Default"
+ },
+ {
+ "value": 0.75,
+ "status": "Available"
+ },
+ {
+ "value": 1,
+ "status": "Available"
+ },
+ {
+ "value": 1.25,
+ "status": "Available"
+ },
+ {
+ "value": 1.5,
+ "status": "Available"
+ },
+ {
+ "value": 1.75,
+ "status": "Available"
+ },
+ {
+ "value": 2,
+ "status": "Available"
+ },
+ {
+ "value": 3,
+ "status": "Available"
+ },
+ {
+ "value": 4,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "d8f42720-7066-49da-853e-1a7a0f2ae635",
+ "name": "GP_Gen4_5",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 5,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 5
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "0a8f0204-66ec-411b-80bd-d15460c7ccc6",
+ "name": "GP_Gen4_6",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "197e794a-a0a2-4286-9629-1677137b1314",
+ "name": "GP_Gen5_6",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "29627e46-7cfd-49c3-92f1-22af2cc31502",
+ "name": "GP_S_Gen5_6",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 0.75,
+ "status": "Default"
+ },
+ {
+ "value": 1,
+ "status": "Available"
+ },
+ {
+ "value": 1.25,
+ "status": "Available"
+ },
+ {
+ "value": 1.5,
+ "status": "Available"
+ },
+ {
+ "value": 1.75,
+ "status": "Available"
+ },
+ {
+ "value": 2,
+ "status": "Available"
+ },
+ {
+ "value": 3,
+ "status": "Available"
+ },
+ {
+ "value": 4,
+ "status": "Available"
+ },
+ {
+ "value": 5,
+ "status": "Available"
+ },
+ {
+ "value": 6,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "e75459da-541e-4dd1-952a-c8874f2cad4a",
+ "name": "GP_Gen4_7",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 7,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 7
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "b6cb748f-90b7-4583-925d-17151fce4031",
+ "name": "GP_Gen4_8",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "d92ff70d-5cc6-4bca-90dd-9ba988f08c02",
+ "name": "GP_Gen5_8",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "a603eecf-7801-4767-81ce-a59a8a6a0722",
+ "name": "GP_S_Gen5_8",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 1,
+ "status": "Default"
+ },
+ {
+ "value": 1.25,
+ "status": "Available"
+ },
+ {
+ "value": 1.5,
+ "status": "Available"
+ },
+ {
+ "value": 1.75,
+ "status": "Available"
+ },
+ {
+ "value": 2,
+ "status": "Available"
+ },
+ {
+ "value": 3,
+ "status": "Available"
+ },
+ {
+ "value": 4,
+ "status": "Available"
+ },
+ {
+ "value": 5,
+ "status": "Available"
+ },
+ {
+ "value": 6,
+ "status": "Available"
+ },
+ {
+ "value": 8,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "66b222db-8f6c-46bf-806a-75a38bac674f",
+ "name": "GP_Gen4_9",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 9,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 9
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "e53c1e77-5b43-4e8c-aafd-a875ea64807e",
+ "name": "GP_Gen4_10",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "eb26495c-75d3-427a-80a1-e72583bddf4e",
+ "name": "GP_Gen5_10",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "77f361df-4913-485f-943f-2bb1d810f4b5",
+ "name": "GP_S_Gen5_10",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 1.25,
+ "status": "Default"
+ },
+ {
+ "value": 1.5,
+ "status": "Available"
+ },
+ {
+ "value": 1.75,
+ "status": "Available"
+ },
+ {
+ "value": 2,
+ "status": "Available"
+ },
+ {
+ "value": 3,
+ "status": "Available"
+ },
+ {
+ "value": 4,
+ "status": "Available"
+ },
+ {
+ "value": 5,
+ "status": "Available"
+ },
+ {
+ "value": 6,
+ "status": "Available"
+ },
+ {
+ "value": 8,
+ "status": "Available"
+ },
+ {
+ "value": 10,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "7b24051a-7551-4f81-b7ed-138b752c0cab",
+ "name": "GP_Gen5_12",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 12,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 12
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "fafc7509-d0c0-4d4d-b833-a22a92002af1",
+ "name": "GP_S_Gen5_12",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 12,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 12
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 1.5,
+ "status": "Default"
+ },
+ {
+ "value": 1.75,
+ "status": "Available"
+ },
+ {
+ "value": 2,
+ "status": "Available"
+ },
+ {
+ "value": 3,
+ "status": "Available"
+ },
+ {
+ "value": 4,
+ "status": "Available"
+ },
+ {
+ "value": 5,
+ "status": "Available"
+ },
+ {
+ "value": 6,
+ "status": "Available"
+ },
+ {
+ "value": 8,
+ "status": "Available"
+ },
+ {
+ "value": 10,
+ "status": "Available"
+ },
+ {
+ "value": 12,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "a0dcebb2-7b28-45d6-83c8-034ffc44dcc7",
+ "name": "GP_Gen5_14",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 14,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 14
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "ffd5edac-d85c-4685-b16d-de8faaa9a085",
+ "name": "GP_S_Gen5_14",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 14,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 14
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 1.75,
+ "status": "Default"
+ },
+ {
+ "value": 2,
+ "status": "Available"
+ },
+ {
+ "value": 3,
+ "status": "Available"
+ },
+ {
+ "value": 4,
+ "status": "Available"
+ },
+ {
+ "value": 5,
+ "status": "Available"
+ },
+ {
+ "value": 6,
+ "status": "Available"
+ },
+ {
+ "value": 8,
+ "status": "Available"
+ },
+ {
+ "value": 10,
+ "status": "Available"
+ },
+ {
+ "value": 12,
+ "status": "Available"
+ },
+ {
+ "value": 14,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "3bbb282e-5cfb-4a8e-98d5-72b9de14fd40",
+ "name": "GP_Gen4_16",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "92a37be8-8fb8-4ef8-9add-dbc217c038a7",
+ "name": "GP_Gen5_16",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "92adf537-10d2-418a-928f-252a069231aa",
+ "name": "GP_S_Gen5_16",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_S_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [],
+ "zoneRedundant": false,
+ "supportedAutoPauseDelay": {
+ "minValue": 60,
+ "maxValue": 10080,
+ "stepSize": 10,
+ "default": 60,
+ "unit": "Minutes",
+ "doNotPauseValue": -1
+ },
+ "supportedMinCapacities": [
+ {
+ "value": 2,
+ "status": "Default"
+ },
+ {
+ "value": 3,
+ "status": "Available"
+ },
+ {
+ "value": 4,
+ "status": "Available"
+ },
+ {
+ "value": 5,
+ "status": "Available"
+ },
+ {
+ "value": 6,
+ "status": "Available"
+ },
+ {
+ "value": 8,
+ "status": "Available"
+ },
+ {
+ "value": 10,
+ "status": "Available"
+ },
+ {
+ "value": 12,
+ "status": "Available"
+ },
+ {
+ "value": 14,
+ "status": "Available"
+ },
+ {
+ "value": 16,
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "id": "7786e4d6-7def-4c25-bbe6-bbb166d9060d",
+ "name": "GP_Gen5_18",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 18,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 18
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "a4567429-ab9b-47c7-a7d9-bef90069c942",
+ "name": "GP_Gen5_20",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 20,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 20
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "560fc158-3975-4431-9c58-c913d6eadde3",
+ "name": "GP_Gen4_24",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "a0e88422-40ff-4e8d-9403-d69ca347fc36",
+ "name": "GP_Gen5_24",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "e8a59272-786f-4969-a8b5-7db1dedb37cf",
+ "name": "GP_Gen5_32",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 32,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 32
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "add5efcd-d19e-47c0-90ec-5cf76d25ec62",
+ "name": "GP_Gen5_40",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 40,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 40
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "e847fba4-b20d-4ab3-a422-c74070f38acc",
+ "name": "GP_Gen5_80",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 80,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 80
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 0
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "name": "BusinessCritical",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "c62e8f57-d557-4377-a078-31cc5898c30d",
+ "name": "BC_Gen4_1",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 1,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 1
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "063b8b86-08f4-4697-aa15-1a0ef798c4b5",
+ "name": "BC_Gen4_2",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "a0fc5801-8d79-49b1-bb62-02e84cf70333",
+ "name": "BC_Gen5_2",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "id": "85d9197b-2d08-4722-b16f-544f82e9474a",
+ "name": "BC_Gen4_3",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 3,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 3
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "51909b2a-78ab-4187-9399-ef948311ebd3",
+ "name": "BC_Gen4_4",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "665a55db-09db-4623-a7c3-95973806f722",
+ "name": "BC_Gen5_4",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "a11c134d-aea7-4146-b68d-abbf996da1ea",
+ "name": "BC_Gen4_5",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 5,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 5
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "130f88a6-15ef-4f62-86f3-7422d93d3b41",
+ "name": "BC_Gen4_6",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "c2d88f7b-021c-494e-adc2-d484c184a129",
+ "name": "BC_Gen5_6",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "8160a1ce-2d4b-487c-9d06-910d01a29d6a",
+ "name": "BC_Gen4_7",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 7,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 7
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "daf80701-f93b-4b57-994e-699905078444",
+ "name": "BC_Gen4_8",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "5f71c3de-ead7-4cb9-8505-d12e2dc2774a",
+ "name": "BC_Gen5_8",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "9f48f46b-d290-4593-aada-2219f5729c97",
+ "name": "BC_Gen4_9",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 9,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 9
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "cbe7e810-92e2-4e88-b052-f057a049dc19",
+ "name": "BC_Gen4_10",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "6146bc08-82f8-4842-8374-fcb89a0303bf",
+ "name": "BC_Gen5_10",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "9c892ace-06fe-44b1-9cca-7ad71f3912a3",
+ "name": "BC_Gen5_12",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 12,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 12
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "2cdc2809-a9d0-4b14-bbe4-6a0ef12a657b",
+ "name": "BC_Gen5_14",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 14,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 14
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "3cb9d0b5-1aa5-463d-880a-424c5b7b2790",
+ "name": "BC_Gen4_16",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "5cf22315-05d1-4af0-b3d8-432459dc1ce9",
+ "name": "BC_Gen5_16",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "2557f090-9298-4db0-95c8-b5f60730a0b0",
+ "name": "BC_Gen5_18",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 18,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 18
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "6c744196-96b4-40f9-b348-f5f0f78e45f4",
+ "name": "BC_Gen5_20",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 20,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 20
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "65f12963-e606-4d1b-b36a-71480f31e904",
+ "name": "BC_Gen4_24",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "09266e61-c762-47af-9377-07e1fcf0e28f",
+ "name": "BC_Gen5_24",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "2a8e2a20-b3d8-49b0-9150-4c16c6bdcc98",
+ "name": "BC_Gen5_32",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 32,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 32
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "c07a9ab7-a897-41b0-b3b3-16e605cb93a1",
+ "name": "BC_Gen5_40",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 40,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 40
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "cc1f7acb-84d5-4d0d-8830-a107747ef391",
+ "name": "BC_Gen5_80",
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "performanceLevel": {
+ "value": 80,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 80
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 1
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "name": "Hyperscale",
+ "supportedServiceLevelObjectives": [
+ {
+ "id": "9380cd0e-b025-4e9d-829c-c1918c1614bb",
+ "name": "HS_Gen4_1",
+ "performanceLevel": {
+ "value": 1,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 1
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "id": "34497c3f-24b9-4cee-968d-6e5e854670fe",
+ "name": "HS_Gen4_2",
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "a420d2b2-ca32-4152-b1c6-dd8d4d9fd734",
+ "name": "HS_Gen5_2",
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "5de845d2-2055-428c-b507-94131358cdd7",
+ "name": "HS_Gen4_3",
+ "performanceLevel": {
+ "value": 3,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 3
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "d060b874-21f3-47b0-a9bd-a1a737cfcc6e",
+ "name": "HS_Gen4_4",
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "60dba88b-2dfa-4123-be57-bd0dbfd92a72",
+ "name": "HS_Gen5_4",
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "925a0916-15fb-4764-aa76-533d97f2d782",
+ "name": "HS_Gen4_5",
+ "performanceLevel": {
+ "value": 5,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 5
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "d7aa11c2-e4c7-442a-962e-308b371f5ec1",
+ "name": "HS_Gen4_6",
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "b9c594ec-a3fe-4bfe-808d-a595410d0a07",
+ "name": "HS_Gen5_6",
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "d77eef57-6c00-4003-b140-822509b8736a",
+ "name": "HS_Gen4_7",
+ "performanceLevel": {
+ "value": 7,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 7
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "694bf389-7cb2-4461-8fa2-0b06d8438315",
+ "name": "HS_Gen4_8",
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "efdfac5f-3f8e-4500-95b1-684c07349860",
+ "name": "HS_Gen5_8",
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "554ea52a-9ecc-4d87-bbc7-1e257705da3f",
+ "name": "HS_Gen4_9",
+ "performanceLevel": {
+ "value": 9,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 9
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "576f3f38-b950-4eaa-b74e-33d831193441",
+ "name": "HS_Gen4_10",
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "69697c3a-1946-4eb8-a5a4-a269168dde27",
+ "name": "HS_Gen5_10",
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "1bee9dc8-68b4-44df-b870-8ab0e4d71e94",
+ "name": "HS_Gen5_12",
+ "performanceLevel": {
+ "value": 12,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 12
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "07a8341d-c0b2-4000-bc7a-5b4dae2ad210",
+ "name": "HS_Gen5_14",
+ "performanceLevel": {
+ "value": 14,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 14
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "7fc1f700-a45d-499e-901f-2a00645c54db",
+ "name": "HS_Gen4_16",
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "6b56f70b-52e5-44ba-8cd5-4f63d224b206",
+ "name": "HS_Gen5_16",
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "ba0029f2-3ff4-4ef6-9e65-e8f77b5dd1e2",
+ "name": "HS_Gen5_18",
+ "performanceLevel": {
+ "value": 18,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 18
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "f1b2a082-f622-4fb8-bbef-e74deac3ec89",
+ "name": "HS_Gen5_20",
+ "performanceLevel": {
+ "value": 20,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 20
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "f016d419-a031-4b93-ab62-7f3d2a789376",
+ "name": "HS_Gen4_24",
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "222bc0ee-e195-4bbc-be05-3b849c3a8195",
+ "name": "HS_Gen5_24",
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "05366cca-cc70-486e-a697-bb3fab877f75",
+ "name": "HS_Gen5_32",
+ "performanceLevel": {
+ "value": 32,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 32
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "32542ef7-124d-4e66-8b41-9c6c0ab963c2",
+ "name": "HS_Gen5_40",
+ "performanceLevel": {
+ "value": 40,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 40
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "id": "6509db45-febe-44dd-a079-35f11d477984",
+ "name": "HS_Gen5_80",
+ "performanceLevel": {
+ "value": 80,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "HS_Gen5",
+ "tier": "Hyperscale",
+ "family": "Gen5",
+ "capacity": 80
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "readScale": {
+ "maxNumberOfReplicas": 4
+ },
+ "supportedStorageCapabilities": [
+ {
+ "storageAccountType": "GRS",
+ "status": "Default"
+ },
+ {
+ "storageAccountType": "LRS",
+ "status": "Available"
+ },
+ {
+ "storageAccountType": "ZRS",
+ "status": "Visible",
+ "reason": "ZRS is available in multi-az regions"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "supportedElasticPoolEditions": [
+ {
+ "name": "Standard",
+ "supportedElasticPoolPerformanceLevels": [
+ {
+ "performanceLevel": {
+ "value": 50,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 50
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 100,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 100
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 200,
+ "includedMaxSize": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "performanceLevel": {
+ "value": 200,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 200
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 300,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 300
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 400,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 400
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 800,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 800
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 1200,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 1200
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 1600,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 1600
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 2000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 2000
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 2500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 2500
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 3000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "StandardPool",
+ "tier": "Standard",
+ "capacity": 3000
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 10,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 100,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 300,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 400,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 800,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1200,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1600,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 2500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 3000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "name": "Premium",
+ "supportedElasticPoolPerformanceLevels": [
+ {
+ "performanceLevel": {
+ "value": 125,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 125
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 50,
+ "includedMaxSize": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "performanceLevel": {
+ "value": 250,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 250
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 500
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 1000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 1000
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 1500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 1500
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 2000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 2000
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 2500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 2500
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 3000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 3000
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 3500,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 3500
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 4000,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "PremiumPool",
+ "tier": "Premium",
+ "capacity": 4000
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 800,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1600,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3000,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 5,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 10,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 20,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 30,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 40,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 50,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 150,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 200,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 250,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 300,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 400,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 750,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1280,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1536,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1792,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2304,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2560,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2816,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 3,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3328,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3584,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 3840,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Terabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4000,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 25,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 50,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 75,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 125,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 250,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 500,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1000,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 1750,
+ "unit": "DTU",
+ "status": "Available"
+ },
+ {
+ "limit": 4000,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "name": "Basic",
+ "supportedElasticPoolPerformanceLevels": [
+ {
+ "performanceLevel": {
+ "value": 50,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "BasicPool",
+ "tier": "Basic",
+ "capacity": 50
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 100,
+ "includedMaxSize": {
+ "limit": 5000,
+ "unit": "Megabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 5000,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 5000,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "performanceLevel": {
+ "value": 100,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "BasicPool",
+ "tier": "Basic",
+ "capacity": 100
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 200,
+ "includedMaxSize": {
+ "limit": 10000,
+ "unit": "Megabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 10000,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 10000,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 200,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "BasicPool",
+ "tier": "Basic",
+ "capacity": 200
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 20000,
+ "unit": "Megabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 20000,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 20000,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 300,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "BasicPool",
+ "tier": "Basic",
+ "capacity": 300
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 30000,
+ "unit": "Megabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 30000,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 30000,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 400,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "BasicPool",
+ "tier": "Basic",
+ "capacity": 400
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 40000,
+ "unit": "Megabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 40000,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 40000,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 800,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "BasicPool",
+ "tier": "Basic",
+ "capacity": 800
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 80000,
+ "unit": "Megabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 80000,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 80000,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 1200,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "BasicPool",
+ "tier": "Basic",
+ "capacity": 1200
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 120000,
+ "unit": "Megabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 120000,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 120000,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 1600,
+ "unit": "DTU"
+ },
+ "sku": {
+ "name": "BasicPool",
+ "tier": "Basic",
+ "capacity": 1600
+ },
+ "supportedLicenseTypes": [],
+ "maxDatabaseCount": 500,
+ "includedMaxSize": {
+ "limit": 160000,
+ "unit": "Megabytes"
+ },
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 160000,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 160000,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 100,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 500,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Gigabytes"
+ },
+ "status": "Default"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "DTU",
+ "status": "Default"
+ },
+ {
+ "limit": 5,
+ "unit": "DTU",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "name": "GeneralPurpose",
+ "supportedElasticPoolPerformanceLevels": [
+ {
+ "performanceLevel": {
+ "value": 1,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 1
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 524288,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 200,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 774144,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 524288,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "performanceLevel": {
+ "value": 3,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 3
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 200,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 774144,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 5,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 5
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 2097152,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 7,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 7
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 2097152,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 2097152,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 9,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 9
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 2097152,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 2097152,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 12,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 12
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 2097152,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 14,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 14
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 2097152,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3670016,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 2097152,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 18,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 18
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 20,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 20
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen4",
+ "tier": "GeneralPurpose",
+ "family": "Gen4",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 32,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 32
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 40,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 40
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 80,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "GP_Gen5",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 80
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 500,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 48,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 48,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 80,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 48,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 80,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "name": "BusinessCritical",
+ "supportedElasticPoolPerformanceLevels": [
+ {
+ "performanceLevel": {
+ "value": 2,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 50,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 3,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 3
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 4,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 4
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 50,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Default"
+ },
+ {
+ "performanceLevel": {
+ "value": 5,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 5
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 6,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 6
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 7,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 7
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 8,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 8
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 9,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 9
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 10,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 10
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1572864,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 12,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 12
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 14,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 14
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 16,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 16
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 18,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 18
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 20,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 20
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 3,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 7,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 9,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 24,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 24
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 32,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 32
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 40,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 40
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ },
+ {
+ "performanceLevel": {
+ "value": 80,
+ "unit": "VCores"
+ },
+ "sku": {
+ "name": "BC_Gen5",
+ "tier": "BusinessCritical",
+ "family": "Gen5",
+ "capacity": 80
+ },
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "maxDatabaseCount": 100,
+ "supportedMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 30,
+ "unit": "Percent"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "logSize": {
+ "limit": 1048576,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxSizes": [
+ {
+ "minValue": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 31744,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 32768,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 0,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "minValue": {
+ "limit": 33792,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 3144704,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "minValue": {
+ "limit": 3145728,
+ "unit": "Megabytes"
+ },
+ "maxValue": {
+ "limit": 4194304,
+ "unit": "Megabytes"
+ },
+ "scaleSize": {
+ "limit": 1024,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "supportedPerDatabaseMaxPerformanceLevels": [
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 48,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 48,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Available"
+ },
+ {
+ "limit": 80,
+ "unit": "VCores",
+ "supportedPerDatabaseMinPerformanceLevels": [
+ {
+ "limit": 0,
+ "unit": "VCores",
+ "status": "Default"
+ },
+ {
+ "limit": 0.25,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 0.5,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 1,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 2,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 4,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 6,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 8,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 10,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 12,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 14,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 16,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 18,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 20,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 24,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 32,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 40,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 48,
+ "unit": "VCores",
+ "status": "Available"
+ },
+ {
+ "limit": 80,
+ "unit": "VCores",
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "zoneRedundant": false,
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "supportedManagedInstanceVersions": [
+ {
+ "name": "12.0",
+ "supportedEditions": [
+ {
+ "name": "GeneralPurpose",
+ "supportedFamilies": [
+ {
+ "name": "Gen5",
+ "sku": "GP_Gen5",
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "supportedVcoresValues": [
+ {
+ "name": "2",
+ "value": 2,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 640,
+ "unit": "Gigabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": false,
+ "status": "Available"
+ },
+ {
+ "name": "4",
+ "value": 4,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "8",
+ "value": 8,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 8,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Default"
+ },
+ {
+ "name": "16",
+ "value": 16,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 8,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "24",
+ "value": 24,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 8,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "32",
+ "value": 32,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 8,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "40",
+ "value": 40,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 8,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "64",
+ "value": 64,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 8,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "80",
+ "value": 80,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 8,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "status": "Default"
+ },
+ {
+ "name": "BusinessCritical",
+ "supportedFamilies": [
+ {
+ "name": "Gen5",
+ "sku": "BC_Gen5",
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "supportedVcoresValues": [
+ {
+ "name": "4",
+ "value": 4,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "8",
+ "value": 8,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Default"
+ },
+ {
+ "name": "16",
+ "value": 16,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 1,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "24",
+ "value": 24,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 2,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "32",
+ "value": 32,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "40",
+ "value": 40,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "64",
+ "value": 64,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ },
+ {
+ "name": "80",
+ "value": 80,
+ "includedMaxSize": {
+ "limit": 262144,
+ "unit": "Megabytes"
+ },
+ "supportedStorageSizes": [
+ {
+ "minValue": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "maxValue": {
+ "limit": 4,
+ "unit": "Terabytes"
+ },
+ "scaleSize": {
+ "limit": 32,
+ "unit": "Gigabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "instancePoolSupported": true,
+ "standaloneSupported": true,
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "status": "Available"
+ }
+ ],
+ "supportedInstancePoolEditions": [
+ {
+ "name": "GeneralPurpose",
+ "supportedFamilies": [
+ {
+ "name": "Gen5",
+ "supportedLicenseTypes": [
+ {
+ "name": "LicenseIncluded",
+ "status": "Default"
+ },
+ {
+ "name": "BasePrice",
+ "status": "Available"
+ }
+ ],
+ "supportedVcoresValues": [
+ {
+ "name": "GP_Gen5_8",
+ "value": 8,
+ "storageLimit": {
+ "limit": 8388608,
+ "unit": "Megabytes"
+ },
+ "status": "Default"
+ },
+ {
+ "name": "GP_Gen5_16",
+ "value": 16,
+ "storageLimit": {
+ "limit": 8388608,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "name": "GP_Gen5_24",
+ "value": 24,
+ "storageLimit": {
+ "limit": 8388608,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "name": "GP_Gen5_32",
+ "value": 32,
+ "storageLimit": {
+ "limit": 8388608,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "name": "GP_Gen5_40",
+ "value": 40,
+ "storageLimit": {
+ "limit": 8388608,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "name": "GP_Gen5_64",
+ "value": 64,
+ "storageLimit": {
+ "limit": 8388608,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ },
+ {
+ "name": "GP_Gen5_80",
+ "value": 80,
+ "storageLimit": {
+ "limit": 8388608,
+ "unit": "Megabytes"
+ },
+ "status": "Available"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "status": "Default"
+ }
+ ],
+ "status": "Available"
+ }
+ }
+ }
+}
diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md
index f1dd994be110..0a8bebafc86d 100644
--- a/specification/sql/resource-manager/readme.md
+++ b/specification/sql/resource-manager/readme.md
@@ -61,6 +61,8 @@ Differences in v3 (compared to v2):
* `+2017-10-01-preview/elasticPools.json`
+ * `+2018-06-01-preview/capabilities.json`
+
``` yaml $(tag) == 'package-composite-v3'
input-file:
- Microsoft.Sql/stable/2014-04-01/backups.json
@@ -108,7 +110,6 @@ input-file:
- Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json
- Microsoft.Sql/preview/2017-10-01-preview/cancelOperations.json
- Microsoft.Sql/preview/2017-10-01-preview/cancelPoolOperations.json
-- Microsoft.Sql/preview/2017-10-01-preview/capabilities.json
- Microsoft.Sql/preview/2017-10-01-preview/databases.json
- Microsoft.Sql/preview/2017-10-01-preview/elasticPools.json
- Microsoft.Sql/preview/2017-10-01-preview/databaseVulnerabilityAssessmentScans.json
@@ -134,6 +135,7 @@ input-file:
- Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateLinkResources.json
- Microsoft.Sql/preview/2018-06-01-preview/ServerAzureADAdministrators.json
+- Microsoft.Sql/preview/2018-06-01-preview/capabilities.json
- Microsoft.Sql/preview/2019-06-01-preview/WorkloadGroups.json
- Microsoft.Sql/preview/2019-06-01-preview/WorkloadClassifiers.json
From 55bf90db9b6698c734b024fc2b7fa15da798c75a Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Mon, 16 Dec 2019 06:56:07 +0000
Subject: [PATCH 099/469] regenerated all-api-versions
---
specification/sql/resource-manager/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md
index 0a8bebafc86d..cd08325204bd 100644
--- a/specification/sql/resource-manager/readme.md
+++ b/specification/sql/resource-manager/readme.md
@@ -837,7 +837,6 @@ input-file:
- $(this-folder)/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json
- $(this-folder)/Microsoft.Sql/preview/2017-10-01-preview/cancelOperations.json
- $(this-folder)/Microsoft.Sql/preview/2017-10-01-preview/cancelPoolOperations.json
- - $(this-folder)/Microsoft.Sql/preview/2017-10-01-preview/capabilities.json
- $(this-folder)/Microsoft.Sql/preview/2017-10-01-preview/databases.json
- $(this-folder)/Microsoft.Sql/preview/2017-10-01-preview/elasticPools.json
- $(this-folder)/Microsoft.Sql/preview/2017-10-01-preview/databaseVulnerabilityAssessmentScans.json
@@ -863,6 +862,7 @@ input-file:
- $(this-folder)/Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
- $(this-folder)/Microsoft.Sql/preview/2018-06-01-preview/PrivateLinkResources.json
- $(this-folder)/Microsoft.Sql/preview/2018-06-01-preview/ServerAzureADAdministrators.json
+ - $(this-folder)/Microsoft.Sql/preview/2018-06-01-preview/capabilities.json
- $(this-folder)/Microsoft.Sql/preview/2019-06-01-preview/WorkloadGroups.json
- $(this-folder)/Microsoft.Sql/preview/2019-06-01-preview/WorkloadClassifiers.json
- $(this-folder)/Microsoft.Sql/stable/2014-04-01/capabilities.json
From 0b2c504de317e4f5be3fb62688915751522a526f Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Mon, 16 Dec 2019 15:52:47 +0800
Subject: [PATCH 100/469] Fix azure pipeline trigger issue (#7966)
---
azure-pipelines.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 767106861d0b..0880ff3da2c5 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,5 +1,10 @@
name: "Azure OpenAPI"
+trigger:
+ branches:
+ include:
+ - master
+
variables:
TRAVIS: 'true'
TRAVIS_BRANCH: $(System.PullRequest.TargetBranch)
From 17cd6b2edff44b87012e888876ce58de10129850 Mon Sep 17 00:00:00 2001
From: Bruce Johnston
Date: Mon, 16 Dec 2019 08:53:03 -0800
Subject: [PATCH 101/469] [Azure Cognitive Search] Rename Track 2 models and
add missing property (#7936)
Per Azure API review feedback, we're renaming some Result types from
Result to Result.
Also, the @search.coverage property of AutocompleteResult was missing from
the spec. Note that it's not actually supported by the service yet, but will
be added in the near future.
---
.../stable/2019-05-06/searchindex.json | 35 +++++++++++--------
.../stable/2019-05-06/searchservice.json | 24 ++++++-------
2 files changed, 32 insertions(+), 27 deletions(-)
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
index 89a21603827a..8ac7c0f890cd 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
@@ -292,7 +292,7 @@
"200": {
"description": "Response containing documents that match the search criteria.",
"schema": {
- "$ref": "#/definitions/DocumentSearchResult"
+ "$ref": "#/definitions/SearchDocumentsResult"
}
}
}
@@ -336,7 +336,7 @@
"200": {
"description": "Response containing documents that match the search criteria.",
"schema": {
- "$ref": "#/definitions/DocumentSearchResult"
+ "$ref": "#/definitions/SearchDocumentsResult"
}
}
}
@@ -530,7 +530,7 @@
"200": {
"description": "Response containing suggested documents that match the partial input.",
"schema": {
- "$ref": "#/definitions/DocumentSuggestResult"
+ "$ref": "#/definitions/SuggestDocumentsResult"
}
}
}
@@ -573,7 +573,7 @@
"200": {
"description": "Response containing suggested documents that match the partial input.",
"schema": {
- "$ref": "#/definitions/DocumentSuggestResult"
+ "$ref": "#/definitions/SuggestDocumentsResult"
}
}
}
@@ -616,13 +616,13 @@
"200": {
"description": "Response containing the status of operations for all actions in the batch.",
"schema": {
- "$ref": "#/definitions/DocumentIndexResult"
+ "$ref": "#/definitions/IndexDocumentsResult"
}
},
"207": {
"description": "Response containing the status of operations for all actions in the batch.",
"schema": {
- "$ref": "#/definitions/DocumentIndexResult"
+ "$ref": "#/definitions/IndexDocumentsResult"
}
}
}
@@ -757,10 +757,9 @@
"x-ms-request-id": "request-id",
"responses": {
"200": {
- "description": "",
+ "description": "Response containing suggested query terms that complete the partial input.",
"schema": {
- "$ref": "#/definitions/AutocompleteResult",
- "description": "The result of Autocomplete query."
+ "$ref": "#/definitions/AutocompleteResult"
}
}
}
@@ -801,10 +800,9 @@
"x-ms-request-id": "request-id",
"responses": {
"200": {
- "description": "",
+ "description": "Response containing suggested query terms that complete the partial input.",
"schema": {
- "$ref": "#/definitions/AutocompleteResult",
- "description": "The result of Autocomplete query."
+ "$ref": "#/definitions/AutocompleteResult"
}
}
}
@@ -812,7 +810,7 @@
}
},
"definitions": {
- "DocumentSuggestResult": {
+ "SuggestDocumentsResult": {
"properties": {
"value": {
"type": "array",
@@ -857,7 +855,7 @@
"additionalProperties": true,
"description": "A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval."
},
- "DocumentSearchResult": {
+ "SearchDocumentsResult": {
"properties": {
"@odata.count": {
"type": "integer",
@@ -1001,7 +999,7 @@
},
"description": "Status of an indexing operation for a single document."
},
- "DocumentIndexResult": {
+ "IndexDocumentsResult": {
"properties": {
"value": {
"x-ms-client-name": "Results",
@@ -1255,6 +1253,13 @@
},
"AutocompleteResult": {
"properties": {
+ "@search.coverage": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "x-ms-client-name": "Coverage",
+ "description": "A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request."
+ },
"value": {
"type": "array",
"readOnly": true,
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 62a6a2a61964..485e42083c23 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
@@ -211,7 +211,7 @@
"200": {
"description": "",
"schema": {
- "$ref": "#/definitions/DataSourceListResult"
+ "$ref": "#/definitions/ListDataSourcesResult"
}
}
}
@@ -518,7 +518,7 @@
"200": {
"description": "",
"schema": {
- "$ref": "#/definitions/IndexerListResult"
+ "$ref": "#/definitions/ListIndexersResult"
}
}
}
@@ -790,7 +790,7 @@
"200": {
"description": "The list is successfully returned.",
"schema": {
- "$ref": "#/definitions/SkillsetListResult"
+ "$ref": "#/definitions/ListSkillsetsResult"
}
}
}
@@ -1021,7 +1021,7 @@
"200": {
"description": "",
"schema": {
- "$ref": "#/definitions/SynonymMapListResult"
+ "$ref": "#/definitions/ListSynonymMapsResult"
}
}
}
@@ -1144,7 +1144,7 @@
"200": {
"description": "",
"schema": {
- "$ref": "#/definitions/IndexListResult"
+ "$ref": "#/definitions/ListIndexesResult"
}
}
}
@@ -1341,7 +1341,7 @@
"200": {
"description": "",
"schema": {
- "$ref": "#/definitions/IndexGetStatisticsResult"
+ "$ref": "#/definitions/GetIndexStatisticsResult"
}
}
}
@@ -3853,7 +3853,7 @@
],
"description": "Represents a datasource definition, which can be used to configure an indexer."
},
- "DataSourceListResult": {
+ "ListDataSourcesResult": {
"properties": {
"value": {
"x-ms-client-name": "DataSources",
@@ -4040,7 +4040,7 @@
},
"description": "Represents an indexer."
},
- "IndexerListResult": {
+ "ListIndexersResult": {
"properties": {
"value": {
"x-ms-client-name": "Indexers",
@@ -4763,7 +4763,7 @@
],
"description": "Represents a search index definition, which describes the fields and search behavior of an index."
},
- "IndexGetStatisticsResult": {
+ "GetIndexStatisticsResult": {
"properties": {
"documentCount": {
"type": "integer",
@@ -4782,7 +4782,7 @@
},
"description": "Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date."
},
- "IndexListResult": {
+ "ListIndexesResult": {
"properties": {
"value": {
"x-ms-client-name": "Indexes",
@@ -5276,7 +5276,7 @@
},
"description": "A dictionary of http request headers."
},
- "SkillsetListResult": {
+ "ListSkillsetsResult": {
"properties": {
"value": {
"x-ms-client-name": "Skillsets",
@@ -6263,7 +6263,7 @@
],
"description": "Represents a synonym map definition."
},
- "SynonymMapListResult": {
+ "ListSynonymMapsResult": {
"properties": {
"value": {
"x-ms-client-name": "SynonymMaps",
From 84f5ffc2b00cea703c9600e04abb7e9e70b7970b Mon Sep 17 00:00:00 2001
From: Alberto De Natale
Date: Tue, 17 Dec 2019 02:44:05 +0100
Subject: [PATCH 102/469] Update readme.md (#7983)
Added missing space
---
profile/readme.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/profile/readme.md b/profile/readme.md
index b93c994e0fdf..143a9a93bc03 100644
--- a/profile/readme.md
+++ b/profile/readme.md
@@ -5,7 +5,7 @@
The files in the folder describe the map of each resource provider's resource types and their supported api versions in the api profile.
## Basics
-An API profile represents a map of resource provider namespaces and their API versions. It is a representation of an Azure Platform declaring a set of APIs to be supported across all our clouds.Instead of specifying individual api-versions for each resource type across each namespace, the developer can just align the application to a profile and the tools/SDKs will themselves select the right api-versions as directed by the profile. With API Profiles developers can specify a profile version that applies to an entire template and, at runtime, ARM will pick the right versions of the resources. This way, the customers don’t have to worry about which are the right resource versions to specific clouds.
+An API profile represents a map of resource provider namespaces and their API versions. It is a representation of an Azure Platform declaring a set of APIs to be supported across all our clouds. Instead of specifying individual api-versions for each resource type across each namespace, the developer can just align the application to a profile and the tools/SDKs will themselves select the right api-versions as directed by the profile. With API Profiles developers can specify a profile version that applies to an entire template and, at runtime, ARM will pick the right versions of the resources. This way, the customers don’t have to worry about which are the right resource versions to specific clouds.
https://docs.microsoft.com/en-us/azure/azure-stack/user/azure-stack-version-profiles
@@ -59,4 +59,4 @@ The structure should appear like below:
| \---},
\---}
}
-```
\ No newline at end of file
+```
From 33d244b5fc64e37a0edd2c482aa8d398b403b1af Mon Sep 17 00:00:00 2001
From: shawnxzq
Date: Tue, 17 Dec 2019 09:47:32 +0800
Subject: [PATCH 103/469] [DataFactory] Support map complex values to string in
copy activity (#7932)
* Support map complex values to string in copy activity
* Corrected format
* Corrected spell
---
.../stable/2018-06-01/entityTypes/Pipeline.json | 4 ++++
1 file changed, 4 insertions(+)
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 6ed5fcede9f1..5a477050c43f 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
@@ -3774,6 +3774,10 @@
"type": "object",
"description": "The JSON Path of the Nested Array that is going to do cross-apply. Type: object (or Expression with resultType object)."
},
+ "mapComplexValuesToString": {
+ "type": "object",
+ "description": "Whether to map complex (array and object) values to simple strings in json format. Type: boolean (or Expression with resultType boolean)."
+ },
"mappings": {
"type": "object",
"description": "Column mappings with logical types. Tabular->tabular example: [{\"source\":{\"name\":\"CustomerName\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientName\",\"type\":\"String\"}},{\"source\":{\"name\":\"CustomerAddress\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientAddress\",\"type\":\"String\"}}]. Hierarchical->tabular example: [{\"source\":{\"path\":\"$.CustomerName\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientName\",\"type\":\"String\"}},{\"source\":{\"path\":\"$.CustomerAddress\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientAddress\",\"type\":\"String\"}}]. Type: object (or Expression with resultType object)."
From 550c4c5934a7cab52a5ce3bd7f45c5796ebee811 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Tue, 17 Dec 2019 09:49:51 +0800
Subject: [PATCH 104/469] Remove readonly (#7975)
---
.../stable/2019-11-01/machineLearningServices.json | 1 -
1 file changed, 1 deletion(-)
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
index f30d20db8701..07891f1595b2 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
@@ -1738,7 +1738,6 @@
},
"identity": {
"$ref": "#/definitions/Identity",
- "readOnly": true,
"description": "The identity of the resource."
},
"location": {
From e4e1303d98c3e90335fcf820ac547cacf74e66a3 Mon Sep 17 00:00:00 2001
From: Chris Eggert
Date: Mon, 16 Dec 2019 18:33:42 -0800
Subject: [PATCH 105/469] Fix Microsoft.Authorization/policy* help generation
issues (#7938)
* Fix policyInsights help generation issues
* Remove new required notations
---
...rUpdatePolicyDefinitionAdvancedParams.json | 117 ++++++++++++++++++
.../stable/2019-09-01/policyAssignments.json | 31 +++--
.../stable/2019-09-01/policyDefinitions.json | 102 ++++++++-------
3 files changed, 193 insertions(+), 57 deletions(-)
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json
new file mode 100644
index 000000000000..4599ed246e3c
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json
@@ -0,0 +1,117 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyDefinitionName": "EventHubDiagnosticLogs",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "mode": "Indexed",
+ "displayName": "Event Hubs should have diagnostic logging enabled",
+ "description": "Audit enabling of logs and retain them up to a year. This enables recreation of activity trails for investigation purposes when a security incident occurs or your network is compromised",
+ "metadata": {
+ "category": "Event Hub"
+ },
+ "policyRule": {
+ "if": {
+ "field": "type",
+ "equals": "Microsoft.EventHub/namespaces"
+ },
+ "then": {
+ "effect": "AuditIfNotExists",
+ "details": {
+ "type": "Microsoft.Insights/diagnosticSettings",
+ "existenceCondition": {
+ "allOf": [
+ {
+ "field": "Microsoft.Insights/diagnosticSettings/logs[*].retentionPolicy.enabled",
+ "equals": "true"
+ },
+ {
+ "field": "Microsoft.Insights/diagnosticSettings/logs[*].retentionPolicy.days",
+ "equals": "[parameters('requiredRetentionDays')]"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "parameters": {
+ "requiredRetentionDays": {
+ "type": "Integer",
+ "defaultValue": 365,
+ "allowedValues": [
+ 0,
+ 30,
+ 90,
+ 180,
+ 365
+ ],
+ "metadata": {
+ "displayName": "Required retention (days)",
+ "description": "The required diagnostic logs retention in days"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "ResourceNaming",
+ "properties": {
+ "mode": "Indexed",
+ "displayName": "Event Hubs should have diagnostic logging enabled",
+ "description": "Audit enabling of logs and retain them up to a year. This enables recreation of activity trails for investigation purposes when a security incident occurs or your network is compromised",
+ "metadata": {
+ "category": "Event Hub"
+ },
+ "policyRule": {
+ "if": {
+ "field": "type",
+ "equals": "Microsoft.EventHub/namespaces"
+ },
+ "then": {
+ "effect": "AuditIfNotExists",
+ "details": {
+ "type": "Microsoft.Insights/diagnosticSettings",
+ "existenceCondition": {
+ "allOf": [
+ {
+ "field": "Microsoft.Insights/diagnosticSettings/logs[*].retentionPolicy.enabled",
+ "equals": "true"
+ },
+ {
+ "field": "Microsoft.Insights/diagnosticSettings/logs[*].retentionPolicy.days",
+ "equals": "[parameters('requiredRetentionDays')]"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "parameters": {
+ "requiredRetentionDays": {
+ "type": "Integer",
+ "defaultValue": 365,
+ "allowedValues": [
+ 0,
+ 30,
+ 90,
+ 180,
+ 365
+ ],
+ "metadata": {
+ "displayName": "Required retention (days)",
+ "description": "The required diagnostic logs retention in days"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
index 71e3b13202dc..b0e1d4779f08 100644
--- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
@@ -605,16 +605,19 @@
"ParameterValues": {
"type": "object",
"additionalProperties": {
- "type": "object",
- "properties": {
- "value": {
- "description": "The value of the parameter.",
- "type": "object"
- }
- }
+ "$ref": "#/definitions/ParameterValuesValue"
},
"description": "The parameter values for the policy rule. The keys are the parameter names."
},
+ "ParameterValuesValue": {
+ "properties": {
+ "value": {
+ "description": "The value of the parameter.",
+ "type": "object"
+ }
+ },
+ "description": "The value of a parameter."
+ },
"PolicySku": {
"properties": {
"name": {
@@ -699,14 +702,24 @@
},
"type": {
"type": "string",
- "description": "The identity type.",
+ "description": "The identity type. This is the only required field when adding a system assigned identity to a resource.",
"enum": [
"SystemAssigned",
"None"
],
"x-ms-enum": {
"name": "ResourceIdentityType",
- "modelAsString": false
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "SystemAssigned",
+ "description": "Indicates that a system assigned identity is associated with the resource."
+ },
+ {
+ "value": "None",
+ "description": "Indicates that no identity is associated with the resource or that the existing identity should be removed."
+ }
+ ]
}
}
},
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
index 22e3fc3a3c8f..3f5f1c40958c 100644
--- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
@@ -45,6 +45,9 @@
"x-ms-examples": {
"Create or update a policy definition": {
"$ref": "./examples/createOrUpdatePolicyDefinition.json"
+ },
+ "Create or update a policy definition with advanced parameters": {
+ "$ref": "./examples/createOrUpdatePolicyDefinitionAdvancedParams.json"
}
},
"parameters": [
@@ -520,58 +523,61 @@
},
"description": "The policy definition properties."
},
+ "ParameterDefinitionsValue": {
+ "properties": {
+ "type": {
+ "description": "The data type of the parameter.",
+ "type": "string",
+ "enum": [
+ "String",
+ "Array",
+ "Object",
+ "Boolean",
+ "Integer",
+ "Float",
+ "DateTime"
+ ],
+ "x-ms-enum": {
+ "name": "parameterType",
+ "modelAsString": true
+ }
+ },
+ "allowedValues": {
+ "type": "array",
+ "items": {
+ "type": "object"
+ },
+ "description": "The allowed values for the parameter."
+ },
+ "defaultValue": {
+ "type": "object",
+ "description": "The default value for the parameter if no value is provided."
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The display name for the parameter."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the parameter."
+ }
+ },
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "General metadata for the parameter."
+ }
+ },
+ "description": "The definition of a parameter that can be provided to the policy."
+ },
"ParameterDefinitions": {
"description": "The parameter definitions for parameters used in the policy. The keys are the parameter names.",
"type": "object",
"additionalProperties": {
- "type": "object",
- "properties": {
- "type": {
- "description": "The data type of the parameter.",
- "type": "string",
- "enum": [
- "String",
- "Array",
- "Object",
- "Boolean",
- "Integer",
- "Float",
- "DateTime"
- ],
- "x-ms-enum": {
- "name": "parameterType",
- "modelAsString": true
- }
- },
- "allowedValues": {
- "type": "array",
- "items": {
- "type": "object"
- },
- "description": "The allowed values for the parameter."
- },
- "defaultValue": {
- "type": "object",
- "description": "The default value for the parameter if no value is provided."
- },
- "metadata": {
- "type": "object",
- "properties": {
- "displayName": {
- "type": "string",
- "description": "The display name for the parameter."
- },
- "description": {
- "type": "string",
- "description": "The description of the parameter."
- }
- },
- "additionalProperties": {
- "type": "object"
- },
- "description": "General metadata for the parameter."
- }
- }
+ "$ref": "#/definitions/ParameterDefinitionsValue"
}
},
"PolicyDefinition": {
From e535f7de4f4ac11899c94fede24c2411d2df1506 Mon Sep 17 00:00:00 2001
From: Jitendra Kumar
Date: Mon, 16 Dec 2019 18:34:21 -0800
Subject: [PATCH 106/469] [Hub Generated] Review request for
Microsoft.ContainerRegistry to add version preview/2019-12-01-preview (#7883)
* Adds base for updating Microsoft.ContainerRegistry from version stable/2019-05-01 to version 2019-12-01-preview
* Updates readme
* Updates API version in new specs and examples
* adding version 2019-12-01-preview
review commit
prettier fix
* Revert "adding version 2019-12-01-preview"
This reverts commit 14bf31ed576cf610526c0515f10a4ecaa549083d.
* added new api version
* spell checker fix
* review commit
* review commit
* reverting changes made to listusages api
* fixing build failure for go sdk
---
.../2019-12-01-preview/containerregistry.json | 2593 +++++++++++++++++
.../examples/ImportImageByManifestDigest.json | 25 +
.../examples/ImportImageByTag.json | 25 +
.../ImportImageFromPublicRegistry.json | 25 +
.../examples/RegistryCheckNameAvailable.json | 17 +
.../RegistryCheckNameNotAvailable.json | 19 +
.../examples/RegistryCreate.json | 74 +
.../examples/RegistryDelete.json | 13 +
.../examples/RegistryGet.json | 36 +
.../examples/RegistryList.json | 38 +
.../examples/RegistryListByResourceGroup.json | 39 +
.../examples/RegistryListCredentials.json | 25 +
.../examples/RegistryListUsages.json | 28 +
.../RegistryRegenerateCredential.json | 28 +
.../examples/RegistryUpdate.json | 73 +
.../examples/ReplicationCreate.json | 55 +
.../examples/ReplicationDelete.json | 14 +
.../examples/ReplicationGet.json | 30 +
.../examples/ReplicationList.json | 33 +
.../examples/ReplicationUpdate.json | 54 +
.../examples/WebhookCreate.json | 66 +
.../examples/WebhookDelete.json | 14 +
.../examples/WebhookGet.json | 30 +
.../examples/WebhookGetCallbackConfig.json | 19 +
.../examples/WebhookList.json | 33 +
.../examples/WebhookListEvents.json | 63 +
.../examples/WebhookPing.json | 16 +
.../examples/WebhookUpdate.json | 65 +
.../resource-manager/readme.go.md | 10 +
.../resource-manager/readme.java.md | 14 +
.../resource-manager/readme.md | 28 +-
.../resource-manager/readme.nodejs.md | 2 +-
.../resource-manager/readme.python.md | 12 +
.../resource-manager/readme.ruby.md | 11 +
.../resource-manager/readme.typescript.md | 2 +-
35 files changed, 3616 insertions(+), 13 deletions(-)
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageByManifestDigest.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageByTag.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageFromPublicRegistry.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCheckNameAvailable.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCheckNameNotAvailable.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCreate.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryDelete.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryGet.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryList.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListByResourceGroup.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListCredentials.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListUsages.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryRegenerateCredential.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryUpdate.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationCreate.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationDelete.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationGet.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationList.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationUpdate.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookCreate.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookDelete.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookGet.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookGetCallbackConfig.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookList.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookListEvents.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookPing.json
create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookUpdate.json
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json
new file mode 100644
index 000000000000..e13102c59bb0
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json
@@ -0,0 +1,2593 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-12-01-preview",
+ "title": "ContainerRegistryManagementClient"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": {
+ "post": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Copies an image to this container registry from the specified container registry.",
+ "operationId": "Registries_ImportImage",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters specifying the image to copy and the source container registry.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ImportImageParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the operation has completed successfully."
+ },
+ "202": {
+ "description": "The request was successful; the operation will complete asynchronously."
+ }
+ },
+ "x-ms-examples": {
+ "ImportImageByTag": {
+ "$ref": "./examples/ImportImageByTag.json"
+ },
+ "ImportImageByManifestDigest": {
+ "$ref": "./examples/ImportImageByManifestDigest.json"
+ },
+ "ImportImageFromPublicRegistry": {
+ "$ref": "./examples/ImportImageFromPublicRegistry.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.",
+ "operationId": "Registries_CheckNameAvailability",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "registryNameCheckRequest",
+ "in": "body",
+ "description": "The object containing information for the availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RegistryNameCheckRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/RegistryNameStatus"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryCheckNameAvailable": {
+ "$ref": "./examples/RegistryCheckNameAvailable.json"
+ },
+ "RegistryCheckNameNotAvailable": {
+ "$ref": "./examples/RegistryCheckNameNotAvailable.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ContainerRegistry/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Lists all of the available Azure Container Registry REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": {
+ "get": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Gets the properties of the specified container registry.",
+ "operationId": "Registries_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Registry"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryGet": {
+ "$ref": "./examples/RegistryGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Creates a container registry with the specified parameters.",
+ "operationId": "Registries_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "name": "registry",
+ "in": "body",
+ "description": "The parameters for creating a container registry.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Registry"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Registry"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Registry"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryCreate": {
+ "$ref": "./examples/RegistryCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Deletes a container registry.",
+ "operationId": "Registries_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "The request was successful; the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The container registry does not exist in the subscription."
+ }
+ },
+ "x-ms-examples": {
+ "RegistryDelete": {
+ "$ref": "./examples/RegistryDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Updates a container registry with the specified parameters.",
+ "operationId": "Registries_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "name": "registryUpdateParameters",
+ "in": "body",
+ "description": "The parameters for updating a container registry.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RegistryUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Registry"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Registry"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryUpdate": {
+ "$ref": "./examples/RegistryUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": {
+ "get": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Lists all the container registries under the specified resource group.",
+ "operationId": "Registries_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/RegistryListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryListByResourceGroup": {
+ "$ref": "./examples/RegistryListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": {
+ "get": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Lists all the container registries under the specified subscription.",
+ "operationId": "Registries_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/RegistryListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryList": {
+ "$ref": "./examples/RegistryList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": {
+ "post": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Lists the login credentials for the specified container registry.",
+ "operationId": "Registries_ListCredentials",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the list of credentials retrieved and returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/RegistryListCredentialsResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryListCredentials": {
+ "$ref": "./examples/RegistryListCredentials.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": {
+ "post": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Regenerates one of the login credentials for the specified container registry.",
+ "operationId": "Registries_RegenerateCredential",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "name": "regenerateCredentialParameters",
+ "in": "body",
+ "description": "Specifies name of the password which should be regenerated -- password or password2.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RegenerateCredentialParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the specified credential regenerated successfully.",
+ "schema": {
+ "$ref": "#/definitions/RegistryListCredentialsResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryRegenerateCredential": {
+ "$ref": "./examples/RegistryRegenerateCredential.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": {
+ "get": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Gets the quota usages for the specified container registry.",
+ "operationId": "Registries_ListUsages",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the registry usages retrieved and returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/RegistryUsageListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegistryListUsages": {
+ "$ref": "./examples/RegistryListUsages.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": {
+ "get": {
+ "tags": [
+ "Replications"
+ ],
+ "description": "Gets the properties of the specified replication.",
+ "operationId": "Replications_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ReplicationNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Replication"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReplicationGet": {
+ "$ref": "./examples/ReplicationGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Replications"
+ ],
+ "description": "Creates a replication for a container registry with the specified parameters.",
+ "operationId": "Replications_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ReplicationNameParameter"
+ },
+ {
+ "name": "replication",
+ "in": "body",
+ "description": "The parameters for creating a replication.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Replication"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Replication"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Replication"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReplicationCreate": {
+ "$ref": "./examples/ReplicationCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Replications"
+ ],
+ "description": "Deletes a replication from a container registry.",
+ "operationId": "Replications_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ReplicationNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "The request was successful; the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The replication does not exist in the subscription."
+ }
+ },
+ "x-ms-examples": {
+ "ReplicationDelete": {
+ "$ref": "./examples/ReplicationDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Replications"
+ ],
+ "description": "Updates a replication for a container registry with the specified parameters.",
+ "operationId": "Replications_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ReplicationNameParameter"
+ },
+ {
+ "name": "replicationUpdateParameters",
+ "in": "body",
+ "description": "The parameters for updating a replication.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReplicationUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Replication"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Replication"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReplicationUpdate": {
+ "$ref": "./examples/ReplicationUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": {
+ "get": {
+ "tags": [
+ "Replications"
+ ],
+ "description": "Lists all the replications for the specified container registry.",
+ "operationId": "Replications_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ReplicationListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReplicationList": {
+ "$ref": "./examples/ReplicationList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": {
+ "get": {
+ "tags": [
+ "Webhooks"
+ ],
+ "description": "Gets the properties of the specified webhook.",
+ "operationId": "Webhooks_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WebhookNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Webhook"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WebhookGet": {
+ "$ref": "./examples/WebhookGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Webhooks"
+ ],
+ "description": "Creates a webhook for a container registry with the specified parameters.",
+ "operationId": "Webhooks_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WebhookNameParameter"
+ },
+ {
+ "name": "webhookCreateParameters",
+ "in": "body",
+ "description": "The parameters for creating a webhook.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WebhookCreateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Webhook"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WebhookCreate": {
+ "$ref": "./examples/WebhookCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Webhooks"
+ ],
+ "description": "Deletes a webhook from a container registry.",
+ "operationId": "Webhooks_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WebhookNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "The request was successful; the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The webhook does not exist in the subscription."
+ }
+ },
+ "x-ms-examples": {
+ "WebhookDelete": {
+ "$ref": "./examples/WebhookDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Webhooks"
+ ],
+ "description": "Updates a webhook with the specified parameters.",
+ "operationId": "Webhooks_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WebhookNameParameter"
+ },
+ {
+ "name": "webhookUpdateParameters",
+ "in": "body",
+ "description": "The parameters for updating a webhook.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WebhookUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Webhook"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WebhookUpdate": {
+ "$ref": "./examples/WebhookUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": {
+ "get": {
+ "tags": [
+ "Webhooks"
+ ],
+ "description": "Lists all the webhooks for the specified container registry.",
+ "operationId": "Webhooks_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WebhookListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WebhookList": {
+ "$ref": "./examples/WebhookList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": {
+ "post": {
+ "tags": [
+ "Webhooks"
+ ],
+ "description": "Triggers a ping event to be sent to the webhook.",
+ "operationId": "Webhooks_Ping",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WebhookNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/EventInfo"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WebhookPing": {
+ "$ref": "./examples/WebhookPing.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": {
+ "post": {
+ "tags": [
+ "Webhooks"
+ ],
+ "description": "Gets the configuration of service URI and custom headers for the webhook.",
+ "operationId": "Webhooks_GetCallbackConfig",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WebhookNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/CallbackConfig"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WebhookGetCallbackConfig": {
+ "$ref": "./examples/WebhookGetCallbackConfig.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": {
+ "post": {
+ "tags": [
+ "Webhooks"
+ ],
+ "description": "Lists recent events for the specified webhook.",
+ "operationId": "Webhooks_ListEvents",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WebhookNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/EventListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WebhookListEvents": {
+ "$ref": "./examples/WebhookListEvents.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ImportImageParameters": {
+ "required": [
+ "source"
+ ],
+ "type": "object",
+ "properties": {
+ "source": {
+ "$ref": "#/definitions/ImportSource",
+ "description": "The source of the image."
+ },
+ "targetTags": {
+ "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "untaggedTargetRepositories": {
+ "description": "List of strings of repository names to do a manifest only copy. No tag will be created.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "mode": {
+ "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.",
+ "default": "NoForce",
+ "enum": [
+ "NoForce",
+ "Force"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ImportMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ImportSource": {
+ "required": [
+ "sourceImage"
+ ],
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The resource identifier of the source Azure Container Registry.",
+ "type": "string"
+ },
+ "registryUri": {
+ "description": "The address of the source registry (e.g. 'mcr.microsoft.com').",
+ "type": "string"
+ },
+ "credentials": {
+ "$ref": "#/definitions/ImportSourceCredentials",
+ "description": "Credentials used when importing from a registry uri."
+ },
+ "sourceImage": {
+ "description": "Repository name of the source image.\r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').",
+ "type": "string"
+ }
+ }
+ },
+ "ImportSourceCredentials": {
+ "required": [
+ "password"
+ ],
+ "type": "object",
+ "properties": {
+ "username": {
+ "description": "The username to authenticate with the source registry.",
+ "type": "string"
+ },
+ "password": {
+ "description": "The password used to authenticate with the source registry.",
+ "type": "string"
+ }
+ }
+ },
+ "RegistryNameCheckRequest": {
+ "description": "A request to check whether a container registry name is available.",
+ "required": [
+ "name",
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the container registry.",
+ "maxLength": 50,
+ "minLength": 5,
+ "pattern": "^[a-zA-Z0-9]*$",
+ "type": "string"
+ },
+ "type": {
+ "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.",
+ "enum": [
+ "Microsoft.ContainerRegistry/registries"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ContainerRegistryResourceType",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "RegistryNameStatus": {
+ "description": "The result of a request to check the availability of a container registry name.",
+ "type": "object",
+ "properties": {
+ "nameAvailable": {
+ "description": "The value that indicates whether the name is available.",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "If any, the reason that the name is not available.",
+ "type": "string"
+ },
+ "message": {
+ "description": "If any, the error message that provides more detail for the reason that the name is not available.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "The result of a request to list container registry operations.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationDefinition"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of container registry operations.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationDefinition": {
+ "description": "The definition of a container registry operation.",
+ "type": "object",
+ "properties": {
+ "origin": {
+ "description": "The origin information of the container registry operation.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string"
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplayDefinition",
+ "description": "The display information for the container registry operation."
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationPropertiesDefinition",
+ "description": "The properties information for the container registry operation.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationDisplayDefinition": {
+ "description": "The display information for a container registry operation.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "The resource provider name: Microsoft.ContainerRegistry.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The resource on which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The operation that users can perform.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description for the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationPropertiesDefinition": {
+ "description": "The definition of Azure Monitoring properties.",
+ "type": "object",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/OperationServiceSpecificationDefinition",
+ "description": "The definition of Azure Monitoring service."
+ }
+ }
+ },
+ "OperationServiceSpecificationDefinition": {
+ "description": "The definition of Azure Monitoring list.",
+ "type": "object",
+ "properties": {
+ "metricSpecifications": {
+ "description": "A list of Azure Monitoring metrics definition.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationMetricSpecificationDefinition"
+ }
+ }
+ }
+ },
+ "OperationMetricSpecificationDefinition": {
+ "description": "The definition of Azure Monitoring metric.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Metric name.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Metric display name.",
+ "type": "string"
+ },
+ "displayDescription": {
+ "description": "Metric description.",
+ "type": "string"
+ },
+ "unit": {
+ "description": "Metric unit.",
+ "type": "string"
+ },
+ "aggregationType": {
+ "description": "Metric aggregation type.",
+ "type": "string"
+ },
+ "internalMetricName": {
+ "description": "Internal metric name.",
+ "type": "string"
+ }
+ }
+ },
+ "Registry": {
+ "description": "An object that represents a container registry.",
+ "required": [
+ "sku"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The SKU of the container registry."
+ },
+ "identity": {
+ "$ref": "#/definitions/IdentityProperties",
+ "description": "The identity of the container registry."
+ },
+ "properties": {
+ "$ref": "#/definitions/RegistryProperties",
+ "description": "The properties of the container registry.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "Sku": {
+ "description": "The SKU of a container registry.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The SKU name of the container registry. Required for registry creation.",
+ "enum": [
+ "Classic",
+ "Basic",
+ "Standard",
+ "Premium"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": true
+ }
+ },
+ "tier": {
+ "description": "The SKU tier based on the SKU name.",
+ "enum": [
+ "Classic",
+ "Basic",
+ "Standard",
+ "Premium"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "SkuTier",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "IdentityProperties": {
+ "description": "Managed identity for the resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "The principal ID of resource identity.",
+ "type": "string"
+ },
+ "tenantId": {
+ "description": "The tenant ID of resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The identity type.",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/UserIdentityProperties"
+ }
+ }
+ }
+ },
+ "RegistryProperties": {
+ "description": "The properties of a container registry.",
+ "type": "object",
+ "properties": {
+ "loginServer": {
+ "description": "The URL that can be used to log into the container registry.",
+ "type": "string",
+ "readOnly": true
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The creation date of the container registry in ISO8601 format.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the container registry at the time the operation was called.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "$ref": "#/definitions/Status",
+ "description": "The status of the container registry at the time the operation was called.",
+ "readOnly": true
+ },
+ "adminUserEnabled": {
+ "description": "The value that indicates whether the admin user is enabled.",
+ "default": false,
+ "type": "boolean"
+ },
+ "storageAccount": {
+ "$ref": "#/definitions/StorageAccountProperties",
+ "description": "The properties of the storage account for the container registry. Only applicable to Classic SKU."
+ },
+ "networkRuleSet": {
+ "$ref": "#/definitions/NetworkRuleSet",
+ "description": "The network rule set for a container registry."
+ },
+ "policies": {
+ "$ref": "#/definitions/Policies",
+ "description": "The policies for a container registry."
+ },
+ "encryption": {
+ "$ref": "#/definitions/EncryptionProperty",
+ "description": "The encryption settings of container registry."
+ }
+ }
+ },
+ "UserIdentityProperties": {
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "The principal id of user assigned identity.",
+ "type": "string"
+ },
+ "clientId": {
+ "description": "The client id of user assigned identity.",
+ "type": "string"
+ }
+ }
+ },
+ "Status": {
+ "description": "The status of an Azure resource at the time the operation was called.",
+ "type": "object",
+ "properties": {
+ "displayStatus": {
+ "description": "The short label for the status.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "The detailed message for the status, including alerts and error messages.",
+ "type": "string",
+ "readOnly": true
+ },
+ "timestamp": {
+ "format": "date-time",
+ "description": "The timestamp when the status was changed to the current value.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "StorageAccountProperties": {
+ "description": "The properties of a storage account for a container registry. Only applicable to Classic SKU.",
+ "required": [
+ "id"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The resource ID of the storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "NetworkRuleSet": {
+ "description": "The network rule set for a container registry.",
+ "required": [
+ "defaultAction"
+ ],
+ "type": "object",
+ "properties": {
+ "defaultAction": {
+ "description": "The default action of allow or deny when no other rules match.",
+ "default": "Allow",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DefaultAction",
+ "modelAsString": true
+ }
+ },
+ "virtualNetworkRules": {
+ "description": "The virtual network rules.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkRule"
+ }
+ },
+ "ipRules": {
+ "description": "The IP ACL rules.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPRule"
+ }
+ }
+ }
+ },
+ "Policies": {
+ "description": "The policies for a container registry.",
+ "type": "object",
+ "properties": {
+ "quarantinePolicy": {
+ "$ref": "#/definitions/QuarantinePolicy",
+ "description": "The quarantine policy for a container registry."
+ },
+ "trustPolicy": {
+ "$ref": "#/definitions/TrustPolicy",
+ "description": "The content trust policy for a container registry."
+ },
+ "retentionPolicy": {
+ "$ref": "#/definitions/RetentionPolicy",
+ "description": "The retention policy for a container registry."
+ }
+ }
+ },
+ "EncryptionProperty": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "Indicates whether or not the encryption is enabled for container registry.",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EncryptionStatus",
+ "modelAsString": true
+ }
+ },
+ "keyVaultProperties": {
+ "$ref": "#/definitions/KeyVaultProperties",
+ "description": "Key vault properties."
+ }
+ }
+ },
+ "VirtualNetworkRule": {
+ "description": "Virtual network rule.",
+ "required": [
+ "id"
+ ],
+ "type": "object",
+ "properties": {
+ "action": {
+ "description": "The action of virtual network rule.",
+ "default": "Allow",
+ "enum": [
+ "Allow"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Action",
+ "modelAsString": true
+ }
+ },
+ "id": {
+ "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.",
+ "type": "string",
+ "x-ms-client-name": "VirtualNetworkResourceId"
+ }
+ }
+ },
+ "IPRule": {
+ "description": "IP rule with specific IP or IP range in CIDR format.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "action": {
+ "description": "The action of IP ACL rule.",
+ "default": "Allow",
+ "enum": [
+ "Allow"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Action",
+ "modelAsString": true
+ }
+ },
+ "value": {
+ "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.",
+ "type": "string",
+ "x-ms-client-name": "IPAddressOrRange"
+ }
+ }
+ },
+ "QuarantinePolicy": {
+ "description": "The quarantine policy for a container registry.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The value that indicates whether the policy is enabled or not.",
+ "default": "disabled",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PolicyStatus",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "TrustPolicy": {
+ "description": "The content trust policy for a container registry.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of trust policy.",
+ "default": "Notary",
+ "enum": [
+ "Notary"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TrustPolicyType",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The value that indicates whether the policy is enabled or not.",
+ "default": "disabled",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PolicyStatus",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "RetentionPolicy": {
+ "description": "The retention policy for a container registry.",
+ "type": "object",
+ "properties": {
+ "days": {
+ "format": "int32",
+ "description": "The number of days to retain an untagged manifest after which it gets purged.",
+ "default": 7,
+ "type": "integer"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "The timestamp when the policy was last updated.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The value that indicates whether the policy is enabled or not.",
+ "default": "disabled",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PolicyStatus",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "KeyVaultProperties": {
+ "type": "object",
+ "properties": {
+ "keyIdentifier": {
+ "description": "Key vault uri to access the encryption key.",
+ "type": "string"
+ },
+ "identity": {
+ "description": "The client id of the identity which will be used to access key vault.",
+ "type": "string"
+ }
+ }
+ },
+ "RegistryUpdateParameters": {
+ "description": "The parameters for updating a container registry.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "The tags for the container registry.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The SKU of the container registry."
+ },
+ "identity": {
+ "$ref": "#/definitions/IdentityProperties",
+ "description": "The identity of the container registry."
+ },
+ "properties": {
+ "$ref": "#/definitions/RegistryPropertiesUpdateParameters",
+ "description": "The properties that the container registry will be updated with.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "RegistryPropertiesUpdateParameters": {
+ "description": "The parameters for updating the properties of a container registry.",
+ "type": "object",
+ "properties": {
+ "adminUserEnabled": {
+ "description": "The value that indicates whether the admin user is enabled.",
+ "type": "boolean"
+ },
+ "networkRuleSet": {
+ "$ref": "#/definitions/NetworkRuleSet",
+ "description": "The network rule set for a container registry."
+ },
+ "policies": {
+ "$ref": "#/definitions/Policies",
+ "description": "The policies for a container registry."
+ },
+ "encryption": {
+ "$ref": "#/definitions/EncryptionProperty",
+ "description": "The encryption settings of container registry."
+ }
+ }
+ },
+ "RegistryListResult": {
+ "description": "The result of a request to list container registries.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Registry"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of container registries.",
+ "type": "string"
+ }
+ }
+ },
+ "RegistryListCredentialsResult": {
+ "description": "The response from the ListCredentials operation.",
+ "type": "object",
+ "properties": {
+ "username": {
+ "description": "The username for a container registry.",
+ "type": "string"
+ },
+ "passwords": {
+ "description": "The list of passwords for a container registry.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegistryPassword"
+ }
+ }
+ }
+ },
+ "RegistryPassword": {
+ "description": "The login password for the container registry.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The password name.",
+ "enum": [
+ "password",
+ "password2"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PasswordName",
+ "modelAsString": false
+ }
+ },
+ "value": {
+ "description": "The password value.",
+ "type": "string"
+ }
+ }
+ },
+ "RegenerateCredentialParameters": {
+ "description": "The parameters used to regenerate the login credential.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Specifies name of the password which should be regenerated -- password or password2.",
+ "enum": [
+ "password",
+ "password2"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PasswordName",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "RegistryUsageListResult": {
+ "description": "The result of a request to get container registry quota usages.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of container registry quota usages.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegistryUsage"
+ }
+ }
+ }
+ },
+ "RegistryUsage": {
+ "description": "The quota usage for a container registry.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the usage.",
+ "type": "string"
+ },
+ "limit": {
+ "format": "int64",
+ "description": "The limit of the usage.",
+ "type": "integer"
+ },
+ "currentValue": {
+ "format": "int64",
+ "description": "The current value of the usage.",
+ "type": "integer"
+ },
+ "unit": {
+ "description": "The unit of measurement.",
+ "enum": [
+ "Count",
+ "Bytes"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RegistryUsageUnit",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "Replication": {
+ "description": "An object that represents a replication for a container registry.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ReplicationProperties",
+ "description": "The properties of the replication.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ReplicationProperties": {
+ "description": "The properties of a replication.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the replication at the time the operation was called.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "$ref": "#/definitions/Status",
+ "description": "The status of the replication at the time the operation was called.",
+ "readOnly": true
+ }
+ }
+ },
+ "ReplicationUpdateParameters": {
+ "description": "The parameters for updating a replication.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "The tags for the replication.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ReplicationListResult": {
+ "description": "The result of a request to list replications for a container registry.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Replication"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of replications.",
+ "type": "string"
+ }
+ }
+ },
+ "Webhook": {
+ "description": "An object that represents a webhook for a container registry.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WebhookProperties",
+ "description": "The properties of the webhook.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WebhookProperties": {
+ "description": "The properties of a webhook.",
+ "required": [
+ "actions"
+ ],
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The status of the webhook at the time the operation was called.",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WebhookStatus",
+ "modelAsString": true
+ }
+ },
+ "scope": {
+ "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.",
+ "type": "string"
+ },
+ "actions": {
+ "description": "The list of actions that trigger the webhook to post notifications.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "push",
+ "delete",
+ "quarantine",
+ "chart_push",
+ "chart_delete"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WebhookAction",
+ "modelAsString": true
+ }
+ }
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the webhook at the time the operation was called.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "WebhookCreateParameters": {
+ "description": "The parameters for creating a webhook.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "The tags for the webhook.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "location": {
+ "description": "The location of the webhook. This cannot be changed after the resource is created.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/WebhookPropertiesCreateParameters",
+ "description": "The properties that the webhook will be created with.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WebhookPropertiesCreateParameters": {
+ "description": "The parameters for creating the properties of a webhook.",
+ "required": [
+ "serviceUri",
+ "actions"
+ ],
+ "type": "object",
+ "properties": {
+ "serviceUri": {
+ "description": "The service URI for the webhook to post notifications.",
+ "type": "string"
+ },
+ "customHeaders": {
+ "description": "Custom headers that will be added to the webhook notifications.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "status": {
+ "description": "The status of the webhook at the time the operation was called.",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WebhookStatus",
+ "modelAsString": true
+ }
+ },
+ "scope": {
+ "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.",
+ "type": "string"
+ },
+ "actions": {
+ "description": "The list of actions that trigger the webhook to post notifications.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "push",
+ "delete",
+ "quarantine",
+ "chart_push",
+ "chart_delete"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WebhookAction",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "WebhookUpdateParameters": {
+ "description": "The parameters for updating a webhook.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "The tags for the webhook.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "$ref": "#/definitions/WebhookPropertiesUpdateParameters",
+ "description": "The properties that the webhook will be updated with.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WebhookPropertiesUpdateParameters": {
+ "description": "The parameters for updating the properties of a webhook.",
+ "type": "object",
+ "properties": {
+ "serviceUri": {
+ "description": "The service URI for the webhook to post notifications.",
+ "type": "string"
+ },
+ "customHeaders": {
+ "description": "Custom headers that will be added to the webhook notifications.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "status": {
+ "description": "The status of the webhook at the time the operation was called.",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WebhookStatus",
+ "modelAsString": true
+ }
+ },
+ "scope": {
+ "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.",
+ "type": "string"
+ },
+ "actions": {
+ "description": "The list of actions that trigger the webhook to post notifications.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "push",
+ "delete",
+ "quarantine",
+ "chart_push",
+ "chart_delete"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WebhookAction",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "WebhookListResult": {
+ "description": "The result of a request to list webhooks for a container registry.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of webhooks.",
+ "type": "string"
+ }
+ }
+ },
+ "EventInfo": {
+ "description": "The basic information of an event.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The event ID.",
+ "type": "string"
+ }
+ }
+ },
+ "CallbackConfig": {
+ "description": "The configuration of service URI and custom headers for the webhook.",
+ "required": [
+ "serviceUri"
+ ],
+ "type": "object",
+ "properties": {
+ "serviceUri": {
+ "description": "The service URI for the webhook to post notifications.",
+ "type": "string"
+ },
+ "customHeaders": {
+ "description": "Custom headers that will be added to the webhook notifications.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "EventListResult": {
+ "description": "The result of a request to list events for a webhook.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Event"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of events.",
+ "type": "string"
+ }
+ }
+ },
+ "Event": {
+ "description": "The event for a webhook.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventInfo"
+ }
+ ],
+ "properties": {
+ "eventRequestMessage": {
+ "$ref": "#/definitions/EventRequestMessage",
+ "description": "The event request message sent to the service URI."
+ },
+ "eventResponseMessage": {
+ "$ref": "#/definitions/EventResponseMessage",
+ "description": "The event response message received from the service URI."
+ }
+ }
+ },
+ "EventRequestMessage": {
+ "description": "The event request message sent to the service URI.",
+ "type": "object",
+ "properties": {
+ "content": {
+ "$ref": "#/definitions/EventContent",
+ "description": "The content of the event request message."
+ },
+ "headers": {
+ "description": "The headers of the event request message.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "method": {
+ "description": "The HTTP method used to send the event request message.",
+ "type": "string"
+ },
+ "requestUri": {
+ "description": "The URI used to send the event request message.",
+ "type": "string"
+ },
+ "version": {
+ "description": "The HTTP message version.",
+ "type": "string"
+ }
+ }
+ },
+ "EventResponseMessage": {
+ "description": "The event response message received from the service URI.",
+ "type": "object",
+ "properties": {
+ "content": {
+ "description": "The content of the event response message.",
+ "type": "string"
+ },
+ "headers": {
+ "description": "The headers of the event response message.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "reasonPhrase": {
+ "description": "The reason phrase of the event response message.",
+ "type": "string"
+ },
+ "statusCode": {
+ "description": "The status code of the event response message.",
+ "type": "string"
+ },
+ "version": {
+ "description": "The HTTP message version.",
+ "type": "string"
+ }
+ }
+ },
+ "EventContent": {
+ "description": "The content of the event request message.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The event ID.",
+ "type": "string"
+ },
+ "timestamp": {
+ "format": "date-time",
+ "description": "The time at which the event occurred.",
+ "type": "string"
+ },
+ "action": {
+ "description": "The action that encompasses the provided event.",
+ "type": "string"
+ },
+ "target": {
+ "$ref": "#/definitions/Target",
+ "description": "The target of the event."
+ },
+ "request": {
+ "$ref": "#/definitions/Request",
+ "description": "The request that generated the event."
+ },
+ "actor": {
+ "$ref": "#/definitions/Actor",
+ "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request."
+ },
+ "source": {
+ "$ref": "#/definitions/Source",
+ "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it."
+ }
+ }
+ },
+ "Target": {
+ "description": "The target of the event.",
+ "type": "object",
+ "properties": {
+ "mediaType": {
+ "description": "The MIME type of the referenced object.",
+ "type": "string"
+ },
+ "size": {
+ "format": "int64",
+ "description": "The number of bytes of the content. Same as Length field.",
+ "type": "integer"
+ },
+ "digest": {
+ "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification.",
+ "type": "string"
+ },
+ "length": {
+ "format": "int64",
+ "description": "The number of bytes of the content. Same as Size field.",
+ "type": "integer"
+ },
+ "repository": {
+ "description": "The repository name.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The direct URL to the content.",
+ "type": "string"
+ },
+ "tag": {
+ "description": "The tag name.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the artifact.",
+ "type": "string"
+ },
+ "version": {
+ "description": "The version of the artifact.",
+ "type": "string"
+ }
+ }
+ },
+ "Request": {
+ "description": "The request that generated the event.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The ID of the request that initiated the event.",
+ "type": "string"
+ },
+ "addr": {
+ "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.",
+ "type": "string"
+ },
+ "host": {
+ "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.",
+ "type": "string"
+ },
+ "method": {
+ "description": "The request method that generated the event.",
+ "type": "string"
+ },
+ "useragent": {
+ "description": "The user agent header of the request.",
+ "type": "string"
+ }
+ }
+ },
+ "Actor": {
+ "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The subject or username associated with the request context that generated the event.",
+ "type": "string"
+ }
+ }
+ },
+ "Source": {
+ "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.",
+ "type": "object",
+ "properties": {
+ "addr": {
+ "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.",
+ "type": "string"
+ },
+ "instanceID": {
+ "description": "The running instance of an application. Changes after each restart.",
+ "type": "string"
+ }
+ }
+ },
+ "Resource": {
+ "description": "An Azure resource.",
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "The location of the resource. This cannot be changed after the resource is created.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "The tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-azure-resource": true
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Microsoft Azure subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The client API version.",
+ "required": true,
+ "type": "string"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group to which the container registry belongs.",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "x-ms-parameter-location": "method"
+ },
+ "RegistryNameParameter": {
+ "name": "registryName",
+ "in": "path",
+ "description": "The name of the container registry.",
+ "required": true,
+ "type": "string",
+ "maxLength": 50,
+ "minLength": 5,
+ "pattern": "^[a-zA-Z0-9]*$",
+ "x-ms-parameter-location": "method"
+ },
+ "WebhookNameParameter": {
+ "name": "webhookName",
+ "in": "path",
+ "description": "The name of the webhook.",
+ "required": true,
+ "type": "string",
+ "maxLength": 50,
+ "minLength": 5,
+ "pattern": "^[a-zA-Z0-9]*$",
+ "x-ms-parameter-location": "method"
+ },
+ "ReplicationNameParameter": {
+ "name": "replicationName",
+ "in": "path",
+ "description": "The name of the replication.",
+ "required": true,
+ "type": "string",
+ "maxLength": 50,
+ "minLength": 5,
+ "pattern": "^[a-zA-Z0-9]*$",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageByManifestDigest.json
new file mode 100644
index 000000000000..0e6755e43db7
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageByManifestDigest.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "parameters": {
+ "source": {
+ "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry",
+ "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000"
+ },
+ "targetTags": [
+ "targetRepository:targetTag"
+ ],
+ "untaggedTargetRepositories": [
+ "targetRepository1"
+ ],
+ "mode": "Force"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageByTag.json
new file mode 100644
index 000000000000..435b3eef88f6
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageByTag.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "parameters": {
+ "source": {
+ "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry",
+ "sourceImage": "sourceRepository:sourceTag"
+ },
+ "targetTags": [
+ "targetRepository:targetTag"
+ ],
+ "untaggedTargetRepositories": [
+ "targetRepository1"
+ ],
+ "mode": "Force"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageFromPublicRegistry.json
new file mode 100644
index 000000000000..54a1f6908842
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ImportImageFromPublicRegistry.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "parameters": {
+ "source": {
+ "registryUri": "registry.hub.docker.com",
+ "sourceImage": "library/hello-world"
+ },
+ "targetTags": [
+ "targetRepository:targetTag"
+ ],
+ "untaggedTargetRepositories": [
+ "targetRepository1"
+ ],
+ "mode": "Force"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCheckNameAvailable.json
new file mode 100644
index 000000000000..c74523d7c403
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCheckNameAvailable.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "registryNameCheckRequest": {
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCheckNameNotAvailable.json
new file mode 100644
index 000000000000..d45f912edd2d
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCheckNameNotAvailable.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "registryNameCheckRequest": {
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": "The registry myRegistry is already in use."
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCreate.json
new file mode 100644
index 000000000000..14adc9f6b449
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryCreate.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "registry": {
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "adminUserEnabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Creating",
+ "status": {
+ "displayStatus": "Provisioning",
+ "message": "The registry is provisioning.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryDelete.json
new file mode 100644
index 000000000000..91f79784147c
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryGet.json
new file mode 100644
index 000000000000..59ef4257a6e1
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryGet.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryList.json
new file mode 100644
index 000000000000..10bb9f8fbcb0
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryList.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListByResourceGroup.json
new file mode 100644
index 000000000000..f0570223b922
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListByResourceGroup.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListCredentials.json
new file mode 100644
index 000000000000..19d39c3cea43
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListCredentials.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "username": "myRegistry",
+ "passwords": [
+ {
+ "name": "password",
+ "value": "00000000000000000000000000000000"
+ },
+ {
+ "name": "password2",
+ "value": "00000000000000000000000000000000"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListUsages.json
new file mode 100644
index 000000000000..b9c79d2c3cbb
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryListUsages.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Size",
+ "limit": 107374182400,
+ "currentValue": 12345678,
+ "unit": "Bytes"
+ },
+ {
+ "name": "Webhooks",
+ "limit": 10,
+ "currentValue": 2,
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryRegenerateCredential.json
new file mode 100644
index 000000000000..ff97745e6425
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryRegenerateCredential.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "regenerateCredentialParameters": {
+ "name": "password"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "username": "myRegistry",
+ "passwords": [
+ {
+ "name": "password",
+ "value": "00000000000000000000000000000000"
+ },
+ {
+ "name": "password2",
+ "value": "00000000000000000000000000000000"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryUpdate.json
new file mode 100644
index 000000000000..968d191e3207
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/RegistryUpdate.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "registryUpdateParameters": {
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "adminUserEnabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Updating",
+ "status": {
+ "displayStatus": "Provisioning",
+ "message": "The registry is provisioning.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationCreate.json
new file mode 100644
index 000000000000..d0514f09f2f0
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationCreate.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "replicationName": "myReplication",
+ "replication": {
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The replication is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Creating",
+ "status": {
+ "displayStatus": "Provisioning",
+ "message": "The replication is provisioning.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationDelete.json
new file mode 100644
index 000000000000..cd827b7ac01f
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "replicationName": "myReplication"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationGet.json
new file mode 100644
index 000000000000..b03d5c86ebd0
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "replicationName": "myReplication"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The replication is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationList.json
new file mode 100644
index 000000000000..050716c3967a
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationList.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The replication is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationUpdate.json
new file mode 100644
index 000000000000..e6c9fe68526e
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/ReplicationUpdate.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "replicationName": "myReplication",
+ "replicationUpdateParameters": {
+ "tags": {
+ "key": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The replication is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Updating",
+ "status": {
+ "displayStatus": "Provisioning",
+ "message": "The replication is provisioning.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookCreate.json
new file mode 100644
index 000000000000..be62eafb7a20
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookCreate.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook",
+ "webhookCreateParameters": {
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "serviceUri": "http://myservice.com",
+ "customHeaders": {
+ "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
+ },
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookDelete.json
new file mode 100644
index 000000000000..57da5e197ab3
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookGet.json
new file mode 100644
index 000000000000..2162766688e9
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookGetCallbackConfig.json
new file mode 100644
index 000000000000..c9ab886d187d
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookGetCallbackConfig.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "serviceUri": "http://myservice.com",
+ "customHeaders": {
+ "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookList.json
new file mode 100644
index 000000000000..267904e7eacf
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookList.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookListEvents.json
new file mode 100644
index 000000000000..a4cdd44c4bd4
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookListEvents.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "eventRequestMessage": {
+ "content": {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "timestamp": "2017-03-01T23:14:37.0707808Z",
+ "action": "push",
+ "target": {
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "size": 708,
+ "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf",
+ "length": 708,
+ "repository": "hello-world",
+ "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf",
+ "tag": "latest"
+ },
+ "request": {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "addr": "192.168.64.11:42961",
+ "host": "192.168.100.227:5000",
+ "method": "GET",
+ "useragent": "curl/7.38.0"
+ },
+ "actor": {},
+ "source": {
+ "addr": "xtal.local:5000",
+ "instanceID": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ "headers": {
+ "Content-Type": "application/json",
+ "Content-Length": "719",
+ "Authorization": "******"
+ },
+ "method": "POST",
+ "requestUri": "http://myservice.com",
+ "version": "1.1"
+ },
+ "eventResponseMessage": {
+ "headers": {
+ "Content-Length": "0"
+ },
+ "statusCode": "200",
+ "version": "1.1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookPing.json
new file mode 100644
index 000000000000..80046fd10446
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookPing.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookUpdate.json
new file mode 100644
index 000000000000..24deb9f62821
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/examples/WebhookUpdate.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "api-version": "2019-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook",
+ "webhookUpdateParameters": {
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "serviceUri": "http://myservice.com",
+ "customHeaders": {
+ "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
+ },
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/readme.go.md b/specification/containerregistry/resource-manager/readme.go.md
index 85f4c0eb0e79..1249065b7f08 100644
--- a/specification/containerregistry/resource-manager/readme.go.md
+++ b/specification/containerregistry/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-12-preview
- tag: package-2019-06-preview
- tag: package-2019-05
- tag: package-2019-05-preview
@@ -25,6 +26,15 @@ batch:
- tag: package-2016-06-preview
```
+### Tag: package-2019-12-preview and go
+
+These settings apply only when `--tag=package-2019-12-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-12-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-12-01-preview/$(namespace)
+```
+
### Tag: package-2019-06-preview and go
These settings apply only when `--tag=package-2019-06-preview --go` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.java.md b/specification/containerregistry/resource-manager/readme.java.md
index 5f62b24dd44a..87034cad98c9 100644
--- a/specification/containerregistry/resource-manager/readme.java.md
+++ b/specification/containerregistry/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-12-preview
- tag: package-2019-06-preview-only
- tag: package-2019-04-only
- tag: package-2019-04
@@ -27,6 +28,19 @@ batch:
- tag: package-2016-06-preview
```
+### Tag: package-2019-12-preview and java
+
+These settings apply only when `--tag=package-2019-12-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-12-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerregistry.v2019_12_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/sdk/containerregistry/mgmt-v2019_12_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-06-preview-only and java
These settings apply only when `--tag=package-2019-06-preview-only --java` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md
index 9bd95f9c2829..0eeacd5c1a0d 100644
--- a/specification/containerregistry/resource-manager/readme.md
+++ b/specification/containerregistry/resource-manager/readme.md
@@ -4,10 +4,10 @@
This is the AutoRest configuration file for ContainerRegistry.
-
-
---
+
## Getting Started
+
To build the SDK for ContainerRegistry, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -15,20 +15,29 @@ To build the SDK for ContainerRegistry, simply [Install AutoRest](https://aka.ms
To see additional help and options, run:
> `autorest --help`
+
---
## Configuration
-
-
### Basic Information
+
These are the global settings for the ContainerRegistry API.
``` yaml
openapi-type: arm
-tag: package-2019-06-preview
+tag: package-2019-12-preview
```
+
+### Tag: package-2019-12-preview
+
+These settings apply only when `--tag=package-2019-12-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-12-preview'
+input-file:
+ - Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json
+```
### Tag: package-2019-06-preview
These settings apply only when `--tag=package-2019-06-preview` is specified on the command line.
@@ -144,10 +153,9 @@ input-file:
- Microsoft.ContainerRegistry/preview/2016-06-27-preview/containerregistry.json
```
-
---
-# Code Generation
+# Code Generation
## Swagger to SDK
@@ -172,7 +180,6 @@ swagger-to-sdk:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_container_registry']
```
-
## C#
These settings apply only when `--csharp` is specified on the command line.
@@ -200,7 +207,7 @@ See configuration in [readme.go.md](./readme.go.md)
See configuration in [readme.java.md](./readme.java.md)
-## Multi-API/Profile support for AutoRest v3 generators
+## Multi-API/Profile support for AutoRest v3 generators
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
@@ -225,11 +232,10 @@ input-file:
```
-If there are files that should not be in the `all-api-versions` set,
+If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
diff --git a/specification/containerregistry/resource-manager/readme.nodejs.md b/specification/containerregistry/resource-manager/readme.nodejs.md
index 7ab8e1d2785e..ee233b2ed5b7 100644
--- a/specification/containerregistry/resource-manager/readme.nodejs.md
+++ b/specification/containerregistry/resource-manager/readme.nodejs.md
@@ -12,7 +12,7 @@ nodejs:
generate-package-json: true
generate-readme-md: true
input-file:
-- Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
+- Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json
- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
- Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json
```
diff --git a/specification/containerregistry/resource-manager/readme.python.md b/specification/containerregistry/resource-manager/readme.python.md
index 35505275362d..a1707e78519e 100644
--- a/specification/containerregistry/resource-manager/readme.python.md
+++ b/specification/containerregistry/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-12-preview
- tag: package-2019-06-preview
- tag: package-2019-05
- tag: package-2019-05-preview
@@ -28,6 +29,17 @@ batch:
- tag: package-2017-03
```
+### Tag: package-2019-12-preview and python
+
+These settings apply only when `--tag=package-2019-12-preview --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-12-preview' && $(python)
+python:
+ namespace: azure.mgmt.containerregistry.v2019_12_01_preview
+ output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview
+```
+
### Tag: package-2019-06-preview and python
These settings apply only when `--tag=package-2019-06-preview --python` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.ruby.md b/specification/containerregistry/resource-manager/readme.ruby.md
index 6e20f9c556fa..cb834081753f 100644
--- a/specification/containerregistry/resource-manager/readme.ruby.md
+++ b/specification/containerregistry/resource-manager/readme.ruby.md
@@ -12,12 +12,23 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
+ - tag: package-2019-12-preview
- tag: package-2017-10
- tag: package-2017-06-preview
- tag: package-2017-03
- tag: package-2016-06-preview
```
+### Tag: package-2019-12-preview and ruby
+
+These settings apply only when `--tag=package-2019-12-preview --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-12-preview' && $(ruby)
+namespace: "Azure::ContainerRegistry::Mgmt::V2019_12_01_preview"
+output-folder: $(ruby-sdks-folder)/management/azure_mgmt_container_registry/lib
+```
+
### Tag: package-2017-10 and ruby
These settings apply only when `--tag=package-2017-10 --ruby` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.typescript.md b/specification/containerregistry/resource-manager/readme.typescript.md
index 8fc2768ada95..db34cc240a6d 100644
--- a/specification/containerregistry/resource-manager/readme.typescript.md
+++ b/specification/containerregistry/resource-manager/readme.typescript.md
@@ -5,7 +5,7 @@ Please also specify `--typescript-sdks-folder=
Date: Tue, 17 Dec 2019 02:37:10 +0000
Subject: [PATCH 107/469] regenerated all-api-versions
---
specification/containerregistry/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md
index 0eeacd5c1a0d..09ccbb6b7028 100644
--- a/specification/containerregistry/resource-manager/readme.md
+++ b/specification/containerregistry/resource-manager/readme.md
@@ -219,6 +219,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json
- $(this-folder)/Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
- $(this-folder)/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
- $(this-folder)/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json
From 1016fa552ce1db3c857344179dbca2518de290d0 Mon Sep 17 00:00:00 2001
From: Filiz Topatan
Date: Mon, 16 Dec 2019 23:24:26 -0800
Subject: [PATCH 108/469] Update strongType property description (#7986)
---
.../preview/2018-11-01-preview/blueprintDefinition.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
index d4c2472e7dfa..8af0348e7a91 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
@@ -1241,7 +1241,7 @@
},
"strongType": {
"type": "string",
- "description": "StrongType for UI to render rich experience during blueprint assignment.",
+ "description": "StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location.",
"maxLength": 64
}
}
From e5141b626a819c944a74743327e47538df3703e7 Mon Sep 17 00:00:00 2001
From: HanLiMS <31705044+HanLiMS@users.noreply.github.com>
Date: Tue, 17 Dec 2019 16:21:22 -0800
Subject: [PATCH 109/469] Update Text-Analytics v3.0-preview.1 (#7973)
* update v3preview.1 based on feedback
* resolve comments and prettier check
---
.../preview/v3.0-preview.1/TextAnalytics.json | 59 +++++++++++++------
1 file changed, 41 insertions(+), 18 deletions(-)
diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.0-preview.1/TextAnalytics.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.0-preview.1/TextAnalytics.json
index 91bdbfa05aca..2c826b9ba1c4 100644
--- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.0-preview.1/TextAnalytics.json
+++ b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.0-preview.1/TextAnalytics.json
@@ -80,7 +80,7 @@
"default": {
"description": "Error Response",
"schema": {
- "$ref": "#/definitions/Error"
+ "$ref": "#/definitions/TextAnalyticsError"
}
}
},
@@ -138,7 +138,7 @@
"default": {
"description": "Error Response",
"schema": {
- "$ref": "#/definitions/Error"
+ "$ref": "#/definitions/TextAnalyticsError"
}
}
},
@@ -196,7 +196,7 @@
"default": {
"description": "Error Response",
"schema": {
- "$ref": "#/definitions/Error"
+ "$ref": "#/definitions/TextAnalyticsError"
}
}
},
@@ -254,7 +254,7 @@
"default": {
"description": "Error Response",
"schema": {
- "$ref": "#/definitions/Error"
+ "$ref": "#/definitions/TextAnalyticsError"
}
}
},
@@ -312,7 +312,7 @@
"default": {
"description": "Error Response",
"schema": {
- "$ref": "#/definitions/Error"
+ "$ref": "#/definitions/TextAnalyticsError"
}
}
},
@@ -370,7 +370,7 @@
"default": {
"description": "Error Response",
"schema": {
- "$ref": "#/definitions/Error"
+ "$ref": "#/definitions/TextAnalyticsError"
}
}
},
@@ -436,13 +436,11 @@
"error": {
"type": "object",
"description": "Document Error.",
- "items": {
- "$ref": "#/definitions/Error"
- }
+ "$ref": "#/definitions/TextAnalyticsError"
}
}
},
- "Error": {
+ "TextAnalyticsError": {
"type": "object",
"required": [
"code",
@@ -457,6 +455,10 @@
"internalServerError",
"serviceUnavailable"
],
+ "x-ms-enum": {
+ "name": "ErrorCodeValue",
+ "modelAsString": false
+ },
"description": "Error code."
},
"message": {
@@ -467,7 +469,7 @@
"type": "string",
"description": "Error target."
},
- "innererror": {
+ "innerError": {
"$ref": "#/definitions/InnerError",
"description": "Inner error contains more specific information."
},
@@ -475,7 +477,7 @@
"type": "array",
"description": "Details about specific errors that led to this reported error.",
"items": {
- "$ref": "#/definitions/Error"
+ "$ref": "#/definitions/TextAnalyticsError"
}
}
}
@@ -500,17 +502,28 @@
"unsupportedLanguageCode",
"invalidCountryHint"
],
+ "x-ms-enum": {
+ "name": "InnerErrorCodeValue",
+ "modelAsString": false
+ },
"description": "Error code."
},
"message": {
"type": "string",
"description": "Error message."
},
+ "details": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Error details."
+ },
"target": {
"type": "string",
"description": "Error target."
},
- "innererror": {
+ "innerError": {
"$ref": "#/definitions/InnerError",
"description": "Inner error contains more specific information."
}
@@ -568,13 +581,18 @@
"neutral",
"negative",
"mixed"
- ]
+ ],
+ "x-ms-enum": {
+ "name": "DocumentSentimentValue",
+ "modelAsString": false
+ }
},
"statistics": {
"$ref": "#/definitions/DocumentStatistics"
},
"documentScores": {
- "description": "Document level sentiment confidence scores between 0 and 1 for each sentiment class."
+ "description": "Document level sentiment confidence scores between 0 and 1 for each sentiment class.",
+ "$ref": "#/definitions/SentimentConfidenceScorePerLabel"
},
"sentences": {
"type": "array",
@@ -676,10 +694,15 @@
"positive",
"neutral",
"negative"
- ]
+ ],
+ "x-ms-enum": {
+ "name": "SentenceSentimentValue",
+ "modelAsString": false
+ }
},
"sentenceScores": {
- "description": "The sentiment confidence score between 0 and 1 for the sentence for all classes."
+ "description": "The sentiment confidence score between 0 and 1 for the sentence for all classes.",
+ "$ref": "#/definitions/SentimentConfidenceScorePerLabel"
},
"offset": {
"type": "integer",
@@ -1096,4 +1119,4 @@
"x-ms-skip-url-encoding": true
}
}
-}
+}
\ No newline at end of file
From 80ad83095430bbf8d0a1a3dae8b6fb0ad1038af8 Mon Sep 17 00:00:00 2001
From: HanLiMS <31705044+HanLiMS@users.noreply.github.com>
Date: Tue, 17 Dec 2019 16:21:37 -0800
Subject: [PATCH 110/469] update /sentiment error response to define default
(#7970)
* update /sentiment error response to have default
* remove duplicate examples in .json file to pass ModelValidation
---
.../stable/v2.1/TextAnalytics.json | 40 +------------------
1 file changed, 1 insertion(+), 39 deletions(-)
diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/stable/v2.1/TextAnalytics.json b/specification/cognitiveservices/data-plane/TextAnalytics/stable/v2.1/TextAnalytics.json
index d54e2f91d6ca..f2986728bd65 100644
--- a/specification/cognitiveservices/data-plane/TextAnalytics/stable/v2.1/TextAnalytics.json
+++ b/specification/cognitiveservices/data-plane/TextAnalytics/stable/v2.1/TextAnalytics.json
@@ -229,7 +229,7 @@
"$ref": "#/definitions/SentimentBatchResult"
}
},
- "500": {
+ "default": {
"description": "Error Response",
"schema": {
"$ref": "#/definitions/ErrorResponse"
@@ -259,25 +259,6 @@
"$ref": "#/definitions/MultiLanguageInput"
}
}
- },
- "example": {
- "documents": [
- {
- "language": "en",
- "id": "1",
- "text": "Hello world. This is some input text that I love."
- },
- {
- "language": "fr",
- "id": "2",
- "text": "Bonjour tout le monde"
- },
- {
- "language": "es",
- "id": "3",
- "text": "La carretera estaba atascada. Había mucho tráfico el día de ayer."
- }
- ]
}
},
"MultiLanguageInput": {
@@ -557,25 +538,6 @@
"$ref": "#/definitions/LanguageInput"
}
}
- },
- "example": {
- "documents": [
- {
- "countryHint": "en",
- "id": "1",
- "text": "Hello world. This is some input text that I love."
- },
- {
- "countryHint": "fr",
- "id": "2",
- "text": "Bonjour tout le monde"
- },
- {
- "countryHint": "es",
- "id": "3",
- "text": "La carretera estaba atascada. Había mucho tráfico el día de ayer."
- }
- ]
}
},
"LanguageInput": {
From fde7072ff3c5e81050e365ed016167fa390eb64c Mon Sep 17 00:00:00 2001
From: jihochang
Date: Tue, 17 Dec 2019 17:52:42 -0800
Subject: [PATCH 111/469] Microsoft.AAD/DomainService: Add 2020-01-01
api-version (#7901)
---
.../stable/2020-01-01/domainservices.json | 882 ++++++++++++++++++
.../examples/CreateDomainService.json | 188 ++++
.../examples/DeleteDomainService.json | 16 +
.../2020-01-01/examples/GetDomainService.json | 90 ++
.../2020-01-01/examples/GetOperations.json | 63 ++
.../ListDomainServicesByResourceGroup.json | 93 ++
.../ListDomainServicesBySubscription.json | 92 ++
.../examples/UpdateDomainService.json | 168 ++++
.../domainservices/resource-manager/readme.md | 24 +
9 files changed, 1616 insertions(+)
create mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/domainservices.json
create mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/CreateDomainService.json
create mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/DeleteDomainService.json
create mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetDomainService.json
create mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetOperations.json
create mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListDomainServicesByResourceGroup.json
create mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListDomainServicesBySubscription.json
create mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/UpdateDomainService.json
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/domainservices.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/domainservices.json
new file mode 100644
index 000000000000..052a5e20473b
--- /dev/null
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/domainservices.json
@@ -0,0 +1,882 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Domain Services Resource Provider",
+ "description": "The AAD Domain Services API.",
+ "version": "2020-01-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.AAD/operations": {
+ "get": {
+ "tags": [
+ "DomainServices"
+ ],
+ "description": "Lists all the available Domain Services operations.",
+ "operationId": "DomainServiceOperations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "schema": {
+ "$ref": "#/definitions/OperationEntityListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Operations": {
+ "$ref": "./examples/GetOperations.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices": {
+ "get": {
+ "tags": [
+ "DomainServices"
+ ],
+ "operationId": "DomainServices_List",
+ "summary": "List Domain Services in Subscription",
+ "description": "The List Domain Services in Subscription operation lists all the domain services available under the given subscription (and across all resource groups within that subscription).",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "schema": {
+ "$ref": "#/definitions/DomainServiceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List Domain Service": {
+ "$ref": "./examples/ListDomainServicesBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices": {
+ "get": {
+ "tags": [
+ "DomainServices"
+ ],
+ "operationId": "DomainServices_ListByResourceGroup",
+ "summary": "List Domain Services in Resource Group",
+ "description": "The List Domain Services in Resource Group operation lists all the domain services available under the given resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "schema": {
+ "$ref": "#/definitions/DomainServiceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List Domain Service": {
+ "$ref": "./examples/ListDomainServicesByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}": {
+ "put": {
+ "tags": [
+ "DomainServices"
+ ],
+ "operationId": "DomainServices_CreateOrUpdate",
+ "summary": "Create or Update Domain Service (PUT Resource)",
+ "description": "The Create Domain Service operation creates a new domain service with the specified parameters. If the specific service already exists, then any patchable properties will be updated and any immutable properties will remain unchanged.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DomainServiceNameParameter"
+ },
+ {
+ "name": "domainService",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DomainService"
+ },
+ "description": "Properties supplied to the Create or Update a Domain Service operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "schema": {
+ "$ref": "#/definitions/DomainService"
+ }
+ },
+ "201": {
+ "description": "HTTP 201 (Created) if the operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DomainService"
+ }
+ },
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/DomainService"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create Domain Service": {
+ "$ref": "./examples/CreateDomainService.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DomainServices"
+ ],
+ "operationId": "DomainServices_Get",
+ "summary": "Get Domain Service",
+ "description": "The Get Domain Service operation retrieves a json representation of the Domain Service.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DomainServiceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "schema": {
+ "$ref": "#/definitions/DomainService"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Domain Service": {
+ "$ref": "./examples/GetDomainService.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DomainServices"
+ ],
+ "operationId": "DomainServices_Delete",
+ "summary": "Delete Domain Service (DELETE Resource)",
+ "description": "The Delete Domain Service operation deletes an existing Domain Service.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DomainServiceNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
+ },
+ "204": {
+ "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Domain Service": {
+ "$ref": "./examples/DeleteDomainService.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "DomainServices"
+ ],
+ "operationId": "DomainServices_Update",
+ "summary": "Update Domain Service (PATCH Resource)",
+ "description": "The Update Domain Service operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DomainServiceNameParameter"
+ },
+ {
+ "name": "domainService",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DomainService"
+ },
+ "description": "Properties supplied to the Update a Domain Service operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "schema": {
+ "$ref": "#/definitions/DomainService"
+ }
+ },
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/DomainService"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update Domain Service": {
+ "$ref": "./examples/UpdateDomainService.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "etag": {
+ "type": "string",
+ "description": "Resource etag"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "DomainService": {
+ "description": "Domain service.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DomainServiceProperties",
+ "description": "Domain service properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "DomainServiceListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DomainService"
+ },
+ "description": "the list of domain services."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The continuation token for the next page of results.",
+ "readOnly": true
+ }
+ },
+ "description": "The response from the List Domain Services operation."
+ },
+ "DomainServiceProperties": {
+ "description": "Properties of the Domain Service.",
+ "properties": {
+ "version": {
+ "readOnly": true,
+ "type": "integer",
+ "description": "Data Model Version"
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Azure Active Directory Tenant Id"
+ },
+ "domainName": {
+ "type": "string",
+ "description": "The name of the Azure domain that the user would like to deploy Domain Services to."
+ },
+ "deploymentId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Deployment Id"
+ },
+ "syncOwner": {
+ "readOnly": true,
+ "type": "string",
+ "description": "SyncOwner ReplicaSet Id"
+ },
+ "replicaSets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReplicaSet",
+ "description": "ReplicaSet"
+ },
+ "description": "List of ReplicaSets"
+ },
+ "ldapsSettings": {
+ "$ref": "#/definitions/LdapsSettings",
+ "description": "Secure LDAP Settings"
+ },
+ "domainSecuritySettings": {
+ "$ref": "#/definitions/DomainSecuritySettings",
+ "description": "DomainSecurity Settings"
+ },
+ "filteredSync": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "description": "Enabled or Disabled flag to turn on Group-based filtered sync",
+ "x-ms-enum": {
+ "name": "FilteredSync",
+ "modelAsString": true
+ }
+ },
+ "notificationSettings": {
+ "$ref": "#/definitions/NotificationSettings",
+ "description": "Notification Settings"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "the current deployment or provisioning state, which only appears in the response."
+ }
+ }
+ },
+ "ReplicaSet": {
+ "description": "Replica Set Definition",
+ "properties": {
+ "replicaSetId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "ReplicaSet Id"
+ },
+ "location": {
+ "type": "string",
+ "description": "Virtual network location"
+ },
+ "vnetSiteId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Virtual network site id"
+ },
+ "subnetId": {
+ "type": "string",
+ "description": "The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName."
+ },
+ "domainControllerIpAddress": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "Domain Controller IP Address"
+ },
+ "description": "List of Domain Controller IP Address"
+ },
+ "externalAccessIpAddress": {
+ "readOnly": true,
+ "type": "string",
+ "description": "External access ip address."
+ },
+ "serviceStatus": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Status of Domain Service instance"
+ },
+ "healthLastEvaluated": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "Last domain evaluation run DateTime"
+ },
+ "healthMonitors": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HealthMonitor",
+ "description": "Domain Health Monitors"
+ },
+ "description": "List of Domain Health Monitors"
+ },
+ "healthAlerts": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HealthAlert",
+ "description": "Domain Health Alerts"
+ },
+ "description": "List of Domain Health Alerts"
+ }
+ }
+ },
+ "LdapsSettings": {
+ "description": "Secure LDAP Settings",
+ "properties": {
+ "ldaps": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "description": "A flag to determine whether or not Secure LDAP is enabled or disabled.",
+ "x-ms-enum": {
+ "name": "Ldaps",
+ "modelAsString": true
+ }
+ },
+ "pfxCertificate": {
+ "type": "string",
+ "description": "The certificate required to configure Secure LDAP. The parameter passed here should be a base64encoded representation of the certificate pfx file."
+ },
+ "pfxCertificatePassword": {
+ "type": "string",
+ "description": "The password to decrypt the provided Secure LDAP certificate pfx file."
+ },
+ "publicCertificate": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Public certificate used to configure secure ldap."
+ },
+ "certificateThumbprint": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Thumbprint of configure ldaps certificate."
+ },
+ "certificateNotAfter": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "NotAfter DateTime of configure ldaps certificate."
+ },
+ "externalAccess": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "description": "A flag to determine whether or not Secure LDAP access over the internet is enabled or disabled.",
+ "x-ms-enum": {
+ "name": "ExternalAccess",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "HealthMonitor": {
+ "description": "Health Monitor Description",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Health Monitor Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Health Monitor Name"
+ },
+ "details": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Health Monitor Details"
+ }
+ }
+ },
+ "HealthAlert": {
+ "description": "Health Alert Description",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Health Alert Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Health Alert Name"
+ },
+ "issue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Health Alert Issue"
+ },
+ "severity": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Health Alert Severity"
+ },
+ "raised": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "Health Alert Raised DateTime"
+ },
+ "lastDetected": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "Health Alert Last Detected DateTime"
+ },
+ "resolutionUri": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Health Alert TSG Link"
+ }
+ }
+ },
+ "NotificationSettings": {
+ "description": "Settings for notification",
+ "properties": {
+ "notifyGlobalAdmins": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "description": "Should global admins be notified",
+ "x-ms-enum": {
+ "name": "notifyGlobalAdmins",
+ "modelAsString": true
+ }
+ },
+ "notifyDcAdmins": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "description": "Should domain controller admins be notified",
+ "x-ms-enum": {
+ "name": "notifyDcAdmins",
+ "modelAsString": true
+ }
+ },
+ "additionalRecipients": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "Email address for additional recipient"
+ },
+ "description": "The list of additional recipients"
+ }
+ }
+ },
+ "DomainSecuritySettings": {
+ "description": "Domain Security Settings",
+ "properties": {
+ "ntlmV1": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "description": "A flag to determine whether or not NtlmV1 is enabled or disabled.",
+ "x-ms-enum": {
+ "name": "NtlmV1",
+ "modelAsString": true
+ }
+ },
+ "tlsV1": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "description": "A flag to determine whether or not TlsV1 is enabled or disabled.",
+ "x-ms-enum": {
+ "name": "TlsV1",
+ "modelAsString": true
+ }
+ },
+ "syncNtlmPasswords": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "description": "A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.",
+ "x-ms-enum": {
+ "name": "SyncNtlmPasswords",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "description": "An error response from the Domain Services.",
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Domain Services."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Domain Services."
+ },
+ "OperationEntityListResult": {
+ "description": "The list of domain service operation response.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of operations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationEntity"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The continuation token for the next page of results.",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationEntity": {
+ "description": "The operation supported by Domain Services.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string"
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplayInfo",
+ "description": "The operation supported by Domain Services."
+ },
+ "origin": {
+ "description": "The origin of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationDisplayInfo": {
+ "description": "The operation supported by Domain Services.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "The description of the operation.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The action that users can perform, based on their permission level.",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Service provider: Domain Services.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group within the user's subscription. The name is case insensitive.",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method"
+ },
+ "DomainServiceNameParameter": {
+ "name": "domainServiceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the domain service.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/CreateDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/CreateDomainService.json
new file mode 100644
index 000000000000..417bcb7fe6db
--- /dev/null
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/CreateDomainService.json
@@ -0,0 +1,188 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
+ "resourceGroupName": "TestResourceGroup",
+ "domainServiceName": "TestDomainService.com",
+ "domainService": {
+ "location": "West US",
+ "properties": {
+ "domainName": "TestDomainService.com",
+ "replicaSets": [
+ {
+ "location": "West US",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS"
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "pfxCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "pfxCertificatePassword": "Password01",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "body": {
+ "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
+ "name": "TestDomainService.com",
+ "type": "Microsoft.AAD/DomainServices",
+ "location": "West US",
+ "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
+ "properties": {
+ "version": 2,
+ "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
+ "domainName": "TestDomainService.com",
+ "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "replicaSets": [
+ {
+ "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "location": "West US",
+ "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
+ "domainControllerIpAddress": [
+ "10.0.0.1",
+ "10.0.0.2"
+ ],
+ "externalAccessIpAddress": "13.64.148.151",
+ "serviceStatus": "Running"
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
+ "certificateNotAfter": "2018-02-15T21:43:21Z",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "description": "HTTP 201 (Created) if the operation completed successfully.",
+ "body": {
+ "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
+ "name": "TestDomainService.com",
+ "type": "Microsoft.AAD/DomainServices",
+ "location": "West US",
+ "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
+ "properties": {
+ "version": 2,
+ "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
+ "domainName": "TestDomainService.com",
+ "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "replicaSets": [
+ {
+ "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "location": "West US",
+ "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
+ "domainControllerIpAddress": [
+ "10.0.0.1",
+ "10.0.0.2"
+ ],
+ "externalAccessIpAddress": "13.64.148.151",
+ "serviceStatus": "Running"
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
+ "certificateNotAfter": "2018-02-15T21:43:21Z",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
+ "body": {
+ "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
+ "name": "TestDomainService.com",
+ "type": "Microsoft.AAD/DomainServices",
+ "location": "West US",
+ "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
+ "properties": {
+ "version": 2,
+ "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
+ "domainName": "TestDomainService.com",
+ "replicaSets": [
+ {
+ "location": "West US",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS"
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/DeleteDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/DeleteDomainService.json
new file mode 100644
index 000000000000..f9cd9a6e085a
--- /dev/null
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/DeleteDomainService.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
+ "resourceGroupName": "TestResourceGroup",
+ "domainServiceName": "TestDomainService.com"
+ },
+ "responses": {
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
+ },
+ "204": {
+ "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed."
+ }
+ }
+}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetDomainService.json
new file mode 100644
index 000000000000..9553e3590a05
--- /dev/null
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetDomainService.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
+ "resourceGroupName": "TestResourceGroup",
+ "domainServiceName": "TestDomainService.com"
+ },
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "body": {
+ "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
+ "name": "TestDomainService.com",
+ "type": "Microsoft.AAD/DomainServices",
+ "location": "West US",
+ "tags": {
+ "Owner": "jicha"
+ },
+ "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
+ "properties": {
+ "version": 2,
+ "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
+ "domainName": "TestDomainService.com",
+ "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "replicaSets": [
+ {
+ "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "location": "West US",
+ "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
+ "domainControllerIpAddress": [
+ "10.0.0.1",
+ "10.0.0.2"
+ ],
+ "externalAccessIpAddress": "13.64.148.151",
+ "serviceStatus": "Running",
+ "healthLastEvaluated": "2018-02-15T21:43:21Z",
+ "healthMonitors": [
+ {
+ "id": "AADDS501",
+ "name": "Backup",
+ "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT"
+ },
+ {
+ "id": "AADDS500",
+ "name": "Synchronization with Azure AD",
+ "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT."
+ }
+ ],
+ "healthAlerts": [
+ {
+ "id": "AADDS104",
+ "name": "The managed domain is experiencing a network error",
+ "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.",
+ "severity": "2",
+ "raised": "2018-09-18T01:55:40.7834289Z",
+ "lastDetected": "2018-09-18T17:46:39.2697888Z",
+ "resolutionUri": "https://aka.ms/aadds-neterr"
+ }
+ ]
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
+ "certificateNotAfter": "2018-02-15T21:43:21Z",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetOperations.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetOperations.json
new file mode 100644
index 000000000000..5a78891766d0
--- /dev/null
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetOperations.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.AAD/unregister/action",
+ "display": {
+ "provider": "Domain Services Resource Provider",
+ "resource": "Domain Service Type",
+ "operation": "Unregister Domain Service",
+ "description": "Unregisters Domain Services"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AAD/register/action",
+ "display": {
+ "provider": "Domain Services Resource Provider",
+ "resource": "Domain Service Type",
+ "operation": "Register Domain Service",
+ "description": "Registers Domain Services"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AAD/domainServices/read",
+ "display": {
+ "provider": "Domain Services Resource Provider",
+ "resource": "Domain Service Type",
+ "operation": "Read Domain Service",
+ "description": "Reads Domain Services"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AAD/domainServices/write",
+ "display": {
+ "provider": "Domain Services Resource Provider",
+ "resource": "Domain Service Type",
+ "operation": "Write Domain Service",
+ "description": "Writes Domain Services"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AAD/domainServices/delete",
+ "display": {
+ "provider": "Domain Services Resource Provider",
+ "resource": "Domain Service Type",
+ "operation": "Delete Domain Service",
+ "description": "Deletes Domain Services"
+ },
+ "origin": "user,system"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListDomainServicesByResourceGroup.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListDomainServicesByResourceGroup.json
new file mode 100644
index 000000000000..f1536af06a21
--- /dev/null
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListDomainServicesByResourceGroup.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
+ "resourceGroupName": "TestResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
+ "name": "TestDomainService.com",
+ "type": "Microsoft.AAD/DomainServices",
+ "location": "West US",
+ "tags": {
+ "Owner": "jicha"
+ },
+ "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
+ "properties": {
+ "version": 2,
+ "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
+ "domainName": "TestDomainService.com",
+ "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "replicaSets": [
+ {
+ "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "location": "West US",
+ "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
+ "domainControllerIpAddress": [
+ "10.0.0.1",
+ "10.0.0.2"
+ ],
+ "externalAccessIpAddress": "13.64.148.151",
+ "serviceStatus": "Running",
+ "healthLastEvaluated": "2018-02-15T21:43:21Z",
+ "healthMonitors": [
+ {
+ "id": "AADDS501",
+ "name": "Backup",
+ "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT"
+ },
+ {
+ "id": "AADDS500",
+ "name": "Synchronization with Azure AD",
+ "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT."
+ }
+ ],
+ "healthAlerts": [
+ {
+ "id": "AADDS104",
+ "name": "The managed domain is experiencing a network error",
+ "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.",
+ "severity": "2",
+ "raised": "2018-09-18T01:55:40.7834289Z",
+ "lastDetected": "2018-09-18T17:46:39.2697888Z",
+ "resolutionUri": "https://aka.ms/aadds-neterr"
+ }
+ ]
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
+ "certificateNotAfter": "2018-02-15T21:43:21Z",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListDomainServicesBySubscription.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListDomainServicesBySubscription.json
new file mode 100644
index 000000000000..4181f4bb3ffb
--- /dev/null
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListDomainServicesBySubscription.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d"
+ },
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
+ "name": "TestDomainService.com",
+ "type": "Microsoft.AAD/DomainServices",
+ "location": "West US",
+ "tags": {
+ "Owner": "jicha"
+ },
+ "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
+ "properties": {
+ "version": 2,
+ "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
+ "domainName": "TestDomainService.com",
+ "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "replicaSets": [
+ {
+ "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "location": "West US",
+ "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
+ "domainControllerIpAddress": [
+ "10.0.0.1",
+ "10.0.0.2"
+ ],
+ "externalAccessIpAddress": "13.64.148.151",
+ "serviceStatus": "Running",
+ "healthLastEvaluated": "2018-02-15T21:43:21Z",
+ "healthMonitors": [
+ {
+ "id": "AADDS501",
+ "name": "Backup",
+ "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT"
+ },
+ {
+ "id": "AADDS500",
+ "name": "Synchronization with Azure AD",
+ "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT."
+ }
+ ],
+ "healthAlerts": [
+ {
+ "id": "AADDS104",
+ "name": "The managed domain is experiencing a network error",
+ "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.",
+ "severity": "2",
+ "raised": "2018-09-18T01:55:40.7834289Z",
+ "lastDetected": "2018-09-18T17:46:39.2697888Z",
+ "resolutionUri": "https://aka.ms/aadds-neterr"
+ }
+ ]
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
+ "certificateNotAfter": "2018-02-15T21:43:21Z",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/UpdateDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/UpdateDomainService.json
new file mode 100644
index 000000000000..35de395e3988
--- /dev/null
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/UpdateDomainService.json
@@ -0,0 +1,168 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
+ "resourceGroupName": "TestResourceGroup",
+ "domainServiceName": "TestDomainService.com",
+ "domainService": {
+ "location": "West US",
+ "properties": {
+ "replicaSets": [
+ {
+ "location": "West US",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS"
+ },
+ {
+ "location": "East US",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS"
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "pfxCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "pfxCertificatePassword": "Password01",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "HTTP 200 (OK) if the operation was successful.",
+ "body": {
+ "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
+ "name": "TestDomainService.com",
+ "type": "Microsoft.AAD/DomainServices",
+ "location": "West US",
+ "tags": {
+ "Owner": "jicha"
+ },
+ "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
+ "properties": {
+ "version": 2,
+ "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
+ "domainName": "TestDomainService.com",
+ "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "replicaSets": [
+ {
+ "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "location": "West US",
+ "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
+ "domainControllerIpAddress": [
+ "10.0.0.1",
+ "10.0.0.2"
+ ],
+ "externalAccessIpAddress": "13.64.148.151",
+ "serviceStatus": "Running"
+ },
+ {
+ "replicaSetId": "5057347d-cad1-4ec8-8db6-66cf7eedf4b8",
+ "location": "East US",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS",
+ "domainControllerIpAddress": [
+ "10.0.0.3",
+ "10.0.0.4"
+ ],
+ "externalAccessIpAddress": "13.64.148.152",
+ "serviceStatus": "Running"
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
+ "certificateNotAfter": "2018-02-15T21:43:21Z",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
+ "body": {
+ "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
+ "name": "TestDomainService.com",
+ "type": "Microsoft.AAD/DomainServices",
+ "location": "West US",
+ "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
+ "properties": {
+ "version": 2,
+ "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
+ "domainName": "TestDomainService.com",
+ "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "replicaSets": [
+ {
+ "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
+ "location": "West US",
+ "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
+ "domainControllerIpAddress": [
+ "10.0.0.1",
+ "10.0.0.2"
+ ],
+ "serviceStatus": "Running"
+ },
+ {
+ "location": "East US",
+ "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS"
+ }
+ ],
+ "ldapsSettings": {
+ "ldaps": "Enabled",
+ "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
+ "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
+ "certificateNotAfter": "2018-02-15T21:43:21Z",
+ "externalAccess": "Enabled"
+ },
+ "domainSecuritySettings": {
+ "ntlmV1": "Enabled",
+ "tlsV1": "Disabled",
+ "syncNtlmPasswords": "Enabled"
+ },
+ "filteredSync": "Enabled",
+ "notificationSettings": {
+ "notifyGlobalAdmins": "Enabled",
+ "notifyDcAdmins": "Enabled",
+ "additionalRecipients": [
+ "jicha@microsoft.com",
+ "caalmont@microsoft.com"
+ ]
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/domainservices/resource-manager/readme.md b/specification/domainservices/resource-manager/readme.md
index 9d3187afab6c..a3c8ec8ccf18 100644
--- a/specification/domainservices/resource-manager/readme.md
+++ b/specification/domainservices/resource-manager/readme.md
@@ -29,6 +29,15 @@ openapi-type: arm
tag: package-2017-06
```
+### Tag: package-2020-01
+
+These settings apply only when `--tag=package-2020-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2020-01'
+input-file:
+- Microsoft.AAD/stable/2020-01-01/domainservices.json
+```
+
### Tag: package-2017-06
These settings apply only when `--tag=package-2017-06` is specified on the command line.
@@ -101,10 +110,24 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-domainservices
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2020-01
- tag: package-2017-06
- tag: package-2017-01
```
+### Tag: package-2020-01 and java
+
+These settings apply only when `--tag=package-2020-01 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2020-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.domainservices.v2020_01_01
+ output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2020_01_01
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2017-06 and java
These settings apply only when `--tag=package-2017-06 --java` is specified on the command line.
@@ -145,6 +168,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.AAD/stable/2020-01-01/domainservices.json
- $(this-folder)/Microsoft.AAD/stable/2017-06-01/domainservices.json
- $(this-folder)/Microsoft.AAD/stable/2017-01-01/domainservices.json
From 8170b1dddd0b7e0e99e2940625182a79cb677231 Mon Sep 17 00:00:00 2001
From: Jack Ma
Date: Wed, 18 Dec 2019 00:23:08 -0800
Subject: [PATCH 112/469] add compute (#7993)
---
.../2018-06-01/entityTypes/Pipeline.json | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
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 5a477050c43f..460eca46990d 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
@@ -5803,6 +5803,29 @@
"integrationRuntime": {
"description": "The integration runtime reference.",
"$ref": "../datafactory.json#/definitions/IntegrationRuntimeReference"
+ },
+ "compute": {
+ "description": "Compute properties for data flow activity.",
+ "type": "object",
+ "properties": {
+ "computeType": {
+ "description": "Compute type of the cluster which will execute data flow job.",
+ "type": "string",
+ "enum": [
+ "General",
+ "MemoryOptimized",
+ "ComputeOptimized"
+ ],
+ "x-ms-enum": {
+ "name": "DataFlowComputeType",
+ "modelAsString": true
+ }
+ },
+ "coreCount": {
+ "description": "Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272.",
+ "type": "integer"
+ }
+ }
}
},
"required": [
From 7d0176154a450641149670ee6bf01c7979d106a9 Mon Sep 17 00:00:00 2001
From: Tanyi Chen
Date: Thu, 19 Dec 2019 09:57:20 +0800
Subject: [PATCH 113/469] Deployment Manager: fix java namespace error (#7962)
---
specification/deploymentmanager/resource-manager/readme.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md
index 95faf2bdfdea..fd8b13f1e887 100644
--- a/specification/deploymentmanager/resource-manager/readme.md
+++ b/specification/deploymentmanager/resource-manager/readme.md
@@ -193,8 +193,8 @@ Please also specify `--azure-libraries-for-java=
Date: Wed, 18 Dec 2019 18:00:16 -0800
Subject: [PATCH 114/469] ServiceBus: Added Namespace properties for BYOK
(#7335)
---
.../servicebus-preview.json | 69 +++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json
index a1c5d1f71e57..33c89e5d3e11 100644
--- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json
+++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json
@@ -997,6 +997,14 @@
"zoneRedundant": {
"type": "boolean",
"description": "Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones."
+ },
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "description": "Properties of BYOK Identity description"
+ },
+ "encryption": {
+ "$ref": "#/definitions/Encryption",
+ "description": "Properties of BYOK Encryption description"
}
},
"description": "Properties of the namespace."
@@ -1277,6 +1285,67 @@
}
],
"description": "Description of topic resource."
+ },
+ "Identity": {
+ "x-ms-client-flatten": true,
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "ObjectId from the KeyVault"
+ },
+ "tenantId": {
+ "type": "string",
+ "description": "TenantId from the KeyVault"
+ },
+ "type": {
+ "type": "string",
+ "description": "Enumerates the possible value Identity type, which currently supports only 'SystemAssigned'",
+ "default": "SystemAssigned",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "IdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Properties to configure Identity for Bring your Own Keys"
+ },
+ "Encryption": {
+ "x-ms-client-flatten": true,
+ "properties": {
+ "keyVaultProperties": {
+ "$ref": "#/definitions/KeyVaultProperties",
+ "description": "Properties of KeyVault"
+ },
+ "keySource": {
+ "type": "string",
+ "description": "Enumerates the possible value of keySource for Encryption",
+ "default": "Microsoft.KeyVault",
+ "enum": [
+ "Microsoft.KeyVault"
+ ],
+ "x-ms-enum": {
+ "name": "keySource",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Properties to configure Encryption"
+ },
+ "KeyVaultProperties": {
+ "properties": {
+ "keyName": {
+ "type": "string",
+ "description": "Name of the Key from KeyVault"
+ },
+ "keyVaultUri": {
+ "type": "string",
+ "description": "Uri of KeyVault"
+ }
+ },
+ "description": "Properties to configure keyVault Properties"
}
},
"parameters": {
From 1d66366650af2bd5193018068547e9b97861cff3 Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Thu, 19 Dec 2019 10:30:33 +0800
Subject: [PATCH 115/469] SLA_bot compatibility update (#7963)
* SLA_bot compatibility update
* add issue triage
* modify team title
---
.github/reviewer.yml | 2 --
.github/sla.yml | 22 ++++++++++++++++------
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/.github/reviewer.yml b/.github/reviewer.yml
index 0fd114e380a7..6e53458ab4ef 100644
--- a/.github/reviewer.yml
+++ b/.github/reviewer.yml
@@ -3,8 +3,6 @@
- group:
name: default
users:
- - githubID: ruowan
- email: ruowan@microsoft.com
- githubID: raych1
email: raychen@microsoft.com
- githubID: MyronFanQiu
diff --git a/.github/sla.yml b/.github/sla.yml
index 896fa5f7b392..982e2351d05b 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -7,8 +7,8 @@
args:
booleanFilterExpression: "!(WaitForARMFeedback||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
- message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
- subject: "Action Required: Please respond to PR ${PR_URL}"
+ message: ' Dear Swagger reviewer,
Please response to the PR ${URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
+ subject: "Action Required: Please respond to PR ${URL}"
description: "None initial response in 48 hours. For public repo."
name: "[PUBLIC] initial response notification"
@@ -20,8 +20,8 @@
args:
booleanFilterExpression: "!(WaitForARMFeedback||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
- message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
- subject: "Action Required: Please respond to PR ${PR_URL}"
+ message: ' Dear Swagger reviewer,
Please response to the PR ${URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
+ subject: "Action Required: Please respond to PR ${URL}"
description: "None initial response in 48 hours. For private repo."
name: "[PRIVATE] initial response notification"
@@ -33,8 +33,18 @@
args:
booleanFilterExpression: "(WaitForARMFeedback&&!ARMSignedOff&&!ARMChangesRequested&&!ARMReviewInProgress)"
limit: 3d
- subject: "Action Required: Please help to review PR ${PR_URL}"
- message: " Dear ARM review board,
Please review PR ${PR_URL}, the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to avoid receiving notification on the same PR.
- Please do not reply to this email, this is an automatic generated email.
Best regards,
Azure Management Experience"
+ subject: "Action Required: Please help to review PR ${URL}"
+ message: " Dear ARM review board,
Please review PR ${URL}, the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to avoid receiving notification on the same PR.
- Please do not reply to this email, this is an automatic generated email.
Best regards,
Azure Management Experience"
to: armapireview@microsoft.com
description: "send email to ARM team for over 5 days PRs labelled with WaitForARMFeedback"
name: "send email to ARM team"
+
+- scheduleTask:
+ action: sendEmailToAssignee
+ scope: issue
+ args:
+ booleanFilterExpression: "triage"
+ limit: 48h
+ message: " Dear Swagger reviewer,
Please response to the issue ${URL}. The issue isn't updated in 48 hours.
Quick info. - If you have any question, please send email to Visual Studio Swagger and Tool team vscswagger@microsoft.com.
Best regards,
Azure Management Experience "
+ subject: "Action Required: Please respond to issue ${URL}"
+ cc: Ankun.Ning@microsoft.com
From c4cf347a603124cfce04f2970dfeff8f0b8447a3 Mon Sep 17 00:00:00 2001
From: TalluriAnusha
Date: Thu, 19 Dec 2019 10:10:04 +0530
Subject: [PATCH 116/469] =?UTF-8?q?Honoring=20Disk=20encryption=20set=20Id?=
=?UTF-8?q?=20as=20input=20for=20VMWare=20to=20Azure=20and=20Hype=E2=80=A6?=
=?UTF-8?q?=20(#7961)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* Honoring Disk encryption set Id as input for VMWare to Azure and HypeV to Azure replications
* ARM review comments taken
---
.../stable/2018-07-10/service.json | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
index b29eea9f7945..31e9d0cf35e5 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
@@ -8833,6 +8833,10 @@
"description": "The VHD id.",
"type": "string"
},
+ "diskId": {
+ "description": "The disk resource id.",
+ "type": "string"
+ },
"vhdName": {
"description": "VHD name.",
"type": "string"
@@ -8852,6 +8856,10 @@
"lunId": {
"description": "Ordinal\\LunId of the disk for the Azure VM.",
"type": "string"
+ },
+ "diskEncryptionSetId": {
+ "description": "The DiskEncryptionSet ARM ID.",
+ "type": "string"
}
}
},
@@ -10468,6 +10476,13 @@
"useManagedDisks": {
"description": "A value indicating whether managed disks should be used during failover.",
"type": "string"
+ },
+ "diskIdToDiskEncryptionMap": {
+ "description": "The dictionary of disk resource Id to disk encryption set ARM Id.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
}
},
"x-ms-discriminator-value": "HyperVReplicaAzure"
@@ -11229,6 +11244,10 @@
"name": "DiskAccountType",
"modelAsString": true
}
+ },
+ "diskEncryptionSetId": {
+ "description": "The DiskEncryptionSet ARM ID.",
+ "type": "string"
}
}
},
@@ -11312,6 +11331,10 @@
"name": "DiskAccountType",
"modelAsString": true
}
+ },
+ "diskEncryptionSetId": {
+ "description": "The DiskEncryptionSet ARM ID.",
+ "type": "string"
}
},
"x-ms-discriminator-value": "InMageAzureV2"
From a814e26514a641f20b1e0572f3c60ea683224bd3 Mon Sep 17 00:00:00 2001
From: parkhyukjun89
Date: Thu, 19 Dec 2019 00:12:57 -0800
Subject: [PATCH 117/469] [Hub Generated] Review request for Microsoft.Advisor
to add version stable/2020-01-01 (#7889)
* Adds base for updating Microsoft.Advisor from version stable/2017-04-19 to version 2020-01-01
* Updates readme
* Updates API version in new specs and examples
* new Advisor api version for configurations PUT api
* fix example and remove date-time format
* fix linter issue
* mark categories as enum
* pascal case enum names
* fix property name to be camel case
* remove unused file
* add 2020-01-01 api version for configurations api ony
* remove error response from example
* Revert "add 2020-01-01 api version for configurations api ony"
This reverts commit 2e797c7da10243a66be824366142b182117f786b.
* revert simplification
---
.../stable/2020-01-01/advisor.json | 1208 +++++++++++++++++
.../examples/CreateConfiguration.json | 55 +
.../examples/CreateSuppression.json | 26 +
.../examples/DeleteSuppression.json | 11 +
.../2020-01-01/examples/EmptyResponse.json | 11 +
.../examples/GenerateRecommendations.json | 14 +
.../examples/GetRecommendationDetail.json | 28 +
.../GetRecommendationMetadataEntity.json | 41 +
.../examples/GetSuppressionDetail.json | 21 +
.../examples/ListConfigurations.json | 39 +
.../examples/ListRecommendationMetadata.json | 85 ++
.../examples/ListRecommendations.json | 33 +
.../2020-01-01/examples/ListSuppressions.json | 33 +
.../stable/2020-01-01/feedback.md | 55 +
.../advisor/resource-manager/readme.md | 29 +-
15 files changed, 1678 insertions(+), 11 deletions(-)
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/advisor.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateConfiguration.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateSuppression.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/DeleteSuppression.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/EmptyResponse.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GenerateRecommendations.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationDetail.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationMetadataEntity.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetSuppressionDetail.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListConfigurations.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendationMetadata.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendations.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListSuppressions.json
create mode 100644 specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/feedback.md
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/advisor.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/advisor.json
new file mode 100644
index 000000000000..a27ec8719e47
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/advisor.json
@@ -0,0 +1,1208 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2020-01-01",
+ "title": "AdvisorManagementClient",
+ "description": "REST APIs for Azure Advisor"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/providers/Microsoft.Advisor/metadata/{name}": {
+ "get": {
+ "tags": [
+ "Metadata"
+ ],
+ "summary": "Gets the metadata entity.",
+ "operationId": "RecommendationMetadata_Get",
+ "parameters": [
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of metadata entity.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully retrieved metadata entities",
+ "schema": {
+ "$ref": "#/definitions/MetadataEntity"
+ }
+ },
+ "404": {
+ "description": "Client sent unknown metadata name",
+ "schema": {
+ "$ref": "#/definitions/ARMErrorResponseBody"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetMetadata": {
+ "$ref": "./examples/GetRecommendationMetadataEntity.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Advisor/metadata": {
+ "get": {
+ "tags": [
+ "Metadata"
+ ],
+ "summary": "Gets the list of metadata entities.",
+ "operationId": "RecommendationMetadata_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully retrieved metadata entities",
+ "schema": {
+ "$ref": "#/definitions/MetadataEntityListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetMetadata": {
+ "$ref": "./examples/ListRecommendationMetadata.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations": {
+ "get": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Retrieve Azure Advisor configurations.",
+ "description": "Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.",
+ "operationId": "Configurations_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully retrieved zero or more configurations.",
+ "schema": {
+ "$ref": "#/definitions/ConfigurationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ArmErrorResponse"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GetConfigurations": {
+ "$ref": "./examples/ListConfigurations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations/{configurationName}": {
+ "put": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Create/Overwrite Azure Advisor configuration.",
+ "description": "Create/Overwrite Azure Advisor configuration and also delete all configurations of contained resource groups.",
+ "operationId": "Configurations_CreateInSubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "configContract",
+ "in": "body",
+ "description": "The Azure Advisor configuration data structure.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ConfigData"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "name": "configurationName",
+ "in": "path",
+ "description": "Advisor configuration name. Value must be 'default'",
+ "required": true,
+ "type": "string",
+ "enum": ["default"],
+ "x-ms-enum": {
+ "name": "ConfigurationName",
+ "modelAsString": true
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created/overwrote configuration.",
+ "schema": {
+ "$ref": "#/definitions/ConfigData"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ArmErrorResponse"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "PutConfigurations": {
+ "$ref": "./examples/CreateConfiguration.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations": {
+ "get": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Retrieve Azure Advisor configurations.",
+ "operationId": "Configurations_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroup",
+ "in": "path",
+ "description": "The name of the Azure resource group.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully retrieved zero or more configurations.",
+ "schema": {
+ "$ref": "#/definitions/ConfigurationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ArmErrorResponse"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "GetConfigurations": {
+ "$ref": "./examples/ListConfigurations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations/{configurationName}": {
+ "put": {
+ "tags": [
+ "Configurations"
+ ],
+ "summary": "Create/Overwrite Azure Advisor configuration.",
+ "operationId": "Configurations_CreateInResourceGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "configContract",
+ "in": "body",
+ "description": "The Azure Advisor configuration data structure.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ConfigData"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "name": "configurationName",
+ "in": "path",
+ "description": "Advisor configuration name. Value must be 'default'",
+ "required": true,
+ "type": "string",
+ "enum": ["default"],
+ "x-ms-enum": {
+ "name": "ConfigurationName",
+ "modelAsString": true
+ }
+ },
+ {
+ "name": "resourceGroup",
+ "in": "path",
+ "description": "The name of the Azure resource group.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created/overwrote configuration.",
+ "schema": {
+ "$ref": "#/definitions/ConfigData"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ArmErrorResponse"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "PutConfigurations": {
+ "$ref": "./examples/CreateConfiguration.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations": {
+ "post": {
+ "tags": [
+ "GenerateRecommendations"
+ ],
+ "description": "Initiates the recommendation generation or computation process for a subscription. This operation is asynchronous. The generated recommendations are stored in a cache in the Advisor service.",
+ "operationId": "Recommendations_Generate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. Recommendation generation has been accepted.",
+ "headers": {
+ "Location": {
+ "description": "The URL where the status of the asynchronous operation can be checked.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "GenerateRecommendations": {
+ "$ref": "./examples/GenerateRecommendations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations/{operationId}": {
+ "get": {
+ "tags": [
+ "GenerateRecommendations"
+ ],
+ "description": "Retrieves the status of the recommendation computation or generation process. Invoke this API after calling the generation recommendation. The URI of this API is returned in the Location field of the response header.",
+ "operationId": "Recommendations_GetGenerateStatus",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "name": "operationId",
+ "in": "path",
+ "description": "The operation ID, which can be found from the Location field in the generate recommendation response header.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. Recommendation generation is in progress."
+ },
+ "204": {
+ "description": "NoContent. Recommendation generation has been completed."
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "GetGenerateStatus": {
+ "$ref": "./examples/EmptyResponse.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations": {
+ "get": {
+ "tags": [
+ "GetRecommendations"
+ ],
+ "description": "Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations.",
+ "operationId": "Recommendations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the recommendations.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The number of recommendations per page if a paged version of this API is being used.",
+ "required": false,
+ "type": "integer"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The page-continuation token to use with a paged version of this API.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully obtained cached recommendations.",
+ "schema": {
+ "$ref": "#/definitions/ResourceRecommendationBaseListResult"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ListRecommendations": {
+ "$ref": "./examples/ListRecommendations.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Advisor/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all the available Advisor REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully retrieved operation list.",
+ "schema": {
+ "$ref": "#/definitions/OperationEntityListResult"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}": {
+ "get": {
+ "tags": [
+ "GetRecommendations"
+ ],
+ "description": "Obtains details of a cached recommendation.",
+ "operationId": "Recommendations_Get",
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "description": "The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "recommendationId",
+ "in": "path",
+ "description": "The recommendation ID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully got recommendation detail.",
+ "schema": {
+ "$ref": "#/definitions/ResourceRecommendationBase"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "GetRecommendationDetail": {
+ "$ref": "./examples/GetRecommendationDetail.json"
+ }
+ }
+ }
+ },
+ "/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}": {
+ "get": {
+ "tags": [
+ "Suppressions"
+ ],
+ "description": "Obtains the details of a suppression.",
+ "operationId": "Suppressions_Get",
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "description": "The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "recommendationId",
+ "in": "path",
+ "description": "The recommendation ID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the suppression.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully got suppression detail.",
+ "schema": {
+ "$ref": "#/definitions/SuppressionContract"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "GetSuppressionDetail": {
+ "$ref": "./examples/GetSuppressionDetail.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Suppressions"
+ ],
+ "description": "Enables the snoozed or dismissed attribute of a recommendation. The snoozed or dismissed attribute is referred to as a suppression. Use this API to create or update the snoozed or dismissed status of a recommendation.",
+ "operationId": "Suppressions_Create",
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "description": "The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "recommendationId",
+ "in": "path",
+ "description": "The recommendation ID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the suppression.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "suppressionContract",
+ "in": "body",
+ "description": "The snoozed or dismissed attribute; for example, the snooze duration.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SuppressionContract"
+ }
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully created suppression.",
+ "schema": {
+ "$ref": "#/definitions/SuppressionContract"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "CreateSuppression": {
+ "$ref": "./examples/CreateSuppression.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Suppressions"
+ ],
+ "description": "Enables the activation of a snoozed or dismissed recommendation. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.",
+ "operationId": "Suppressions_Delete",
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "description": "The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "recommendationId",
+ "in": "path",
+ "description": "The recommendation ID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the suppression.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "NoContent. The recommendation has been activated."
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "DeleteSuppression": {
+ "$ref": "./examples/DeleteSuppression.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/suppressions": {
+ "get": {
+ "tags": [
+ "Suppressions"
+ ],
+ "description": "Retrieves the list of snoozed or dismissed suppressions for a subscription. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.",
+ "operationId": "Suppressions_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The number of suppressions per page if a paged version of this API is being used.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The page-continuation token to use with a paged version of this API.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully got all suppressions in a subscription.",
+ "schema": {
+ "$ref": "#/definitions/SuppressionContractListResult"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ListSuppressions": {
+ "$ref": "./examples/ListSuppressions.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "MetadataEntityListResult": {
+ "description": "The list of metadata entities",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of metadata entities.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataEntity"
+ }
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of metadata.",
+ "type": "string"
+ }
+ }
+ },
+ "MetadataEntity": {
+ "description": "The metadata entity contract.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The resource Id of the metadata entity.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the metadata entity.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the metadata entity.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/MetadataEntityProperties",
+ "description": "The metadata entity properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "MetadataEntityProperties": {
+ "description": "The metadata entity properties",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "The display name.",
+ "type": "string"
+ },
+ "dependsOn": {
+ "description": "The list of keys on which this entity depends on.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "applicableScenarios": {
+ "description": "The list of scenarios applicable to this metadata entity.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "Alerts"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Scenario",
+ "modelAsString": true
+ }
+ }
+ },
+ "supportedValues": {
+ "description": "The list of supported values.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataSupportedValueDetail"
+ }
+ }
+ }
+ },
+ "MetadataSupportedValueDetail": {
+ "description": "The metadata supported value detail.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The id.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name.",
+ "type": "string"
+ }
+ }
+ },
+ "ConfigurationListResult": {
+ "description": "The list of Advisor configurations.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of configurations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConfigData"
+ }
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of configurations.",
+ "type": "string"
+ }
+ }
+ },
+ "ConfigData": {
+ "description": "The Advisor configuration data structure.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ConfigDataProperties",
+ "description": "The Advisor configuration data structure.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ConfigDataProperties": {
+ "description": "Configuration data properties",
+ "type": "object",
+ "properties": {
+ "exclude": {
+ "description": "Exclude the resource from Advisor evaluations. Valid values: False (default) or True.",
+ "type": "boolean"
+ },
+ "lowCpuThreshold": {
+ "description": "Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20.",
+ "enum": [
+ "5",
+ "10",
+ "15",
+ "20"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CpuThreshold",
+ "modelAsString": true
+ }
+ },
+ "digests": {
+ "description": "Advisor digest configuration. Valid only for subscriptions",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DigestConfig"
+ }
+ }
+ }
+ },
+ "DigestConfig": {
+ "description": "Advisor Digest configuration entity",
+ "type": "object",
+ "properties": {
+ "actionGroupResourceId": {
+ "description": "Action group resource id used by digest.",
+ "type": "string"
+ },
+ "frequency": {
+ "description": "Frequency that digest will be triggered. Value must conform to ISO 8601 standard and must be greater than equal to 7 day and less than or equal to 30 days.",
+ "type": "string"
+ },
+ "categories": {
+ "description": "Categories to send digest for. If categories are not provided, then digest will be sent for all categories.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "HighAvailability",
+ "Security",
+ "Performance",
+ "Cost",
+ "OperationalExcellence"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Category",
+ "modelAsString": true
+ }
+ }
+ },
+ "language": {
+ "description": "Language for digest content body. Value must be ISO 639-1 code for one of Azure portal supported languages. Otherwise, it will be converted into one. Default value is English (en).",
+ "type": "string"
+ }
+ }
+ },
+ "ArmErrorResponse": {
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ARMErrorResponseBody"
+ }
+ }
+ },
+ "ARMErrorResponseBody": {
+ "description": "ARM error response body.",
+ "type": "object",
+ "properties": {
+ "message": {
+ "description": "Gets or sets the string that describes the error in detail and provides debugging information.",
+ "type": "string"
+ },
+ "code": {
+ "description": "Gets or sets the string that can be used to programmatically identify the error.",
+ "type": "string"
+ }
+ }
+ },
+ "ResourceRecommendationBaseListResult": {
+ "description": "The list of Advisor recommendations.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The link used to get the next page of recommendations.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of recommendations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceRecommendationBase"
+ }
+ }
+ }
+ },
+ "ResourceRecommendationBase": {
+ "description": "Advisor Recommendation.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/RecommendationProperties",
+ "description": "The properties of the recommendation.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "RecommendationProperties": {
+ "description": "The properties of the recommendation.",
+ "type": "object",
+ "properties": {
+ "category": {
+ "description": "The category of the recommendation.",
+ "enum": [
+ "HighAvailability",
+ "Security",
+ "Performance",
+ "Cost",
+ "OperationalExcellence"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "category",
+ "modelAsString": true
+ }
+ },
+ "impact": {
+ "description": "The business impact of the recommendation.",
+ "enum": [
+ "High",
+ "Medium",
+ "Low"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "impact",
+ "modelAsString": true
+ }
+ },
+ "impactedField": {
+ "description": "The resource type identified by Advisor.",
+ "type": "string"
+ },
+ "impactedValue": {
+ "description": "The resource identified by Advisor.",
+ "type": "string"
+ },
+ "lastUpdated": {
+ "format": "date-time",
+ "description": "The most recent time that Advisor checked the validity of the recommendation.",
+ "type": "string"
+ },
+ "metadata": {
+ "description": "The recommendation metadata.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "recommendationTypeId": {
+ "description": "The recommendation-type GUID.",
+ "type": "string"
+ },
+ "risk": {
+ "description": "The potential risk of not implementing the recommendation.",
+ "enum": [
+ "Error",
+ "Warning",
+ "None"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "risk",
+ "modelAsString": true
+ }
+ },
+ "shortDescription": {
+ "$ref": "#/definitions/ShortDescription",
+ "description": "A summary of the recommendation."
+ },
+ "suppressionIds": {
+ "description": "The list of snoozed and dismissed rules for the recommendation.",
+ "type": "array",
+ "items": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "extendedProperties": {
+ "description": "Extended properties",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Resource": {
+ "description": "An Azure resource.",
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the resource.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ShortDescription": {
+ "description": "A summary of the recommendation.",
+ "type": "object",
+ "properties": {
+ "problem": {
+ "description": "The issue or opportunity identified by the recommendation.",
+ "type": "string"
+ },
+ "solution": {
+ "description": "The remediation action suggested by the recommendation.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationEntityListResult": {
+ "description": "The list of Advisor operations.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The link used to get the next page of operations.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of operations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationEntity"
+ }
+ }
+ }
+ },
+ "OperationEntity": {
+ "description": "The operation supported by Advisor.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string"
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplayInfo",
+ "description": "The operation supported by Advisor."
+ }
+ }
+ },
+ "OperationDisplayInfo": {
+ "description": "The operation supported by Advisor.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "The description of the operation.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The action that users can perform, based on their permission level.",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Service provider: Microsoft Advisor.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed.",
+ "type": "string"
+ }
+ }
+ },
+ "SuppressionContract": {
+ "description": "The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SuppressionProperties",
+ "description": "The properties of the suppression.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "SuppressionProperties": {
+ "description": "The properties of the suppression.",
+ "type": "object",
+ "properties": {
+ "suppressionId": {
+ "description": "The GUID of the suppression.",
+ "type": "string"
+ },
+ "ttl": {
+ "description": "The duration for which the suppression is valid.",
+ "type": "string"
+ }
+ }
+ },
+ "SuppressionContractListResult": {
+ "description": "The list of Advisor suppressions.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The link used to get the next page of suppressions.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of suppressions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SuppressionContract"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Azure subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The version of the API to be used with the client request.",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateConfiguration.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateConfiguration.json
new file mode 100644
index 000000000000..0fca0235a9a8
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateConfiguration.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroup": "resourceGroup",
+ "configurationName": "default",
+ "configContract": {
+ "properties": {
+ "lowCpuThreshold": "5",
+ "exclude": true,
+ "digests": [
+ {
+ "actionGroupResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/microsoft.insights/actionGroups/actionGroupName",
+ "frequency": "P30D",
+ "categories": [
+ "HighAvailability",
+ "Security",
+ "Performance",
+ "Cost",
+ "OperationalExcellence"
+ ],
+ "language": "en"
+ }
+ ]
+ }
+ },
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Advisor/configurations/default",
+ "type": "Microsoft.Advisor/configurations",
+ "name": "default",
+ "properties": {
+ "lowCpuThreshold": "5",
+ "exclude": true,
+ "digests": [
+ {
+ "actionGroupResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/microsoft.insights/actionGroups/actionGroupName",
+ "frequency": "P30D",
+ "categories": [
+ "HighAvailability",
+ "Security",
+ "Performance",
+ "Cost",
+ "OperationalExcellence"
+ ],
+ "language": "en"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateSuppression.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateSuppression.json
new file mode 100644
index 000000000000..6427e3bd9635
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateSuppression.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "resourceUri": "resourceUri",
+ "recommendationId": "recommendationId",
+ "name": "suppressionName1",
+ "suppressionContract": {
+ "properties": {
+ "ttl": "07:00:00:00"
+ }
+ },
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/resourceUri/providers/Microsoft.Advisor/recommendations/recommendationId/suppressions/suppressionName1",
+ "name": "suppressionName1",
+ "type": "Microsoft.Advisor/suppressions",
+ "properties": {
+ "suppressionId": "suppresionId",
+ "ttl": "07:00:00:00"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/DeleteSuppression.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/DeleteSuppression.json
new file mode 100644
index 000000000000..8d909b8d57b9
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/DeleteSuppression.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "resourceUri": "resourceUri",
+ "recommendationId": "recommendationId",
+ "name": "suppressionName1",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/EmptyResponse.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/EmptyResponse.json
new file mode 100644
index 000000000000..8a7a180d0fd7
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/EmptyResponse.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "operationId": "operationGUID",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GenerateRecommendations.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GenerateRecommendations.json
new file mode 100644
index 000000000000..c0aba7770d4a
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GenerateRecommendations.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.Microsoft.Advisor/generateRecommendations/recGUID?api-version=2020-01-01",
+ "Retry-After": "60"
+ }
+ }
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationDetail.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationDetail.json
new file mode 100644
index 000000000000..3d359b754275
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationDetail.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "resourceUri": "resourceUri",
+ "recommendationId": "recommendationId",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/resourceUri/providers/Microsoft.Advisor/recommendations/recommendationId",
+ "name": "recommendationId",
+ "properties": {
+ "category": "HighAvailability",
+ "impact": "Medium",
+ "impactedField": "Microsoft.Compute/availabilitySets",
+ "impactedValue": "armavset",
+ "lastUpdated": "2017-02-24T22:24:43.3216408Z",
+ "risk": "Warning",
+ "shortDescription": {
+ "problem": "This availability set is not configured for fault tolerance",
+ "solution": "To ensure high availability add one or more virtual machines to this availability set"
+ }
+ },
+ "type": "Microsoft.Advisor/recommendations"
+ }
+ }
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationMetadataEntity.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationMetadataEntity.json
new file mode 100644
index 000000000000..4c637336f116
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationMetadataEntity.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "name": "types",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Advisor/metadata/recommendationType",
+ "name": "recommendationType",
+ "type": "Microsoft.Advisor/metadata",
+ "properties": {
+ "displayName": "Recommendation Type",
+ "dependsOn": [
+ "category",
+ "impact"
+ ],
+ "applicableScenarios": [
+ "Alerts"
+ ],
+ "supportedValues": [
+ {
+ "id": "6a2b1e70-bd4c-4163-86de-5243d7ac05ee",
+ "displayName": "Upgrade your SKU or add more instances to ensure fault tolerance"
+ },
+ {
+ "id": "da6630fb-4286-4996-92a3-a43f5f26dd34",
+ "displayName": "Delete ExpressRoute circuits in the provider status of Not Provisioned"
+ }
+ ]
+ }
+ }
+ },
+ "404": {
+ "body": {
+ "code": "NotFound",
+ "message": "Unknown metadata name"
+ }
+ }
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetSuppressionDetail.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetSuppressionDetail.json
new file mode 100644
index 000000000000..3d24f3ce31ce
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetSuppressionDetail.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "resourceUri": "resourceUri",
+ "recommendationId": "recommendationId",
+ "name": "suppressionName1",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/resourceUri/providers/Microsoft.Advisor/recommendations/recommendationId/suppressions/suppressionName1",
+ "name": "suppressionName1",
+ "type": "Microsoft.Advisor/suppressions",
+ "properties": {
+ "suppressionId": "suppressionId1",
+ "ttl": "7.00:00:00"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListConfigurations.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListConfigurations.json
new file mode 100644
index 000000000000..256e6795202f
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListConfigurations.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroup": "resourceGroup",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Advisor/configurations/default",
+ "type": "Microsoft.Advisor/configurations",
+ "name": "default",
+ "properties": {
+ "lowCpuThreshold": "5",
+ "exclude": false,
+ "digests": [
+ {
+ "actionGroupResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/microsoft.insights/actionGroups/actionGroupName",
+ "frequency": "P30D",
+ "categories": [
+ "HighAvailability",
+ "Security",
+ "Performance",
+ "Cost",
+ "OperationalExcellence"
+ ],
+ "language": "en"
+ }
+ ]
+ }
+ }
+ ],
+ "nextLink": "string"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendationMetadata.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendationMetadata.json
new file mode 100644
index 000000000000..b75ac390443a
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendationMetadata.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "string",
+ "value": [
+ {
+ "id": "providers/Microsoft.Advisor/metadata/recommendationType",
+ "name": "recommendationType",
+ "type": "Microsoft.Advisor/metadata",
+ "properties": {
+ "displayName": "Recommendation Type",
+ "dependsOn": [
+ "category",
+ "impact"
+ ],
+ "applicableScenarios": [
+ "Alerts"
+ ],
+ "supportedValues": [
+ {
+ "id": "6a2b1e70-bd4c-4163-86de-5243d7ac05ee",
+ "displayName": "Upgrade your SKU or add more instances to ensure fault tolerance"
+ },
+ {
+ "id": "da6630fb-4286-4996-92a3-a43f5f26dd34",
+ "displayName": "Delete ExpressRoute circuits in the provider status of Not Provisioned"
+ }
+ ]
+ }
+ },
+ {
+ "id": "providers/Microsoft.Advisor/metadata/recommendationCategory",
+ "name": "recommendationCategory",
+ "type": "Microsoft.Advisor/metadata",
+ "properties": {
+ "displayName": "Category",
+ "dependsOn": null,
+ "applicableScenarios": [
+ "Alerts"
+ ],
+ "supportedValues": [
+ {
+ "id": "Cost",
+ "displayName": "Cost"
+ },
+ {
+ "id": "Performance",
+ "displayName": "Performance"
+ }
+ ]
+ }
+ },
+ {
+ "id": "providers/Microsoft.Advisor/metadata/recommendationImpact",
+ "name": "recommendationImpact",
+ "type": "Microsoft.Advisor/metadata",
+ "properties": {
+ "displayName": "Impact",
+ "dependsOn": null,
+ "applicableScenarios": null,
+ "supportedValues": [
+ {
+ "id": "High",
+ "displayName": "High"
+ },
+ {
+ "id": "Medium",
+ "displayName": "Medium"
+ },
+ {
+ "id": "Low",
+ "displayName": "Low"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendations.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendations.json
new file mode 100644
index 000000000000..2d4ad35f625e
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendations.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "$top": 10,
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.Advisor/recommendations?api-version=2020-01-01&$top=10&$skiptoken=skiptoken",
+ "value": [
+ {
+ "id": "/resourceUri/providers/Microsoft.Advisor/recommendations/recGUID",
+ "name": "recGUID",
+ "properties": {
+ "category": "HighAvailability",
+ "impact": "Medium",
+ "impactedField": "Microsoft.Compute/availabilitySets",
+ "impactedValue": "armavset",
+ "lastUpdated": "2017-02-24T22:24:43.3216408Z",
+ "risk": "Warning",
+ "shortDescription": {
+ "problem": "This availability set is not configured for fault tolerance",
+ "solution": "To ensure high availability add one or more virtual machines to this availability set"
+ }
+ },
+ "type": "Microsoft.Advisor/recommendations"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListSuppressions.json b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListSuppressions.json
new file mode 100644
index 000000000000..159b0d143abd
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListSuppressions.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId1",
+ "api-version": "2020-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://management.azure.com/subscriptions/3f75fdf7-977e-44ad-990d-99f14f0f299f/providers/microsoft.Advisor/suppressions?api-version=2020-01-01&$top=3&$skiptoken=skiptoken",
+ "value": [
+ {
+ "id": "/resourceUri/providers/Microsoft.Advisor/recommendations/recommendationId/suppressions/suppressionName1",
+ "name": "suppressionName1",
+ "type": "Microsoft.Advisor/suppressions",
+ "properties": {
+ "suppressionId": "suppressionId1",
+ "ttl": "7.00:00:00"
+ }
+ },
+ {
+ "id": "/resourceUri/providers/Microsoft.Advisor/recommendations/recommendationId/suppressions/suppressionName2",
+ "name": "suppressionName2",
+ "type": "Microsoft.Advisor/suppressions",
+ "properties": {
+ "suppressionId": "suppressionId2",
+ "ttl": "7.00:00:00"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/feedback.md b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/feedback.md
new file mode 100644
index 000000000000..4e6252c1da70
--- /dev/null
+++ b/specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/feedback.md
@@ -0,0 +1,55 @@
+### Feedback #1 ###
+Use ARM error model for next API version.
+
+PR where feedback was given - https://github.com/Azure/azure-rest-api-specs/pull/5826
+
+Link to ARM Error model - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content
+
+### Error Response Content ###
+
+If the resource provider needs to return an error to any operation, it should return the appropriate HTTP error code and a message body as can be seen below. The message should be localized per the Accept-Language header specified in the original request such that it could be directly be exposed to users.
+
+The resource providers must return the \*code\* and \*message\* fields; however, the other fields are acceptable as additions. This format matches [the OData v4.0 schema](http://docs.oasis-open.org/odata/odata-json-format/v4.0/os/odata-json-format-v4.0-os.html#_Toc372793091) for error responses.
+
+#### Response Body ####
+```
+{
+"error": {
+ "code": "BadArgument",
+ "message": "The provided database 'foo' has an invalid username.",
+ "target": "query",
+ "details": [
+ {
+ "code": "301",
+ "target": "$search"
+ "message": "$search query option not supported",
+ },
+ {
+ "code": "ConflictingAppendPolicies",
+ "target": "",
+ "message": "",
+ "additionalInfo": [
+ {
+ "type": "PolicyViolation",
+ "info": {
+ "policySetDefinitionDisplayName": "Secure the environment",
+ "policySetDefinitionId":"/subscriptions/00000-00000-0000-000/providers/Microsoft.Authorization/policySetDefinitions/TestPolicySet",
+ "policyDefinitionDisplayName": "Allowed locations",
+ "policyDefinitionId":"/subscriptions/00000-00000-0000-000/providers/Microsoft.Authorization/policyDefinitions/TestPolicy1",
+ "policyAssignmentDisplayName": "Allow Central US and WEU only",
+ "policyAsssignmentId":"/subscriptions/00000-00000-0000-000/providers/Microsoft.Authorization/policyAssignments/TestAssignment1"
+ }
+ }
+ ]
+ }
+ ]
+}
+```
+
+| Element name | Type | Description |
+| --- | --- | --- |
+| message | string (required) | Describes the error in detail and provides debugging information. If Accept-Language is set in the request, it must be localized to that language. |
+| code | string (required) | Unlocalized string which can be used to programmatically identify the error. The code should be Pascal-cased, and should serve to uniquely identify a particular class of error, for example "BadArgument". |
+| target | string (optional) | The target of the particular error (for example, the name of the property in error). |
+| details | array (optional) | An array of additional nested error response info objects, as described by this contract. |
+| additionalInfo | array (optional) | An array of objects with "type" (string), and "info" (object) properties. The schema of "info" is service-specific and dependent on the "type" string. |
diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md
index 03863a89aa5f..cb68820dfe6f 100644
--- a/specification/advisor/resource-manager/readme.md
+++ b/specification/advisor/resource-manager/readme.md
@@ -4,10 +4,10 @@
This is the AutoRest configuration file for Advisor.
-
-
---
+
## Getting Started
+
To build the SDK for Advisor, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -15,21 +15,29 @@ To build the SDK for Advisor, simply [Install AutoRest](https://aka.ms/autorest/
To see additional help and options, run:
> `autorest --help`
+
---
## Configuration
-
-
### Basic Information
+
These are the global settings for the Advisor API.
``` yaml
openapi-type: arm
-tag: package-2017-04
+tag: package-2020-01
```
+### Tag: package-2020-01
+
+These settings apply only when `--tag=package-2020-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2020-01'
+input-file:
+ - Microsoft.Advisor/stable/2020-01-01/advisor.json
+```
### Tag: package-2017-04
These settings apply only when `--tag=package-2017-04` is specified on the command line.
@@ -57,10 +65,9 @@ input-file:
- Microsoft.Advisor/preview/2016-07-12-preview/advisor.json
```
-
---
-# Code Generation
+# Code Generation
## Swagger to SDK
@@ -77,7 +84,6 @@ swagger-to-sdk:
- repo: azure-sdk-for-node
```
-
## Python
These settings apply only when `--python` is specified on the command line.
@@ -95,11 +101,13 @@ python:
package-version: 1.0.1
clear-output-folder: true
```
+
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/advisor/azure-mgmt-advisor/azure/mgmt/advisor
```
+
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
@@ -129,7 +137,7 @@ csharp:
See configuration in [readme.java.md](./readme.java.md)
-## Multi-API/Profile support for AutoRest v3 generators
+## Multi-API/Profile support for AutoRest v3 generators
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
@@ -147,11 +155,10 @@ input-file:
```
-If there are files that should not be in the `all-api-versions` set,
+If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
From e8d944630a96aeb77aa93b7029258a1e5bc87060 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Thu, 19 Dec 2019 08:14:28 +0000
Subject: [PATCH 118/469] regenerated all-api-versions
---
specification/advisor/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md
index cb68820dfe6f..19b78bb8ac9b 100644
--- a/specification/advisor/resource-manager/readme.md
+++ b/specification/advisor/resource-manager/readme.md
@@ -149,6 +149,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.Advisor/stable/2020-01-01/advisor.json
- $(this-folder)/Microsoft.Advisor/stable/2017-04-19/advisor.json
- $(this-folder)/Microsoft.Advisor/stable/2017-03-31/advisor.json
- $(this-folder)/Microsoft.Advisor/preview/2016-07-12-preview/advisor.json
From 60933486f870e84da6725b25021824603034b105 Mon Sep 17 00:00:00 2001
From: ayfathim
Date: Thu, 19 Dec 2019 14:58:05 +0530
Subject: [PATCH 119/469] Azure Site Recovery (ASR) - Customer managed keys
based encryption support. (#7982)
---
.../stable/2018-07-10/service.json | 8 ++++++++
.../resource-manager/readme.md | 10 +++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
index 31e9d0cf35e5..bbfbccb958b9 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
@@ -7799,6 +7799,10 @@
"description": "The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.",
"type": "string"
},
+ "recoveryDiskEncryptionSetId": {
+ "description": "The recovery disk encryption set Id.",
+ "type": "string"
+ },
"diskName": {
"description": "The disk name.",
"type": "string"
@@ -8370,6 +8374,10 @@
"description": "The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.",
"type": "string"
},
+ "recoveryDiskEncryptionSetId": {
+ "description": "The recovery disk encryption set Id.",
+ "type": "string"
+ },
"diskEncryptionInfo": {
"$ref": "#/definitions/DiskEncryptionInfo",
"description": "The recovery disk encryption information (for one / single pass flows)."
diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md
index b5bda5bdddb8..e5313b02ee83 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/readme.md
+++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md
@@ -18,6 +18,15 @@ To see additional help and options, run:
---
+## Suppression
+
+``` yaml
+directive:
+ - from: service.json
+ suppress: OAV131
+ reason: Testing purpose.
+```
+
## Configuration
### Basic Information
@@ -36,7 +45,6 @@ directive:
```
-
### Tag: package-2018-07
These settings apply only when `--tag=package-2018-07` is specified on the command line.
From 163309a896985ae39a20b8ef0cd8b02b6c580f2f Mon Sep 17 00:00:00 2001
From: mikreite <46890142+mikreite@users.noreply.github.com>
Date: Thu, 19 Dec 2019 17:05:02 +0200
Subject: [PATCH 120/469] [Security][Automations] Remove
"x-ms-discriminator-value" from Inherited Models (#7895)
* remove "x-ms-discriminator-value" from inherited models
* consolidate the derived model into one model, leveraging the "writeOnly" property
* "writeOnly" is not supported in Swagger 2.0, replacing with a detailed description
* fix the supress rule according to the model name
* added the readonly true to sasPolicyName as it is only being returned
* remove the readonly true from teo properties, to align to the actual API (fix)
* run prettier
* remove "metadata" from model as it is not part of the contract, docs have not been released yet
---
.../2019-01-01-preview/automations.json | 94 ++-----------------
.../GetAutomationResourceGroup_example.json | 6 --
.../GetAutomationsResourceGroup_example.json | 6 --
.../GetAutomationsSubscription_example.json | 6 --
.../Automations/PutAutomation_example.json | 12 ---
.../PutDisableAutomation_example.json | 12 ---
.../ValidateAutomation_example.json | 6 --
.../security/resource-manager/readme.md | 2 +-
8 files changed, 9 insertions(+), 135 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index ef918b5598df..3dbb14700330 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -341,11 +341,6 @@
"type": "boolean",
"description": "Indicates whether the security automation is enabled."
},
- "metadata": {
- "type": "object",
- "description": "The metadata of the security automation resource.",
- "$ref": "#/definitions/AutomationMetadata"
- },
"scopes": {
"type": "array",
"description": "A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.",
@@ -369,34 +364,6 @@
}
}
},
- "AutomationMetadata": {
- "type": "object",
- "description": "The metadata of the security automation resource.",
- "properties": {
- "createdDateTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The security automation creation date."
- },
- "createdBy": {
- "readOnly": true,
- "type": "string",
- "description": "The AAD object ID of the entity that created the security automation."
- },
- "lastUpdatedDateTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The security automation last updated date."
- },
- "lastUpdatedBy": {
- "readOnly": true,
- "type": "string",
- "description": "The AAD object ID of the entity that last updated the security automation."
- }
- }
- },
"AutomationSource": {
"type": "object",
"description": "The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.",
@@ -491,36 +458,14 @@
"logicAppResourceId": {
"type": "string",
"description": "The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App"
- }
- }
- },
- "AutomationActionLogicAppInput": {
- "type": "object",
- "description": "The logic app action that should be triggered.",
- "x-ms-discriminator-value": "LogicApp",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationActionLogicApp"
- }
- ],
- "properties": {
+ },
"uri": {
"type": "string",
- "description": "The Logic App trigger URI endpoint.",
+ "description": "The Logic App trigger URI endpoint (it will not be included in any response).",
"format": "uri"
}
}
},
- "AutomationActionLogicAppOutput": {
- "type": "object",
- "description": "The logic app action that should be triggered.",
- "x-ms-discriminator-value": "LogicApp",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationActionLogicApp"
- }
- ]
- },
"AutomationActionEventHub": {
"type": "object",
"description": "The target Event Hub to which event data will be exported.",
@@ -534,38 +479,15 @@
"eventHubResourceId": {
"type": "string",
"description": "The target Event Hub Azure Resource ID."
- }
- }
- },
- "AutomationActionEventHubInput": {
- "type": "object",
- "description": "The target Event Hub to which event data will be exported.",
- "x-ms-discriminator-value": "EventHub",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationActionEventHub"
- }
- ],
- "properties": {
- "connectionString": {
- "type": "string",
- "description": "The target Event Hub connection string"
- }
- }
- },
- "AutomationActionEventHubOutput": {
- "type": "object",
- "description": "The target Event Hub to which event data will be exported.",
- "x-ms-discriminator-value": "EventHub",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationActionEventHub"
- }
- ],
- "properties": {
+ },
"sasPolicyName": {
+ "readOnly": true,
"type": "string",
"description": "The target Event Hub SAS policy name."
+ },
+ "connectionString": {
+ "type": "string",
+ "description": "The target Event Hub connection string (it will not be included in any response)."
}
}
},
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
index ce82129f96ae..a3f41b5df910 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
@@ -17,12 +17,6 @@
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": true,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
"scopes": [
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
index 5bfad1958985..ef3213aaf9ca 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
@@ -18,12 +18,6 @@
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": true,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
"scopes": [
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
index 93b95b64d9ab..471e18739b19 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
@@ -17,12 +17,6 @@
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": true,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
"scopes": [
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
index 4b5dc66b0fd2..9e29d556818e 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
@@ -56,12 +56,6 @@
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": true,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
"scopes": [
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
@@ -105,12 +99,6 @@
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": true,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
"scopes": [
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
index ab918869b977..e1d266ccef52 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
@@ -56,12 +56,6 @@
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": false,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
"scopes": [
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
@@ -105,12 +99,6 @@
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": false,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
"scopes": [
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
index 29da866c9437..82404b9641dd 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
@@ -10,12 +10,6 @@
"properties": {
"description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
"isEnabled": true,
- "metadata": {
- "createdDateTimeUtc": "2019-03-27T08:43:54.5755094Z",
- "createdBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72",
- "lastUpdatedDateTimeUtc": "2019-03-28T08:43:54.5755094Z",
- "lastUpdatedBy": "2c429ed8-089f-42aa-9bb9-92312b8c9f72"
- },
"scopes": [
{
"description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index 010edaf485a1..b9ecf45969c6 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -30,7 +30,7 @@ directive:
reason: email format is allowed
- suppress: ValidFormats
from: automations.json
- where: $.definitions.AutomationActionLogicAppInput.properties.uri.format
+ where: $.definitions.AutomationActionLogicApp.properties.uri.format
reason: uri format is allowed
- suppress: PageableOperation
from: iotSecuritySolutionAnalytics.json
From 2d7afd040439a0e279dca1fd0211513853b33c10 Mon Sep 17 00:00:00 2001
From: Itye Richter
Date: Thu, 19 Dec 2019 23:18:11 +0200
Subject: [PATCH 121/469] Renamed types in swagger as required for track2 java
sdk (#7978)
* Renamed types in swagger as required for track2 java sdk
* Fixed a typo
* Added service renaming suggestion
---
.../stable/2019-05-06/searchindex.json | 68 +++++++++----------
.../stable/2019-05-06/searchservice.json | 2 +-
2 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
index 8ac7c0f890cd..b946a878fdd9 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
@@ -97,7 +97,7 @@
"x-nullable": false,
"x-ms-client-name": "IncludeTotalResultCount",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -111,7 +111,7 @@
"description": "The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs.",
"x-ms-client-name": "Facets",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -120,7 +120,7 @@
"type": "string",
"description": "The OData $filter expression to apply to the search query.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -133,7 +133,7 @@
"description": "The list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.",
"x-ms-client-name": "HighlightFields",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -142,7 +142,7 @@
"type": "string",
"description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -151,7 +151,7 @@
"type": "string",
"description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -161,7 +161,7 @@
"format": "double",
"description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -174,7 +174,7 @@
"description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
"x-ms-client-name": "OrderBy",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -192,7 +192,7 @@
"x-nullable": false,
"description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -206,7 +206,7 @@
"x-ms-client-name": "ScoringParameters",
"description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes).",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -215,7 +215,7 @@
"type": "string",
"description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -227,7 +227,7 @@
},
"description": "The list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -245,7 +245,7 @@
"x-nullable": false,
"description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -257,7 +257,7 @@
},
"description": "The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -267,7 +267,7 @@
"format": "int32",
"description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use $skip due to this limitation, consider using $orderby on a totally-ordered key and $filter with a range query instead.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -277,7 +277,7 @@
"format": "int32",
"description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results.",
"x-ms-parameter-grouping": {
- "name": "SearchParameters"
+ "name": "SearchOptions"
}
},
{
@@ -429,7 +429,7 @@
"type": "string",
"description": "An OData expression that filters the documents considered for suggestions.",
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -440,7 +440,7 @@
"x-ms-client-name": "UseFuzzyMatching",
"x-nullable": false,
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -449,7 +449,7 @@
"type": "string",
"description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled.",
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -458,7 +458,7 @@
"type": "string",
"description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled.",
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -468,7 +468,7 @@
"format": "double",
"description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestions query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.",
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -481,7 +481,7 @@
"x-ms-client-name": "OrderBy",
"description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -493,7 +493,7 @@
},
"description": "The list of field names to search for the specified search text. Target fields must be included in the specified suggester.",
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -505,7 +505,7 @@
},
"description": "The list of fields to retrieve. If unspecified, only the key field will be included in the results.",
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -515,7 +515,7 @@
"format": "int32",
"description": "The number of suggestions to retrieve. The value must be a number between 1 and 100. The default is 5.",
"x-ms-parameter-grouping": {
- "name": "SuggestParameters"
+ "name": "SuggestOptions"
}
},
{
@@ -681,7 +681,7 @@
},
"description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms.",
"x-ms-parameter-grouping": {
- "name": "AutocompleteParameters"
+ "name": "AutocompleteOptions"
}
},
{
@@ -690,7 +690,7 @@
"type": "string",
"description": "An OData expression that filters the documents used to produce completed terms for the Autocomplete result.",
"x-ms-parameter-grouping": {
- "name": "AutocompleteParameters"
+ "name": "AutocompleteOptions"
}
},
{
@@ -700,7 +700,7 @@
"description": "A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources.",
"x-ms-client-name": "UseFuzzyMatching",
"x-ms-parameter-grouping": {
- "name": "AutocompleteParameters"
+ "name": "AutocompleteOptions"
}
},
{
@@ -709,7 +709,7 @@
"type": "string",
"description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled.",
"x-ms-parameter-grouping": {
- "name": "AutocompleteParameters"
+ "name": "AutocompleteOptions"
}
},
{
@@ -718,7 +718,7 @@
"type": "string",
"description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled.",
"x-ms-parameter-grouping": {
- "name": "AutocompleteParameters"
+ "name": "AutocompleteOptions"
}
},
{
@@ -728,7 +728,7 @@
"format": "double",
"description": "A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.",
"x-ms-parameter-grouping": {
- "name": "AutocompleteParameters"
+ "name": "AutocompleteOptions"
}
},
{
@@ -740,7 +740,7 @@
},
"description": "The list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester.",
"x-ms-parameter-grouping": {
- "name": "AutocompleteParameters"
+ "name": "AutocompleteOptions"
}
},
{
@@ -750,7 +750,7 @@
"format": "int32",
"description": "The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5.",
"x-ms-parameter-grouping": {
- "name": "AutocompleteParameters"
+ "name": "AutocompleteOptions"
}
}
],
@@ -1305,7 +1305,7 @@
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
"x-ms-parameter-grouping": {
- "name": "search-request-options"
+ "name": "request-options"
},
"x-ms-parameter-location": "method"
},
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 485e42083c23..a623a1484fcc 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
@@ -6389,7 +6389,7 @@
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
"x-ms-parameter-grouping": {
- "name": "search-request-options"
+ "name": "request-options"
},
"x-ms-parameter-location": "method"
},
From cb5fe2f993e08939a712c20f26ff9cbab7e98c82 Mon Sep 17 00:00:00 2001
From: wengjn
Date: Thu, 19 Dec 2019 17:14:15 -0800
Subject: [PATCH 122/469] Adding the specs for Emerging Issues API (#7941)
* Adding the specs for Emerging Issues API
Adding the specs for Emerging Issues API
* fix the merge validation failure
fix the merge validation failure
* prettier fix
npm run prettier -- --write "specification/resourcehealth/**/*.json"
* address the feedback
change the description to be consistent within the file.
* change description on emerging issue impact
* fix the spell check
* Address feedback
* fix validation failure
* remove the pageable as it is unnecessary
* fix the spelling
* change on example to trigger the check
* address feedback
* add a list emerging issues api
* a typo
---
.../preview/2018-08-01/ResourceHealth.json | 265 ++++++++++++++++++
.../examples/EmergingIssues_Get.json | 84 ++++++
.../examples/EmergingIssues_List.json | 88 ++++++
.../examples/EmergingIssues_Get.json | 84 ++++++
.../examples/EmergingIssues_List.json | 88 ++++++
.../stable/2017-07-01/resourcehealth.json | 265 ++++++++++++++++++
.../stable/2018-07-01/ResourceHealth.json | 265 ++++++++++++++++++
.../examples/EmergingIssues_Get.json | 84 ++++++
.../examples/EmergingIssues_List.json | 88 ++++++
9 files changed, 1311 insertions(+)
create mode 100644 specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/EmergingIssues_Get.json
create mode 100644 specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/EmergingIssues_List.json
create mode 100644 specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/EmergingIssues_Get.json
create mode 100644 specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/EmergingIssues_List.json
create mode 100644 specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/examples/EmergingIssues_Get.json
create mode 100644 specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/examples/EmergingIssues_List.json
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json
index 15e479d48187..9bcfc79ddd76 100644
--- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json
@@ -103,6 +103,78 @@
}
}
},
+ "/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}": {
+ "get": {
+ "tags": [
+ "EmergingIssues"
+ ],
+ "operationId": "EmergingIssues_Get",
+ "description": "Gets Azure services' emerging issues.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/IssueNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The body contains properties of azure emerging issues, which includes a list of status banner and status active events.",
+ "schema": {
+ "$ref": "#/definitions/emergingIssuesGetResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetEmergingIssues": {
+ "$ref": "./examples/EmergingIssues_Get.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ResourceHealth/emergingIssues": {
+ "get": {
+ "tags": [
+ "EmergingIssues"
+ ],
+ "operationId": "EmergingIssues_List",
+ "description": "Lists Azure services' emerging issues.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The body contains a list of azure emerging issues.",
+ "schema": {
+ "$ref": "#/definitions/emergingIssueListResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetEmergingIssues": {
+ "$ref": "./examples/EmergingIssues_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events": {
"get": {
"tags": [
@@ -1095,6 +1167,188 @@
}
}
},
+ "statusBanner": {
+ "description": "Banner type of emerging issue.",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The banner title."
+ },
+ "message": {
+ "type": "string",
+ "description": "The details of banner."
+ },
+ "cloud": {
+ "type": "string",
+ "description": "The cloud type of this banner."
+ },
+ "lastModifiedTime": {
+ "type": "string",
+ "description": "The last time modified on this banner.",
+ "format": "date-time"
+ }
+ }
+ },
+ "impactedRegion": {
+ "description": "Object of impacted region.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The impacted region id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The impacted region name."
+ }
+ }
+ },
+ "emergingIssueImpact": {
+ "type": "object",
+ "description": "Object of the emerging issue impact on services and regions.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The impacted service id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The impacted service name."
+ },
+ "regions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/impactedRegion"
+ },
+ "description": "The list of impacted regions for corresponding emerging issues."
+ }
+ }
+ },
+ "statusActiveEvent": {
+ "description": "Active event type of emerging issue.",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The active event title."
+ },
+ "description": {
+ "type": "string",
+ "description": "The details of active event."
+ },
+ "trackingId": {
+ "type": "string",
+ "description": "The tracking id of this active event."
+ },
+ "startTime": {
+ "type": "string",
+ "description": "The impact start time on this active event.",
+ "format": "date-time"
+ },
+ "cloud": {
+ "type": "string",
+ "description": "The cloud type of this active event."
+ },
+ "severity": {
+ "type": "string",
+ "description": "The severity level of this active event.",
+ "enum": [
+ "Information",
+ "Warning",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "SeverityValues",
+ "modelAsString": true
+ }
+ },
+ "stage": {
+ "type": "string",
+ "description": "The stage of this active event.",
+ "enum": [
+ "Active",
+ "Resolve",
+ "Archived"
+ ],
+ "x-ms-enum": {
+ "name": "StageValues",
+ "modelAsString": true
+ }
+ },
+ "published": {
+ "type": "boolean",
+ "description": "The boolean value of this active event if published or not."
+ },
+ "lastModifiedTime": {
+ "type": "string",
+ "description": "The last time modified on this banner.",
+ "format": "date-time"
+ },
+ "impacts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/emergingIssueImpact"
+ },
+ "description": "The list of emerging issues impacts."
+ }
+ }
+ },
+ "emergingIssuesGetResult": {
+ "description": "The Get EmergingIssues operation response.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/emergingIssue",
+ "description": "The emerging issue entity properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ]
+ },
+ "emergingIssue": {
+ "type": "object",
+ "description": "On-going emerging issue from azure status.",
+ "properties": {
+ "refreshTimestamp": {
+ "type": "string",
+ "description": "Timestamp for when last time refreshed for ongoing emerging issue.",
+ "format": "date-time"
+ },
+ "statusBanners": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/statusBanner"
+ },
+ "description": "The list of emerging issues of banner type."
+ },
+ "statusActiveEvents": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/statusActiveEvent"
+ },
+ "description": "The list of emerging issues of active event type."
+ }
+ }
+ },
+ "emergingIssueListResult": {
+ "description": "The list of emerging issues.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of emerging issues.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/emergingIssuesGetResult"
+ }
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of emerging issues.",
+ "type": "string"
+ }
+ }
+ },
"operationListResult": {
"properties": {
"value": {
@@ -1263,6 +1517,17 @@
"type": "string",
"description": "Client Api Version."
},
+ "IssueNameParameter": {
+ "name": "issueName",
+ "in": "path",
+ "description": "The name of the emerging issue.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/EmergingIssues_Get.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/EmergingIssues_Get.json
new file mode 100644
index 000000000000..f8c45c6883d6
--- /dev/null
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/EmergingIssues_Get.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "issueName": "default",
+ "api-version": "2018-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.ResourceHealth/emergingissues/default",
+ "type": "/providers/Microsoft.ResourceHealth/emergingissues",
+ "name": "default",
+ "properties": {
+ "refreshTimestamp": "2019-12-17T09:12:00Z",
+ "statusBanners": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - banner",
+ "message": "Testing backup site",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T08:04:00Z"
+ },
+ {
+ "title": "Storage - West Europe",
+ "message": "A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T10:15:00Z"
+ }
+ ],
+ "statusActiveEvents": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - SHD event",
+ "description": "Virtual Machines case",
+ "trackingId": "KTTK-TZ8",
+ "startTime": "2019-12-15T08:06:00Z",
+ "cloud": "Public",
+ "severity": "Information",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "virtual-machines",
+ "name": "Virtual Machines",
+ "regions": [
+ {
+ "id": "us-central",
+ "name": "Central US"
+ },
+ {
+ "id": "us-east",
+ "name": "East US"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-15T08:10:00Z"
+ },
+ {
+ "title": "Azure SQL Database - West Europe",
+ "description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.",
+ "trackingId": "4KHK-LS8",
+ "startTime": "2019-12-16T05:11:00Z",
+ "cloud": "Public",
+ "severity": "Error",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "sql-database",
+ "name": "SQL Database",
+ "regions": [
+ {
+ "id": "europe-west",
+ "name": "West Europe"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-16T05:11:00Z"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/EmergingIssues_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/EmergingIssues_List.json
new file mode 100644
index 000000000000..eb5d2a525d1a
--- /dev/null
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/EmergingIssues_List.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "string",
+ "value": [
+ {
+ "id": "/providers/Microsoft.ResourceHealth/emergingissues/default",
+ "type": "/providers/Microsoft.ResourceHealth/emergingissues",
+ "name": "default",
+ "properties": {
+ "refreshTimestamp": "2019-12-17T09:12:00Z",
+ "statusBanners": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - banner",
+ "message": "Testing backup site",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T08:04:00Z"
+ },
+ {
+ "title": "Storage - West Europe",
+ "message": "A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T10:15:00Z"
+ }
+ ],
+ "statusActiveEvents": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - SHD event",
+ "description": "Virtual Machines case",
+ "trackingId": "KTTK-TZ8",
+ "startTime": "2019-12-15T08:06:00Z",
+ "cloud": "Public",
+ "severity": "Information",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "virtual-machines",
+ "name": "Virtual Machines",
+ "regions": [
+ {
+ "id": "us-central",
+ "name": "Central US"
+ },
+ {
+ "id": "us-east",
+ "name": "East US"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-15T08:10:00Z"
+ },
+ {
+ "title": "Azure SQL Database - West Europe",
+ "description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.",
+ "trackingId": "4KHK-LS8",
+ "startTime": "2019-12-16T05:11:00Z",
+ "cloud": "Public",
+ "severity": "Error",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "sql-database",
+ "name": "SQL Database",
+ "regions": [
+ {
+ "id": "europe-west",
+ "name": "West Europe"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-16T05:11:00Z"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/EmergingIssues_Get.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/EmergingIssues_Get.json
new file mode 100644
index 000000000000..6c20b691a199
--- /dev/null
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/EmergingIssues_Get.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "issueName": "default",
+ "api-version": "2017-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.ResourceHealth/emergingissues/default",
+ "type": "/providers/Microsoft.ResourceHealth/emergingissues",
+ "name": "default",
+ "properties": {
+ "refreshTimestamp": "2019-12-17T09:12:00Z",
+ "statusBanners": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - banner",
+ "message": "Testing backup site",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T08:04:00Z"
+ },
+ {
+ "title": "Storage - West Europe",
+ "message": "A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T10:15:00Z"
+ }
+ ],
+ "statusActiveEvents": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - SHD event",
+ "description": "Virtual Machines case",
+ "trackingId": "KTTK-TZ8",
+ "startTime": "2019-12-15T08:06:00Z",
+ "cloud": "Public",
+ "severity": "Information",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "virtual-machines",
+ "name": "Virtual Machines",
+ "regions": [
+ {
+ "id": "us-central",
+ "name": "Central US"
+ },
+ {
+ "id": "us-east",
+ "name": "East US"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-15T08:10:00Z"
+ },
+ {
+ "title": "Azure SQL Database - West Europe",
+ "description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.",
+ "trackingId": "4KHK-LS8",
+ "startTime": "2019-12-16T05:11:00Z",
+ "cloud": "Public",
+ "severity": "Error",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "sql-database",
+ "name": "SQL Database",
+ "regions": [
+ {
+ "id": "europe-west",
+ "name": "West Europe"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-16T05:11:00Z"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/EmergingIssues_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/EmergingIssues_List.json
new file mode 100644
index 000000000000..2a3205cde7f6
--- /dev/null
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/EmergingIssues_List.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2017-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "string",
+ "value": [
+ {
+ "id": "/providers/Microsoft.ResourceHealth/emergingissues/default",
+ "type": "/providers/Microsoft.ResourceHealth/emergingissues",
+ "name": "default",
+ "properties": {
+ "refreshTimestamp": "2019-12-17T09:12:00Z",
+ "statusBanners": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - banner",
+ "message": "Testing backup site",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T08:04:00Z"
+ },
+ {
+ "title": "Storage - West Europe",
+ "message": "A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T10:15:00Z"
+ }
+ ],
+ "statusActiveEvents": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - SHD event",
+ "description": "Virtual Machines case",
+ "trackingId": "KTTK-TZ8",
+ "startTime": "2019-12-15T08:06:00Z",
+ "cloud": "Public",
+ "severity": "Information",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "virtual-machines",
+ "name": "Virtual Machines",
+ "regions": [
+ {
+ "id": "us-central",
+ "name": "Central US"
+ },
+ {
+ "id": "us-east",
+ "name": "East US"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-15T08:10:00Z"
+ },
+ {
+ "title": "Azure SQL Database - West Europe",
+ "description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.",
+ "trackingId": "4KHK-LS8",
+ "startTime": "2019-12-16T05:11:00Z",
+ "cloud": "Public",
+ "severity": "Error",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "sql-database",
+ "name": "SQL Database",
+ "regions": [
+ {
+ "id": "europe-west",
+ "name": "West Europe"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-16T05:11:00Z"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/resourcehealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/resourcehealth.json
index 36ba052e997d..48fca553443b 100644
--- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/resourcehealth.json
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/resourcehealth.json
@@ -395,6 +395,78 @@
}
}
}
+ },
+ "/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}": {
+ "get": {
+ "tags": [
+ "EmergingIssues"
+ ],
+ "operationId": "EmergingIssues_Get",
+ "description": "Gets Azure services' emerging issues.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/IssueNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The body contains properties of azure emerging issues, which includes a list of status banner and status active events.",
+ "schema": {
+ "$ref": "#/definitions/emergingIssuesGetResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetEmergingIssues": {
+ "$ref": "./examples/EmergingIssues_Get.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ResourceHealth/emergingIssues": {
+ "get": {
+ "tags": [
+ "EmergingIssues"
+ ],
+ "operationId": "EmergingIssues_List",
+ "description": "Lists Azure services' emerging issues.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The body contains a list of azure emerging issues.",
+ "schema": {
+ "$ref": "#/definitions/emergingIssueListResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetEmergingIssues": {
+ "$ref": "./examples/EmergingIssues_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
}
},
"definitions": {
@@ -635,6 +707,188 @@
],
"description": "Lists the operations response."
},
+ "statusBanner": {
+ "description": "Banner type of emerging issue.",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The banner title."
+ },
+ "message": {
+ "type": "string",
+ "description": "The details of banner."
+ },
+ "cloud": {
+ "type": "string",
+ "description": "The cloud type of this banner."
+ },
+ "lastModifiedTime": {
+ "type": "string",
+ "description": "The last time modified on this banner.",
+ "format": "date-time"
+ }
+ }
+ },
+ "impactedRegion": {
+ "description": "Object of impacted region.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The impacted region id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The impacted region name."
+ }
+ }
+ },
+ "emergingIssueImpact": {
+ "type": "object",
+ "description": "Object of the emerging issue impact on services and regions.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The impacted service id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The impacted service name."
+ },
+ "regions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/impactedRegion"
+ },
+ "description": "The list of impacted regions for corresponding emerging issues."
+ }
+ }
+ },
+ "statusActiveEvent": {
+ "description": "Active event type of emerging issue.",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The active event title."
+ },
+ "description": {
+ "type": "string",
+ "description": "The details of active event."
+ },
+ "trackingId": {
+ "type": "string",
+ "description": "The tracking id of this active event."
+ },
+ "startTime": {
+ "type": "string",
+ "description": "The impact start time on this active event.",
+ "format": "date-time"
+ },
+ "cloud": {
+ "type": "string",
+ "description": "The cloud type of this active event."
+ },
+ "severity": {
+ "type": "string",
+ "description": "The severity level of this active event.",
+ "enum": [
+ "Information",
+ "Warning",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "SeverityValues",
+ "modelAsString": true
+ }
+ },
+ "stage": {
+ "type": "string",
+ "description": "The stage of this active event.",
+ "enum": [
+ "Active",
+ "Resolve",
+ "Archived"
+ ],
+ "x-ms-enum": {
+ "name": "StageValues",
+ "modelAsString": true
+ }
+ },
+ "published": {
+ "type": "boolean",
+ "description": "The boolean value of this active event if published or not."
+ },
+ "lastModifiedTime": {
+ "type": "string",
+ "description": "The last time modified on this banner.",
+ "format": "date-time"
+ },
+ "impacts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/emergingIssueImpact"
+ },
+ "description": "The list of emerging issues impacts."
+ }
+ }
+ },
+ "emergingIssuesGetResult": {
+ "description": "The Get EmergingIssues operation response.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/emergingIssue",
+ "description": "The emerging issue entity properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ]
+ },
+ "emergingIssue": {
+ "type": "object",
+ "description": "On-going emerging issue from azure status.",
+ "properties": {
+ "refreshTimestamp": {
+ "type": "string",
+ "description": "Timestamp for when last time refreshed for ongoing emerging issue.",
+ "format": "date-time"
+ },
+ "statusBanners": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/statusBanner"
+ },
+ "description": "The list of emerging issues of banner type."
+ },
+ "statusActiveEvents": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/statusActiveEvent"
+ },
+ "description": "The list of emerging issues of active event type."
+ }
+ }
+ },
+ "emergingIssueListResult": {
+ "description": "The list of emerging issues.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of emerging issues.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/emergingIssuesGetResult"
+ }
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of emerging issues.",
+ "type": "string"
+ }
+ }
+ },
"operation": {
"description": "Operation available in the resourcehealth resource provider.",
"properties": {
@@ -703,6 +957,17 @@
"type": "string",
"description": "Client Api Version."
},
+ "IssueNameParameter": {
+ "name": "issueName",
+ "in": "path",
+ "description": "The name of the emerging issue.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/ResourceHealth.json
index ae1f68e94f85..671bd631410f 100644
--- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/ResourceHealth.json
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/ResourceHealth.json
@@ -343,6 +343,78 @@
}
}
}
+ },
+ "/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}": {
+ "get": {
+ "tags": [
+ "EmergingIssues"
+ ],
+ "operationId": "EmergingIssues_Get",
+ "description": "Gets Azure services' emerging issues.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/IssueNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The body contains properties of azure emerging issues, which includes a list of status banner and status active events.",
+ "schema": {
+ "$ref": "#/definitions/emergingIssuesGetResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetEmergingIssues": {
+ "$ref": "./examples/EmergingIssues_Get.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ResourceHealth/emergingIssues": {
+ "get": {
+ "tags": [
+ "EmergingIssues"
+ ],
+ "operationId": "EmergingIssues_List",
+ "description": "Lists Azure services' emerging issues.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The body contains a list of azure emerging issues.",
+ "schema": {
+ "$ref": "#/definitions/emergingIssueListResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetEmergingIssues": {
+ "$ref": "./examples/EmergingIssues_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
}
},
"definitions": {
@@ -910,6 +982,188 @@
}
}
},
+ "statusBanner": {
+ "description": "Banner type of emerging issue.",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The banner title."
+ },
+ "message": {
+ "type": "string",
+ "description": "The details of banner."
+ },
+ "cloud": {
+ "type": "string",
+ "description": "The cloud type of this banner."
+ },
+ "lastModifiedTime": {
+ "type": "string",
+ "description": "The last time modified on this banner.",
+ "format": "date-time"
+ }
+ }
+ },
+ "impactedRegion": {
+ "description": "Object of impacted region.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The impacted region id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The impacted region name."
+ }
+ }
+ },
+ "emergingIssueImpact": {
+ "type": "object",
+ "description": "Object of the emerging issue impact on services and regions.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The impacted service id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The impacted service name."
+ },
+ "regions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/impactedRegion"
+ },
+ "description": "The list of impacted regions for corresponding emerging issues."
+ }
+ }
+ },
+ "statusActiveEvent": {
+ "description": "Active event type of emerging issue.",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The active event title."
+ },
+ "description": {
+ "type": "string",
+ "description": "The details of active event."
+ },
+ "trackingId": {
+ "type": "string",
+ "description": "The tracking id of this active event."
+ },
+ "startTime": {
+ "type": "string",
+ "description": "The impact start time on this active event.",
+ "format": "date-time"
+ },
+ "cloud": {
+ "type": "string",
+ "description": "The cloud type of this active event."
+ },
+ "severity": {
+ "type": "string",
+ "description": "The severity level of this active event.",
+ "enum": [
+ "Information",
+ "Warning",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "SeverityValues",
+ "modelAsString": true
+ }
+ },
+ "stage": {
+ "type": "string",
+ "description": "The stage of this active event.",
+ "enum": [
+ "Active",
+ "Resolve",
+ "Archived"
+ ],
+ "x-ms-enum": {
+ "name": "StageValues",
+ "modelAsString": true
+ }
+ },
+ "published": {
+ "type": "boolean",
+ "description": "The boolean value of this active event if published or not."
+ },
+ "lastModifiedTime": {
+ "type": "string",
+ "description": "The last time modified on this banner.",
+ "format": "date-time"
+ },
+ "impacts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/emergingIssueImpact"
+ },
+ "description": "The list of emerging issues impacts."
+ }
+ }
+ },
+ "emergingIssuesGetResult": {
+ "description": "The Get EmergingIssues operation response.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/emergingIssue",
+ "description": "The emerging issue entity properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ]
+ },
+ "emergingIssue": {
+ "type": "object",
+ "description": "On-going emerging issue from azure status.",
+ "properties": {
+ "refreshTimestamp": {
+ "type": "string",
+ "description": "Timestamp for when last time refreshed for ongoing emerging issue.",
+ "format": "date-time"
+ },
+ "statusBanners": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/statusBanner"
+ },
+ "description": "The list of emerging issues of banner type."
+ },
+ "statusActiveEvents": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/statusActiveEvent"
+ },
+ "description": "The list of emerging issues of active event type."
+ }
+ }
+ },
+ "emergingIssueListResult": {
+ "description": "The list of emerging issues.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of emerging issues.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/emergingIssuesGetResult"
+ }
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of emerging issues.",
+ "type": "string"
+ }
+ }
+ },
"operationListResult": {
"properties": {
"value": {
@@ -1078,6 +1332,17 @@
"type": "string",
"description": "Client Api Version."
},
+ "IssueNameParameter": {
+ "name": "issueName",
+ "in": "path",
+ "description": "The name of the emerging issue.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/examples/EmergingIssues_Get.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/examples/EmergingIssues_Get.json
new file mode 100644
index 000000000000..5c04c3ae995f
--- /dev/null
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/examples/EmergingIssues_Get.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "issueName": "default",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.ResourceHealth/emergingissues/default",
+ "type": "/providers/Microsoft.ResourceHealth/emergingissues",
+ "name": "default",
+ "properties": {
+ "refreshTimestamp": "2019-12-17T09:12:00Z",
+ "statusBanners": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - banner",
+ "message": "Testing backup site",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T08:04:00Z"
+ },
+ {
+ "title": "Storage - West Europe",
+ "message": "A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T10:15:00Z"
+ }
+ ],
+ "statusActiveEvents": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - SHD event",
+ "description": "Virtual Machines case",
+ "trackingId": "KTTK-TZ8",
+ "startTime": "2019-12-15T08:06:00Z",
+ "cloud": "Public",
+ "severity": "Information",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "virtual-machines",
+ "name": "Virtual Machines",
+ "regions": [
+ {
+ "id": "us-central",
+ "name": "Central US"
+ },
+ {
+ "id": "us-east",
+ "name": "East US"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-15T08:10:00Z"
+ },
+ {
+ "title": "Azure SQL Database - West Europe",
+ "description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.",
+ "trackingId": "4KHK-LS8",
+ "startTime": "2019-12-16T05:11:00Z",
+ "cloud": "Public",
+ "severity": "Error",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "sql-database",
+ "name": "SQL Database",
+ "regions": [
+ {
+ "id": "europe-west",
+ "name": "West Europe"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-16T05:11:00Z"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/examples/EmergingIssues_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/examples/EmergingIssues_List.json
new file mode 100644
index 000000000000..bb344d08648b
--- /dev/null
+++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/examples/EmergingIssues_List.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "string",
+ "value": [
+ {
+ "id": "/providers/Microsoft.ResourceHealth/emergingissues/default",
+ "type": "/providers/Microsoft.ResourceHealth/emergingissues",
+ "name": "default",
+ "properties": {
+ "refreshTimestamp": "2019-12-17T09:12:00Z",
+ "statusBanners": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - banner",
+ "message": "Testing backup site",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T08:04:00Z"
+ },
+ {
+ "title": "Storage - West Europe",
+ "message": "A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.",
+ "cloud": "Public",
+ "lastModifiedTime": "2019-12-15T10:15:00Z"
+ }
+ ],
+ "statusActiveEvents": [
+ {
+ "title": "Automatic updates to the dial tone page from ACM - SHD event",
+ "description": "Virtual Machines case",
+ "trackingId": "KTTK-TZ8",
+ "startTime": "2019-12-15T08:06:00Z",
+ "cloud": "Public",
+ "severity": "Information",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "virtual-machines",
+ "name": "Virtual Machines",
+ "regions": [
+ {
+ "id": "us-central",
+ "name": "Central US"
+ },
+ {
+ "id": "us-east",
+ "name": "East US"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-15T08:10:00Z"
+ },
+ {
+ "title": "Azure SQL Database - West Europe",
+ "description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.",
+ "trackingId": "4KHK-LS8",
+ "startTime": "2019-12-16T05:11:00Z",
+ "cloud": "Public",
+ "severity": "Error",
+ "stage": "Active",
+ "impacts": [
+ {
+ "id": "sql-database",
+ "name": "SQL Database",
+ "regions": [
+ {
+ "id": "europe-west",
+ "name": "West Europe"
+ }
+ ]
+ }
+ ],
+ "published": true,
+ "lastModifiedTime": "2019-12-16T05:11:00Z"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
From c3d8f45e99da1d747f2a959e0fe756588e984ffe Mon Sep 17 00:00:00 2001
From: aspand <45955504+aspand@users.noreply.github.com>
Date: Sat, 21 Dec 2019 06:36:21 +0530
Subject: [PATCH 123/469] ProximityPlacementGroup definition update for
colocation status (#7989)
* Merging https://github.com/Azure/azure-rest-api-specs-pr/pull/660
* Update the description to fix review comments
* Added description to fix CI warning
* Fix CI failure
* Fix CI failure
* Fixed examples
* Modify Example to include 201 response code
* Modified ProxmityPlacementGroupType description
* colocation status update
* SDK issue fixed
---
.../stable/2019-07-01/compute.json | 23 ++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index 923a462f1a5d..0eb0e1569e47 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -5909,6 +5909,19 @@
],
"description": "The List Availability Set operation response."
},
+ "SubResourceWithColocationStatus": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "properties": {
+ "colocationStatus": {
+ "$ref": "#/definitions/InstanceViewStatus",
+ "description": "Describes colocation status of a resource in the Proximity Placement Group."
+ }
+ }
+ },
"ProximityPlacementGroupProperties": {
"properties": {
"proximityPlacementGroupType": {
@@ -5927,7 +5940,7 @@
"readOnly": true,
"type": "array",
"items": {
- "$ref": "#/definitions/SubResource"
+ "$ref": "#/definitions/SubResourceWithColocationStatus"
},
"description": "A list of references to all virtual machines in the proximity placement group."
},
@@ -5935,7 +5948,7 @@
"readOnly": true,
"type": "array",
"items": {
- "$ref": "#/definitions/SubResource"
+ "$ref": "#/definitions/SubResourceWithColocationStatus"
},
"description": "A list of references to all virtual machine scale sets in the proximity placement group."
},
@@ -5943,9 +5956,13 @@
"readOnly": true,
"type": "array",
"items": {
- "$ref": "#/definitions/SubResource"
+ "$ref": "#/definitions/SubResourceWithColocationStatus"
},
"description": "A list of references to all availability sets in the proximity placement group."
+ },
+ "colocationStatus": {
+ "$ref": "#/definitions/InstanceViewStatus",
+ "description": "Describes colocation status of the Proximity Placement Group."
}
},
"description": "Describes the properties of a Proximity Placement Group."
From 5a7da8524b113fc9c9b0372a2969c37f6989cd49 Mon Sep 17 00:00:00 2001
From: Xia ZHU <398289931@qq.com>
Date: Sat, 21 Dec 2019 13:38:37 +0800
Subject: [PATCH 124/469] [Cog Service AnomalyDetector] add more apis (#6142)
* add parameters
change initial 2 api oerationId; Granularity;
add time series group apis
fix list group response name
fix next link name
remove x-ms-pageable
add TimeSeriesGroup samples
add query & write series API definitions.
fix
update descriptions.
update descriptions
update descriptions.
fix
fix for comments.
update
fix
add outlier part
fix param case
add time series cudl
fix
fix
fix typo
add changepoint api
fix some bug
fix
fix
fix
fix
fix
fix
fix
mege write and query into Anomaly Detector
add description
fix
Add timeseries and timeseries group relation management APIs.
Fix errors
add detect interface
add example
fix pr comment
fix some typo and operationId
merge detect into detector json
re-order the sequence of paths
fix definition
add create request
fix change point detect
fix example
fix
fix error
fix group interface json
add description for customInterval
add description for parameters
add description
fix
fix examples and typos
fix typos
fix typos
change time range to time point
fix field removal after merge
fix example contract
change put to post
resolve review comment
remove unnecessary examples and fileds in examples
fix typo
fix examples
fix enum description
fix label example
add failure example
fix examples
add required fields
fix examples
fix grammer;
fix spell;
add inconsistency related error;
fix cp field
fix
change enum
remove unused api
remove unused error enum
fix format
* fix failed SDK java build
---
.../preview/v1.0/AnomalyDetector.json | 172 +-
.../v1.0/examples/ChangePointDetect.json | 1569 +++++++++++++++++
.../data-plane/AnomalyDetector/readme.md | 1 +
3 files changed, 1703 insertions(+), 39 deletions(-)
create mode 100644 specification/cognitiveservices/data-plane/AnomalyDetector/preview/v1.0/examples/ChangePointDetect.json
diff --git a/specification/cognitiveservices/data-plane/AnomalyDetector/preview/v1.0/AnomalyDetector.json b/specification/cognitiveservices/data-plane/AnomalyDetector/preview/v1.0/AnomalyDetector.json
index 3fd80c40c8bb..ce059f848f1b 100644
--- a/specification/cognitiveservices/data-plane/AnomalyDetector/preview/v1.0/AnomalyDetector.json
+++ b/specification/cognitiveservices/data-plane/AnomalyDetector/preview/v1.0/AnomalyDetector.json
@@ -3,7 +3,7 @@
"info": {
"version": "1.0",
"title": "Anomaly Detector Client",
- "description": "The Anomaly Detector API detects anomalies automatically in time series data. It supports two functionalities, one is for detecting the whole series with model trained by the timeseries, another is detecting last point with model trained by points before. By using this service, business customers can discover incidents and establish a logic flow for root cause analysis."
+ "description": "The Anomaly Detector API detects anomalies automatically in time series data. It supports two kinds of mode, one is for stateless using, another is for stateful using. In stateless mode, there are three functionalities. Entire Detect is for detecting the whole series with model trained by the time series, Last Detect is detecting last point with model trained by points before. ChangePoint Detect is for detecting trend changes in time series. In stateful mode, user can store time series, the stored time series will be used for detection anomalies. Under this mode, user can still use the above three functionalities by only giving a time range without preparing time series in client side. Besides the above three functionalities, stateful model also provide group based detection and labeling service. By leveraging labeling service user can provide labels for each detection result, these labels will be used for retuning or regenerating detection models. Inconsistency detection is a kind of group based detection, this detection will find inconsistency ones in a set of time series. By using anomaly detector service, business customers can discover incidents and establish a logic flow for root cause analysis."
},
"securityDefinitions": {
"apiKeyHeader": {
@@ -43,12 +43,8 @@
}
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"responses": {
"200": {
"description": "Successful operation.",
@@ -86,12 +82,8 @@
}
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"responses": {
"200": {
"description": "Successful operation.",
@@ -112,6 +104,45 @@
}
}
}
+ },
+ "/timeseries/changePoint/detect": {
+ "post": {
+ "summary": "Detect change point for the entire series",
+ "description": "Evaluate change point score of every series point",
+ "operationId": "ChangePointDetect",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Time series points and granularity is needed. Advanced model parameters can also be set in the request if needed.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ChangePointDetectRequest"
+ }
+ }
+ ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
+ "responses": {
+ "200": {
+ "description": "Successful operation.",
+ "schema": {
+ "$ref": "#/definitions/ChangePointDetectResponse"
+ }
+ },
+ "default": {
+ "description": "Error response.",
+ "schema": {
+ "$ref": "#/definitions/APIError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Detect change point example": {
+ "$ref": "./examples/ChangePointDetect.json"
+ }
+ }
+ }
}
},
"definitions": {
@@ -127,7 +158,10 @@
"InvalidGranularity",
"InvalidPeriod",
"InvalidModelArgument",
- "InvalidSeries"
+ "InvalidSeries",
+ "InvalidJsonFormat",
+ "RequiredGranularity",
+ "RequiredSeries"
],
"x-ms-enum": {
"name": "AnomalyDetectorErrorCodes",
@@ -140,12 +174,25 @@
}
}
},
+ "Granularity": {
+ "type": "string",
+ "description": "Can only be one of yearly, monthly, weekly, daily, hourly or minutely. Granularity is used for verify whether input series is valid.",
+ "x-nullable": false,
+ "x-ms-enum": {
+ "name": "Granularity",
+ "modelAsString": false
+ },
+ "enum": ["yearly", "monthly", "weekly", "daily", "hourly", "minutely"]
+ },
+ "CustomInterval": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "description": "Custom Interval is used to set non-standard time interval, for example, if the series is 5 minutes, request can be set as {\"granularity\":\"minutely\", \"customInterval\":5}."
+ },
"Request": {
"type": "object",
- "required": [
- "granularity",
- "series"
- ],
+ "required": ["granularity", "series"],
"properties": {
"series": {
"type": "array",
@@ -155,25 +202,11 @@
}
},
"granularity": {
- "type": "string",
- "description": "Can only be one of yearly, monthly, weekly, daily, hourly or minutely. Granularity is used for verify whether input series is valid.",
- "x-ms-enum": {
- "name": "Granularity",
- "modelAsString": false
- },
- "enum": [
- "yearly",
- "monthly",
- "weekly",
- "daily",
- "hourly",
- "minutely"
- ]
+ "$ref": "#/definitions/Granularity"
},
"customInterval": {
- "type": "integer",
- "format": "int32",
- "description": "Custom Interval is used to set non-standard time interval, for example, if the series is 5 minutes, request can be set as {\"granularity\":\"minutely\", \"customInterval\":5}."
+ "description": "Custom Interval is used to set non-standard time interval, for example, if the series is 5 minutes, request can be set as {\"granularity\":\"minutely\", \"customInterval\":5}.",
+ "$ref": "#/definitions/CustomInterval"
},
"period": {
"type": "integer",
@@ -194,10 +227,7 @@
},
"Point": {
"type": "object",
- "required": [
- "timestamp",
- "value"
- ],
+ "required": ["timestamp", "value"],
"properties": {
"timestamp": {
"type": "string",
@@ -332,6 +362,70 @@
"description": "Anomaly status in positive direction of the latest point. True means the latest point is an anomaly and its real value is larger than the expected one."
}
}
+ },
+ "ChangePointDetectRequest": {
+ "type": "object",
+ "required": ["granularity", "series"],
+ "properties": {
+ "series": {
+ "type": "array",
+ "description": "Time series data points. Points should be sorted by timestamp in ascending order to match the change point detection result.",
+ "items": {
+ "$ref": "#/definitions/Point"
+ }
+ },
+ "granularity": {
+ "$ref": "#/definitions/Granularity",
+ "description": "Can only be one of yearly, monthly, weekly, daily, hourly or minutely. Granularity is used for verify whether input series is valid."
+ },
+ "customInterval": {
+ "description": "Custom Interval is used to set non-standard time interval, for example, if the series is 5 minutes, request can be set as {\"granularity\":\"minutely\", \"customInterval\":5}.",
+ "$ref": "#/definitions/CustomInterval"
+ },
+ "period": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Optional argument, periodic value of a time series. If the value is null or does not present, the API will determine the period automatically."
+ },
+ "stableTrendWindow": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Optional argument, advanced model parameter, a default stableTrendWindow will be used in detection."
+ },
+ "threshold": {
+ "type": "number",
+ "format": "float",
+ "description": "Optional argument, advanced model parameter, between 0.0-1.0, the lower the value is, the larger the trend error will be which means less change point will be accepted."
+ }
+ }
+ },
+ "ChangePointDetectResponse": {
+ "type": "object",
+ "required": ["isChangePoint", "confidenceScores", "period"],
+ "properties": {
+ "period": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Frequency extracted from the series, zero means no recurrent pattern has been found."
+ },
+ "isChangePoint": {
+ "type": "array",
+ "description": "isChangePoint contains change point properties for each input point. True means an anomaly either negative or positive has been detected. The index of the array is consistent with the input series.",
+ "items": {
+ "type": "boolean",
+ "x-nullable": false
+ }
+ },
+ "confidenceScores": {
+ "type": "array",
+ "description": "the change point confidence of each point",
+ "items": {
+ "type": "number",
+ "format": "float",
+ "x-nullable": false
+ }
+ }
+ }
}
},
"parameters": {
diff --git a/specification/cognitiveservices/data-plane/AnomalyDetector/preview/v1.0/examples/ChangePointDetect.json b/specification/cognitiveservices/data-plane/AnomalyDetector/preview/v1.0/examples/ChangePointDetect.json
new file mode 100644
index 000000000000..e8866dadda32
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/AnomalyDetector/preview/v1.0/examples/ChangePointDetect.json
@@ -0,0 +1,1569 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Content-Type": "application/json",
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "body": {
+ "series": [
+ {
+ "timestamp": "2017-01-01T06:45:00Z",
+ "value": 1639196
+ },
+ {
+ "timestamp": "2017-01-01T06:50:00Z",
+ "value": 1639290
+ },
+ {
+ "timestamp": "2017-01-01T06:55:00Z",
+ "value": 1667293
+ },
+ {
+ "timestamp": "2017-01-01T07:00:00Z",
+ "value": 1703130
+ },
+ {
+ "timestamp": "2017-01-01T07:05:00Z",
+ "value": 1650912
+ },
+ {
+ "timestamp": "2017-01-01T07:10:00Z",
+ "value": 1653596
+ },
+ {
+ "timestamp": "2017-01-01T07:15:00Z",
+ "value": 1653793
+ },
+ {
+ "timestamp": "2017-01-01T07:20:00Z",
+ "value": 1653795
+ },
+ {
+ "timestamp": "2017-01-01T07:25:00Z",
+ "value": 1663471
+ },
+ {
+ "timestamp": "2017-01-01T07:30:00Z",
+ "value": 1662358
+ },
+ {
+ "timestamp": "2017-01-01T07:35:00Z",
+ "value": 1664320
+ },
+ {
+ "timestamp": "2017-01-01T07:40:00Z",
+ "value": 1664942
+ },
+ {
+ "timestamp": "2017-01-01T07:45:00Z",
+ "value": 1664966
+ },
+ {
+ "timestamp": "2017-01-01T07:50:00Z",
+ "value": 1724271
+ },
+ {
+ "timestamp": "2017-01-01T07:55:00Z",
+ "value": 1678720
+ },
+ {
+ "timestamp": "2017-01-01T08:00:00Z",
+ "value": 1672536
+ },
+ {
+ "timestamp": "2017-01-01T08:05:00Z",
+ "value": 1672544
+ },
+ {
+ "timestamp": "2017-01-01T08:10:00Z",
+ "value": 1672364
+ },
+ {
+ "timestamp": "2017-01-01T08:15:00Z",
+ "value": 1672912
+ },
+ {
+ "timestamp": "2017-01-01T08:20:00Z",
+ "value": 1672736
+ },
+ {
+ "timestamp": "2017-01-01T08:25:00Z",
+ "value": 1672725
+ },
+ {
+ "timestamp": "2017-01-01T08:30:00Z",
+ "value": 1673247
+ },
+ {
+ "timestamp": "2017-01-01T08:35:00Z",
+ "value": 1673109
+ },
+ {
+ "timestamp": "2017-01-01T08:40:00Z",
+ "value": 1690088
+ },
+ {
+ "timestamp": "2017-01-01T08:45:00Z",
+ "value": 1703865
+ },
+ {
+ "timestamp": "2017-01-01T08:50:00Z",
+ "value": 1703865
+ },
+ {
+ "timestamp": "2017-01-01T08:55:00Z",
+ "value": 1786581
+ },
+ {
+ "timestamp": "2017-01-01T09:00:00Z",
+ "value": 1800945
+ },
+ {
+ "timestamp": "2017-01-01T09:05:00Z",
+ "value": 1800957
+ },
+ {
+ "timestamp": "2017-01-01T09:10:00Z",
+ "value": 1801191
+ },
+ {
+ "timestamp": "2017-01-01T09:15:00Z",
+ "value": 1801412
+ },
+ {
+ "timestamp": "2017-01-01T09:20:00Z",
+ "value": 1801621
+ },
+ {
+ "timestamp": "2017-01-01T09:25:00Z",
+ "value": 1801621
+ },
+ {
+ "timestamp": "2017-01-01T09:30:00Z",
+ "value": 1801654
+ },
+ {
+ "timestamp": "2017-01-01T09:35:00Z",
+ "value": 1802105
+ },
+ {
+ "timestamp": "2017-01-01T09:40:00Z",
+ "value": 1801800
+ },
+ {
+ "timestamp": "2017-01-01T09:45:00Z",
+ "value": 1803040
+ },
+ {
+ "timestamp": "2017-01-01T09:50:00Z",
+ "value": 1803672
+ },
+ {
+ "timestamp": "2017-01-01T09:55:00Z",
+ "value": 1803535
+ },
+ {
+ "timestamp": "2017-01-01T10:00:00Z",
+ "value": 1803541
+ },
+ {
+ "timestamp": "2017-01-01T10:05:00Z",
+ "value": 1803545
+ },
+ {
+ "timestamp": "2017-01-01T10:10:00Z",
+ "value": 1803599
+ },
+ {
+ "timestamp": "2017-01-01T10:15:00Z",
+ "value": 1803616
+ },
+ {
+ "timestamp": "2017-01-01T10:20:00Z",
+ "value": 1803619
+ },
+ {
+ "timestamp": "2017-01-01T10:25:00Z",
+ "value": 1809942
+ },
+ {
+ "timestamp": "2017-01-01T10:30:00Z",
+ "value": 1802720
+ },
+ {
+ "timestamp": "2017-01-01T10:35:00Z",
+ "value": 1802720
+ },
+ {
+ "timestamp": "2017-01-01T10:40:00Z",
+ "value": 1802888
+ },
+ {
+ "timestamp": "2017-01-01T10:45:00Z",
+ "value": 1809574
+ },
+ {
+ "timestamp": "2017-01-01T10:50:00Z",
+ "value": 1803896
+ },
+ {
+ "timestamp": "2017-01-01T10:55:00Z",
+ "value": 1803850
+ },
+ {
+ "timestamp": "2017-01-01T11:00:00Z",
+ "value": 1803854
+ },
+ {
+ "timestamp": "2017-01-01T11:05:00Z",
+ "value": 1803854
+ },
+ {
+ "timestamp": "2017-01-01T11:10:00Z",
+ "value": 1803797
+ },
+ {
+ "timestamp": "2017-01-01T11:15:00Z",
+ "value": 1803921
+ },
+ {
+ "timestamp": "2017-01-01T11:20:00Z",
+ "value": 1803933
+ },
+ {
+ "timestamp": "2017-01-01T11:25:00Z",
+ "value": 1804040
+ },
+ {
+ "timestamp": "2017-01-01T11:30:00Z",
+ "value": 1804044
+ },
+ {
+ "timestamp": "2017-01-01T11:35:00Z",
+ "value": 1804070
+ },
+ {
+ "timestamp": "2017-01-01T11:40:00Z",
+ "value": 1804070
+ },
+ {
+ "timestamp": "2017-01-01T11:45:00Z",
+ "value": 1804068
+ },
+ {
+ "timestamp": "2017-01-01T11:50:00Z",
+ "value": 1804073
+ },
+ {
+ "timestamp": "2017-01-01T11:55:00Z",
+ "value": 1804101
+ },
+ {
+ "timestamp": "2017-01-01T12:00:00Z",
+ "value": 1804674
+ },
+ {
+ "timestamp": "2017-01-01T12:05:00Z",
+ "value": 1804714
+ },
+ {
+ "timestamp": "2017-01-01T12:10:00Z",
+ "value": 1804730
+ },
+ {
+ "timestamp": "2017-01-01T12:15:00Z",
+ "value": 1804816
+ },
+ {
+ "timestamp": "2017-01-01T12:20:00Z",
+ "value": 1803996
+ },
+ {
+ "timestamp": "2017-01-01T12:25:00Z",
+ "value": 1803998
+ },
+ {
+ "timestamp": "2017-01-01T12:30:00Z",
+ "value": 1804015
+ },
+ {
+ "timestamp": "2017-01-01T12:35:00Z",
+ "value": 1804047
+ },
+ {
+ "timestamp": "2017-01-01T12:40:00Z",
+ "value": 1804050
+ },
+ {
+ "timestamp": "2017-01-01T12:45:00Z",
+ "value": 1804218
+ },
+ {
+ "timestamp": "2017-01-01T12:50:00Z",
+ "value": 1804217
+ },
+ {
+ "timestamp": "2017-01-01T12:55:00Z",
+ "value": 1804217
+ },
+ {
+ "timestamp": "2017-01-01T13:00:00Z",
+ "value": 1804205
+ },
+ {
+ "timestamp": "2017-01-01T13:05:00Z",
+ "value": 1804728
+ },
+ {
+ "timestamp": "2017-01-01T13:10:00Z",
+ "value": 1804748
+ },
+ {
+ "timestamp": "2017-01-01T13:15:00Z",
+ "value": 1805232
+ },
+ {
+ "timestamp": "2017-01-01T13:20:00Z",
+ "value": 1814121
+ },
+ {
+ "timestamp": "2017-01-01T13:25:00Z",
+ "value": 1806789
+ },
+ {
+ "timestamp": "2017-01-01T13:30:00Z",
+ "value": 1806119
+ },
+ {
+ "timestamp": "2017-01-01T13:35:00Z",
+ "value": 1806329
+ },
+ {
+ "timestamp": "2017-01-01T13:40:00Z",
+ "value": 1806454
+ },
+ {
+ "timestamp": "2017-01-01T13:45:00Z",
+ "value": 1806852
+ },
+ {
+ "timestamp": "2017-01-01T13:50:00Z",
+ "value": 1807347
+ },
+ {
+ "timestamp": "2017-01-01T13:55:00Z",
+ "value": 1812144
+ },
+ {
+ "timestamp": "2017-01-01T14:00:00Z",
+ "value": 1807418
+ },
+ {
+ "timestamp": "2017-01-01T14:05:00Z",
+ "value": 1807418
+ },
+ {
+ "timestamp": "2017-01-01T14:10:00Z",
+ "value": 1807432
+ },
+ {
+ "timestamp": "2017-01-01T14:15:00Z",
+ "value": 1808540
+ },
+ {
+ "timestamp": "2017-01-01T14:20:00Z",
+ "value": 1808541
+ },
+ {
+ "timestamp": "2017-01-01T14:25:00Z",
+ "value": 1807831
+ },
+ {
+ "timestamp": "2017-01-01T14:30:00Z",
+ "value": 1807852
+ },
+ {
+ "timestamp": "2017-01-01T14:35:00Z",
+ "value": 1807811
+ },
+ {
+ "timestamp": "2017-01-01T14:40:00Z",
+ "value": 2214285
+ },
+ {
+ "timestamp": "2017-01-01T14:45:00Z",
+ "value": 2215019
+ },
+ {
+ "timestamp": "2017-01-01T14:50:00Z",
+ "value": 2215329
+ },
+ {
+ "timestamp": "2017-01-01T14:55:00Z",
+ "value": 2215097
+ },
+ {
+ "timestamp": "2017-01-01T15:00:00Z",
+ "value": 2215129
+ },
+ {
+ "timestamp": "2017-01-01T15:05:00Z",
+ "value": 2215120
+ },
+ {
+ "timestamp": "2017-01-01T15:10:00Z",
+ "value": 2217056
+ },
+ {
+ "timestamp": "2017-01-01T15:15:00Z",
+ "value": 2217056
+ },
+ {
+ "timestamp": "2017-01-01T15:20:00Z",
+ "value": 2222126
+ },
+ {
+ "timestamp": "2017-01-01T15:25:00Z",
+ "value": 2226472
+ },
+ {
+ "timestamp": "2017-01-01T15:30:00Z",
+ "value": 2226722
+ },
+ {
+ "timestamp": "2017-01-01T15:35:00Z",
+ "value": 2226729
+ },
+ {
+ "timestamp": "2017-01-01T15:40:00Z",
+ "value": 2226735
+ },
+ {
+ "timestamp": "2017-01-01T15:45:00Z",
+ "value": 2226735
+ },
+ {
+ "timestamp": "2017-01-01T15:50:00Z",
+ "value": 2226735
+ },
+ {
+ "timestamp": "2017-01-01T15:55:00Z",
+ "value": 2226952
+ },
+ {
+ "timestamp": "2017-01-01T16:00:00Z",
+ "value": 2226962
+ },
+ {
+ "timestamp": "2017-01-01T16:05:00Z",
+ "value": 2649337
+ },
+ {
+ "timestamp": "2017-01-01T16:10:00Z",
+ "value": 2092796
+ },
+ {
+ "timestamp": "2017-01-01T16:15:00Z",
+ "value": 2092839
+ },
+ {
+ "timestamp": "2017-01-01T16:20:00Z",
+ "value": 2092940
+ },
+ {
+ "timestamp": "2017-01-01T16:25:00Z",
+ "value": 2092940
+ },
+ {
+ "timestamp": "2017-01-01T16:30:00Z",
+ "value": 2092965
+ },
+ {
+ "timestamp": "2017-01-01T16:35:00Z",
+ "value": 2092979
+ },
+ {
+ "timestamp": "2017-01-01T16:40:00Z",
+ "value": 2095588
+ },
+ {
+ "timestamp": "2017-01-01T16:45:00Z",
+ "value": 2099586
+ },
+ {
+ "timestamp": "2017-01-01T16:50:00Z",
+ "value": 2102981
+ },
+ {
+ "timestamp": "2017-01-01T16:55:00Z",
+ "value": 2108053
+ },
+ {
+ "timestamp": "2017-01-01T17:00:00Z",
+ "value": 2107907
+ },
+ {
+ "timestamp": "2017-01-01T17:05:00Z",
+ "value": 2108241
+ },
+ {
+ "timestamp": "2017-01-01T17:10:00Z",
+ "value": 2100321
+ },
+ {
+ "timestamp": "2017-01-01T17:15:00Z",
+ "value": 2100448
+ },
+ {
+ "timestamp": "2017-01-01T17:20:00Z",
+ "value": 2100483
+ },
+ {
+ "timestamp": "2017-01-01T17:25:00Z",
+ "value": 2103042
+ },
+ {
+ "timestamp": "2017-01-01T17:30:00Z",
+ "value": 2103037
+ },
+ {
+ "timestamp": "2017-01-01T17:35:00Z",
+ "value": 2103040
+ },
+ {
+ "timestamp": "2017-01-01T17:40:00Z",
+ "value": 2103054
+ },
+ {
+ "timestamp": "2017-01-01T17:45:00Z",
+ "value": 2103058
+ },
+ {
+ "timestamp": "2017-01-01T17:50:00Z",
+ "value": 1830757
+ },
+ {
+ "timestamp": "2017-01-01T17:55:00Z",
+ "value": 1830855
+ },
+ {
+ "timestamp": "2017-01-01T18:00:00Z",
+ "value": 1831495
+ },
+ {
+ "timestamp": "2017-01-01T18:05:00Z",
+ "value": 1831463
+ },
+ {
+ "timestamp": "2017-01-01T18:10:00Z",
+ "value": 1831963
+ },
+ {
+ "timestamp": "2017-01-01T18:15:00Z",
+ "value": 1832046
+ },
+ {
+ "timestamp": "2017-01-01T18:20:00Z",
+ "value": 1832070
+ },
+ {
+ "timestamp": "2017-01-01T18:25:00Z",
+ "value": 1835511
+ },
+ {
+ "timestamp": "2017-01-01T18:30:00Z",
+ "value": 1835265
+ },
+ {
+ "timestamp": "2017-01-01T18:35:00Z",
+ "value": 1835481
+ },
+ {
+ "timestamp": "2017-01-01T18:40:00Z",
+ "value": 1835578
+ },
+ {
+ "timestamp": "2017-01-01T18:45:00Z",
+ "value": 1835611
+ },
+ {
+ "timestamp": "2017-01-01T18:50:00Z",
+ "value": 1836314
+ },
+ {
+ "timestamp": "2017-01-01T18:55:00Z",
+ "value": 1836369
+ },
+ {
+ "timestamp": "2017-01-01T19:00:00Z",
+ "value": 1837280
+ },
+ {
+ "timestamp": "2017-01-01T19:05:00Z",
+ "value": 1842939
+ },
+ {
+ "timestamp": "2017-01-01T19:10:00Z",
+ "value": 1843126
+ },
+ {
+ "timestamp": "2017-01-01T19:15:00Z",
+ "value": 1845840
+ },
+ {
+ "timestamp": "2017-01-01T19:20:00Z",
+ "value": 1842444
+ },
+ {
+ "timestamp": "2017-01-01T19:25:00Z",
+ "value": 1839891
+ },
+ {
+ "timestamp": "2017-01-01T19:30:00Z",
+ "value": 1839875
+ },
+ {
+ "timestamp": "2017-01-01T19:35:00Z",
+ "value": 1839870
+ },
+ {
+ "timestamp": "2017-01-01T19:40:00Z",
+ "value": 1840090
+ },
+ {
+ "timestamp": "2017-01-01T19:45:00Z",
+ "value": 1840479
+ },
+ {
+ "timestamp": "2017-01-01T19:50:00Z",
+ "value": 1840479
+ },
+ {
+ "timestamp": "2017-01-01T19:55:00Z",
+ "value": 1840482
+ },
+ {
+ "timestamp": "2017-01-01T20:00:00Z",
+ "value": 1841522
+ },
+ {
+ "timestamp": "2017-01-01T20:05:00Z",
+ "value": 1841836
+ },
+ {
+ "timestamp": "2017-01-01T20:10:00Z",
+ "value": 1842377
+ },
+ {
+ "timestamp": "2017-01-01T20:15:00Z",
+ "value": 1842388
+ },
+ {
+ "timestamp": "2017-01-01T20:20:00Z",
+ "value": 1842489
+ },
+ {
+ "timestamp": "2017-01-01T20:25:00Z",
+ "value": 1842489
+ },
+ {
+ "timestamp": "2017-01-01T20:30:00Z",
+ "value": 1842489
+ },
+ {
+ "timestamp": "2017-01-01T20:35:00Z",
+ "value": 1842496
+ },
+ {
+ "timestamp": "2017-01-01T20:40:00Z",
+ "value": 1842689
+ },
+ {
+ "timestamp": "2017-01-01T20:45:00Z",
+ "value": 1843117
+ },
+ {
+ "timestamp": "2017-01-01T20:50:00Z",
+ "value": 1843116
+ },
+ {
+ "timestamp": "2017-01-01T20:55:00Z",
+ "value": 1843227
+ },
+ {
+ "timestamp": "2017-01-01T21:00:00Z",
+ "value": 1843138
+ },
+ {
+ "timestamp": "2017-01-01T21:05:00Z",
+ "value": 1843141
+ },
+ {
+ "timestamp": "2017-01-01T21:10:00Z",
+ "value": 1843310
+ },
+ {
+ "timestamp": "2017-01-01T21:15:00Z",
+ "value": 1843310
+ },
+ {
+ "timestamp": "2017-01-01T21:20:00Z",
+ "value": 1843507
+ },
+ {
+ "timestamp": "2017-01-01T21:25:00Z",
+ "value": 1843953
+ },
+ {
+ "timestamp": "2017-01-01T21:30:00Z",
+ "value": 1844778
+ },
+ {
+ "timestamp": "2017-01-01T21:35:00Z",
+ "value": 1843918
+ },
+ {
+ "timestamp": "2017-01-01T21:40:00Z",
+ "value": 1882692
+ },
+ {
+ "timestamp": "2017-01-01T21:45:00Z",
+ "value": 1974888
+ },
+ {
+ "timestamp": "2017-01-01T21:50:00Z",
+ "value": 2157136
+ },
+ {
+ "timestamp": "2017-01-01T21:55:00Z",
+ "value": 2154987
+ },
+ {
+ "timestamp": "2017-01-01T22:00:00Z",
+ "value": 2155664
+ },
+ {
+ "timestamp": "2017-01-01T22:05:00Z",
+ "value": 2155660
+ },
+ {
+ "timestamp": "2017-01-01T22:10:00Z",
+ "value": 2155824
+ },
+ {
+ "timestamp": "2017-01-01T22:15:00Z",
+ "value": 2155824
+ },
+ {
+ "timestamp": "2017-01-01T22:20:00Z",
+ "value": 2156329
+ },
+ {
+ "timestamp": "2017-01-01T22:25:00Z",
+ "value": 2156479
+ },
+ {
+ "timestamp": "2017-01-01T22:30:00Z",
+ "value": 2165269
+ },
+ {
+ "timestamp": "2017-01-01T22:35:00Z",
+ "value": 2165433
+ },
+ {
+ "timestamp": "2017-01-01T22:40:00Z",
+ "value": 2165739
+ },
+ {
+ "timestamp": "2017-01-01T22:45:00Z",
+ "value": 2165931
+ },
+ {
+ "timestamp": "2017-01-01T22:50:00Z",
+ "value": 2165928
+ },
+ {
+ "timestamp": "2017-01-01T22:55:00Z",
+ "value": 2165989
+ },
+ {
+ "timestamp": "2017-01-01T23:00:00Z",
+ "value": 2228961
+ },
+ {
+ "timestamp": "2017-01-01T23:05:00Z",
+ "value": 2228961
+ },
+ {
+ "timestamp": "2017-01-01T23:10:00Z",
+ "value": 2228961
+ },
+ {
+ "timestamp": "2017-01-01T23:15:00Z",
+ "value": 2485802
+ },
+ {
+ "timestamp": "2017-01-01T23:20:00Z",
+ "value": 2485802
+ },
+ {
+ "timestamp": "2017-01-01T23:25:00Z",
+ "value": 2486021
+ },
+ {
+ "timestamp": "2017-01-01T23:30:00Z",
+ "value": 2485293
+ },
+ {
+ "timestamp": "2017-01-01T23:35:00Z",
+ "value": 2485293
+ },
+ {
+ "timestamp": "2017-01-01T23:40:00Z",
+ "value": 2485324
+ },
+ {
+ "timestamp": "2017-01-01T23:45:00Z",
+ "value": 2489142
+ },
+ {
+ "timestamp": "2017-01-01T23:50:00Z",
+ "value": 2526312
+ },
+ {
+ "timestamp": "2017-01-01T23:55:00Z",
+ "value": 2526313
+ },
+ {
+ "timestamp": "2017-01-02T00:00:00Z",
+ "value": 2526314
+ },
+ {
+ "timestamp": "2017-01-02T00:05:00Z",
+ "value": 2526324
+ },
+ {
+ "timestamp": "2017-01-02T00:10:00Z",
+ "value": 2526325
+ },
+ {
+ "timestamp": "2017-01-02T00:15:00Z",
+ "value": 2526205
+ },
+ {
+ "timestamp": "2017-01-02T00:20:00Z",
+ "value": 2526226
+ },
+ {
+ "timestamp": "2017-01-02T00:25:00Z",
+ "value": 2526475
+ },
+ {
+ "timestamp": "2017-01-02T00:30:00Z",
+ "value": 2526471
+ },
+ {
+ "timestamp": "2017-01-02T00:35:00Z",
+ "value": 2526471
+ },
+ {
+ "timestamp": "2017-01-02T00:40:00Z",
+ "value": 2526534
+ },
+ {
+ "timestamp": "2017-01-02T00:45:00Z",
+ "value": 2526646
+ },
+ {
+ "timestamp": "2017-01-02T00:50:00Z",
+ "value": 2526646
+ },
+ {
+ "timestamp": "2017-01-02T00:55:00Z",
+ "value": 2526648
+ },
+ {
+ "timestamp": "2017-01-02T01:00:00Z",
+ "value": 2526658
+ },
+ {
+ "timestamp": "2017-01-02T01:05:00Z",
+ "value": 2526771
+ },
+ {
+ "timestamp": "2017-01-02T01:10:00Z",
+ "value": 2526773
+ },
+ {
+ "timestamp": "2017-01-02T01:15:00Z",
+ "value": 2526793
+ },
+ {
+ "timestamp": "2017-01-02T01:20:00Z",
+ "value": 2527010
+ },
+ {
+ "timestamp": "2017-01-02T01:25:00Z",
+ "value": 2527031
+ },
+ {
+ "timestamp": "2017-01-02T01:30:00Z",
+ "value": 3178096
+ },
+ {
+ "timestamp": "2017-01-02T01:35:00Z",
+ "value": 3196305
+ },
+ {
+ "timestamp": "2017-01-02T01:40:00Z",
+ "value": 3196202
+ },
+ {
+ "timestamp": "2017-01-02T01:45:00Z",
+ "value": 3196202
+ },
+ {
+ "timestamp": "2017-01-02T01:50:00Z",
+ "value": 3196205
+ },
+ {
+ "timestamp": "2017-01-02T01:55:00Z",
+ "value": 3229232
+ },
+ {
+ "timestamp": "2017-01-02T02:00:00Z",
+ "value": 3230463
+ },
+ {
+ "timestamp": "2017-01-02T02:05:00Z",
+ "value": 3230468
+ },
+ {
+ "timestamp": "2017-01-02T02:10:00Z",
+ "value": 3230468
+ },
+ {
+ "timestamp": "2017-01-02T02:15:00Z",
+ "value": 3230468
+ },
+ {
+ "timestamp": "2017-01-02T02:20:00Z",
+ "value": 3230470
+ },
+ {
+ "timestamp": "2017-01-02T02:25:00Z",
+ "value": 3230467
+ },
+ {
+ "timestamp": "2017-01-02T02:30:00Z",
+ "value": 3230506
+ },
+ {
+ "timestamp": "2017-01-02T02:35:00Z",
+ "value": 3231536
+ },
+ {
+ "timestamp": "2017-01-02T02:40:00Z",
+ "value": 3230723
+ },
+ {
+ "timestamp": "2017-01-02T02:45:00Z",
+ "value": 3230727
+ },
+ {
+ "timestamp": "2017-01-02T02:50:00Z",
+ "value": 3230727
+ },
+ {
+ "timestamp": "2017-01-02T02:55:00Z",
+ "value": 3230727
+ },
+ {
+ "timestamp": "2017-01-02T03:00:00Z",
+ "value": 3231880
+ },
+ {
+ "timestamp": "2017-01-02T03:05:00Z",
+ "value": 3232283
+ },
+ {
+ "timestamp": "2017-01-02T03:10:00Z",
+ "value": 3232283
+ },
+ {
+ "timestamp": "2017-01-02T03:15:00Z",
+ "value": 3232283
+ },
+ {
+ "timestamp": "2017-01-02T03:20:00Z",
+ "value": 3232325
+ },
+ {
+ "timestamp": "2017-01-02T03:25:00Z",
+ "value": 3232323
+ },
+ {
+ "timestamp": "2017-01-02T03:30:00Z",
+ "value": 3232327
+ },
+ {
+ "timestamp": "2017-01-02T03:35:00Z",
+ "value": 3232340
+ },
+ {
+ "timestamp": "2017-01-02T03:40:00Z",
+ "value": 3232713
+ },
+ {
+ "timestamp": "2017-01-02T03:45:00Z",
+ "value": 3232729
+ },
+ {
+ "timestamp": "2017-01-02T03:50:00Z",
+ "value": 3232756
+ },
+ {
+ "timestamp": "2017-01-02T03:55:00Z",
+ "value": 3233500
+ },
+ {
+ "timestamp": "2017-01-02T04:00:00Z",
+ "value": 3233500
+ },
+ {
+ "timestamp": "2017-01-02T04:05:00Z",
+ "value": 3233500
+ }
+ ],
+ "granularity": "minutely",
+ "customInterval": 5,
+ "stableTrendWindow": 10,
+ "threshold": 0.99,
+ "period": 0
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "period": 0,
+ "confidenceScores": [
+ 0.11841763735063232,
+ 0.014857199927548581,
+ 0.0887032374955278,
+ 0.07430314751946857,
+ 0.059903057543409355,
+ 0.04132288981790399,
+ 0.022742722092391268,
+ 0.0005683208474757854,
+ 0.0216060803974397,
+ 0.053248991089971616,
+ 0.08489190178249614,
+ 0.04322511558132514,
+ 0.085336620199234,
+ 0.05876047041512903,
+ 0.02673755265447302,
+ 0.005032027060762012,
+ 0.031323171543775764,
+ 0.06299774949197792,
+ 0.08944723025337244,
+ 0.11523169864554421,
+ 0.14288453512268834,
+ 0.001592562559717675,
+ 0.32637788222282893,
+ 0,
+ 7.37310752217245e-15,
+ 2.211932256651735e-14,
+ 1,
+ 0.015697015891758138,
+ 0.01242773215043403,
+ 0.016188579169534697,
+ 0.019537751864826272,
+ 0.022506917491993753,
+ 0.01885762668253081,
+ 0.016253355310429398,
+ 0.017227483829906676,
+ 0.023236706002118527,
+ 0.03906277743439327,
+ 0.0354134866249377,
+ 0.037084294769315296,
+ 0.038248426822850935,
+ 0.050274427573818385,
+ 0.046815140298421175,
+ 0.043292518511668716,
+ 0.041353259508804745,
+ 0.038242312045861385,
+ 0.0346880230034313,
+ 0.032717096744889713,
+ 0.033026212895129546,
+ 0.031055286636580585,
+ 0.0275326648498355,
+ 0.023883374040372555,
+ 0.021564107969369743,
+ 0.018706498551854727,
+ 0.01543721481052325,
+ 0.015176320358565887,
+ 0.011527029549110314,
+ 0.008004407762357859,
+ 0.004355116952902286,
+ 0.0007058261434393403,
+ 0.0030701336887340946,
+ 0.006592755475479178,
+ 0.010147044517909256,
+ 0.013701333560339335,
+ 0.016780613767597707,
+ 0.020366570065705403,
+ 0.024015860875168354,
+ 0.02757014991759106,
+ 0.03033275756808058,
+ 0.03068865378707081,
+ 0.03395793752839492,
+ 0.03760722833785786,
+ 0.04122485189164318,
+ 0.030433874112103007,
+ 0.032816474694461056,
+ 0.03602242392443729,
+ 0.03960838022253762,
+ 0.04268766042980336,
+ 0.04633695123926631,
+ 0.0346592903007527,
+ 0.010219725324164698,
+ 0.007218892441326965,
+ 0.006909776291079754,
+ 0.000049463551460760754,
+ 0.0016047901503119819,
+ 0.01042121060065547,
+ 0.009020294944303705,
+ 0.005371004134840759,
+ 0.0021650549048718984,
+ 0.010517653997227793,
+ 0.0075017083013172925,
+ 0.00385241749186172,
+ 0.0008681390516288423,
+ 0.019005920148370017,
+ 0.015388296594592068,
+ 0.12583612799160215,
+ 1,
+ 0.005055878353042495,
+ 0.007613932468790628,
+ 0.011913685646822731,
+ 0.0166567804043268,
+ 0.015351429327405014,
+ 0.034309821169245976,
+ 0.0292817211106433,
+ 0.02425362105202589,
+ 0.019225520993423218,
+ 0.01419742093482055,
+ 0.00916932087621788,
+ 0.004141220817600464,
+ 0.0008868792410022057,
+ 0.0059149792996048755,
+ 0.010943079358207547,
+ 0.015971179416810213,
+ 0.02099927947542763,
+ 1,
+ 0.11533376425564247,
+ 0.1207645081246342,
+ 0.025174230145423273,
+ 0.09422487163021387,
+ 0.08417070843230404,
+ 0.07411654523437947,
+ 0.06406238203646963,
+ 0.0540082188385598,
+ 0.04395405564064997,
+ 0.03500824639144218,
+ 0.024954083193532338,
+ 0.014899919995622513,
+ 0.004845756797712681,
+ 0.005208406400211895,
+ 0.015262569598121728,
+ 0.025316732796031558,
+ 0.03537089599394139,
+ 0.045425059191865964,
+ 0.05145748091871777,
+ 1,
+ 0.011663506282381296,
+ 0.0043856580970499884,
+ 0.002892190088273945,
+ 0.01017003827359788,
+ 0.01744788645892181,
+ 0.024725734644253115,
+ 0.03200358282957705,
+ 0.03928143101490098,
+ 0.046559279200224915,
+ 0.05383712738555622,
+ 0.060069956133518614,
+ 0.0450857235774741,
+ 0.050621872700536176,
+ 0.029050850963546225,
+ 0.045689493056171517,
+ 0.0385699811492357,
+ 0.03179880905474635,
+ 0.03082274474926925,
+ 0.03586345902254038,
+ 0.028585610837209074,
+ 0.021402764418918006,
+ 0.04705886213832124,
+ 0.049724532235770696,
+ 0.05957866937203304,
+ 0.052649160999162954,
+ 0.045371312813839014,
+ 0.03809346462851508,
+ 0.030815616443183775,
+ 0.023537768257859845,
+ 0.01945831289597576,
+ 0.012180464710644455,
+ 0.00490261652532052,
+ 0.002153560870260057,
+ 0.0033196287098028916,
+ 0.0029244412792105113,
+ 0.0043217396504358,
+ 0.010934575466529664,
+ 0.018117421884820732,
+ 0.02267188608187652,
+ 0.027321352045957807,
+ 0.03459920023128174,
+ 0.03563859904812146,
+ 0.02990120514994264,
+ 0.03607069938654979,
+ 0.017223061637835352,
+ 7.37310752217245e-15,
+ 1.47462150443449e-14,
+ 1,
+ 0.046440552438977135,
+ 0.012233652454378385,
+ 0.017033155644526038,
+ 0.05136672465183527,
+ 0.06970832954194527,
+ 0.09929181019761117,
+ 0.11281999222473732,
+ 0.11039622919405537,
+ 0.08125609011787617,
+ 0.05661270134791935,
+ 0.028264243663680723,
+ 0.005974323576610399,
+ 0.038471191754617544,
+ 0,
+ 0,
+ 0,
+ 0.020288532128574968,
+ 0.005041879493223223,
+ 0.009223088216122232,
+ 0.009332792637570532,
+ 0.024579445272937026,
+ 0.03289096891488949,
+ 0.050695883419617865,
+ 1,
+ 0.000748013913075547,
+ 0.002186373999917361,
+ 0.0009330173541465358,
+ 0.00032033929162428933,
+ 0.0012886906362965138,
+ 0.002542047282052593,
+ 0.0007963481454318109,
+ 0.0004886757560166365,
+ 0.0016470306347398486,
+ 0.001063686451208582,
+ 0.0011980222832366648,
+ 0.00008700161821178273,
+ 0.0013086910082902394,
+ 0.0022770423529624643,
+ 0.000016333637160404937,
+ 0.0012053557529180517,
+ 0.0018570345408140537,
+ 0.0037297360397815314,
+ 0.003109724507563151,
+ 0.22869458705263188,
+ 0.2293374323429407,
+ 0.1140021204394844,
+ 0.0012381896969537412,
+ 0.11340677603264777,
+ 1,
+ 0.011793249472519423,
+ 0.008293225072094536,
+ 0.00469819890465153,
+ 0.0010715054815308995,
+ 0.0025551879416044767,
+ 0.006118546853369862,
+ 0.008605219072110835,
+ 0.0053601180131874334,
+ 0.008860142413597574,
+ 0.01248683583673295,
+ 0.01611352925985358,
+ 0.005878587160222206,
+ 0.013145429690188892,
+ 0.022280640305150038,
+ 0.01865394688201466,
+ 0.015027253458894031,
+ 0.012033905149325846,
+ 0.009040556839742916,
+ 0.005445530672299909,
+ 0.0018505045048569009,
+ 0.001744521662600853,
+ 0.005339547830043862,
+ 0.008760404091259945,
+ 0.012181260352490777,
+ 0.009902010591734853,
+ 0.007622760830993676
+ ],
+ "isChangePoint": [
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/AnomalyDetector/readme.md b/specification/cognitiveservices/data-plane/AnomalyDetector/readme.md
index b09563822d24..585ec17fb952 100644
--- a/specification/cognitiveservices/data-plane/AnomalyDetector/readme.md
+++ b/specification/cognitiveservices/data-plane/AnomalyDetector/readme.md
@@ -74,6 +74,7 @@ java:
output-folder: $(azure-libraries-for-java-folder)/cognitiveservices/data-plane/anomalydetector
with-optional-parameters: true
with-single-async-method: true
+ regenerate-manager: true
```
## Multi-API/Profile support for AutoRest v3 generators
From 47ea6cab5a742ddf45d967e86b0862f8c57f50f7 Mon Sep 17 00:00:00 2001
From: Avinash
Date: Sun, 22 Dec 2019 19:02:07 -0800
Subject: [PATCH 125/469] Updating description text for Create/Update virtual
machines APIs documentation. No changes to specs. (#7823)
---
.../stable/2019-07-01/compute.json | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index 0eb0e1569e47..7f8b2ee8b55e 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -2306,7 +2306,7 @@
"VirtualMachines"
],
"operationId": "VirtualMachines_CreateOrUpdate",
- "description": "The operation to create or update a virtual machine.",
+ "description": "The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.",
"parameters": [
{
"name": "resourceGroupName",
@@ -7338,7 +7338,7 @@
"properties": {
"protocol": {
"type": "string",
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
+ "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
"enum": [
"Http",
"Https"
@@ -7379,7 +7379,7 @@
},
"timeZone": {
"type": "string",
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\""
+ "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones)."
},
"additionalUnattendContent": {
"type": "array",
@@ -7474,7 +7474,7 @@
},
"adminUsername": {
"type": "string",
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
+ "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
},
"adminPassword": {
"type": "string",
@@ -7482,7 +7482,7 @@
},
"customData": {
"type": "string",
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
+ "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
},
"windowsConfiguration": {
"$ref": "#/definitions/WindowsConfiguration",
@@ -7505,10 +7505,10 @@
},
"requireGuestProvisionSignal": {
"type": "boolean",
- "description": "Specifies whether the guest provision signal is required from the virtual machine."
+ "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine."
}
},
- "description": "Specifies the operating system settings for the virtual machine."
+ "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned."
},
"AutomaticRepairsPolicy": {
"properties": {
@@ -7885,7 +7885,7 @@
},
"osProfile": {
"$ref": "#/definitions/OSProfile",
- "description": "Specifies the operating system settings for the virtual machine."
+ "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned."
},
"networkProfile": {
"$ref": "#/definitions/NetworkProfile",
From 0edf1a27c063d2d979803c1379ec61923a0ffabe Mon Sep 17 00:00:00 2001
From: leonard
Date: Thu, 5 Dec 2019 15:12:26 +0000
Subject: [PATCH 126/469] ANF-440 update for API 2019-10-01
Initial commit including just a copy of the old API.
---
.../examples/Accounts_CreateOrUpdate.json | 37 +
.../2019-10-01/examples/Accounts_Delete.json | 12 +
.../2019-10-01/examples/Accounts_Get.json | 21 +
.../2019-10-01/examples/Accounts_List.json | 24 +
.../2019-10-01/examples/Accounts_Update.json | 23 +
.../examples/CheckFilePathAvailability.json | 19 +
.../examples/CheckNameAvailability.json | 19 +
.../examples/MountTargets_List.json | 36 +
.../examples/Pools_CreateOrUpdate.json | 47 +
.../2019-10-01/examples/Pools_Delete.json | 13 +
.../stable/2019-10-01/examples/Pools_Get.json | 25 +
.../2019-10-01/examples/Pools_List.json | 28 +
.../2019-10-01/examples/Pools_Update.json | 27 +
.../2019-10-01/examples/Snapshots_Create.json | 31 +
.../2019-10-01/examples/Snapshots_Delete.json | 16 +
.../2019-10-01/examples/Snapshots_Get.json | 27 +
.../2019-10-01/examples/Snapshots_List.json | 30 +
.../2019-10-01/examples/Snapshots_Update.json | 29 +
.../examples/Volumes_CreateOrUpdate.json | 54 +
.../2019-10-01/examples/Volumes_Delete.json | 14 +
.../2019-10-01/examples/Volumes_Get.json | 28 +
.../2019-10-01/examples/Volumes_List.json | 31 +
.../2019-10-01/examples/Volumes_Update.json | 30 +
.../stable/2019-10-01/netapp.json | 2415 +++++++++++++++++
24 files changed, 3036 insertions(+)
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_CreateOrUpdate.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Delete.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Get.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Update.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckFilePathAvailability.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckNameAvailability.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/MountTargets_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_CreateOrUpdate.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Delete.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Get.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Update.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Create.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Delete.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Get.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Update.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_CreateOrUpdate.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Delete.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Get.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Update.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_CreateOrUpdate.json
new file mode 100644
index 000000000000..0419d4bee4b7
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_CreateOrUpdate.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Delete.json
new file mode 100644
index 000000000000..2a9c050bae91
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Get.json
new file mode 100644
index 000000000000..888483196522
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_List.json
new file mode 100644
index 000000000000..c494097c267f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_List.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Update.json
new file mode 100644
index 000000000000..2bf73d359a7b
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Update.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckFilePathAvailability.json
new file mode 100644
index 000000000000..61e438a0b0ea
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckFilePathAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2019-08-01",
+ "body": {
+ "name": "my-exact-filepth",
+ "type": "netAppAccount/capacityPools/volume",
+ "resourceGroup": "myRG"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckNameAvailability.json
new file mode 100644
index 000000000000..646ba2df55a2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2019-08-01",
+ "body": {
+ "name": "accName",
+ "type": "netAppAccount",
+ "resourceGroup": "myRG"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/MountTargets_List.json
new file mode 100644
index 000000000000..515cd77646d5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/MountTargets_List.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/mountTargets/target1",
+ "name": "account1/pool1/volume1/target1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets",
+ "location": "eastus",
+ "properties": {
+ "endIp": "1.2.3.4",
+ "mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "startIp": "1.2.3.4",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnet": "1.2.3.4",
+ "netmask": "",
+ "ipAddress": "1.2.3.4",
+ "gateway": "",
+ "smbServerFqdn": "fullyqualified.domainname.com",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_CreateOrUpdate.json
new file mode 100644
index 000000000000..0577b50e64e4
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_CreateOrUpdate.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "size": 4398046511104,
+ "serviceLevel": "Premium"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Delete.json
new file mode 100644
index 000000000000..de4e00232d6b
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Get.json
new file mode 100644
index 000000000000..5c9e106791bd
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Get.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_List.json
new file mode 100644
index 000000000000..99b56256ddcf
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_List.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Update.json
new file mode 100644
index 000000000000..0faaf0c7a947
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Update.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Create.json
new file mode 100644
index 000000000000..f2ae1cad6a69
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Create.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2019-08-01",
+ "body": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Delete.json
new file mode 100644
index 000000000000..064269b38ac2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Get.json
new file mode 100644
index 000000000000..1870e448f451
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Get.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_List.json
new file mode 100644
index 000000000000..5024d91118e2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_List.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Update.json
new file mode 100644
index 000000000000..af0698ebf90f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Update.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2019-08-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_CreateOrUpdate.json
new file mode 100644
index 000000000000..4c2c385eaf36
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_CreateOrUpdate.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "creationToken": "my-unique-file-path",
+ "serviceLevel": "Premium",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "location": "eastus",
+ "name": "account1/pool1/volume1",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ },
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "location": "eastus",
+ "name": "account1/pool1/volume1",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ },
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Delete.json
new file mode 100644
index 000000000000..7c0b66cb32dd
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Get.json
new file mode 100644
index 000000000000..173fd5e9c3a4
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_List.json
new file mode 100644
index 000000000000..32ca22bd8c0a
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_List.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Update.json
new file mode 100644
index 000000000000..4e8ea140d15f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Update.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
new file mode 100644
index 000000000000..f46460062840
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -0,0 +1,2415 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Microsoft NetApp",
+ "description": "Microsoft NetApp Azure Resource Provider specification",
+ "version": "2019-08-01",
+ "x-ms-code-generation-settings": {
+ "name": "AzureNetAppFilesManagementClient"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.NetApp/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "Describes the Resource Provider",
+ "description": "Lists all of the available Microsoft.NetApp Rest API operations",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": {
+ "post": {
+ "summary": "Check resource name availability",
+ "description": "Check if a resource name is available.",
+ "operationId": "NetAppResource_CheckNameAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Name availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/location"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailability"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckNameAvailability": {
+ "$ref": "examples/CheckNameAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": {
+ "post": {
+ "summary": "Check file path availability",
+ "description": "Check if a file path is available.",
+ "operationId": "NetAppResource_CheckFilePathAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "File path availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/location"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailability"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckFilePathAvailability": {
+ "$ref": "examples/CheckFilePathAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": {
+ "get": {
+ "summary": "Describe all NetApp Accounts in a resource group",
+ "description": "List and describe all NetApp accounts in the resource group.",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccountList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_List": {
+ "$ref": "examples/Accounts_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": {
+ "get": {
+ "summary": "Describe a NetApp Account",
+ "description": "Get the NetApp account",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Get": {
+ "$ref": "examples/Accounts_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_CreateOrUpdate",
+ "summary": "Create or update a NetApp account",
+ "description": "Create or update the specified NetApp account within the resource group",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "201": {
+ "description": "Account created",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_CreateOrUpdate": {
+ "$ref": "examples/Accounts_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Delete",
+ "summary": "Delete a NetApp account",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "Delete the specified NetApp account",
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_Delete": {
+ "$ref": "examples/Accounts_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Update",
+ "summary": "Update a NetApp account",
+ "description": "Patch the specified NetApp account",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccountPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Update": {
+ "$ref": "examples/Accounts_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": {
+ "get": {
+ "summary": "Describe all Capacity Pools",
+ "description": "List all capacity pools in the NetApp Account",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPoolList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_List": {
+ "$ref": "examples/Pools_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": {
+ "get": {
+ "summary": "Describe a Capacity Pool",
+ "description": "Get details of the specified capacity pool",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_Get": {
+ "$ref": "examples/Pools_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_CreateOrUpdate",
+ "summary": "Create or Update the specified capacity pool within the resource group",
+ "description": "Create or Update a capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - pool updated",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "201": {
+ "description": "Pool created",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Pools_CreateOrUpdate": {
+ "$ref": "examples/Pools_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Update",
+ "summary": "Update a capacity pool",
+ "description": "Patch the specified capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPoolPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_Update": {
+ "$ref": "examples/Pools_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Delete",
+ "summary": "Delete a capacity pool",
+ "description": "Delete the specified capacity pool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Pools_Delete": {
+ "$ref": "examples/Pools_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": {
+ "get": {
+ "summary": "Describe all volumes",
+ "description": "List all volumes within the capacity pool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_List",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_List": {
+ "$ref": "examples/Volumes_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": {
+ "get": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Get",
+ "summary": "Describe a volume",
+ "description": "Get the details of the specified volume",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_Get": {
+ "$ref": "examples/Volumes_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_CreateOrUpdate",
+ "summary": "Create or Update a volume",
+ "description": "Create or update the specified volume within the capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - volume updated",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "201": {
+ "description": "Volume created",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_CreateOrUpdate": {
+ "$ref": "examples/Volumes_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Update",
+ "summary": "Update a volume",
+ "description": "Patch the specified volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumePatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_Update": {
+ "$ref": "examples/Volumes_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Delete",
+ "summary": "Delete a volume",
+ "description": "Delete the specified volume",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_Delete": {
+ "$ref": "examples/Volumes_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": {
+ "get": {
+ "tags": [
+ "MountTargets"
+ ],
+ "operationId": "MountTargets_List",
+ "summary": "Describe all mount targets",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all mount targets associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/mountTargetList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "MountTargets_List": {
+ "$ref": "examples/MountTargets_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_List",
+ "summary": "Describe all snapshots",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all snapshots associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_List": {
+ "$ref": "examples/Snapshots_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Get",
+ "summary": "Describe a snapshot",
+ "description": "Get details of the specified snapshot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_Get": {
+ "$ref": "examples/Snapshots_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Create",
+ "summary": "Create a snapshot",
+ "description": "Create the specified snapshot within the given volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Snapshot created",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Snapshots_Create": {
+ "$ref": "examples/Snapshots_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Update",
+ "summary": "Update a snapshot",
+ "description": "Patch a snapshot",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_Update": {
+ "$ref": "examples/Snapshots_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Delete",
+ "summary": "Delete a snapshot",
+ "description": "Delete snapshot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Snapshots_Delete": {
+ "$ref": "examples/Snapshots_Delete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "description": "Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Storage operations supported by the Storage resource provider."
+ }
+ }
+ },
+ "Operation": {
+ "description": "Microsoft.NetApp REST API operation definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display metadata associated with the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft NetApp.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Type of operation: get, read, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Operation description.",
+ "type": "string"
+ }
+ }
+ },
+ "origin": {
+ "type": "string",
+ "description": "The origin of operations."
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationProperties",
+ "description": "Properties of operation, include metric specifications.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Properties of operation, include metric specifications.",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification",
+ "description": "One property of operation, include metric specifications."
+ }
+ }
+ },
+ "ServiceSpecification": {
+ "description": "One property of operation, include metric specifications.",
+ "properties": {
+ "metricSpecifications": {
+ "description": "Metric specifications of operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSpecification"
+ }
+ }
+ }
+ },
+ "MetricSpecification": {
+ "description": "Metric specification of operation.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of metric specification."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of metric specification."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "Display description of metric specification."
+ },
+ "unit": {
+ "type": "string",
+ "description": "Unit could be Bytes or Count."
+ },
+ "dimensions": {
+ "description": "Dimensions of blobs, including blob type and access tier.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Dimension"
+ }
+ },
+ "aggregationType": {
+ "type": "string",
+ "description": "Aggregation type could be Average."
+ },
+ "fillGapWithZero": {
+ "type": "boolean",
+ "description": "The property to decide fill gap with zero or not."
+ },
+ "category": {
+ "type": "string",
+ "description": "The category this metric specification belong to, could be Capacity."
+ },
+ "resourceIdDimensionNameOverride": {
+ "type": "string",
+ "description": "Account Resource Id."
+ }
+ }
+ },
+ "Dimension": {
+ "description": "Dimension of blobs, possibly be blob type or access tier.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Display name of dimension."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of dimension."
+ }
+ }
+ },
+ "ResourceNameAvailability": {
+ "description": "Information regarding availability of a resource name.",
+ "type": "object",
+ "properties": {
+ "isAvailable": {
+ "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InAvailabilityReasonType",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "description": "If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.",
+ "type": "string"
+ }
+ }
+ },
+ "ResourceNameAvailabilityRequest": {
+ "description": "Resource name availability request content.",
+ "required": [
+ "name",
+ "type",
+ "resourceGroup"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Resource name to verify.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource type used for verification.",
+ "enum": [
+ "Microsoft.NetApp/netAppAccounts",
+ "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CheckNameResourceTypes",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group name.",
+ "type": "string"
+ }
+ }
+ },
+ "netAppAccountList": {
+ "description": "List of NetApp account resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Multiple NetApp accounts",
+ "items": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ }
+ }
+ },
+ "netAppAccount": {
+ "description": "NetApp account resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "netAppAccountPatch": {
+ "description": "NetApp account patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "accountProperties": {
+ "description": "NetApp account properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "activeDirectories": {
+ "description": "Active Directories",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/activeDirectory"
+ }
+ }
+ }
+ },
+ "activeDirectory": {
+ "description": "Active Directory",
+ "type": "object",
+ "properties": {
+ "activeDirectoryId": {
+ "type": "string",
+ "description": "Id of the Active Directory"
+ },
+ "username": {
+ "type": "string",
+ "description": "Username of Active Directory domain administrator"
+ },
+ "password": {
+ "type": "string",
+ "description": "Plain text password of Active Directory domain administrator"
+ },
+ "domain": {
+ "type": "string",
+ "description": "Name of the Active Directory domain"
+ },
+ "dns": {
+ "type": "string",
+ "description": "Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain"
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the Active Directory"
+ },
+ "smbServerName": {
+ "type": "string",
+ "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes"
+ },
+ "organizationalUnit": {
+ "type": "string",
+ "description": "The Organizational Unit (OU) within the Windows Active Directory"
+ }
+ }
+ },
+ "capacityPoolList": {
+ "description": "List of capacity pool resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of Capacity pools",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ }
+ }
+ },
+ "capacityPool": {
+ "description": "Capacity pool resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolProperties": {
+ "description": "Pool properties",
+ "type": "object",
+ "required": [
+ "size",
+ "serviceLevel"
+ ],
+ "properties": {
+ "poolId": {
+ "title": "poolId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Pool",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).",
+ "minimum": 4398046511104,
+ "maximum": 549755813888000
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "capacityPoolPatch": {
+ "description": "Capacity pool patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolPatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolPatchProperties": {
+ "description": "Patchable pool properties",
+ "type": "object",
+ "properties": {
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).",
+ "minimum": 4398046511104,
+ "maximum": 549755813888000,
+ "default": 4398046511104
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ }
+ }
+ },
+ "volumeList": {
+ "description": "List of volume resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volume"
+ }
+ }
+ }
+ },
+ "volume": {
+ "description": "Volume resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Volume properties",
+ "$ref": "#/definitions/volumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "resourceTags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Tags are a list of key-value pairs that describe the resource"
+ },
+ "volumeProperties": {
+ "description": "Volume properties",
+ "type": "object",
+ "required": [
+ "creationToken",
+ "usageThreshold",
+ "subnetId"
+ ],
+ "properties": {
+ "fileSystemId": {
+ "title": "FileSystem ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique FileSystem Identifier.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "creationToken": {
+ "title": "Creation Token or File Path",
+ "type": "string",
+ "description": "A unique file path for the volume. Used when creating mount targets",
+ "minimum": 16,
+ "maximum": 40,
+ "example": "some-amazing-filepath"
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 109951162777600,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ }
+ }
+ }
+ },
+ "protocolTypes": {
+ "title": "protocolTypes",
+ "description": "Set of protocol types",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "NFSv4.1"
+ ]
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "snapshotId": {
+ "title": "Snapshot ID",
+ "type": "string",
+ "description": "UUID v4 or resource identifier used to identify the Snapshot.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "baremetalTenantId": {
+ "title": "Baremetal Tenant ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Baremetal Tenant Identifier.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779"
+ },
+ "subnetId": {
+ "type": "string",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes"
+ },
+ "mountTargets": {
+ "title": "mountTargets",
+ "description": "List of mount targets",
+ "items": {
+ "$ref": "#/definitions/mountTargetList"
+ }
+ },
+ "volumeType": {
+ "type": "string",
+ "description": "What type of volume is this",
+ "example": "DataProtection"
+ },
+ "dataProtection": {
+ "title": "DataProtection",
+ "description": "DataProtection volume, can have a replication object",
+ "properties": {
+ "replication": {
+ "title": "Replication",
+ "description": "Replication properties",
+ "type": "object",
+ "$ref": "#/definitions/replicationObject"
+ }
+ }
+ }
+ }
+ },
+ "exportPolicyRule": {
+ "description": "Volume Export Policy Rule",
+ "type": "object",
+ "properties": {
+ "ruleIndex": {
+ "type": "integer",
+ "description": "Order index"
+ },
+ "unixReadOnly": {
+ "type": "boolean",
+ "description": "Read only access"
+ },
+ "unixReadWrite": {
+ "type": "boolean",
+ "description": "Read and write access"
+ },
+ "cifs": {
+ "type": "boolean",
+ "description": "Allows CIFS protocol"
+ },
+ "nfsv3": {
+ "type": "boolean",
+ "description": "Allows NFSv3 protocol"
+ },
+ "nfsv41": {
+ "type": "boolean",
+ "description": "Allows NFSv4.1 protocol"
+ },
+ "allowedClients": {
+ "type": "string",
+ "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names"
+ }
+ }
+ },
+ "replicationObject": {
+ "description": "Replication properties",
+ "type": "object",
+ "required": [
+ "endpointType",
+ "remoteVolumeResourceId",
+ "replicationSchedule"
+ ],
+ "properties": {
+ "replicationId": {
+ "title": "replicationId",
+ "type": "string",
+ "description": "Id"
+ },
+ "endpointType": {
+ "title": "endpointType",
+ "type": "string",
+ "description": "Indicates whether the local volume is the source or destination for the Volume Replication",
+ "example": "src, dst"
+ },
+ "replicationSchedule": {
+ "title": "replicationSchedule",
+ "type": "string",
+ "description": "Schedule",
+ "example": "10minutely, hourly, daily, weekly, monthly"
+ },
+ "remoteVolumeResourceId": {
+ "title": "remoteVolumeResourceId",
+ "type": "string",
+ "description": "The resource ID of the remote volume."
+ }
+ }
+ },
+ "volumePatch": {
+ "description": "Volume patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Patchable volume properties",
+ "$ref": "#/definitions/volumePatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumePatchProperties": {
+ "description": "Patchable volume properties",
+ "type": "object",
+ "properties": {
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 109951162777600,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ }
+ }
+ }
+ }
+ }
+ },
+ "mountTargetList": {
+ "description": "List of Mount Targets",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Mount targets",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/mountTarget"
+ }
+ }
+ }
+ },
+ "mountTarget": {
+ "description": "Mount Target",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ },
+ "properties": {
+ "description": "Mount Target Properties",
+ "$ref": "#/definitions/mountTargetProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "mountTargetProperties": {
+ "description": "Mount target properties",
+ "type": "object",
+ "required": [
+ "fileSystemId"
+ ],
+ "properties": {
+ "mountTargetId": {
+ "title": "mountTargetId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "fileSystemId": {
+ "title": "fileSystemId",
+ "type": "string",
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "ipAddress": {
+ "title": "ipAddress",
+ "description": "The mount target's IPv4 address",
+ "type": "string",
+ "readOnly": true,
+ "example": "1.2.3.4"
+ },
+ "subnet": {
+ "title": "subnet",
+ "type": "string",
+ "description": "The subnet",
+ "example": "1.2.3.4"
+ },
+ "startIp": {
+ "title": "startIp",
+ "description": "The start of IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "endIp": {
+ "title": "endIp",
+ "description": "The end of IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "gateway": {
+ "title": "gateway",
+ "description": "The gateway of the IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "netmask": {
+ "title": "netmask",
+ "description": "The netmask of the IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "255.255.255.0"
+ },
+ "smbServerFqdn": {
+ "title": "smbServerFQDN",
+ "description": "The SMB server's Fully Qualified Domain Name, FQDN",
+ "type": "string",
+ "example": "fullyqualified.domainname.com"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "snapshotsList": {
+ "description": "List of Snapshots",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Snapshots",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/snapshot"
+ }
+ }
+ }
+ },
+ "snapshot": {
+ "description": "Snapshot of a Volume",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ },
+ "properties": {
+ "description": "Snapshot Properties",
+ "$ref": "#/definitions/snapshotProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPatch": {
+ "description": "Snapshot patch",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotProperties": {
+ "description": "Snapshot properties",
+ "type": "object",
+ "properties": {
+ "snapshotId": {
+ "title": "snapshotId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Snapshot",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "fileSystemId": {
+ "title": "fileSystemId",
+ "type": "string",
+ "description": "UUID v4 used to identify the FileSystem",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "created": {
+ "title": "name",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The creation date of the snapshot",
+ "example": "2017-08-15 13:23:33"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "location": {
+ "name": "location",
+ "description": "The location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceGroup": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method"
+ },
+ "AccountName": {
+ "name": "accountName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the NetApp account",
+ "x-ms-parameter-location": "method"
+ },
+ "PoolName": {
+ "name": "poolName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the capacity pool",
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeName": {
+ "name": "volumeName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the volume",
+ "x-ms-parameter-location": "method"
+ },
+ "MountTargetName": {
+ "name": "mountTargetName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the mount target",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotName": {
+ "name": "snapshotName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the mount target",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "description": "Version of the API to be used with the client request.",
+ "in": "query",
+ "type": "string",
+ "required": true,
+ "default": "2019-08-01"
+ }
+ }
+}
From 8d673070ba582e8508f1c977fa60f583fadb96c0 Mon Sep 17 00:00:00 2001
From: leonard
Date: Thu, 5 Dec 2019 15:35:10 +0000
Subject: [PATCH 127/469] ANF-440 update NetApp API to 2019-10-01
---
.../examples/Accounts_CreateOrUpdate.json | 2 +-
.../2019-10-01/examples/Accounts_Delete.json | 2 +-
.../2019-10-01/examples/Accounts_Get.json | 2 +-
.../2019-10-01/examples/Accounts_List.json | 2 +-
.../2019-10-01/examples/Accounts_Update.json | 2 +-
.../examples/CheckFilePathAvailability.json | 2 +-
.../examples/CheckNameAvailability.json | 2 +-
.../examples/MountTargets_List.json | 2 +-
.../examples/Pools_CreateOrUpdate.json | 2 +-
.../2019-10-01/examples/Pools_Delete.json | 2 +-
.../stable/2019-10-01/examples/Pools_Get.json | 2 +-
.../2019-10-01/examples/Pools_List.json | 2 +-
.../2019-10-01/examples/Pools_Update.json | 2 +-
.../2019-10-01/examples/Snapshots_Create.json | 2 +-
.../2019-10-01/examples/Snapshots_Delete.json | 2 +-
.../2019-10-01/examples/Snapshots_Get.json | 2 +-
.../2019-10-01/examples/Snapshots_List.json | 2 +-
.../2019-10-01/examples/Snapshots_Update.json | 2 +-
.../Volumes_AuthorizeReplication.json | 18 ++
.../examples/Volumes_BreakReplication.json | 18 ++
.../examples/Volumes_CreateOrUpdate.json | 2 +-
.../2019-10-01/examples/Volumes_Delete.json | 2 +-
.../examples/Volumes_DeleteReplication.json | 18 ++
.../2019-10-01/examples/Volumes_Get.json | 2 +-
.../2019-10-01/examples/Volumes_List.json | 2 +-
.../examples/Volumes_ReplicationStatus.json | 26 ++
.../examples/Volumes_ResyncReplication.json | 18 ++
.../2019-10-01/examples/Volumes_Update.json | 2 +-
.../stable/2019-10-01/netapp.json | 300 +++++++++++++++++-
.../netapp/resource-manager/readme.go.md | 10 +
.../netapp/resource-manager/readme.java.md | 14 +
.../netapp/resource-manager/readme.md | 12 +-
32 files changed, 446 insertions(+), 34 deletions(-)
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_BreakReplication.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_DeleteReplication.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ReplicationStatus.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ResyncReplication.json
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_CreateOrUpdate.json
index 0419d4bee4b7..eaaee63ae1ec 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_CreateOrUpdate.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_CreateOrUpdate.json
@@ -3,7 +3,7 @@
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {
"location": "eastus",
"properties": {}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Delete.json
index 2a9c050bae91..5171bcab1be2 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Delete.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Delete.json
@@ -3,7 +3,7 @@
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"202": {},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Get.json
index 888483196522..641346872b70 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Get.json
@@ -3,7 +3,7 @@
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_List.json
index c494097c267f..8f3bfeabbdc9 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_List.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Update.json
index 2bf73d359a7b..8de39879f7a1 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Update.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Accounts_Update.json
@@ -3,7 +3,7 @@
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckFilePathAvailability.json
index 61e438a0b0ea..ad2818f8f0c2 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckFilePathAvailability.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckFilePathAvailability.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"location": "eastus",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {
"name": "my-exact-filepth",
"type": "netAppAccount/capacityPools/volume",
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckNameAvailability.json
index 646ba2df55a2..66d6011c7af2 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckNameAvailability.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/CheckNameAvailability.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"location": "eastus",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {
"name": "accName",
"type": "netAppAccount",
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/MountTargets_List.json
index 515cd77646d5..10e9f5736428 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/MountTargets_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/MountTargets_List.json
@@ -5,7 +5,7 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_CreateOrUpdate.json
index 0577b50e64e4..4a5ec998b877 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_CreateOrUpdate.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_CreateOrUpdate.json
@@ -4,7 +4,7 @@
"resourceGroupName": "myRG",
"accountName": "account1",
"poolName": "pool1",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {
"location": "eastus",
"properties": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Delete.json
index de4e00232d6b..c992e9f47c9d 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Delete.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Delete.json
@@ -4,7 +4,7 @@
"resourceGroupName": "myRG",
"accountName": "account1",
"poolName": "pool1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"204": {},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Get.json
index 5c9e106791bd..781755c8a8d0 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Get.json
@@ -4,7 +4,7 @@
"resourceGroupName": "myRG",
"accountName": "account1",
"poolName": "pool1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_List.json
index 99b56256ddcf..a11f1f3b53a5 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_List.json
@@ -3,7 +3,7 @@
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Update.json
index 0faaf0c7a947..26d1b007e46f 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Update.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Pools_Update.json
@@ -4,7 +4,7 @@
"resourceGroupName": "myRG",
"accountName": "account1",
"poolName": "pool1",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Create.json
index f2ae1cad6a69..3b85365671a1 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Create.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Create.json
@@ -6,7 +6,7 @@
"poolName": "pool1",
"volumeName": "volume1",
"snapshotName": "snapshot1",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {
"location": "eastus"
}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Delete.json
index 064269b38ac2..fcea3275035f 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Delete.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Delete.json
@@ -6,7 +6,7 @@
"poolName": "pool1",
"volumeName": "volume1",
"snapshotName": "snapshot1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"204": {},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Get.json
index 1870e448f451..3614d1c22f8e 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Get.json
@@ -6,7 +6,7 @@
"poolName": "pool1",
"volumeName": "volume1",
"snapshotName": "snapshot1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_List.json
index 5024d91118e2..70e5f326a7c1 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_List.json
@@ -5,7 +5,7 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Update.json
index af0698ebf90f..10a3f6b369d5 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Update.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Snapshots_Update.json
@@ -6,7 +6,7 @@
"poolName": "pool1",
"volumeName": "volume1",
"snapshotName": "snapshot1",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
new file mode 100644
index 000000000000..30a117c4952f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-11-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ }
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_BreakReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_BreakReplication.json
new file mode 100644
index 000000000000..30a117c4952f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_BreakReplication.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-11-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ }
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_CreateOrUpdate.json
index 4c2c385eaf36..c4f7587a39a9 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_CreateOrUpdate.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_CreateOrUpdate.json
@@ -5,7 +5,7 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {
"location": "eastus",
"properties": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Delete.json
index 7c0b66cb32dd..274719af69f8 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Delete.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Delete.json
@@ -5,7 +5,7 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"204": {},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_DeleteReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_DeleteReplication.json
new file mode 100644
index 000000000000..30a117c4952f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_DeleteReplication.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-11-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ }
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Get.json
index 173fd5e9c3a4..06ae00af6b5d 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Get.json
@@ -5,7 +5,7 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_List.json
index 32ca22bd8c0a..7a93b302e519 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_List.json
@@ -4,7 +4,7 @@
"resourceGroupName": "myRG",
"accountName": "account1",
"poolName": "pool1",
- "api-version": "2019-08-01"
+ "api-version": "2019-10-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ReplicationStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ReplicationStatus.json
new file mode 100644
index 000000000000..541ea5912398
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ReplicationStatus.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-11-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "healthy": true,
+ "relationshipStatus": "Idle",
+ "mirrorState": "Mirrored",
+ "totalProgress": "1048576",
+ "errorMessage": ""
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ResyncReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ResyncReplication.json
new file mode 100644
index 000000000000..30a117c4952f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ResyncReplication.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-11-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ }
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Update.json
index 4e8ea140d15f..3cb23498ddd8 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Update.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_Update.json
@@ -5,7 +5,7 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-08-01",
+ "api-version": "2019-10-01",
"body": {}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index f46460062840..2be94aa5ac2c 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -3,7 +3,7 @@
"info": {
"title": "Microsoft NetApp",
"description": "Microsoft NetApp Azure Resource Provider specification",
- "version": "2019-08-01",
+ "version": "2019-10-01",
"x-ms-code-generation-settings": {
"name": "AzureNetAppFilesManagementClient"
}
@@ -68,6 +68,9 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": {
"post": {
+ "tags": [
+ "NetApp Resource"
+ ],
"summary": "Check resource name availability",
"description": "Check if a resource name is available.",
"operationId": "NetAppResource_CheckNameAvailability",
@@ -112,6 +115,9 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": {
"post": {
+ "tags": [
+ "NetApp Resource"
+ ],
"summary": "Check file path availability",
"description": "Check if a file path is available.",
"operationId": "NetAppResource_CheckFilePathAvailability",
@@ -877,6 +883,234 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Break volume replication",
+ "description": "Break the replication connection on the destination volume",
+ "operationId": "Volumes_BreakReplication",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_BreakReplication": {
+ "$ref": "examples/Volumes_BreakReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Get volume replication status",
+ "description": "Get the status of the replication",
+ "operationId": "Volumes_ReplicationStatus",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/replicationStatus"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": false,
+ "x-ms-examples": {
+ "Volumes_ReplicationStatus": {
+ "$ref": "examples/Volumes_ReplicationStatus.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Resync volume replication",
+ "description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
+ "operationId": "Volumes_ResyncReplication",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_ResyncReplication": {
+ "$ref": "examples/Volumes_ResyncReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Delete volume replication",
+ "description": "Delete the replication connection on the destination volume, and send release to the source replication",
+ "operationId": "Volumes_DeleteReplication",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_DeleteReplication": {
+ "$ref": "examples/Volumes_DeleteReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Authorize source volume replication",
+ "description": "Authorize the replication connection on the source volume",
+ "operationId": "Volumes_AuthorizeReplication",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "authorize request object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/authorizeRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_AuthorizeReplication": {
+ "$ref": "examples/Volumes_AuthorizeReplication.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": {
"get": {
"tags": [
@@ -1933,9 +2167,15 @@
"title": "Replication",
"description": "Replication properties",
"type": "object",
- "$ref": "#/definitions/replicationObject"
+ "items": {
+ "$ref": "#/definitions/replicationObject"
+ }
}
}
+ },
+ "isRestoring": {
+ "type": "boolean",
+ "description": "Restoring"
}
}
},
@@ -1977,32 +2217,61 @@
"description": "Replication properties",
"type": "object",
"required": [
- "endpointType",
- "remoteVolumeResourceId",
- "replicationSchedule"
+ "replicationSchedule",
+ "remoteVolumeResourceId"
],
"properties": {
"replicationId": {
- "title": "replicationId",
"type": "string",
"description": "Id"
},
"endpointType": {
- "title": "endpointType",
"type": "string",
"description": "Indicates whether the local volume is the source or destination for the Volume Replication",
"example": "src, dst"
},
"replicationSchedule": {
- "title": "replicationSchedule",
"type": "string",
"description": "Schedule",
"example": "10minutely, hourly, daily, weekly, monthly"
},
+ "ownerId": {
+ "type": "string",
+ "description": "Id used to identify the owner of the resource"
+ },
"remoteVolumeResourceId": {
- "title": "remoteVolumeResourceId",
"type": "string",
"description": "The resource ID of the remote volume."
+ },
+ "remoteVolumeRegion": {
+ "type": "string",
+ "description": "The remote region for the other end of the Volume Replication."
+ }
+ }
+ },
+ "replicationStatus": {
+ "description": "Replication status",
+ "type": "object",
+ "properties": {
+ "healthy": {
+ "type": "boolean",
+ "description": "Replication health check"
+ },
+ "relationshipStatus": {
+ "type": "string",
+ "description": "Status of the mirror relationship"
+ },
+ "mirrorState": {
+ "type": "string",
+ "description": "The status of the replication"
+ },
+ "totalProgress": {
+ "type": "string",
+ "description": "The progress of the replication"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Displays error message if the replication is in an error state"
}
}
},
@@ -2334,6 +2603,17 @@
"description": "Azure lifecycle management"
}
}
+ },
+ "authorizeRequest": {
+ "description": "Authorize request",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "remoteVolumeResourceId": {
+ "type": "string",
+ "description": "Resource id"
+ }
+ }
}
},
"parameters": {
@@ -2409,7 +2689,7 @@
"in": "query",
"type": "string",
"required": true,
- "default": "2019-08-01"
+ "default": "2019-10-01"
}
}
}
diff --git a/specification/netapp/resource-manager/readme.go.md b/specification/netapp/resource-manager/readme.go.md
index f682f953d93b..fbe9dad21c96 100644
--- a/specification/netapp/resource-manager/readme.go.md
+++ b/specification/netapp/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-netapp-2019-10-01
- tag: package-netapp-2019-08-01
- tag: package-netapp-2019-07-01
- tag: package-netapp-2019-06-01
@@ -20,6 +21,15 @@ batch:
- tag: package-2017-08-15
```
+### Tag: package-netapp-2019-10-01 and go
+
+These settings apply only when `--tag=package-netapp-2019-10-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-netapp-2019-10-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-10-01/$(namespace)
+```
+
### Tag: package-netapp-2019-08-01 and go
These settings apply only when `--tag=package-netapp-2019-08-01 --go` is specified on the command line.
diff --git a/specification/netapp/resource-manager/readme.java.md b/specification/netapp/resource-manager/readme.java.md
index 804c10758bab..c6c75c0a4e27 100644
--- a/specification/netapp/resource-manager/readme.java.md
+++ b/specification/netapp/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-netapp
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-netapp-2019-10-01
- tag: package-netapp-2019-08-01
- tag: package-netapp-2019-07-01
- tag: package-netapp-2019-06-01
@@ -23,6 +24,19 @@ batch:
- tag: package-2017-08-15
```
+### Tag: package-netapp-2019-10-01 and java
+
+These settings apply only when `--tag=package-netapp-2019-10-01 --java` is specified on the command line.
+Please also specify the `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-netapp-2019-10-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.netapp.v2019_10_01
+ output-folder: $(azure-libraries-for-java-folder)/sdk/netapp/mgmt-v2019_10_01
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-netapp-2019-08-01 and java
These settings apply only when `--tag=package-netapp-2019-08-01 --java` is specified on the command line.
diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md
index 31fe1eade980..4a9d520d9acb 100644
--- a/specification/netapp/resource-manager/readme.md
+++ b/specification/netapp/resource-manager/readme.md
@@ -28,7 +28,16 @@ These are the global settings for the Azure NetApp Files API.
title: NetAppManagementClient
description: Microsoft NetApp Azure Resource Provider specification
openapi-type: arm
-tag: package-netapp-2019-08-01
+tag: package-netapp-2019-10-01
+```
+
+### Tag: package-netapp-2019-10-01
+
+These settings apply only when `--tag=package-netapp-2019-10-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-netapp-2019-10-01'
+input-file:
+- Microsoft.NetApp/stable/2019-10-01/netapp.json
```
### Tag: package-netapp-2019-08-01
@@ -128,6 +137,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.NetApp/stable/2019-10-01/netapp.json
- $(this-folder)/Microsoft.NetApp/stable/2019-08-01/netapp.json
- $(this-folder)/Microsoft.NetApp/stable/2019-07-01/netapp.json
- $(this-folder)/Microsoft.NetApp/stable/2019-06-01/netapp.json
From 6457f4957099d83aed05ff15fdf25d61f27a484a Mon Sep 17 00:00:00 2001
From: leonard
Date: Thu, 5 Dec 2019 16:55:31 +0000
Subject: [PATCH 128/469] ANF-440 correct 2019-10-01 API
---
.../2019-10-01/examples/Volumes_AuthorizeReplication.json | 3 ---
1 file changed, 3 deletions(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
index 30a117c4952f..8eb841ff416e 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
@@ -7,9 +7,6 @@
"volumeName": "volume1",
"api-version": "2019-11-01",
"body": {
- "location": "eastus",
- "properties": {
- }
}
},
"responses": {
From 58335a08924925462c98e55005f0389451695c37 Mon Sep 17 00:00:00 2001
From: leonard
Date: Thu, 5 Dec 2019 22:32:00 +0000
Subject: [PATCH 129/469] ANF-440 API 2019-10-01 corrections
---
.../2019-10-01/examples/Volumes_AuthorizeReplication.json | 5 ++---
.../stable/2019-10-01/examples/Volumes_BreakReplication.json | 5 ++---
.../2019-10-01/examples/Volumes_DeleteReplication.json | 5 ++---
.../2019-10-01/examples/Volumes_ReplicationStatus.json | 5 ++---
.../2019-10-01/examples/Volumes_ResyncReplication.json | 5 ++---
5 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
index 8eb841ff416e..acd424177786 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_AuthorizeReplication.json
@@ -5,9 +5,8 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-11-01",
- "body": {
- }
+ "api-version": "2019-10-01",
+ "body": {}
},
"responses": {
"202": {}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_BreakReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_BreakReplication.json
index 30a117c4952f..370aa3ac0db4 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_BreakReplication.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_BreakReplication.json
@@ -5,11 +5,10 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-11-01",
+ "api-version": "2019-10-01",
"body": {
"location": "eastus",
- "properties": {
- }
+ "properties": {}
}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_DeleteReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_DeleteReplication.json
index 30a117c4952f..370aa3ac0db4 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_DeleteReplication.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_DeleteReplication.json
@@ -5,11 +5,10 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-11-01",
+ "api-version": "2019-10-01",
"body": {
"location": "eastus",
- "properties": {
- }
+ "properties": {}
}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ReplicationStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ReplicationStatus.json
index 541ea5912398..bd4223cdb6b2 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ReplicationStatus.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ReplicationStatus.json
@@ -5,11 +5,10 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-11-01",
+ "api-version": "2019-10-01",
"body": {
"location": "eastus",
- "properties": {
- }
+ "properties": {}
}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ResyncReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ResyncReplication.json
index 30a117c4952f..370aa3ac0db4 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ResyncReplication.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/examples/Volumes_ResyncReplication.json
@@ -5,11 +5,10 @@
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
- "api-version": "2019-11-01",
+ "api-version": "2019-10-01",
"body": {
"location": "eastus",
- "properties": {
- }
+ "properties": {}
}
},
"responses": {
From 477d629d86689c73cdb1ed83f4998f4eca15b137 Mon Sep 17 00:00:00 2001
From: leonard
Date: Tue, 10 Dec 2019 10:49:04 +0000
Subject: [PATCH 130/469] ANF-440 update to API version 2019-10-01
---
.../Microsoft.NetApp/stable/2019-10-01/netapp.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index 2be94aa5ac2c..dcee7d1b019a 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -927,7 +927,7 @@
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus": {
- "post": {
+ "get": {
"tags": [
"Volumes Replication"
],
From 748cf93c3038e4b51ca367996e562653349685da Mon Sep 17 00:00:00 2001
From: leonard
Date: Tue, 17 Dec 2019 16:56:15 +0000
Subject: [PATCH 131/469] ANF-440 2019-10-01 API update
---
.../Microsoft.NetApp/stable/2019-10-01/netapp.json | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index dcee7d1b019a..335144ddbe6b 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -2167,9 +2167,7 @@
"title": "Replication",
"description": "Replication properties",
"type": "object",
- "items": {
- "$ref": "#/definitions/replicationObject"
- }
+ "$ref": "#/definitions/replicationObject"
}
}
},
@@ -2233,7 +2231,7 @@
"replicationSchedule": {
"type": "string",
"description": "Schedule",
- "example": "10minutely, hourly, daily, weekly, monthly"
+ "enum": ["_10minutely, hourly, daily, weekly, monthly"]
},
"ownerId": {
"type": "string",
From 9e39bc5f50c66a2c2a6ada7d37ac67a5bcfddc99 Mon Sep 17 00:00:00 2001
From: leonard
Date: Tue, 17 Dec 2019 17:13:32 +0000
Subject: [PATCH 132/469] ANF-440 update API 2019-10-01
---
.../Microsoft.NetApp/stable/2019-10-01/netapp.json | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index 335144ddbe6b..11d8a8073ad5 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -2231,7 +2231,17 @@
"replicationSchedule": {
"type": "string",
"description": "Schedule",
- "enum": ["_10minutely, hourly, daily, weekly, monthly"]
+ "enum": [
+ "_10minutely",
+ "hourly",
+ "daily",
+ "weekly",
+ "monthly"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationSchedule",
+ "modelAsString": true
+ }
},
"ownerId": {
"type": "string",
From 4cff9c2cea15a5cd762d8fd47f23e06ea372f6be Mon Sep 17 00:00:00 2001
From: leonard
Date: Wed, 18 Dec 2019 14:50:05 +0000
Subject: [PATCH 133/469] ANF-440 update to 2019-10-01
---
.../Microsoft.NetApp/stable/2019-10-01/netapp.json | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index 11d8a8073ad5..19a2c26f5c49 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -2226,7 +2226,14 @@
"endpointType": {
"type": "string",
"description": "Indicates whether the local volume is the source or destination for the Volume Replication",
- "example": "src, dst"
+ "enum": [
+ "src",
+ "dst"
+ ],
+ "x-ms-enum": {
+ "name": "EndointType",
+ "modelAsString": true
+ }
},
"replicationSchedule": {
"type": "string",
From 964f2b1086cd650c7ef97407a218ff86316f05ee Mon Sep 17 00:00:00 2001
From: leonard
Date: Wed, 18 Dec 2019 18:01:13 +0000
Subject: [PATCH 134/469] ANF-440 update API 2019-10-01
---
.../Microsoft.NetApp/stable/2019-10-01/netapp.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index 19a2c26f5c49..34c5d9605bce 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -2231,7 +2231,7 @@
"dst"
],
"x-ms-enum": {
- "name": "EndointType",
+ "name": "EndpointType",
"modelAsString": true
}
},
From bf2fdd267f4546719ae1f50fc45320e924422f82 Mon Sep 17 00:00:00 2001
From: leonard
Date: Thu, 19 Dec 2019 12:30:51 +0000
Subject: [PATCH 135/469] ANF-440 update 2019-10-01 API
---
.../stable/2019-10-01/netapp.json | 28 +++++++++++++------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index 34c5d9605bce..f2ff05368b43 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -2161,7 +2161,7 @@
},
"dataProtection": {
"title": "DataProtection",
- "description": "DataProtection volume, can have a replication object",
+ "description": "DataProtection type volumes include an object containing details of the replication",
"properties": {
"replication": {
"title": "Replication",
@@ -2250,10 +2250,6 @@
"modelAsString": true
}
},
- "ownerId": {
- "type": "string",
- "description": "Id used to identify the owner of the resource"
- },
"remoteVolumeResourceId": {
"type": "string",
"description": "The resource ID of the remote volume."
@@ -2274,11 +2270,28 @@
},
"relationshipStatus": {
"type": "string",
- "description": "Status of the mirror relationship"
+ "description": "Status of the mirror relationship",
+ "enum": [
+ "Idle",
+ "Transferring"
+ ],
+ "x-ms-enum": {
+ "name": "relationshipStatus",
+ "modelAsString": true
+ }
},
"mirrorState": {
"type": "string",
- "description": "The status of the replication"
+ "description": "The status of the replication",
+ "enum": [
+ "Uninitialized",
+ "Mirrored",
+ "Broken"
+ ],
+ "x-ms-enum": {
+ "name": "relationshipStatus",
+ "modelAsString": true
+ }
},
"totalProgress": {
"type": "string",
@@ -2622,7 +2635,6 @@
"authorizeRequest": {
"description": "Authorize request",
"type": "object",
- "x-ms-azure-resource": true,
"properties": {
"remoteVolumeResourceId": {
"type": "string",
From d287b4ae2993dafea8f7eb21fa7097e51a6e34f3 Mon Sep 17 00:00:00 2001
From: leonard
Date: Thu, 19 Dec 2019 13:00:11 +0000
Subject: [PATCH 136/469] ANF-440 update API 2019-10-01
---
.../Microsoft.NetApp/stable/2019-10-01/netapp.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index f2ff05368b43..4134e77f77a2 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -2276,7 +2276,7 @@
"Transferring"
],
"x-ms-enum": {
- "name": "relationshipStatus",
+ "name": "RelationshipStatus",
"modelAsString": true
}
},
@@ -2289,9 +2289,9 @@
"Broken"
],
"x-ms-enum": {
- "name": "relationshipStatus",
+ "name": "MirrorState",
"modelAsString": true
- }
+ }
},
"totalProgress": {
"type": "string",
From ae38884d1cfaa7fc7c67e020d3e01ecc1aaa2e9e Mon Sep 17 00:00:00 2001
From: Leonard Francis
Date: Thu, 19 Dec 2019 23:30:39 +0000
Subject: [PATCH 137/469] Update netapp.json
---
.../Microsoft.NetApp/stable/2019-10-01/netapp.json | 1 -
1 file changed, 1 deletion(-)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
index 4134e77f77a2..f5dd01e2890e 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json
@@ -965,7 +965,6 @@
"description": "Error response describing why the operation failed."
}
},
- "x-ms-long-running-operation": false,
"x-ms-examples": {
"Volumes_ReplicationStatus": {
"$ref": "examples/Volumes_ReplicationStatus.json"
From 8911f4e6dd0582c4c9246adff0d25d2205835ab1 Mon Sep 17 00:00:00 2001
From: giakas
Date: Thu, 19 Dec 2019 14:00:55 -0800
Subject: [PATCH 138/469] Update Dec update of the ContentKeyPolicy and
Encoding Swaggers for MediaServices.
---
custom-words.txt | 1 +
.../stable/2018-07-01/ContentKeyPolicies.json | 29 ++++++++++-
.../stable/2018-07-01/Encoding.json | 51 ++++++++++++++++++-
.../2018-07-01/examples/jobs-create.json | 4 +-
.../2018-07-01/examples/jobs-get-by-name.json | 4 +-
.../jobs-list-all-filter-by-created.json | 20 +++++---
.../jobs-list-all-filter-by-lastmodified.json | 20 +++++---
...obs-list-all-filter-by-name-and-state.json | 6 ++-
.../jobs-list-all-filter-by-name.json | 4 +-
.../jobs-list-all-filter-by-state-eq.json | 8 ++-
.../jobs-list-all-filter-by-state-ne.json | 6 ++-
.../2018-07-01/examples/jobs-list-all.json | 22 +++++---
.../2018-07-01/examples/jobs-update.json | 4 +-
.../examples/transforms-create.json | 12 ++---
.../examples/transforms-get-by-name.json | 4 +-
...transforms-list-all-filter-by-created.json | 6 +--
...forms-list-all-filter-by-lastmodified.json | 6 +--
.../transforms-list-all-filter-by-name.json | 16 +++---
.../examples/transforms-list-all.json | 16 +++---
.../examples/transforms-update.json | 8 +--
20 files changed, 175 insertions(+), 72 deletions(-)
diff --git a/custom-words.txt b/custom-words.txt
index ce169f4f0b37..7c89ec687154 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -196,6 +196,7 @@ bingwebsearch
Bitbucket
Bitlocker
bitness
+bitrates
bitstream
biztalk
blobfuse
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
index 2df77971fd91..3105ddd5d78e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
@@ -8,7 +8,6 @@
"description": "This Swagger was generated by the API Framework.",
"version": "2018-07-01"
},
- "host": "management.azure.com",
"consumes": [
"application/json"
],
@@ -585,6 +584,25 @@
],
"description": "Specifies a configuration for PlayReady licenses."
},
+ "ContentKeyPolicyFairPlayOfflineRentalConfiguration": {
+ "properties": {
+ "playbackDurationSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Playback duration"
+ },
+ "storageDurationSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Storage duration"
+ }
+ },
+ "type": "object",
+ "required": [
+ "playbackDurationSeconds",
+ "storageDurationSeconds"
+ ]
+ },
"ContentKeyPolicyFairPlayConfiguration": {
"x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration",
"allOf": [
@@ -611,6 +629,7 @@
"enum": [
"Unknown",
"Undefined",
+ "DualExpiry",
"PersistentUnlimited",
"PersistentLimited"
],
@@ -625,6 +644,10 @@
"value": "Undefined",
"description": "Key duration is not specified."
},
+ {
+ "value": "DualExpiry",
+ "description": "Dual expiry for offline rental."
+ },
{
"value": "PersistentUnlimited",
"description": "Content key can be persisted with an unlimited duration"
@@ -642,6 +665,10 @@
"type": "integer",
"format": "int64",
"description": "The rental duration. Must be greater than or equal to 0."
+ },
+ "offlineRentalConfiguration": {
+ "$ref": "#/definitions/ContentKeyPolicyFairPlayOfflineRentalConfiguration",
+ "description": "Offline rental policy"
}
},
"type": "object",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
index 963de86b4961..e7b2c360b50c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
@@ -152,6 +152,13 @@
"modelAsString": true
},
"description": "Specifies the maximum resolution at which your video is analyzed. The default behavior is \"SourceResolution,\" which will keep the input video at its original resolution when analyzed. Using \"StandardDefinition\" will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to \"StandardDefinition\" will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics for details). However, faces that end up being too small in the resized video may not be detected."
+ },
+ "experimentalOptions": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Dictionary containing key value pairs for parameters not exposed in the preset itself"
}
},
"type": "object",
@@ -167,7 +174,14 @@
"properties": {
"audioLanguage": {
"type": "string",
- "description": "The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are English ('en-US' and 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the language of your content, it is recommended that you specify it. If the language isn't specified or set to null, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. This language detection feature currently supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and Portuguese. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernable speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'.\""
+ "description": "The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. If the language isn't specified or set to null, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernable speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'.\" The list of supported languages is available here: https://go.microsoft.com/fwlink/?linkid=2109463"
+ },
+ "experimentalOptions": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Dictionary containing key value pairs for parameters not exposed in the preset itself"
}
},
"type": "object",
@@ -851,6 +865,7 @@
"AdaptiveStreaming",
"AACGoodQualityAudio",
"ContentAwareEncodingExperimental",
+ "ContentAwareEncoding",
"H264MultipleBitrate1080p",
"H264MultipleBitrate720p",
"H264MultipleBitrateSD"
@@ -882,6 +897,10 @@
"value": "ContentAwareEncodingExperimental",
"description": "Exposes an experimental preset for content-aware encoding. Given any input content, the service attempts to automatically determine the optimal number of layers, appropriate bitrate and resolution settings for delivery by adaptive streaming. The underlying algorithms will continue to evolve over time. The output will contain MP4 files with video and audio interleaved."
},
+ {
+ "value": "ContentAwareEncoding",
+ "description": "Produces a set of GOP-aligned MP4s by using content-aware encoding. Given any input content, the service performs an initial lightweight analysis of the input content, and uses the results to determine the optimal number of layers, appropriate bitrate and resolution settings for delivery by adaptive streaming. This preset is particularly effective for low and medium complexity videos, where the output files will be at lower bitrates but at a quality that still delivers a good experience to viewers. The output will contain MP4 files with video and audio interleaved."
+ },
{
"value": "H264MultipleBitrate1080p",
"description": "Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 1080p and goes down to 360p."
@@ -1331,6 +1350,20 @@
"label": {
"type": "string",
"description": "A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC date and time at which this Job Output began processing.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC date and time at which this Job Output finished processing.",
+ "readOnly": true,
+ "x-nullable": true
}
},
"type": "object",
@@ -1628,6 +1661,20 @@
"type": "string"
},
"description": "Customer provided key, value pairs that will be returned in Job and JobOutput state events."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC date and time at which this Job began processing.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC date and time at which this Job finished processing.",
+ "readOnly": true,
+ "x-nullable": true
}
},
"type": "object",
@@ -2398,4 +2445,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
index 5d89c32c60fa..72a6e43f5589 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
@@ -32,14 +32,14 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-08-08T16:29:58.2188352Z",
+ "created": "2019-10-10T22:38:03.4426085Z",
"state": "Queued",
"input": {
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job1-InputAsset"
},
- "lastModified": "2018-08-08T16:29:58.2188352Z",
+ "lastModified": "2019-10-10T22:38:03.4426085Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
index 377c1d76d265..183087a8b7f5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
@@ -15,7 +15,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-08-08T16:29:58.1798Z",
+ "created": "0001-01-01T00:00:00Z",
"state": "Queued",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
@@ -27,7 +27,7 @@
}
]
},
- "lastModified": "2018-08-08T16:29:58.1798Z",
+ "lastModified": "0001-01-01T00:00:00Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
index 5edc04a19e36..42e7944ca8b5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
@@ -5,7 +5,7 @@
"resourceGroupName": "contosoresources",
"accountName": "contosomedia",
"transformName": "exampleTransform",
- "$filter": "properties/created ge 2018-09-27T22:56:18.5507138Z and properties/created le 2018-09-27T22:56:28.5507138Z",
+ "$filter": "properties/created ge 2019-10-10T22:38:13.1259050Z and properties/created le 2019-10-10T22:38:23.1259050Z",
"$orderby": "properties/created"
},
"responses": {
@@ -17,7 +17,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-09-27T22:56:18.5507138Z",
+ "created": "2019-10-10T22:38:13.125905Z",
"state": "Processing",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
@@ -29,18 +29,20 @@
}
]
},
- "lastModified": "2018-09-27T22:56:18.5507138Z",
+ "lastModified": "2019-10-10T22:38:13.125905Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:03.125905Z",
"assetName": "job2 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:03.125905Z"
}
},
{
@@ -48,7 +50,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-09-27T22:56:28.5507138Z",
+ "created": "2019-10-10T22:38:23.125905Z",
"state": "Finished",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
@@ -60,18 +62,22 @@
}
]
},
- "lastModified": "2018-09-27T22:56:28.5507138Z",
+ "lastModified": "2019-10-10T22:38:23.125905Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
"state": "Finished",
"progress": 100,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:03.125905Z",
+ "endTime": "2019-10-10T22:38:03.125905Z",
"assetName": "job3 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:03.125905Z",
+ "endTime": "2019-10-10T22:38:03.125905Z"
}
}
]
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
index 0e9639af32a7..a723ced65f38 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
@@ -5,7 +5,7 @@
"resourceGroupName": "contosoresources",
"accountName": "contosomedia",
"transformName": "exampleTransform",
- "$filter": "properties/lastmodified ge 2018-09-27T22:56:18.5821662Z and properties/lastmodified le 2018-09-27T22:56:28.5821662Z",
+ "$filter": "properties/lastmodified ge 2019-10-10T22:38:13.1931019Z and properties/lastmodified le 2019-10-10T22:38:23.1931019Z",
"$orderby": "properties/lastmodified desc"
},
"responses": {
@@ -17,7 +17,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-09-27T22:56:28.5821662Z",
+ "created": "2019-10-10T22:38:23.1931019Z",
"state": "Finished",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
@@ -29,18 +29,22 @@
}
]
},
- "lastModified": "2018-09-27T22:56:28.5821662Z",
+ "lastModified": "2019-10-10T22:38:23.1931019Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
"state": "Finished",
"progress": 100,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:03.1931019Z",
+ "endTime": "2019-10-10T22:38:03.1931019Z",
"assetName": "job3 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:03.1931019Z",
+ "endTime": "2019-10-10T22:38:03.1931019Z"
}
},
{
@@ -48,7 +52,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-09-27T22:56:18.5821662Z",
+ "created": "2019-10-10T22:38:13.1931019Z",
"state": "Processing",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
@@ -60,18 +64,20 @@
}
]
},
- "lastModified": "2018-09-27T22:56:18.5821662Z",
+ "lastModified": "2019-10-10T22:38:13.1931019Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:03.1931019Z",
"assetName": "job2 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:03.1931019Z"
}
}
]
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
index 0c04098bed7c..b12477bd32b4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
@@ -35,11 +35,15 @@
"state": "Finished",
"progress": 100,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:03.0624915Z",
+ "endTime": "2019-10-10T22:38:03.0624915Z",
"assetName": "job3 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:03.0624915Z",
+ "endTime": "2019-10-10T22:38:03.0624915Z"
}
}
]
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
index a1dce95541ee..8da7f11bcff9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
@@ -67,11 +67,13 @@
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:02.7835215Z",
"assetName": "job2 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:02.7835215Z"
}
}
]
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
index 72eabbf3f41b..cc423fb405ab 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
@@ -35,11 +35,13 @@
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:02.8754914Z",
"assetName": "job2 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:02.8754914Z"
}
},
{
@@ -66,11 +68,13 @@
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:02.8754914Z",
"assetName": "job3 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:02.8754914Z"
}
}
]
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
index fbcaef2d9ce2..63b51a77a858 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
@@ -66,11 +66,15 @@
"state": "Finished",
"progress": 100,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:02.9885137Z",
+ "endTime": "2019-10-10T22:38:02.9885137Z",
"assetName": "job4 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:02.9885137Z",
+ "endTime": "2019-10-10T22:38:02.9885137Z"
}
}
]
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
index a389ddb0ee9c..41a11d9d0f13 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
@@ -15,7 +15,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-08-08T16:29:58.0908004Z",
+ "created": "0001-01-01T00:00:00Z",
"state": "Queued",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
@@ -27,7 +27,7 @@
}
]
},
- "lastModified": "2018-08-08T16:29:58.0908004Z",
+ "lastModified": "0001-01-01T00:00:00Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
@@ -46,7 +46,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-08-08T16:29:58.0927994Z",
+ "created": "0001-01-01T00:00:00Z",
"state": "Processing",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
@@ -58,18 +58,20 @@
}
]
},
- "lastModified": "2018-08-08T16:29:58.0927994Z",
+ "lastModified": "0001-01-01T00:00:00Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:02.6465994Z",
"assetName": "job2 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:02.6465994Z"
}
},
{
@@ -77,7 +79,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-08-08T16:29:58.0927994Z",
+ "created": "0001-01-01T00:00:00Z",
"state": "Finished",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
@@ -89,18 +91,22 @@
}
]
},
- "lastModified": "2018-08-08T16:29:58.0927994Z",
+ "lastModified": "0001-01-01T00:00:00Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
"state": "Finished",
"progress": 100,
"label": "example-custom-label",
+ "startTime": "2019-10-10T22:28:02.6465994Z",
+ "endTime": "2019-10-10T22:38:02.6465994Z",
"assetName": "job3 output"
}
],
"priority": "Low",
- "correlationData": {}
+ "correlationData": {},
+ "startTime": "2019-10-10T22:28:02.6465994Z",
+ "endTime": "2019-10-10T22:38:02.6465994Z"
}
}
]
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
index 037037159cb4..a97220dda808 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
@@ -20,7 +20,7 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
"type": "Microsoft.Media/mediaservices/transforms/jobs",
"properties": {
- "created": "2018-08-08T16:29:58.3218119Z",
+ "created": "0001-01-01T00:00:00Z",
"state": "Queued",
"description": "Example job to illustrate update.",
"input": {
@@ -33,7 +33,7 @@
}
]
},
- "lastModified": "2018-08-08T16:29:58.3368364Z",
+ "lastModified": "2019-10-10T22:38:03.737608Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
index b8efcf50fa76..ae90e1d46c54 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
@@ -8,12 +8,8 @@
"parameters": {
"properties": {
"description": "Example Transform to illustrate create and update.",
- "created": "0001-01-01T00:00:00-05:00",
- "lastModified": "0001-01-01T00:00:00-05:00",
"outputs": [
{
- "relativePriority": null,
- "onError": null,
"preset": {
"@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
"presetName": "AdaptiveStreaming"
@@ -30,9 +26,9 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-08-08T16:29:57.9828393-04:00",
+ "created": "2019-10-10T22:38:02.2021719-07:00",
"description": "Example Transform to illustrate create and update.",
- "lastModified": "2018-08-08T16:29:57.9828393-04:00",
+ "lastModified": "2019-10-10T22:38:02.2021719-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
@@ -52,9 +48,9 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-08-08T16:29:57.9828393-04:00",
+ "created": "2019-10-10T22:38:02.2021719-07:00",
"description": "Example Transform to illustrate create and update.",
- "lastModified": "2018-08-08T16:29:57.9998038-04:00",
+ "lastModified": "2019-10-10T22:38:02.2021719-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
index aaa70d241f27..ac965babfe81 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
@@ -14,9 +14,9 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleTransform",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-08-08T16:29:57.8095562-04:00",
+ "created": "2019-10-10T22:38:01.9599144-07:00",
"description": "A sample Transform using the Standard Encoder with a built in preset.",
- "lastModified": "2018-08-08T16:29:57.8095562-04:00",
+ "lastModified": "2019-10-10T22:38:01.9599144-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
index 6e9fff4bb24f..cb09769d7c9d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
@@ -4,7 +4,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contosoresources",
"accountName": "contosomedia",
- "$filter": "properties/created gt 2018-09-27T22:56:07.7621546Z and properties/created le 2018-09-27T22:56:17.7621546Z",
+ "$filter": "properties/created gt 2019-10-10T22:38:01.7859346Z and properties/created le 2019-10-10T22:38:11.7859346Z",
"$orderby": "properties/created"
},
"responses": {
@@ -16,9 +16,9 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-09-27T22:56:17.7621546-07:00",
+ "created": "2019-10-10T22:38:11.7859346-07:00",
"description": "A sample Transform using the Video Analyzer.",
- "lastModified": "2018-09-27T22:56:17.7621546-07:00",
+ "lastModified": "2019-10-10T22:38:11.7859346-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
index 7a7c451a796b..c545d6075ea6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
@@ -4,7 +4,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contosoresources",
"accountName": "contosomedia",
- "$filter": "properties/lastmodified gt 2018-09-27T22:56:07.7840953Z and properties/lastmodified le 2018-09-27T22:56:17.7840953Z",
+ "$filter": "properties/lastmodified gt 2019-10-10T22:38:01.8751625Z and properties/lastmodified le 2019-10-10T22:38:11.8751625Z",
"$orderby": "properties/lastmodified desc"
},
"responses": {
@@ -16,9 +16,9 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-09-27T22:56:17.7840953-07:00",
+ "created": "2019-10-10T22:38:11.8751625-07:00",
"description": "A sample Transform using the Video Analyzer.",
- "lastModified": "2018-09-27T22:56:17.7840953-07:00",
+ "lastModified": "2019-10-10T22:38:11.8751625-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
index 73abc35d3eff..d618c5340156 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
@@ -16,24 +16,24 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-09-27T22:56:07.5846087-07:00",
+ "created": "2019-10-10T22:38:01.5489351-07:00",
"description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.",
- "lastModified": "2018-09-27T22:56:07.5846087-07:00",
+ "lastModified": "2019-10-10T22:38:01.5489351-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
"relativePriority": "Normal",
"preset": {
- "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset",
- "insightsToExtract": "AllInsights"
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
}
},
{
"onError": "StopProcessingJob",
"relativePriority": "Normal",
"preset": {
- "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
- "presetName": "AdaptiveStreaming"
+ "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset",
+ "insightsToExtract": "AllInsights"
}
}
]
@@ -44,9 +44,9 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-09-27T22:56:07.5846087-07:00",
+ "created": "2019-10-10T22:38:01.5489351-07:00",
"description": "A sample Transform using the Standard Encoder with a built in preset.",
- "lastModified": "2018-09-27T22:56:07.5846087-07:00",
+ "lastModified": "2019-10-10T22:38:01.5489351-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
index 577b65d56e1d..567e63fa1374 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
@@ -14,9 +14,9 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-07-26T19:11:48.9717921-07:00",
+ "created": "2019-10-10T22:38:01.0599386-07:00",
"description": "A sample Transform using the Standard Encoder with a built in preset.",
- "lastModified": "2018-07-26T19:11:48.9717921-07:00",
+ "lastModified": "2019-10-10T22:38:01.0599386-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
@@ -34,24 +34,24 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2018-07-26T19:11:48.9767793-07:00",
+ "created": "2019-10-10T22:38:01.0649389-07:00",
"description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.",
- "lastModified": "2018-07-26T19:11:48.9767793-07:00",
+ "lastModified": "2019-10-10T22:38:01.0649389-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
"relativePriority": "Normal",
"preset": {
- "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset",
- "insightsToExtract": "AllInsights"
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
}
},
{
"onError": "StopProcessingJob",
"relativePriority": "Normal",
"preset": {
- "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
- "presetName": "AdaptiveStreaming"
+ "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset",
+ "insightsToExtract": "AllInsights"
}
}
]
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
index 8676dc1745b7..dba54419f1e4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
@@ -13,7 +13,7 @@
"relativePriority": "High",
"preset": {
"@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
- "presetName": "H264SingleBitrateSD"
+ "presetName": "H264MultipleBitrate720p"
}
}
]
@@ -27,16 +27,16 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/transformToUpdate",
"type": "Microsoft.Media/mediaservices/transforms",
"properties": {
- "created": "2019-05-16T00:42:55.0396825-07:00",
+ "created": "2019-10-10T22:38:02.3591446-07:00",
"description": "Example transform to illustrate update.",
- "lastModified": "2019-05-16T00:42:55.1066827-07:00",
+ "lastModified": "2019-10-10T22:38:02.4291412-07:00",
"outputs": [
{
"onError": "StopProcessingJob",
"relativePriority": "High",
"preset": {
"@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
- "presetName": "H264SingleBitrateSD"
+ "presetName": "H264MultipleBitrate720p"
}
}
]
From da116d9d95e58a89188cc56694c350708ae8d5d5 Mon Sep 17 00:00:00 2001
From: giakas
Date: Thu, 19 Dec 2019 14:07:15 -0800
Subject: [PATCH 139/469] Fixing examples for contentkeypolicy swagger
---
.../examples/content-key-policies-create-playready-open.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
index da7e946e3279..861c50f3edec 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
@@ -7,11 +7,9 @@
"api-version": "2018-07-01",
"parameters": {
"properties": {
- "policyId": "00000000-0000-0000-0000-000000000000",
"description": "ArmPolicyDescription",
"options": [
{
- "policyOptionId": "00000000-0000-0000-0000-000000000000",
"name": "ArmPolicyOptionName",
"configuration": {
"@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
@@ -21,7 +19,9 @@
"beginDate": "2017-10-16T18:22:53.46Z",
"playRight": {
"scmsRestriction": 2,
+ "digitalVideoOnlyContentRestriction": false,
"imageConstraintForAnalogComponentVideoRestriction": true,
+ "imageConstraintForAnalogComputerMonitorRestriction": false,
"allowPassingVideoContentToUnknownOutput": "NotAllowed"
},
"licenseType": "Persistent",
From 31cea42f0f6686feb229c0dc2dd9f1ee4a5f3da3 Mon Sep 17 00:00:00 2001
From: giakas
Date: Thu, 19 Dec 2019 14:14:22 -0800
Subject: [PATCH 140/469] fix prettier error.
---
.../Microsoft.Media/stable/2018-07-01/Encoding.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
index e7b2c360b50c..b0ef0b8e90ff 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
@@ -2445,4 +2445,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
From 49ca3623a8d853be17a604091a7df03c1f68307d Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Thu, 12 Dec 2019 08:09:26 +0800
Subject: [PATCH 141/469] location is required param
---
.../examples/NotificationHubs/NotificationHubCreate.json | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCreate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCreate.json
index a08629736870..772d71feeb39 100644
--- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCreate.json
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCreate.json
@@ -6,6 +6,7 @@
"api-version": "2017-04-01",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
"parameters": {
+ "location": "eastus",
"properties": {}
}
},
@@ -15,7 +16,7 @@
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub",
"name": "nh-sdk-hub",
"type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
- "location": "South Central US",
+ "location": "eastus",
"tags": null,
"properties": {
"registrationTtl": "10675199.02:48:05.4775807",
@@ -28,7 +29,7 @@
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub",
"name": "nh-sdk-hub",
"type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
- "location": "South Central US",
+ "location": "eastus",
"tags": null,
"properties": {
"registrationTtl": "10675199.02:48:05.4775807",
From 2cc93491637753bf230a0c3a9057f6aa2b7bc62a Mon Sep 17 00:00:00 2001
From: Meha Kaushik
Date: Fri, 6 Dec 2019 17:08:10 -0800
Subject: [PATCH 142/469] cosmosdb: fix typo in feed url for sql sprocs,
triggers and udf
---
.../Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
index 9e0e8dae1f18..bb598950972e 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
@@ -1935,7 +1935,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures": {
"get": {
"operationId": "SqlResources_ListSqlStoredProcedures",
"x-ms-examples": {
@@ -2113,7 +2113,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions": {
"get": {
"operationId": "SqlResources_ListSqlUserDefinedFunctions",
"x-ms-examples": {
@@ -2291,7 +2291,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers": {
"get": {
"operationId": "SqlResources_ListSqlTriggers",
"x-ms-examples": {
From 25bd913434cd4d09681743f5ee2f4c3c27faf07a Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Tue, 24 Dec 2019 13:47:28 +0800
Subject: [PATCH 143/469] small fix in SLA-bot email (#8005)
---
.github/sla.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/sla.yml b/.github/sla.yml
index 982e2351d05b..4e4d541c2572 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -7,7 +7,7 @@
args:
booleanFilterExpression: "!(WaitForARMFeedback||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
- message: ' Dear Swagger reviewer,
Please response to the PR ${URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
+ message: ' Dear Swagger reviewer,
Please response to the PR ${URL} . The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${URL}"
description: "None initial response in 48 hours. For public repo."
name: "[PUBLIC] initial response notification"
@@ -20,7 +20,7 @@
args:
booleanFilterExpression: "!(WaitForARMFeedback||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
- message: ' Dear Swagger reviewer,
Please response to the PR ${URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
+ message: ' Dear Swagger reviewer,
Please response to the PR ${URL} . The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${URL}"
description: "None initial response in 48 hours. For private repo."
name: "[PRIVATE] initial response notification"
@@ -34,7 +34,7 @@
booleanFilterExpression: "(WaitForARMFeedback&&!ARMSignedOff&&!ARMChangesRequested&&!ARMReviewInProgress)"
limit: 3d
subject: "Action Required: Please help to review PR ${URL}"
- message: " Dear ARM review board,
Please review PR ${URL}, the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to avoid receiving notification on the same PR.
- Please do not reply to this email, this is an automatic generated email.
Best regards,
Azure Management Experience"
+ message: " Dear ARM review board,
Please review PR ${URL} , the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to avoid receiving notification on the same PR.
- Please do not reply to this email, this is an automatic generated email.
Best regards,
Azure Management Experience"
to: armapireview@microsoft.com
description: "send email to ARM team for over 5 days PRs labelled with WaitForARMFeedback"
name: "send email to ARM team"
@@ -45,6 +45,6 @@
args:
booleanFilterExpression: "triage"
limit: 48h
- message: " Dear Swagger reviewer,
Please response to the issue ${URL}. The issue isn't updated in 48 hours.
Quick info. - If you have any question, please send email to Visual Studio Swagger and Tool team vscswagger@microsoft.com.
Best regards,
Azure Management Experience "
+ message: " Dear Swagger reviewer,
Please response to the issue ${URL} . The issue isn't updated in 48 hours.
Quick info. - If you have any question, please send email to Visual Studio Swagger and Tool team vscswagger@microsoft.com.
Best regards,
Azure Management Experience "
subject: "Action Required: Please respond to issue ${URL}"
cc: Ankun.Ning@microsoft.com
From cb9d867c92eaa4c2c59a6df648ab2cc3989d0802 Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Tue, 24 Dec 2019 13:53:37 +0800
Subject: [PATCH 144/469] Update ci-fix.md (#7998)
---
documentation/ci-fix.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/documentation/ci-fix.md b/documentation/ci-fix.md
index f58660465f5e..707cb739f812 100644
--- a/documentation/ci-fix.md
+++ b/documentation/ci-fix.md
@@ -19,3 +19,5 @@ Or if you want to fix specified service:
```
npm install; npm run prettier -- --write "specification//**/*.json"
```
+
+Then please commit and push changes made by prettier.
From fc1e47c3c140c6c8defa1ef232fb70f8d3b9c9e5 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 24 Dec 2019 16:49:34 +0800
Subject: [PATCH 145/469] moving iotcentral to it's proper location (#8024)
---
specification/iotcentral/resource-manager/readme.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/iotcentral/resource-manager/readme.md b/specification/iotcentral/resource-manager/readme.md
index 9fedb6637ecc..f1677b8b592c 100644
--- a/specification/iotcentral/resource-manager/readme.md
+++ b/specification/iotcentral/resource-manager/readme.md
@@ -151,13 +151,13 @@ python:
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
- output-folder: $(python-sdks-folder)/iotcentral/azure-mgmt-iotcentral/azure/mgmt/iotcentral
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iotcentral/azure/mgmt/iotcentral
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
- output-folder: $(python-sdks-folder)/iotcentral/azure-mgmt-iotcentral
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iotcentral
```
## Multi-API/Profile support for AutoRest v3 generators
From 43a4e3e7cbc7e7dfbae1b5bcac4e3b06af322426 Mon Sep 17 00:00:00 2001
From: Igal Sirotin <42036980+igsiroti@users.noreply.github.com>
Date: Tue, 24 Dec 2019 11:25:17 +0200
Subject: [PATCH 146/469] Adding new rank property to sensitivity label object
(#8023)
* Adding rank property to sensitivity label
* Adding rank property to sensitivity label
---
.../2017-03-01-preview/SensitivityLabels.json | 14 ++++++++++++++
.../managedDatabaseSensitivityLabels.json | 14 ++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/SensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/SensitivityLabels.json
index e841fc45e9e0..bc0009ce5b97 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/SensitivityLabels.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/SensitivityLabels.json
@@ -547,6 +547,20 @@
"description": "Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.",
"type": "boolean",
"readOnly": true
+ },
+ "rank": {
+ "enum": [
+ "None",
+ "Low",
+ "Medium",
+ "High",
+ "Critical"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SensitivityLabelRank",
+ "modelAsString": false
+ }
}
}
},
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json
index 91220fae3e78..22ddff4cc04e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json
@@ -547,6 +547,20 @@
"description": "Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.",
"type": "boolean",
"readOnly": true
+ },
+ "rank": {
+ "enum": [
+ "None",
+ "Low",
+ "Medium",
+ "High",
+ "Critical"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SensitivityLabelRank",
+ "modelAsString": false
+ }
}
}
},
From d24dc780763b23bafba639a199d73c099530b1a4 Mon Sep 17 00:00:00 2001
From: anmolbhatia289 <53425990+anmolbhatia289@users.noreply.github.com>
Date: Tue, 24 Dec 2019 15:02:57 +0530
Subject: [PATCH 147/469] Addition of resync api for migration and fixing
ReplicationMigrationItem examples (#7863)
* adding resync api changes and fixing examples
* reverting addition of vaultLocation and deletion of read-only property
* changing added boolean properties to string
* fixing comments and 2018_07_10 migration examples
* fixing readOnly attribute
* Solving model validation errors - removing readOnly tags from request properties, correcting typo in example, removing non-mandatory property marked as mandatory.
* Model validation failure fixes for 2018-01-10 version.
Co-authored-by: punit1396 <41612766+punit1396@users.noreply.github.com>
---
.../ReplicationMigrationItems_Create.json | 18 +-
.../ReplicationMigrationItems_Get.json | 3 +-
.../ReplicationMigrationItems_List.json | 3 +-
...ListByReplicationProtectionContainers.json | 3 +-
.../ReplicationMigrationItems_Migrate.json | 6 +-
.../ReplicationMigrationItems_Resync.json | 52 ++++
...ReplicationMigrationItems_TestMigrate.json | 7 +-
...tionMigrationItems_TestMigrateCleanup.json | 3 +-
.../ReplicationMigrationItems_Update.json | 3 +-
.../stable/2018-01-10/service.json | 290 ++++++++++++++++--
.../ReplicationMigrationItems_Create.json | 15 +-
.../ReplicationMigrationItems_Migrate.json | 3 +-
...ReplicationMigrationItems_TestMigrate.json | 4 +-
.../ReplicationProtectedItems_AddDisks.json | 2 +-
.../stable/2018-07-10/service.json | 9 +-
15 files changed, 373 insertions(+), 48 deletions(-)
create mode 100644 specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Resync.json
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Create.json
index fd1a7e49c65a..a057706e816e 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Create.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Create.json
@@ -11,7 +11,20 @@
"properties": {
"policyId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationPolicies/vmwarepolicy1",
"providerSpecificDetails": {
- "instanceType": "VMwareCbt"
+ "instanceType": "VMwareCbt",
+ "disksToInclude" : [
+ {
+ "diskId": "disk1",
+ "isOSDisk": "true",
+ "logStorageAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Storage/storageAccounts/logStorageAccount1",
+ "logStorageAccountSasSecretName": "logStorageSas"
+ }
+ ],
+ "vmwareMachineId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/machines/virtualmachine1",
+ "targetNetworkId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1",
+ "targetResourceGroupId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1",
+ "snapshotRunAsAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/runasaccounts/snapshotRunAsAccount1",
+ "dataMoverRunAsAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/runasaccounts/dataMoverRunAsAccount1"
}
}
}
@@ -43,8 +56,7 @@
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
- },
- "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f"
+ }
}
}
},
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Get.json
index a33393f60f51..a9c91731dbaf 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Get.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Get.json
@@ -35,8 +35,7 @@
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
- },
- "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f"
+ }
}
}
}
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_List.json
index 9db384f8dde0..19a8e4221aee 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_List.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_List.json
@@ -34,8 +34,7 @@
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
- },
- "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f"
+ }
}
}
]
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json
index 5628feeb165b..59c3b66bbd2c 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json
@@ -36,8 +36,7 @@
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
- },
- "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f"
+ }
}
}
]
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Migrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Migrate.json
index d7df2cbeeb58..46388e69426d 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Migrate.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Migrate.json
@@ -10,7 +10,8 @@
"migrateInput": {
"properties": {
"providerSpecificDetails": {
- "instanceType": "VMwareCbt"
+ "instanceType": "VMwareCbt",
+ "performShutdown": "true"
}
}
}
@@ -42,8 +43,7 @@
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
- },
- "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f"
+ }
}
}
},
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Resync.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Resync.json
new file mode 100644
index 000000000000..6a0366eb7c02
--- /dev/null
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Resync.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2018-01-10",
+ "migrationItemName": "virtualmachine1",
+ "protectionContainerName": "vmwareContainer1",
+ "fabricName": "vmwarefabric1",
+ "resourceName": "migrationvault",
+ "resourceGroupName": "resourcegroup1",
+ "subscriptionId": "cb53d0c3-bd59-4721-89bc-06916a9147ef",
+ "input": {
+ "properties": {
+ "providerSpecificDetails": {
+ "instanceType": "VMwareCbt",
+ "skipCbtReset": "true"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1",
+ "name": "virtualmachine1",
+ "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems",
+ "properties": {
+ "machineName": "vm-0520-2",
+ "migrationState": "Replicating",
+ "migrationStateDescription": "Ready to migrate",
+ "testMigrateState": "None",
+ "testMigrateStateDescription": "None",
+ "policyFriendlyName": "vmwarepolicy1",
+ "policyId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationPolicies/vmwarepolicy1",
+ "allowedOperations": [
+ "Migrate",
+ "DisableMigration",
+ "TestMigrate",
+ "TestMigrateCleanup"
+ ],
+ "currentJob": {
+ "jobName": "None",
+ "jobId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationJobs/None",
+ "startTime": "2017-04-26T06:37:50.8082715Z"
+ },
+ "providerSpecificDetails": {
+ "instanceType": "VMwareCbt"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrate.json
index 76940f415b44..0d0e63a0fb35 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrate.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrate.json
@@ -10,7 +10,9 @@
"testMigrateInput": {
"properties": {
"providerSpecificDetails": {
- "instanceType": "VMwareCbt"
+ "instanceType": "VMwareCbt",
+ "recoveryPointId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1/migrationRecoveryPoints/9e737191-317e-43d0-8c83-e32ac3b34686",
+ "networkId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1"
}
}
}
@@ -42,8 +44,7 @@
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
- },
- "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f"
+ }
}
}
},
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json
index c58e8845447e..4314f62f8aa3 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json
@@ -40,8 +40,7 @@
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
- },
- "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f"
+ }
}
}
},
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Update.json
index ac1b359a84a4..2d905ff8cebb 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Update.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Update.json
@@ -42,8 +42,7 @@
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
- },
- "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f"
+ }
}
}
},
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/service.json
index a3aa88b0b87a..729374001a66 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/service.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/service.json
@@ -2147,6 +2147,83 @@
}
}
},
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/resync": {
+ "post": {
+ "tags": [
+ "ReplicationMigrationItems"
+ ],
+ "summary": "Resynchronizes replication.",
+ "description": "The operation to resynchronize replication of an ASR migration item.",
+ "operationId": "ReplicationMigrationItems_Resync",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/ResourceName"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "fabricName",
+ "in": "path",
+ "description": "Fabric name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "protectionContainerName",
+ "in": "path",
+ "description": "Protection container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "migrationItemName",
+ "in": "path",
+ "description": "Migration item name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "input",
+ "in": "body",
+ "description": "Resync input.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResyncInput"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrationItem"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Resynchronizes replication.": {
+ "$ref": "./examples/ReplicationMigrationItems_Resync.json"
+ }
+ }
+ }
+ },
"/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrate": {
"post": {
"tags": [
@@ -8781,6 +8858,11 @@
"description": "The friendly name of the source of the event on which it is raised (for example, VM, VMM etc).",
"type": "string"
},
+ "affectedObjectCorrelationId": {
+ "description": "The affected object correlationId for the event.",
+ "type": "string",
+ "readOnly": true
+ },
"severity": {
"description": "The severity of the event.",
"type": "string"
@@ -8847,6 +8929,11 @@
"description": "The affected object name of the events to be queried.",
"type": "string"
},
+ "affectedObjectCorrelationId": {
+ "description": "The affected object correlationId for the events to be queried.",
+ "type": "string",
+ "readOnly": true
+ },
"startTime": {
"format": "date-time",
"description": "The start time of the time range within which the events are to be queried.",
@@ -9025,8 +9112,7 @@
"properties": {
"instanceType": {
"description": "Gets the class type.",
- "type": "string",
- "readOnly": true
+ "type": "string"
}
},
"discriminator": "instanceType"
@@ -12332,11 +12418,6 @@
"type": "string",
"readOnly": true
},
- "recoveryServicesProviderId": {
- "description": "The recovery services provider ARM Id.",
- "type": "string",
- "readOnly": true
- },
"migrationState": {
"description": "The migration status.",
"enum": [
@@ -12364,6 +12445,17 @@
"type": "string",
"readOnly": true
},
+ "lastTestMigrationTime": {
+ "format": "date-time",
+ "description": "The last test migration time.",
+ "type": "string",
+ "readOnly": true
+ },
+ "lastTestMigrationStatus": {
+ "description": "The status of the last test migration.",
+ "type": "string",
+ "readOnly": true
+ },
"testMigrateState": {
"description": "The test migrate state.",
"enum": [
@@ -12387,8 +12479,18 @@
},
"health": {
"description": "The consolidated health.",
+ "enum": [
+ "None",
+ "Normal",
+ "Warning",
+ "Critical"
+ ],
"type": "string",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ProtectionHealth",
+ "modelAsString": true
+ }
},
"healthErrors": {
"description": "The list of health errors.",
@@ -12406,7 +12508,8 @@
"DisableMigration",
"TestMigrate",
"TestMigrateCleanup",
- "Migrate"
+ "Migrate",
+ "StartResync"
],
"type": "string",
"x-ms-enum": {
@@ -12421,6 +12524,11 @@
"description": "The current job details.",
"readOnly": true
},
+ "eventCorrelationId": {
+ "description": "The correlation Id for events associated with this migration item.",
+ "type": "string",
+ "readOnly": true
+ },
"providerSpecificDetails": {
"$ref": "#/definitions/MigrationProviderSpecificSettings",
"description": "The migration provider custom settings."
@@ -13673,9 +13781,6 @@
},
"RecoveryPlanHyperVReplicaAzureFailoverInput": {
"description": "Recovery plan HVR Azure failover input.",
- "required": [
- "vaultLocation"
- ],
"type": "object",
"allOf": [
{
@@ -14590,6 +14695,14 @@
"items": {
"$ref": "#/definitions/HealthErrorSummary"
}
+ },
+ "categorizedResourceCounts": {
+ "description": "The categorized resource counts.",
+ "type": "object",
+ "additionalProperties": {
+ "format": "int32",
+ "type": "integer"
+ }
}
}
},
@@ -14613,6 +14726,46 @@
}
}
},
+ "ResyncInput": {
+ "description": "Resync input.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ResyncInputProperties",
+ "description": "Resync input properties."
+ }
+ }
+ },
+ "ResyncInputProperties": {
+ "description": "Resync input properties.",
+ "required": [
+ "providerSpecificDetails"
+ ],
+ "type": "object",
+ "properties": {
+ "providerSpecificDetails": {
+ "$ref": "#/definitions/ResyncProviderSpecificInput",
+ "description": "The provider specific details."
+ }
+ }
+ },
+ "ResyncProviderSpecificInput": {
+ "description": "Resync provider specific input.",
+ "required": [
+ "instanceType"
+ ],
+ "type": "object",
+ "properties": {
+ "instanceType": {
+ "description": "The class type.",
+ "type": "string"
+ }
+ },
+ "discriminator": "instanceType"
+ },
"RetentionVolume": {
"description": "The retention details of the MT.",
"type": "object",
@@ -14949,8 +15102,7 @@
"properties": {
"instanceType": {
"description": "Gets the Instance type.",
- "type": "string",
- "readOnly": true
+ "type": "string"
}
},
"discriminator": "instanceType"
@@ -15167,6 +15319,7 @@
"properties": {
"comments": {
"description": "Test migrate cleanup comments.",
+ "maxLength": 1024,
"type": "string"
}
}
@@ -15939,7 +16092,7 @@
}
],
"properties": {},
- "x-ms-discriminator-value": "6c7da455-506f-43ff-a16a-8eb101aebb70"
+ "x-ms-discriminator-value": "VMwareCbt"
},
"VMwareCbtContainerMappingInput": {
"description": "VMwareCbt container mapping input.",
@@ -16050,6 +16203,7 @@
},
"disksToInclude": {
"description": "The disks to include list.",
+ "minLength": 1,
"type": "array",
"items": {
"$ref": "#/definitions/VMwareCbtDiskInput"
@@ -16103,6 +16257,27 @@
"targetBootDiagnosticsStorageAccountId": {
"description": "The target boot diagnostics storage account ARM Id.",
"type": "string"
+ },
+ "performAutoResync": {
+ "description": "A value indicating whether auto resync is to be done.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "VMwareCbt"
+ },
+ "VMwareCbtEventDetails": {
+ "description": "Event details for VMwareCbt provider.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventProviderSpecificDetails"
+ }
+ ],
+ "properties": {
+ "migrationItemName": {
+ "description": "The migration item name.",
+ "type": "string",
+ "readOnly": true
}
},
"x-ms-discriminator-value": "VMwareCbt"
@@ -16128,7 +16303,7 @@
"x-ms-discriminator-value": "VMwareCbt"
},
"VMwareCbtMigrationDetails": {
- "description": "VMwareCbt provider specific settings",
+ "description": "VMwareCbt provider specific settings.",
"type": "object",
"allOf": [
{
@@ -16213,6 +16388,47 @@
"description": "The last recovery point received time.",
"type": "string",
"readOnly": true
+ },
+ "lastRecoveryPointId": {
+ "description": "The last recovery point Id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "initialSeedingProgressPercentage": {
+ "format": "int32",
+ "description": "The initial seeding progress percentage.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "migrationProgressPercentage": {
+ "format": "int32",
+ "description": "The migration progress percentage.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "resyncProgressPercentage": {
+ "format": "int32",
+ "description": "The resync progress percentage.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "resyncState": {
+ "description": "The resync state.",
+ "enum": [
+ "None",
+ "PreparedForResynchronization",
+ "StartedResynchronization"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ResyncState",
+ "modelAsString": true
+ }
+ },
+ "performAutoResync": {
+ "description": "A value indicating whether auto resync is to be done.",
+ "type": "string"
}
},
"x-ms-discriminator-value": "VMwareCbt"
@@ -16422,7 +16638,7 @@
],
"type": "string",
"x-ms-enum": {
- "name": "DiskType",
+ "name": "DiskAccountType",
"modelAsString": true
}
}
@@ -16470,6 +16686,26 @@
},
"x-ms-discriminator-value": "VMwareCbt"
},
+ "VMwareCbtResyncInput": {
+ "description": "VMwareCbt specific resync input.",
+ "required": [
+ "skipCbtReset",
+ "instanceType"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResyncProviderSpecificInput"
+ }
+ ],
+ "properties": {
+ "skipCbtReset": {
+ "description": "A value indicating whether CBT is to be reset.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "VMwareCbt"
+ },
"VMwareCbtTestMigrateInput": {
"description": "VMwareCbt specific test migrate input.",
"required": [
@@ -16530,6 +16766,7 @@
},
"vmNics": {
"description": "The list of NIC details.",
+ "minLength": 1,
"type": "array",
"items": {
"$ref": "#/definitions/VMwareCbtNicInput"
@@ -16547,6 +16784,10 @@
"name": "LicenseType",
"modelAsString": true
}
+ },
+ "performAutoResync": {
+ "description": "A value indicating whether auto resync is to be done.",
+ "type": "string"
}
},
"x-ms-discriminator-value": "VMwareCbt"
@@ -16711,7 +16952,6 @@
"VMwareV2FabricCreationInput": {
"description": "VMwareV2 fabric provider specific settings.",
"required": [
- "vmwareSiteId",
"migrationSolutionId"
],
"type": "object",
@@ -16725,6 +16965,10 @@
"description": "The ARM Id of the VMware site.",
"type": "string"
},
+ "physicalSiteId": {
+ "description": "The ARM Id of the physical site.",
+ "type": "string"
+ },
"migrationSolutionId": {
"description": "The ARM Id of the migration solution.",
"type": "string"
@@ -16746,6 +16990,11 @@
"type": "string",
"readOnly": true
},
+ "physicalSiteId": {
+ "description": "The ARM Id of the physical site.",
+ "type": "string",
+ "readOnly": true
+ },
"migrationSolutionId": {
"description": "The Migration solution ARM Id.",
"type": "string",
@@ -16755,6 +17004,11 @@
"description": "The service endpoint.",
"type": "string",
"readOnly": true
+ },
+ "serviceResourceId": {
+ "description": "The service resource Id.",
+ "type": "string",
+ "readOnly": true
}
},
"x-ms-discriminator-value": "VMwareV2"
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Create.json
index d1b5609c2242..15284b3961db 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Create.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Create.json
@@ -11,7 +11,20 @@
"properties": {
"policyId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationPolicies/vmwarepolicy1",
"providerSpecificDetails": {
- "instanceType": "VMwareCbt"
+ "instanceType": "VMwareCbt",
+ "disksToInclude" : [
+ {
+ "diskId": "disk1",
+ "isOSDisk": "true",
+ "logStorageAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Storage/storageAccounts/logStorageAccount1",
+ "logStorageAccountSasSecretName": "logStorageSas"
+ }
+ ],
+ "vmwareMachineId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/machines/virtualmachine1",
+ "targetNetworkId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1",
+ "targetResourceGroupId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1",
+ "snapshotRunAsAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/runasaccounts/snapshotRunAsAccount1",
+ "dataMoverRunAsAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/runasaccounts/dataMoverRunAsAccount1"
}
}
}
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Migrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Migrate.json
index b36b287644a0..6b0a828b1a93 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Migrate.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Migrate.json
@@ -10,7 +10,8 @@
"migrateInput": {
"properties": {
"providerSpecificDetails": {
- "instanceType": "VMwareCbt"
+ "instanceType": "VMwareCbt",
+ "performShutdown": "true"
}
}
}
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrate.json
index c51000eb5348..e77ace744ef2 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrate.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrate.json
@@ -10,7 +10,9 @@
"testMigrateInput": {
"properties": {
"providerSpecificDetails": {
- "instanceType": "VMwareCbt"
+ "instanceType": "VMwareCbt",
+ "recoveryPointId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1/migrationRecoveryPoints/9e737191-317e-43d0-8c83-e32ac3b34686",
+ "networkId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1"
}
}
}
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_AddDisks.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_AddDisks.json
index 69a5201b6fec..c0d87c59ccd5 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_AddDisks.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_AddDisks.json
@@ -14,7 +14,7 @@
"vmDisks": [
{
"diskUri": "https://vmstorage.blob.core.windows.net/vhds/datadisk1.vhd",
- "recoveryAureStorageAccountId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourcegroups/recoveryResource/providers/Microsoft.Storage/storageAccounts/recoverystorage",
+ "recoveryAzureStorageAccountId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourcegroups/recoveryResource/providers/Microsoft.Storage/storageAccounts/recoverystorage",
"primaryStagingAzureStorageAccountId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourcegroups/primaryResource/providers/Microsoft.Storage/storageAccounts/vmcachestorage"
}
]
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
index bbfbccb958b9..b5490a733749 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
@@ -9719,8 +9719,7 @@
"properties": {
"instanceType": {
"description": "Gets the class type.",
- "type": "string",
- "readOnly": true
+ "type": "string"
}
},
"discriminator": "instanceType"
@@ -14470,9 +14469,6 @@
},
"RecoveryPlanHyperVReplicaAzureFailoverInput": {
"description": "Recovery plan HVR Azure failover input.",
- "required": [
- "vaultLocation"
- ],
"type": "object",
"allOf": [
{
@@ -15967,8 +15963,7 @@
"properties": {
"instanceType": {
"description": "Gets the Instance type.",
- "type": "string",
- "readOnly": true
+ "type": "string"
}
},
"discriminator": "instanceType"
From 573851510596c78a43c4c3946d276fe90e292df5 Mon Sep 17 00:00:00 2001
From: Eitan Levin
Date: Wed, 25 Dec 2019 01:11:03 +0200
Subject: [PATCH 148/469] Assessments API (Azure Security Center) (#7678)
* Add asessments swagger
* Add delete option to assessments
* Fixing tests
---
custom-words.txt | 1 +
.../2019-01-01-preview/assessments.json | 374 ++++++++++++++++++
.../Assessments/DeleteAssessment_example.json | 11 +
.../GetAssessmentWithExpand_example.json | 35 ++
.../Assessments/GetAssessment_example.json | 31 ++
.../Assessments/ListAssessments_example.json | 49 +++
.../Assessments/PutAssessment_example.json | 53 +++
.../2019-01-01-preview/subAssessments.json | 75 +---
.../resource-manager/common/v1/types.json | 83 ++++
.../security/resource-manager/readme.md | 86 ++--
10 files changed, 687 insertions(+), 111 deletions(-)
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessments.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/DeleteAssessment_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/GetAssessmentWithExpand_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/GetAssessment_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/ListAssessments_example.json
create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/PutAssessment_example.json
diff --git a/custom-words.txt b/custom-words.txt
index 7c89ec687154..196478d40f1e 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1603,6 +1603,7 @@ VMQS
vmsizes
VMSS
VMSSVM
+vmuuid
vmware
vmwaretools
VMXNET
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessments.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessments.json
new file mode 100644
index 000000000000..9df7c5685835
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessments.json
@@ -0,0 +1,374 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Security Center",
+ "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
+ "version": "2019-01-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.Security/assessments": {
+ "get": {
+ "x-ms-examples": {
+ "List security assessments": {
+ "$ref": "./examples/Assessments/ListAssessments_example.json"
+ }
+ },
+ "tags": [
+ "Assessments"
+ ],
+ "description": "Get security assessments on all your scanned resources inside a scope",
+ "operationId": "Assessments_List",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/Scope"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessmentList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}": {
+ "get": {
+ "x-ms-examples": {
+ "Get security recommendation task from security data location": {
+ "$ref": "./examples/Assessments/GetAssessment_example.json"
+ },
+ "Get security recommendation task from security data location with expand parameter": {
+ "$ref": "./examples/Assessments/GetAssessmentWithExpand_example.json"
+ }
+ },
+ "tags": [
+ "Assessments"
+ ],
+ "description": "Get a security assessment on your scanned resource",
+ "operationId": "Assessments_Get",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
+ },
+ {
+ "$ref": "#/parameters/AssessmentName"
+ },
+ {
+ "$ref": "#/parameters/ExpandAssessments"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Create security recommendation task on a resource": {
+ "$ref": "./examples/Assessments/PutAssessment_example.json"
+ }
+ },
+ "tags": [
+ "Assessments"
+ ],
+ "description": "Create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result",
+ "operationId": "Assessments_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
+ },
+ {
+ "$ref": "#/parameters/AssessmentName"
+ },
+ {
+ "$ref": "#/parameters/AssessmentBody"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessment"
+ }
+ },
+ "200": {
+ "description": "OK - Updated",
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Delete a security recommendation task on a resource": {
+ "$ref": "./examples/Assessments/DeleteAssessment_example.json"
+ }
+ },
+ "tags": [
+ "Assessments"
+ ],
+ "description": "Delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result",
+ "operationId": "Assessments_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
+ },
+ {
+ "$ref": "#/parameters/AssessmentName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Assessment was deleted"
+ },
+ "204": {
+ "description": "No Content - Assessment does not exist"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "SecurityAssessmentList": {
+ "type": "object",
+ "description": "Page of a security assessments list",
+ "properties": {
+ "value": {
+ "description": "Collection of security assessments in this page",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityAssessment"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page."
+ }
+ }
+ },
+ "SecurityAssessment": {
+ "type": "object",
+ "description": "Security assessment on a resource",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SecurityAssessmentProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/Resource"
+ }
+ ]
+ },
+ "SecurityAssessmentProperties": {
+ "type": "object",
+ "description": "Describes properties of an assessment.",
+ "properties": {
+ "resourceDetails": {
+ "$ref": "../../../common/v1/types.json#/definitions/ResourceDetails"
+ },
+ "displayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "User friendly display name of the assessment"
+ },
+ "status": {
+ "$ref": "#/definitions/AssessmentStatus"
+ },
+ "additionalData": {
+ "type": "object",
+ "description": "Additional data regarding the assessment",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "links": {
+ "$ref": "#/definitions/AssessmentLinks"
+ }
+ },
+ "required": [
+ "resourceDetails",
+ "status"
+ ]
+ },
+ "AssessmentLinks": {
+ "type": "object",
+ "description": "Links relevant to the assessment",
+ "readOnly": true,
+ "properties": {
+ "azurePortalUri": {
+ "type": "string",
+ "description": "Link to assessment in Azure Portal",
+ "readOnly": true
+ }
+ }
+ },
+ "AssessmentStatus": {
+ "type": "object",
+ "description": "The result of the assessment",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Programmatic code for the status of the assessment",
+ "enum": [
+ "Healthy",
+ "Unhealthy",
+ "NotApplicable"
+ ],
+ "x-ms-enum": {
+ "name": "AssessmentStatusCode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Healthy",
+ "description": "The resource is healthy"
+ },
+ {
+ "value": "Unhealthy",
+ "description": "The resource has a security issue that needs to be addressed"
+ },
+ {
+ "value": "NotApplicable",
+ "description": "Assessment for this resource did not happen"
+ }
+ ]
+ }
+ },
+ "cause": {
+ "type": "string",
+ "description": "Programmatic code for the cause of the assessment status"
+ },
+ "description": {
+ "type": "string",
+ "description": "Human readable description of the assessment status"
+ }
+ },
+ "required": [
+ "code"
+ ]
+ }
+ },
+ "parameters": {
+ "ExpandAssessments": {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "OData expand. Optional.",
+ "x-ms-parameter-location": "method",
+ "enum": [
+ "links",
+ "metadata"
+ ],
+ "x-ms-enum": {
+ "name": "ExpandEnum",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "links",
+ "description": "All links associated with an assessment"
+ },
+ {
+ "value": "metadata",
+ "description": "Assessment metadata"
+ }
+ ]
+ }
+ },
+ "AssessmentName": {
+ "name": "assessmentName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Assessment Key - Unique key for the assessment type",
+ "x-ms-parameter-location": "method"
+ },
+ "AssessmentBody": {
+ "name": "assessment",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SecurityAssessment"
+ },
+ "description": "Calculated assessment on a pre-defined assessment metadata",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/DeleteAssessment_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/DeleteAssessment_example.json
new file mode 100644
index 000000000000..d4c39e23b6dc
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/DeleteAssessment_example.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "resourceId": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2",
+ "assessmentName": "8bb8be0a-6010-4789-812f-e4d661c4ed0e"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/GetAssessmentWithExpand_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/GetAssessmentWithExpand_example.json
new file mode 100644
index 000000000000..19b0dcfa2ba4
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/GetAssessmentWithExpand_example.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "resourceId": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2",
+ "assessmentName": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "$expand": "links"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/providers/Microsoft.Security/assessments/21300918-b2e3-0346-785f-c77ff57d243b",
+ "name": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "type": "Microsoft.Security/assessments",
+ "properties": {
+ "resourceDetails": {
+ "source": "Azure",
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"
+ },
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "status": {
+ "code": "NotApplicable",
+ "cause": "OffByPolicy",
+ "description": "The effective policy for the assessment was evaluated to off - use Microsoft.Authorization/policyAssignments to turn this assessment on"
+ },
+ "additionalData": {
+ "linkedWorkspaceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myLaWorkspace"
+ },
+ "links": {
+ "azurePortalUri": "https://www.portal.azure.com/?fea#blade/Microsoft_Azure_Security/RecommendationsBlade/assessmentKey/21300918-b2e3-0346-785f-c77ff57d243b"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/GetAssessment_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/GetAssessment_example.json
new file mode 100644
index 000000000000..652044282e4f
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/GetAssessment_example.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "resourceId": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2",
+ "assessmentName": "21300918-b2e3-0346-785f-c77ff57d243b"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/providers/Microsoft.Security/assessments/21300918-b2e3-0346-785f-c77ff57d243b",
+ "name": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "type": "Microsoft.Security/assessments",
+ "properties": {
+ "resourceDetails": {
+ "source": "Azure",
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"
+ },
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "status": {
+ "code": "NotApplicable",
+ "cause": "OffByPolicy",
+ "description": "The effective policy for the assessment was evaluated to off - use Microsoft.Authorization/policyAssignments to turn this assessment on"
+ },
+ "additionalData": {
+ "linkedWorkspaceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myLaWorkspace"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/ListAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/ListAssessments_example.json
new file mode 100644
index 000000000000..e1748ee2443c
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/ListAssessments_example.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Security/assessments/21300918-b2e3-0346-785f-c77ff57d243b",
+ "name": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "type": "Microsoft.Security/assessments",
+ "properties": {
+ "resourceDetails": {
+ "source": "Azure",
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"
+ },
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "status": {
+ "code": "Healthy"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/providers/Microsoft.Security/assessments/21300918-b2e3-0346-785f-c77ff57d243b",
+ "name": "21300918-b2e3-0346-785f-c77ff57d243b",
+ "type": "Microsoft.Security/assessments",
+ "properties": {
+ "resourceDetails": {
+ "source": "Azure",
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"
+ },
+ "displayName": "Install endpoint protection solution on virtual machine scale sets",
+ "status": {
+ "code": "NotApplicable",
+ "cause": "OffByPolicy",
+ "description": "The effective policy for the assessment was evaluated to off - use Microsoft.Authorization/policyAssignments to turn this assessment on"
+ },
+ "additionalData": {
+ "linkedWorkspaceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myLaWorkspace"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/PutAssessment_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/PutAssessment_example.json
new file mode 100644
index 000000000000..f99ff77dc262
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Assessments/PutAssessment_example.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "resourceId": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2",
+ "assessmentName": "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
+ "assessment": {
+ "properties": {
+ "resourceDetails": {
+ "source": "Azure"
+ },
+ "status": {
+ "code": "Healthy"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Security/assessments/8bb8be0a-6010-4789-812f-e4d661c4ed0e",
+ "name": "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
+ "type": "Microsoft.Security/assessments",
+ "properties": {
+ "resourceDetails": {
+ "source": "Azure",
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Security/assessments/8bb8be0a-6010-4789-812f-e4d661c4ed0e"
+ },
+ "displayName": "Install internal agent on VM",
+ "status": {
+ "code": "Healthy"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Security/assessments/8bb8be0a-6010-4789-812f-e4d661c4ed0e",
+ "name": "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
+ "type": "Microsoft.Security/assessments",
+ "properties": {
+ "resourceDetails": {
+ "source": "Azure",
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Security/assessments/8bb8be0a-6010-4789-812f-e4d661c4ed0e"
+ },
+ "displayName": "Install internal agent on VM",
+ "status": {
+ "code": "Healthy"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
index 75e3ec273651..7e0b487c7586 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
@@ -236,87 +236,19 @@
"description": "The date and time the sub-assessment was generated"
},
"resourceDetails": {
- "$ref": "#/definitions/ResourceDetails"
+ "$ref": "../../../common/v1/types.json#/definitions/ResourceDetails"
},
"additionalData": {
"$ref": "#/definitions/AdditionalData"
}
}
},
- "ResourceDetails": {
- "type": "object",
- "description": "Details of the resource that was assessed",
- "discriminator": "source",
- "properties": {
- "source": {
- "readOnly": true,
- "type": "string",
- "description": "The platform where the assessed resource resides",
- "enum": [
- "Azure",
- "Aws"
- ],
- "x-ms-enum": {
- "name": "Source",
- "modelAsString": true,
- "values": [
- {
- "value": "Azure"
- },
- {
- "value": "Aws"
- }
- ]
- }
- }
- }
- },
- "AzureResourceDetails": {
- "type": "object",
- "description": "Details of the resource that was assessed",
- "x-ms-discriminator-value": "Azure",
- "allOf": [
- {
- "$ref": "#/definitions/ResourceDetails"
- }
- ],
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the assessed resource"
- }
- }
- },
- "AwsResourceDetails": {
- "type": "object",
- "description": "Details of the resource that was assessed",
- "x-ms-discriminator-value": "Aws",
- "allOf": [
- {
- "$ref": "#/definitions/ResourceDetails"
- }
- ],
- "properties": {
- "accountId": {
- "readOnly": true,
- "type": "string",
- "description": "AWS account ID"
- },
- "awsResourceId": {
- "readOnly": true,
- "type": "string",
- "description": "AWS resource ID. can be ARN or other"
- }
- }
- },
"AdditionalData": {
"type": "object",
"description": "Details of the sub-assessment",
"discriminator": "assessedResourceType",
"properties": {
"assessedResourceType": {
- "readOnly": true,
"type": "string",
"description": "Sub-assessment resource type",
"enum": [
@@ -340,7 +272,10 @@
]
}
}
- }
+ },
+ "required": [
+ "assessedResourceType"
+ ]
},
"SubAssessmentStatus": {
"type": "object",
diff --git a/specification/security/resource-manager/common/v1/types.json b/specification/security/resource-manager/common/v1/types.json
index 876690153551..5996220fe2bc 100644
--- a/specification/security/resource-manager/common/v1/types.json
+++ b/specification/security/resource-manager/common/v1/types.json
@@ -158,6 +158,89 @@
"AscLocationProperties": {
"type": "object",
"description": "An empty set of properties"
+ },
+ "ResourceDetails": {
+ "type": "object",
+ "description": "Details of the resource that was assessed",
+ "discriminator": "source",
+ "properties": {
+ "source": {
+ "type": "string",
+ "description": "The platform where the assessed resource resides",
+ "enum": [
+ "Azure",
+ "OnPremise"
+ ],
+ "x-ms-enum": {
+ "name": "source",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Azure",
+ "description": "Resource is in Azure"
+ },
+ {
+ "value": "OnPremise",
+ "description": "Resource in an on premise machine connected to Azure cloud"
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "source"
+ ]
+ },
+ "AzureResourceDetails": {
+ "type": "object",
+ "description": "Details of the Azure resource that was assessed",
+ "x-ms-discriminator-value": "Azure",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceDetails"
+ }
+ ],
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Azure resource Id of the assessed resource"
+ }
+ }
+ },
+ "OnPremiseResourceDetails": {
+ "type": "object",
+ "description": "Details of the On Premise resource that was assessed",
+ "x-ms-discriminator-value": "OnPremise",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceDetails"
+ }
+ ],
+ "properties": {
+ "workspaceId": {
+ "type": "string",
+ "description": "Azure resource Id of the workspace the machine is attached to"
+ },
+ "vmuuid": {
+ "type": "string",
+ "description": "The unique Id of the machine"
+ },
+ "sourceComputerId": {
+ "type": "string",
+ "description": "The oms agent Id installed on the machine"
+ },
+ "machineName": {
+ "type": "string",
+ "description": "The name of the machine"
+ }
+ },
+ "required": [
+ "workspaceId",
+ "vmuuid",
+ "sourceComputerId",
+ "machineName"
+ ]
}
},
"parameters": {
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index b9ecf45969c6..5819b640cec4 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -158,6 +158,7 @@ input-file:
- Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/automations.json
- Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
+- Microsoft.Security/preview/2019-01-01-preview/assessments.json
# Needed when there is more than one input file
override-info:
@@ -218,6 +219,8 @@ These settings apply only when `--tag=package-2019-01-preview-only` is specified
input-file:
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
+- Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
+- Microsoft.Security/preview/2019-01-01-preview/assessments.json
# Needed when there is more than one input file
override-info:
@@ -326,47 +329,48 @@ AutoRest V3 generators require the use of `--tag=all-api-versions` to select api
This block is updated by an automatic script. Edits may be lost!
-``` yaml $(tag) == 'all-api-versions' /* autogenerated */
-# include the azure profile definitions from the standard location
-require: $(this-folder)/../../../profiles/readme.md
-
-# all the input files across all versions
-input-file:
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/compliances.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/settings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/operations.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/locations.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/tasks.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/alerts.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/topologies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
- - $(this-folder)/Microsoft.Security/stable/2018-06-01/pricings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
- - $(this-folder)/Microsoft.Security/stable/2019-01-01/alerts.json
- - $(this-folder)/Microsoft.Security/stable/2017-08-01/complianceResults.json
- - $(this-folder)/Microsoft.Security/stable/2019-01-01/settings.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
-
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/compliances.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/settings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/operations.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/locations.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/tasks.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/alerts.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/topologies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
+ - $(this-folder)/Microsoft.Security/stable/2018-06-01/pricings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
+ - $(this-folder)/Microsoft.Security/stable/2019-01-01/alerts.json
+ - $(this-folder)/Microsoft.Security/stable/2017-08-01/complianceResults.json
+ - $(this-folder)/Microsoft.Security/stable/2019-01-01/settings.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/assessments.json
+
```
If there are files that should not be in the `all-api-versions` set,
From d003e8efba86e9c67529de2477ac9d00c67f4a22 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 24 Dec 2019 23:12:40 +0000
Subject: [PATCH 149/469] regenerated all-api-versions
---
.../security/resource-manager/readme.md | 84 +++++++++----------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index 5819b640cec4..0055b511b065 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -329,48 +329,48 @@ AutoRest V3 generators require the use of `--tag=all-api-versions` to select api
This block is updated by an automatic script. Edits may be lost!
-``` yaml $(tag) == 'all-api-versions' /* autogenerated */
-# include the azure profile definitions from the standard location
-require: $(this-folder)/../../../profiles/readme.md
-
-# all the input files across all versions
-input-file:
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/compliances.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/settings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/operations.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/locations.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/tasks.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/alerts.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/topologies.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
- - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
- - $(this-folder)/Microsoft.Security/stable/2018-06-01/pricings.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
- - $(this-folder)/Microsoft.Security/stable/2019-01-01/alerts.json
- - $(this-folder)/Microsoft.Security/stable/2017-08-01/complianceResults.json
- - $(this-folder)/Microsoft.Security/stable/2019-01-01/settings.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
- - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
- - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/assessments.json
-
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/automations.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/pricings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/compliances.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/settings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/operations.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/locations.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/tasks.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/alerts.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/topologies.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
+ - $(this-folder)/Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
+ - $(this-folder)/Microsoft.Security/stable/2018-06-01/pricings.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
+ - $(this-folder)/Microsoft.Security/stable/2019-01-01/alerts.json
+ - $(this-folder)/Microsoft.Security/stable/2017-08-01/complianceResults.json
+ - $(this-folder)/Microsoft.Security/stable/2019-01-01/settings.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
+ - $(this-folder)/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
+ - $(this-folder)/Microsoft.Security/preview/2019-01-01-preview/assessments.json
+
```
If there are files that should not be in the `all-api-versions` set,
From 280fbde3a2563157403a12d70358937b42a12a4a Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Wed, 25 Dec 2019 13:37:44 +0800
Subject: [PATCH 150/469] moving redis form preview to stable (#7918)
* moving redis form preview to stable
* removed preview
* moved files again
* updated default tag
---
.../examples/RedisCacheCheckNameAvailability.json | 2 +-
.../examples/RedisCacheCreate.json | 2 +-
.../examples/RedisCacheDelete.json | 2 +-
.../examples/RedisCacheExport.json | 2 +-
.../examples/RedisCacheFirewallRuleCreate.json | 2 +-
.../examples/RedisCacheFirewallRuleDelete.json | 2 +-
.../examples/RedisCacheFirewallRuleGet.json | 2 +-
.../examples/RedisCacheFirewallRulesList.json | 2 +-
.../examples/RedisCacheForceReboot.json | 2 +-
.../examples/RedisCacheGet.json | 2 +-
.../examples/RedisCacheImport.json | 2 +-
.../examples/RedisCacheLinkedServer_Create.json | 2 +-
.../examples/RedisCacheLinkedServer_Delete.json | 2 +-
.../examples/RedisCacheLinkedServer_Get.json | 2 +-
.../examples/RedisCacheLinkedServer_List.json | 2 +-
.../examples/RedisCacheList.json | 2 +-
.../examples/RedisCacheListByResourceGroup.json | 2 +-
.../examples/RedisCacheListKeys.json | 2 +-
.../RedisCacheListUpgradeNotifications.json | 2 +-
.../RedisCachePatchSchedulesCreateOrUpdate.json | 2 +-
.../examples/RedisCachePatchSchedulesDelete.json | 2 +-
.../examples/RedisCachePatchSchedulesGet.json | 2 +-
.../examples/RedisCachePatchSchedulesList.json | 2 +-
.../examples/RedisCacheRegenerateKey.json | 2 +-
.../examples/RedisCacheUpdate.json | 2 +-
.../{2019-07-01-preview => 2019-07-01}/redis.json | 2 +-
specification/redis/resource-manager/readme.md | 13 +++++++------
27 files changed, 33 insertions(+), 32 deletions(-)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheCheckNameAvailability.json (81%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheCreate.json (99%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheDelete.json (89%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheExport.json (92%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheFirewallRuleCreate.json (95%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheFirewallRuleDelete.json (82%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheFirewallRuleGet.json (92%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheFirewallRulesList.json (95%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheForceReboot.json (87%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheGet.json (97%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheImport.json (91%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheLinkedServer_Create.json (97%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheLinkedServer_Delete.json (81%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheLinkedServer_Get.json (94%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheLinkedServer_List.json (96%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheList.json (95%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheListByResourceGroup.json (95%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheListKeys.json (85%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheListUpgradeNotifications.json (90%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCachePatchSchedulesCreateOrUpdate.json (97%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCachePatchSchedulesDelete.json (82%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCachePatchSchedulesGet.json (94%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCachePatchSchedulesList.json (95%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheRegenerateKey.json (88%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/examples/RedisCacheUpdate.json (97%)
rename specification/redis/resource-manager/Microsoft.Cache/preview/{2019-07-01-preview => 2019-07-01}/redis.json (99%)
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheCheckNameAvailability.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheCheckNameAvailability.json
similarity index 81%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheCheckNameAvailability.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheCheckNameAvailability.json
index aaae56178f22..949e9b879929 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheCheckNameAvailability.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheCheckNameAvailability.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"type": "Microsoft.Cache/Redis",
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheCreate.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheCreate.json
similarity index 99%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheCreate.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheCreate.json
index a38722b60951..6dd7ce792529 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheCreate.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheCreate.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"location": "West US",
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheDelete.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheDelete.json
similarity index 89%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheDelete.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheDelete.json
index cc1cdf4f088b..3bf6443a2226 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheDelete.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheDelete.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheExport.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheExport.json
similarity index 92%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheExport.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheExport.json
index b0b86e4772bc..8f1bbd47b686 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheExport.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheExport.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"format": "RDB",
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleCreate.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleCreate.json
similarity index 95%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleCreate.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleCreate.json
index ff34f3bf6f33..9fe3832d8a20 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleCreate.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleCreate.json
@@ -3,7 +3,7 @@
"ruleName": "rule1",
"cacheName": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"properties": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleDelete.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleDelete.json
similarity index 82%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleDelete.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleDelete.json
index d3d9590892ff..61ef88435d84 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleDelete.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleDelete.json
@@ -3,7 +3,7 @@
"ruleName": "rule1",
"cacheName": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleGet.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleGet.json
similarity index 92%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleGet.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleGet.json
index e686254bc4ac..c32b20d8bd82 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRuleGet.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRuleGet.json
@@ -3,7 +3,7 @@
"ruleName": "rule1",
"cacheName": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRulesList.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRulesList.json
similarity index 95%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRulesList.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRulesList.json
index 246572c15d4b..4bd49d7fbd73 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheFirewallRulesList.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheFirewallRulesList.json
@@ -2,7 +2,7 @@
"parameters": {
"cacheName": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheForceReboot.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheForceReboot.json
similarity index 87%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheForceReboot.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheForceReboot.json
index 00a27b09e3c1..e0d664658354 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheForceReboot.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheForceReboot.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"shardId": 0,
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheGet.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheGet.json
similarity index 97%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheGet.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheGet.json
index 686d55789518..3c0f3dc90c12 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheGet.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheGet.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheImport.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheImport.json
similarity index 91%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheImport.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheImport.json
index 9ce5f1b9c97a..f71f7639515c 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheImport.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheImport.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"format": "RDB",
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Create.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Create.json
similarity index 97%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Create.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Create.json
index 6fb43b4ce64b..7fa130795f0d 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Create.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Create.json
@@ -3,7 +3,7 @@
"name": "cache1",
"resourceGroupName": "rg1",
"linkedServerName": "cache2",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"properties": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Delete.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Delete.json
similarity index 81%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Delete.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Delete.json
index c5f88e5caed5..d6151f08150b 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Delete.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Delete.json
@@ -3,7 +3,7 @@
"name": "cache1",
"resourceGroupName": "rg1",
"linkedServerName": "cache2",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Get.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Get.json
similarity index 94%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Get.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Get.json
index c8726e0d35c7..59531345680e 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_Get.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_Get.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"linkedServerName": "cache2"
},
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_List.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_List.json
similarity index 96%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_List.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_List.json
index fd8bbe3884c5..2d2e5ce58770 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheLinkedServer_List.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheLinkedServer_List.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheList.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheList.json
similarity index 95%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheList.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheList.json
index c90d367b0c6d..992dc4fdb5b5 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheList.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheList.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListByResourceGroup.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListByResourceGroup.json
similarity index 95%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListByResourceGroup.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListByResourceGroup.json
index 29bad13b064e..d34784f6fecf 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListByResourceGroup.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListByResourceGroup.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"resourceGroupName": "rg1",
"subscriptionId": "subid"
},
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListKeys.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListKeys.json
similarity index 85%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListKeys.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListKeys.json
index ec1df929f019..ca25ed050266 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListKeys.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListKeys.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListUpgradeNotifications.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListUpgradeNotifications.json
similarity index 90%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListUpgradeNotifications.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListUpgradeNotifications.json
index 8f5fc852643c..03cd6873cf01 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheListUpgradeNotifications.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheListUpgradeNotifications.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"history": "5000"
},
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesCreateOrUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json
similarity index 97%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesCreateOrUpdate.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json
index 7c980685c339..0e68ab5c722e 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesCreateOrUpdate.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json
@@ -3,7 +3,7 @@
"name": "cache1",
"resourceGroupName": "rg1",
"default": "default",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"properties": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesDelete.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesDelete.json
similarity index 82%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesDelete.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesDelete.json
index 0440875146b8..92b1533dcea6 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesDelete.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesDelete.json
@@ -3,7 +3,7 @@
"name": "cache1",
"resourceGroupName": "rg1",
"default": "default",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesGet.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesGet.json
similarity index 94%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesGet.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesGet.json
index d9cc3263e534..b8a29f5f13e3 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesGet.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesGet.json
@@ -3,7 +3,7 @@
"name": "cache1",
"resourceGroupName": "rg1",
"default": "default",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesList.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesList.json
similarity index 95%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesList.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesList.json
index 42257abed6e5..5cd37e5128b7 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCachePatchSchedulesList.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCachePatchSchedulesList.json
@@ -2,7 +2,7 @@
"parameters": {
"cacheName": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheRegenerateKey.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheRegenerateKey.json
similarity index 88%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheRegenerateKey.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheRegenerateKey.json
index 0306928da05d..d12a227569e0 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheRegenerateKey.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheRegenerateKey.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"keyType": "Primary"
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheUpdate.json
similarity index 97%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheUpdate.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheUpdate.json
index c0c58b654cb1..e7899c8db618 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/examples/RedisCacheUpdate.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/examples/RedisCacheUpdate.json
@@ -2,7 +2,7 @@
"parameters": {
"name": "cache1",
"resourceGroupName": "rg1",
- "api-version": "2019-07-01-preview",
+ "api-version": "2019-07-01",
"subscriptionId": "subid",
"parameters": {
"properties": {
diff --git a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/redis.json b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/redis.json
similarity index 99%
rename from specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/redis.json
rename to specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/redis.json
index f506b6db1958..98d3ebe7adc0 100644
--- a/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01-preview/redis.json
+++ b/specification/redis/resource-manager/Microsoft.Cache/preview/2019-07-01/redis.json
@@ -3,7 +3,7 @@
"info": {
"title": "RedisManagementClient",
"description": "REST API for Azure Redis Cache Service.",
- "version": "2019-07-01-preview"
+ "version": "2019-07-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/specification/redis/resource-manager/readme.md b/specification/redis/resource-manager/readme.md
index d5f060bba566..5b8a8e1ac5b5 100644
--- a/specification/redis/resource-manager/readme.md
+++ b/specification/redis/resource-manager/readme.md
@@ -26,18 +26,19 @@ These are the global settings for the Redis API.
``` yaml
openapi-type: arm
-tag: package-preview-2019-07
+tag: package-2019-07-preview
```
-### Tag: package-preview-2019-07
+### Tag: package-2019-07-preview
-These settings apply only when `--tag=package-preview-2019-07` is specified on the command line.
+These settings apply only when `--tag=package-2019-07-preview` is specified on the command line.
-```yaml $(tag) == 'package-preview-2019-07'
+```yaml $(tag) == 'package-2019-07-preview'
input-file:
- - Microsoft.Cache/preview/2019-07-01-preview/redis.json
+ - Microsoft.Cache/preview/2019-07-01/redis.json
```
+
### Tag: package-2018-03
These settings apply only when `--tag=package-2018-03` is specified on the command line.
@@ -244,7 +245,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- - $(this-folder)/Microsoft.Cache/preview/2019-07-01-preview/redis.json
+ - $(this-folder)/Microsoft.Cache/preview/2019-07-01/redis.json
- $(this-folder)/Microsoft.Cache/stable/2018-03-01/redis.json
- $(this-folder)/Microsoft.Cache/stable/2017-10-01/redis.json
- $(this-folder)/Microsoft.Cache/stable/2017-02-01/redis.json
From 0f2e2375d32687f10d1522ca33a128a45b178fac Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Mon, 16 Dec 2019 07:31:07 +0800
Subject: [PATCH 151/469] added flatten-all
---
specification/notificationhubs/resource-manager/readme.cli.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/notificationhubs/resource-manager/readme.cli.md b/specification/notificationhubs/resource-manager/readme.cli.md
index df9bbb164f98..c1b299df8431 100644
--- a/specification/notificationhubs/resource-manager/readme.cli.md
+++ b/specification/notificationhubs/resource-manager/readme.cli.md
@@ -5,6 +5,7 @@ These settings apply only when `--cli` is specified on the command line.
``` yaml $(cli)
cli:
namespace: azure.mgmt.notificationhubs
+ flatten-all: true
test-scenario:
- name: NameSpaceCreate
- name: NotificationHubCreate
From 418e49a0b82902b806f0994fcb07456eaf2a8cea Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 17 Dec 2019 01:16:02 +0800
Subject: [PATCH 152/469] updated readme
---
.../resource-manager/readme.cli.md | 29 ++-----------------
1 file changed, 3 insertions(+), 26 deletions(-)
diff --git a/specification/notificationhubs/resource-manager/readme.cli.md b/specification/notificationhubs/resource-manager/readme.cli.md
index c1b299df8431..ce55fe094b0a 100644
--- a/specification/notificationhubs/resource-manager/readme.cli.md
+++ b/specification/notificationhubs/resource-manager/readme.cli.md
@@ -9,30 +9,7 @@ cli:
test-scenario:
- name: NameSpaceCreate
- name: NotificationHubCreate
- - name: NameSpaceAuthorizationRuleCreate
- - name: NotificationHubAuthorizationRuleCreate
- - name: NotificationHubAuthorizationRuleGet
- - name: NotificationHubAuthorizationRuleListAll
- - name: NameSpaceAuthorizationRuleGet
- - name: NotificationHubGet
- - name: NameSpaceAuthorizationRuleListAll
- - name: NotificationHubListByNameSpace
- - name: NameSpaceGet
- - name: NameSpaceListByResourceGroup
- - name: NameSpaceList
- - name: OperationsList
- - name: NotificationHubAuthorizationRuleRegenrateKey
- - name: NotificationHubAuthorizationRuleListKey
- - name: NameSpaceAuthorizationRuleRegenerateKey
- - name: notificationHubPnsCredentials
- - name: NameSpaceAuthorizationRuleListKey
- - name: debugsend
- - name: NotificationHubPatch
- - name: notificationHubCheckNameAvailability
- - name: NameSpaceUpdate
- - name: NameSpaceCheckNameAvailability
- - name: NotificationHubAuthorizationRuleDelete
- - name: NameSpaceAuthorizationRuleDelete
- - name: NotificationHubDelete
- - name: NameSpaceDelete
+ cmd-override:
+ "^notificationhubs$": "* namespace"
+ "^notificationhubs notification-hub$": "* hub"
```
From 85d6e58c37868ca84f8f6eec5650dc4ab2d9a19a Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Thu, 26 Dec 2019 13:16:10 +0800
Subject: [PATCH 153/469] generating mixed reality (#8032)
---
.../resource-manager/readme.cli.md | 29 +++++++++++++++++++
.../mixedreality/resource-manager/readme.md | 2 +-
2 files changed, 30 insertions(+), 1 deletion(-)
create mode 100644 specification/mixedreality/resource-manager/readme.cli.md
diff --git a/specification/mixedreality/resource-manager/readme.cli.md b/specification/mixedreality/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..434446387859
--- /dev/null
+++ b/specification/mixedreality/resource-manager/readme.cli.md
@@ -0,0 +1,29 @@
+## CLI
+
+These settings apply only when `--cli` is specified on the command line.
+
+``` yaml $(cli)
+cli:
+ cli-name: mixed-reality
+ package-name: azure-mgmt-mixedreality
+ namespace: azure.mgmt.mixedreality
+ test-scenario:
+ - name: ResourceCreate
+ - name: ResourceCreate
+ - name: ResourceGetKey
+ - name: ResourceGetKey
+ - name: ResourceGet
+ - name: ResourceGet
+ - name: ResourceGet
+ - name: ResourceGet
+ - name: RemoteRenderingAccountPageBySubscription
+ - name: SpatialAnchorsAccountPageBySubscription
+ - name: OperationPage
+ - name: ResourceRegenerateKey
+ - name: ResourceRegenerateKey
+ - name: ResourceCreateOrUpdate
+ - name: ResourceCreateOrUpdate
+ - name: CheckLocalNameAvailability
+ - name: ResourceDelete
+ - name: ResourceDelete
+```
diff --git a/specification/mixedreality/resource-manager/readme.md b/specification/mixedreality/resource-manager/readme.md
index 069de3bd35ca..1cb78ccedaaf 100644
--- a/specification/mixedreality/resource-manager/readme.md
+++ b/specification/mixedreality/resource-manager/readme.md
@@ -25,7 +25,7 @@ These are the global settings for the Mixed Reality Azure Resource Management Cl
title: MixedRealityClient
description: Mixed Reality Client
openapi-type: arm
-tag: package-2019-02-preview
+tag: package-2019-12-preview
```
### Tag: package-2019-12-preview
From 040a211cf5048d5e45db291ede1e9cb414e0b793 Mon Sep 17 00:00:00 2001
From: shbha1 <54190563+shbha1@users.noreply.github.com>
Date: Thu, 26 Dec 2019 21:06:11 -0800
Subject: [PATCH 154/469] [Hub Generated] Review request for
Microsoft.CostManagement to add version stable/2019-10-01 (#7972)
* introduce externalbillingaccount scope for dimension and query api
* Introduce examples for ExternalSubscription and ExternalBillingAccount scopes for Dimensions and Query API
* bug fix - refer to the new example files in json file.
* bug fix - added 200 status in response
* handled examples issues
* json fix (duplicate json value)
* bug fix - json format was incorrect
* fix malformed example ExternalSubscriptionsDimensions.json
Co-authored-by: Shaheen Bhatia
---
.../stable/2019-10-01/costmanagement.json | 22 ++++--
.../ExternalBillingAccountsDimensions.json | 43 ++++++++++
.../ExternalBillingAccountsQuery.json | 79 +++++++++++++++++++
.../ExternalSubscriptionsDimensions.json | 44 +++++++++++
.../examples/ExternalSubscriptionsQuery.json | 75 ++++++++++++++++++
5 files changed, 258 insertions(+), 5 deletions(-)
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalBillingAccountsDimensions.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalBillingAccountsQuery.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalSubscriptionsDimensions.json
create mode 100644 specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalSubscriptionsQuery.json
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json
index 93c69f44d141..09464516c550 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json
@@ -122,7 +122,13 @@
},
"CustomerDimensionsListWithFilter-Modern": {
"$ref": "./examples/MCACustomerDimensionsListWithFilter.json"
- }
+ },
+ "ExternalBillingAccountDimensionList": {
+ "$ref": "./examples/ExternalBillingAccountsDimensions.json"
+ },
+ "ExternalSubscriptionDimensionList": {
+ "$ref": "./examples/ExternalSubscriptionsDimensions.json"
+ }
},
"parameters": [
{
@@ -251,7 +257,13 @@
},
"CustomerQueryGrouping-Modern": {
"$ref": "./examples/MCACustomerQueryGrouping.json"
- }
+ },
+ "ExternalBillingAccountQueryList": {
+ "$ref": "./examples/ExternalBillingAccountsQuery.json"
+ },
+ "ExternalSubscriptionsQuery": {
+ "$ref": "./examples/ExternalSubscriptionsQuery.json"
+ }
},
"parameters": [
{
@@ -1428,7 +1440,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with dimension operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
+ "description": "The scope associated with dimension operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners, 'providers/Microsoft.CostManagement/ExternalSubscriptions/{externalSubscriptionId}' for linked account and 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountId}' for consolidated account",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
@@ -1437,7 +1449,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with query and export operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
+ "description": "The scope associated with query and export operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners, 'providers/Microsoft.CostManagement/ExternalSubscriptions/{externalSubscriptionId}' for linked account and 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountId}' for consolidated account",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
@@ -1446,7 +1458,7 @@
"in": "query",
"required": true,
"type": "string",
- "description": "Version of the API to be used with the client request. The current version is 2018-05-31."
+ "description": "Version of the API to be used with the client request. The current version is 2019-10-01."
},
"subscriptionIdParameter": {
"name": "subscriptionId",
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalBillingAccountsDimensions.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalBillingAccountsDimensions.json
new file mode 100644
index 000000000000..272f944d0a62
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalBillingAccountsDimensions.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "externalBillingAccountId": "100",
+ "scope": "providers/Microsoft.CostManagement/externalBillingAccounts/100"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [{
+ "id": "providers/Microsoft.CostManagement/externalBillingAccounts/100/dimensions_ResourceType_2019-12-01_2019-12-31",
+ "name": "dimensions_ResourceType_2019-12-01_2019-12-31",
+ "type": "microsoft.consumption/dimensions",
+ "properties": {
+ "data": [],
+ "total": 0,
+ "category": "ResourceType",
+ "description": "Resource type",
+ "usageStart": "2019-12-01T00:00:00Z",
+ "usageEnd": "2019-12-31T00:00:00Z",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.CostManagement/externalBillingAccounts/100/dimensions_ResourceId_2019-12-01_2019-12-31",
+ "name": "dimensions_ResourceId_2019-12-01_2019-12-31",
+ "type": "microsoft.consumption/dimensions",
+ "properties": {
+ "data": [],
+ "total": 0,
+ "category": "ResourceId",
+ "description": "Resource ID",
+ "usageStart": "2019-12-01T00:00:00Z",
+ "usageEnd": "2019-12-31T00:00:00Z",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalBillingAccountsQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalBillingAccountsQuery.json
new file mode 100644
index 000000000000..634b5e15f5a1
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalBillingAccountsQuery.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "externalBillingAccountId": "100",
+ "scope": "providers/Microsoft.CostManagement/externalBillingAccounts/100",
+ "parameters": {
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter": {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.CostManagement/externalBillingAccounts/100/query/6dc7b06a-d90a-4df5-b655-ce6cf1c0814d",
+ "name": "6dc7b06a-d90a-4df5-b655-ce6cf1c0814d",
+ "type": "Microsoft.CostManagement/query",
+ "properties": {
+ "nextLink": null,
+ "columns": [{
+ "name": "PreTaxCost",
+ "type": "Number"
+ }, {
+ "name": "ServiceName",
+ "type": "String"
+ }, {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [0.0, "abc db", "USD"],
+ [30.2572751438, "abc compute cloud", "USD"],
+ [0.076757602000000022, "abc file system", "USD"],
+ [50.430964190400012, "abc elasticache", "USD"]
+ ]}
+ }
+ }
+ }
+ }
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalSubscriptionsDimensions.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalSubscriptionsDimensions.json
new file mode 100644
index 000000000000..44a1f404f772
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalSubscriptionsDimensions.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "externalSubscriptionId": "100",
+ "scope": "providers/Microsoft.CostManagement/externalSubscriptions/123"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.CostManagement/externalSubscriptions/123/dimensions_ResourceType_2019-12-01_2019-12-31",
+ "name": "dimensions_ResourceType_2019-12-01_2019-12-31",
+ "type": "microsoft.consumption/dimensions",
+ "properties": {
+ "data": [],
+ "total": 0,
+ "category": "ResourceType",
+ "description": "Resource type",
+ "usageStart": "2019-12-01T00:00:00Z",
+ "usageEnd": "2019-12-31T00:00:00Z",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ },
+ {
+ "id": "providers/Microsoft.CostManagement/externalSubscriptions/123/dimensions_ResourceId_2019-12-01_2019-12-31",
+ "name": "dimensions_ResourceId_2019-12-01_2019-12-31",
+ "type": "microsoft.consumption/dimensions",
+ "properties": {
+ "data": [],
+ "total": 0,
+ "category": "ResourceId",
+ "description": "Resource ID",
+ "usageStart": "2019-12-01T00:00:00Z",
+ "usageEnd": "2019-12-31T00:00:00Z",
+ "filterEnabled": true,
+ "groupingEnabled": true
+ }
+ }]
+ }
+ }
+ }
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalSubscriptionsQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalSubscriptionsQuery.json
new file mode 100644
index 000000000000..707c2a0294f9
--- /dev/null
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ExternalSubscriptionsQuery.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "externalSubscriptionId": "123",
+ "scope": "providers/Microsoft.CostManagement/externalSubscriptions/123",
+ "parameters":{
+ "type": "Usage",
+ "timeframe": "MonthToDate",
+ "dataset": {
+ "granularity": "Daily",
+ "filter" : {
+ "and": [
+ {
+ "or": [
+ {
+ "dimension": {
+ "name": "ResourceLocation",
+ "operator": "In",
+ "values": [
+ "East US",
+ "West Europe"
+ ]
+ }
+ },
+ {
+ "tag": {
+ "name": "Environment",
+ "operator": "In",
+ "values": [
+ "UAT",
+ "Prod"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "dimension": {
+ "name": "ResourceGroup",
+ "operator": "In",
+ "values": [
+ "API"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.CostManagement/externalSubscriptions/123/query/d99477af-7510-40ee-aca2-e59bdca0d10d",
+ "name": "d99477af-7510-40ee-aca2-e59bdca0d10d",
+ "type": "Microsoft.CostManagement/query",
+ "properties": {
+ "nextLink": null,
+ "columns": [{
+ "name": "PreTaxCost",
+ "type": "Number"
+ }, {
+ "name": "UsageDate",
+ "type": "Number"
+ }, {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": []
+ }
+ }
+ }
+ }
+}
From be6ecb2bf2be3641af40b7334e79e1413c9b4ae6 Mon Sep 17 00:00:00 2001
From: omshalev <59170827+omshalev@users.noreply.github.com>
Date: Fri, 27 Dec 2019 09:32:56 +0200
Subject: [PATCH 155/469] Swagger PR for new controller endpoint in
MarketplaceRP (#8027)
* Swagger PR for new controller endpoint in MarketplaceRP
* Fix directory path
* Fix host and types
* Fix OBJECT_ADDITIONAL_PROPERTIES
* Fix swagger schema to meet lint
* Fix security definition and add subscriptionId to path
* Fix lint errors
* Removed unnecessaryexample
* Fix lint error
* fix lint
* Fix more missing operation API
* Fix PR comments
* Fix typescript readme
* Fix comments
* Fix unedeed files for SDK
* Fix JSON reference
---
.../stable/2019-12-01/Marketplace.json | 168 ++++++++++++++++++
.../examples/GetPrivateStoreClient.json | 13 ++
.../marketplace/resource-manager/readme.md | 26 +++
3 files changed, 207 insertions(+)
create mode 100644 specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
create mode 100644 specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2019-12-01/examples/GetPrivateStoreClient.json
create mode 100644 specification/marketplace/resource-manager/readme.md
diff --git a/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2019-12-01/Marketplace.json b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
new file mode 100644
index 000000000000..c37f27897b3a
--- /dev/null
+++ b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
@@ -0,0 +1,168 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-12-01",
+ "title": "Marketplace RP Service"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStoreClient/isPrivateClient": {
+ "get": {
+ "tags": [
+ "isPrivateClient"
+ ],
+ "description": "Check if client is private or not.",
+ "operationId": "PrivateStoreClient_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ }
+ },
+ "x-ms-examples": {
+ "GetPrivateStoreClient": {
+ "$ref": "./examples/GetPrivateStoreClient.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/providers/Microsoft.Marketplace/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available Microsoft.Marketplace REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Microsoft.Marketplace error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the request."
+ },
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Azure subscription ID.",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Error response indicates Microsoft.Marketplace service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+ },
+ "Operation": {
+ "description": "Microsoft.Marketplace REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.Marketplace",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Amendments",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation type: Get Amendments etc.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of the request to list Marketplace operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Microsoft.Marketplace operations supported by the Microsoft.Marketplace resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any.",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "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"
+ }
+ }
+ }
+ }
diff --git a/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2019-12-01/examples/GetPrivateStoreClient.json b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2019-12-01/examples/GetPrivateStoreClient.json
new file mode 100644
index 000000000000..8458e8864299
--- /dev/null
+++ b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2019-12-01/examples/GetPrivateStoreClient.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "resRg",
+ "clusterName": "myCluster",
+ "api-version": "2019-12-01"
+ },
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ }
+ }
+}
diff --git a/specification/marketplace/resource-manager/readme.md b/specification/marketplace/resource-manager/readme.md
new file mode 100644
index 000000000000..9185365eb595
--- /dev/null
+++ b/specification/marketplace/resource-manager/readme.md
@@ -0,0 +1,26 @@
+# marketplace
+
+> see https://aka.ms/autorest
+This is the AutoRest configuration file for marketplace.
+
+## Getting Started
+
+There is no SDK for this endpoint, this is used internaly for calling markeplaceRP from Ibiza.
+
+---
+
+## Configuration
+
+### Basic Information
+
+Make an HTTPs request from Ibiza to the endpoint in order to get the check if user is private or not
+
+
+### Tag: package-2019-12-01
+
+These settings apply only when `--tag=package-2019-12-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-12-01'
+input-file:
+ - Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
+```
\ No newline at end of file
From 4dc4ff6b562d666782e11b66aaa5fefe3ebef399 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Fri, 27 Dec 2019 07:34:35 +0000
Subject: [PATCH 156/469] regenerated all-api-versions
---
.../marketplace/resource-manager/readme.md | 26 ++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/specification/marketplace/resource-manager/readme.md b/specification/marketplace/resource-manager/readme.md
index 9185365eb595..923abb21dfed 100644
--- a/specification/marketplace/resource-manager/readme.md
+++ b/specification/marketplace/resource-manager/readme.md
@@ -23,4 +23,28 @@ These settings apply only when `--tag=package-2019-12-01` is specified on the co
```yaml $(tag) == 'package-2019-12-01'
input-file:
- Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
-```
\ No newline at end of file
+```
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
From 25e497168539117d9c2c9ec69655553856429036 Mon Sep 17 00:00:00 2001
From: punit1396 <41612766+punit1396@users.noreply.github.com>
Date: Mon, 30 Dec 2019 09:07:09 +0530
Subject: [PATCH 157/469] AzureSiteRecovery - Adding new properties for test
failover and resource rename. (#8021)
* Adding new properties for test failover and resource rename.
* Correcting typos.
* Correcting property class.
---
.../stable/2018-07-10/service.json | 96 +++++++++++++++++++
1 file changed, 96 insertions(+)
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
index b5490a733749..5a43715b05d5 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
@@ -7877,6 +7877,14 @@
"kekKeyVaultArmId": {
"description": "The KeyVault resource id for key (KEK).",
"type": "string"
+ },
+ "failoverDiskName": {
+ "description": "The failover name for the managed disk.",
+ "type": "string"
+ },
+ "tfoDiskName": {
+ "description": "The test failover name for the managed disk.",
+ "type": "string"
}
}
},
@@ -8081,6 +8089,10 @@
"description": "The recovery virtual network.",
"type": "string"
},
+ "selectedTfoAzureNetworkId": {
+ "description": "The test failover virtual network.",
+ "type": "string"
+ },
"vmNics": {
"description": "The virtual machine nic details.",
"type": "array",
@@ -8161,6 +8173,10 @@
"name": "VmEncryptionType",
"modelAsString": true
}
+ },
+ "tfoAzureVMName": {
+ "description": "The test failover VM name.",
+ "type": "string"
}
},
"x-ms-discriminator-value": "A2A"
@@ -8328,6 +8344,10 @@
"diskEncryptionInfo": {
"$ref": "#/definitions/DiskEncryptionInfo",
"description": "The recovery os disk encryption information."
+ },
+ "tfoAzureVMName": {
+ "description": "The user given name for test failover VM.",
+ "type": "string"
}
},
"x-ms-discriminator-value": "A2A"
@@ -8403,6 +8423,14 @@
"diskEncryptionInfo": {
"$ref": "#/definitions/DiskEncryptionInfo",
"description": "The recovery disk encryption information (for one / single pass flows)."
+ },
+ "failoverDiskName": {
+ "description": "The target disk name for unplanned failover operation.",
+ "type": "string"
+ },
+ "tfoDiskName": {
+ "description": "The target disk name for test failover operation.",
+ "type": "string"
}
}
},
@@ -12586,6 +12614,27 @@
}
}
},
+ "IPConfig": {
+ "description": "IP configuration details.",
+ "type": "object",
+ "properties": {
+ "staticIPAddress": {
+ "description": "The static IP address of the IP configuration.",
+ "type": "string"
+ },
+ "publicIpAddressId": {
+ "description": "The Id of the public IP address associated with the IP configuration.",
+ "type": "string"
+ },
+ "lBBackendAddressPoolIds": {
+ "description": "The backend address pools associated with the IP configuration.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
"Job": {
"description": "Job details.",
"type": "object",
@@ -16423,6 +16472,10 @@
"description": "Target Azure Network Id.",
"type": "string"
},
+ "selectedTfoAzureNetworkId": {
+ "description": "The Azure Network Id for test failover.",
+ "type": "string"
+ },
"selectedSourceNicId": {
"description": "The selected source nic Id which will be used as the primary nic during failover.",
"type": "string"
@@ -16973,6 +17026,29 @@
"enableAcceleratedNetworkingOnRecovery": {
"description": "A value indicating whether the NIC has accelerated networking enabled.",
"type": "boolean"
+ },
+ "tfoVMNetworkId": {
+ "description": "The network to be used by NIC during test failover.",
+ "type": "string"
+ },
+ "tfoVMSubnetName": {
+ "description": "The subnet to be used by NIC during test failover.",
+ "type": "string"
+ },
+ "tfoNetworkSecurityGroupId": {
+ "description": "The NSG to be used by NIC during test failover.",
+ "type": "string"
+ },
+ "enableAcceleratedNetworkingOnTfo": {
+ "description": "Whether the test failover NIC has accelerated networking enabled.",
+ "type": "boolean"
+ },
+ "tfoIPConfigs": {
+ "description": "The IP configurations to be used by NIC during test failover.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPConfig"
+ }
}
}
},
@@ -17014,6 +17090,26 @@
"enableAcceleratedNetworkingOnRecovery": {
"description": "Whether the NIC has accelerated networking enabled.",
"type": "boolean"
+ },
+ "tfoVMSubnetName": {
+ "description": "The subnet to be used by NIC during test failover.",
+ "type": "string"
+ },
+ "tfoNetworkSecurityGroupId": {
+ "description": "The NSG to be used by NIC during test failover.",
+ "type": "string"
+ },
+ "enableAcceleratedNetworkingOnTfo": {
+ "description": "Whether the test NIC has accelerated networking enabled.",
+ "type": "boolean"
+ },
+ "tfoIPConfigs": {
+ "description": "The IP configurations to be used by NIC during test failover.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPConfig"
+ }
}
}
},
From 31db0ecf6d441f84c03434599df9b71395a1231a Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 31 Dec 2019 13:48:31 +0800
Subject: [PATCH 158/469] Fixed examples in mixed reality (#8036)
* updated examples
* example updates
* additional example names updates
* additional fix
* fixes in test scenario
---
.../examples/CheckLocalNameAvailability.json | 6 +--
.../SpatialAnchorsAccount/Delete.json | 6 +--
.../examples/SpatialAnchorsAccount/Get.json | 12 +++---
.../GetByResourceGroup.json | 14 +++----
.../GetBySubscription.json | 12 +++---
.../SpatialAnchorsAccount/GetKeys.json | 6 +--
.../examples/SpatialAnchorsAccount/Patch.json | 12 +++---
.../examples/SpatialAnchorsAccount/Put.json | 20 +++++-----
.../SpatialAnchorsAccount/RegenerateKey.json | 6 +--
.../2019-02-28-preview/mixedreality.json | 2 +-
...eckNameAvailabilityForLocalUniqueness.json | 6 +--
.../examples/remote-rendering/Delete.json | 6 +--
.../examples/remote-rendering/Get.json | 12 +++---
.../remote-rendering/GetByResourceGroup.json | 14 +++----
.../remote-rendering/GetBySubscription.json | 12 +++---
.../examples/remote-rendering/GetKeys.json | 6 +--
.../examples/remote-rendering/Patch.json | 12 +++---
.../examples/remote-rendering/Put.json | 20 +++++-----
.../remote-rendering/RegenerateKey.json | 6 +--
.../examples/spatial-anchors/Delete.json | 6 +--
.../examples/spatial-anchors/Get.json | 12 +++---
.../spatial-anchors/GetByResourceGroup.json | 14 +++----
.../spatial-anchors/GetBySubscription.json | 12 +++---
.../examples/spatial-anchors/GetKeys.json | 6 +--
.../examples/spatial-anchors/Patch.json | 12 +++---
.../examples/spatial-anchors/Put.json | 20 +++++-----
.../spatial-anchors/RegenerateKey.json | 6 +--
.../preview/2019-12-02-preview/proxy.json | 2 +-
.../2019-12-02-preview/remote-rendering.json | 16 ++++----
.../2019-12-02-preview/spatial-anchors.json | 16 ++++----
.../resource-manager/readme.cli.md | 38 ++++++++++---------
31 files changed, 177 insertions(+), 173 deletions(-)
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/CheckLocalNameAvailability.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/CheckLocalNameAvailability.json
index 6993389a3f5a..55760ca21f3b 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/CheckLocalNameAvailability.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/CheckLocalNameAvailability.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "location": "Global",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "location": "eastus2euap",
"checkNameAvailability": {
- "name": "alpha",
+ "name": "MyAccount",
"type": "SpatialAnchorsAccount"
},
"api-version": "2019-02-28-preview"
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Delete.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Delete.json
index e6be2658eacd..6f5aaed4ab4e 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Delete.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "spatialAnchorsAccountName": "alpha",
+ "spatialAnchorsAccountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Get.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Get.json
index 559debcf1dd4..979a7da7fd6a 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Get.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "spatialAnchorsAccountName": "alpha",
+ "spatialAnchorsAccountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
@@ -14,9 +14,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetByResourceGroup.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetByResourceGroup.json
index 0612ad7a5d0b..89f84009b53a 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetByResourceGroup.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
"api-version": "2019-02-28-preview"
},
@@ -15,9 +15,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
},
{
@@ -26,8 +26,8 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/omega",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/omega",
"name": "omega",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetBySubscription.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetBySubscription.json
index 9c0dd3a9a744..30b1170a7cc4 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetBySubscription.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetBySubscription.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceType": "SpatialAnchorsAccount",
"api-version": "2019-02-28-preview"
},
@@ -14,9 +14,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
},
{
@@ -25,8 +25,8 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/omega",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/omega",
"name": "omega",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetKeys.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetKeys.json
index c8e5fecdbbf8..87e32974eb02 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetKeys.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/GetKeys.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "spatialAnchorsAccountName": "alpha",
+ "spatialAnchorsAccountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Patch.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Patch.json
index 71c450c42c80..1e0fc214422e 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Patch.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Patch.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "spatialAnchorsAccountName": "alpha",
+ "spatialAnchorsAccountName": "MyAccount",
"api-version": "2019-02-28-preview",
"spatialAnchorsAccount": {
"Tags": {
@@ -23,9 +23,9 @@
"heroine": "juliet",
"hero": "romeo"
},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Put.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Put.json
index 062b85028515..e57304e35600 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Put.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/Put.json
@@ -1,12 +1,12 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "spatialAnchorsAccountName": "alpha",
+ "spatialAnchorsAccountName": "MyAccount",
"api-version": "2019-02-28-preview",
"spatialAnchorsAccount": {
- "location": "Global"
+ "location": "eastus2euap"
}
},
"responses": {
@@ -17,9 +17,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
},
@@ -30,9 +30,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/RegenerateKey.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/RegenerateKey.json
index c26a9a4d3836..6b25fc334bff 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/RegenerateKey.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/examples/SpatialAnchorsAccount/RegenerateKey.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "spatialAnchorsAccountName": "alpha",
+ "spatialAnchorsAccountName": "MyAccount",
"api-version": "2019-02-28-preview",
"spatialAnchorsAccountKeyRegenerate": {
"serial": 1
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json
index ca3cf310179d..2cec8ae2cb79 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json
@@ -282,7 +282,7 @@
],
"description": "Updating a Spatial Anchors Account",
"x-ms-examples": {
- "ResourceCreateOrUpdate": {
+ "Update spatial anchors account": {
"$ref": "./examples/SpatialAnchorsAccount/Patch.json"
}
},
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json
index 6993389a3f5a..55760ca21f3b 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "location": "Global",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "location": "eastus2euap",
"checkNameAvailability": {
- "name": "alpha",
+ "name": "MyAccount",
"type": "SpatialAnchorsAccount"
},
"api-version": "2019-02-28-preview"
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Delete.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Delete.json
index 87aa2cf8766c..c730215c6ad8 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Delete.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "RemoteRenderingAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Get.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Get.json
index 8dab265d753e..e32bcabfd770 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Get.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "RemoteRenderingAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
@@ -13,9 +13,9 @@
"accountId": "5007a881-6fb4-4c93-be52-942e355944a5"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/RemoteRenderingAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/RemoteRenderingAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/RemoteRenderingAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetByResourceGroup.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetByResourceGroup.json
index db4928093467..0a963fd47259 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetByResourceGroup.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "RemoteRenderingAccount",
"api-version": "2019-02-28-preview"
},
@@ -14,9 +14,9 @@
"accountId": "5007a881-6fb4-4c93-be52-942e355944a5"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/RemoteRenderingAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/RemoteRenderingAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/RemoteRenderingAccounts"
},
{
@@ -24,8 +24,8 @@
"accountId": "5007a881-6fb4-4c93-be52-942e355944a5"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/RemoteRenderingAccounts/omega",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/RemoteRenderingAccounts/omega",
"name": "omega",
"type": "Microsoft.MixedReality/RemoteRenderingAccounts"
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetBySubscription.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetBySubscription.json
index 5fa17b86258d..8806426bffc0 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetBySubscription.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetBySubscription.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceType": "RemoteRenderingAccount",
"api-version": "2019-02-28-preview"
},
@@ -13,9 +13,9 @@
"accountId": "5007a881-6fb4-4c93-be52-942e355944a5"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/RemoteRenderingAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/RemoteRenderingAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/RemoteRenderingAccounts"
},
{
@@ -23,8 +23,8 @@
"accountId": "5007a881-6fb4-4c93-be52-942e355944a5"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/RemoteRenderingAccounts/omega",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/RemoteRenderingAccounts/omega",
"name": "omega",
"type": "Microsoft.MixedReality/RemoteRenderingAccounts"
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetKeys.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetKeys.json
index e613ee2d463f..911f8f30a1ba 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetKeys.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/GetKeys.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "RemoteRenderingAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Patch.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Patch.json
index 8c7e014ea358..a9f2fdb3f25a 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Patch.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Patch.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "RemoteRenderingAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview",
"remoteRenderingAccount": {
"Tags": {
@@ -22,9 +22,9 @@
"heroine": "juliet",
"hero": "romeo"
},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/RemoteRenderingAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/RemoteRenderingAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/RemoteRenderingAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Put.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Put.json
index cabef07b573e..1e38570241dc 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Put.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/Put.json
@@ -1,12 +1,12 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "RemoteRenderingAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview",
"remoteRenderingAccount": {
- "location": "EastUs2"
+ "location": "eastus2euap"
}
},
"responses": {
@@ -16,9 +16,9 @@
"accountId": "5007a881-6fb4-4c93-be52-942e355944a5"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/RemoteRenderingAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/RemoteRenderingAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/RemoteRenderingAccounts"
}
},
@@ -28,9 +28,9 @@
"accountId": "5007a881-6fb4-4c93-be52-942e355944a5"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/RemoteRenderingAccounts/alpha",
- "name": "alpha",
+ "location": "MyAccount",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/RemoteRenderingAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/RemoteRenderingAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/RegenerateKey.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/RegenerateKey.json
index f8543269f50a..317179e28bd8 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/RegenerateKey.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/remote-rendering/RegenerateKey.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "RemoteRenderingAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview",
"regenerate": {
"serial": 1
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Delete.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Delete.json
index ea9b830ec4e7..a0a2fff32c9d 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Delete.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Get.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Get.json
index 523a779096ea..1b7353910610 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Get.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
@@ -14,9 +14,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetByResourceGroup.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetByResourceGroup.json
index 0612ad7a5d0b..89f84009b53a 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetByResourceGroup.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
"api-version": "2019-02-28-preview"
},
@@ -15,9 +15,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
},
{
@@ -26,8 +26,8 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/omega",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/omega",
"name": "omega",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetBySubscription.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetBySubscription.json
index 9c0dd3a9a744..30b1170a7cc4 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetBySubscription.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetBySubscription.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceType": "SpatialAnchorsAccount",
"api-version": "2019-02-28-preview"
},
@@ -14,9 +14,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
},
{
@@ -25,8 +25,8 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/omega",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/omega",
"name": "omega",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetKeys.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetKeys.json
index 8e9a15de0201..0123a15ce10a 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetKeys.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/GetKeys.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview"
},
"responses": {
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Patch.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Patch.json
index d472ecce7812..7aef35795b68 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Patch.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Patch.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview",
"spatialAnchorsAccount": {
"Tags": {
@@ -23,9 +23,9 @@
"heroine": "juliet",
"hero": "romeo"
},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Put.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Put.json
index e325b2ce32ff..402b7e834596 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Put.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/Put.json
@@ -1,12 +1,12 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview",
"spatialAnchorsAccount": {
- "location": "EastUs2"
+ "location": "eastus2euap"
}
},
"responses": {
@@ -17,9 +17,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
},
@@ -30,9 +30,9 @@
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
- "location": "Global",
- "id": "/subscriptions/8f8a44e1-1711-4fc4-ae53-8bcc11fc7c3c/resourceGroups/xiangyul/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/alpha",
- "name": "alpha",
+ "location": "eastus2euap",
+ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/SpatialAnchorsAccounts/MyAccount",
+ "name": "MyAccount",
"type": "Microsoft.MixedReality/SpatialAnchorsAccounts"
}
}
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/RegenerateKey.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/RegenerateKey.json
index 1d38afa29071..60030d33b947 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/RegenerateKey.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/spatial-anchors/RegenerateKey.json
@@ -1,9 +1,9 @@
{
"parameters": {
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "mrsecf",
+ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "resourceGroupName": "MyResourceGroup",
"resourceType": "SpatialAnchorsAccount",
- "accountName": "alpha",
+ "accountName": "MyAccount",
"api-version": "2019-02-28-preview",
"regenerate": {
"serial": 1
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json
index 080123834d54..72049cad4544 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json
@@ -42,7 +42,7 @@
],
"description": "Exposing Available Operations",
"x-ms-examples": {
- "OperationPage": {
+ "List available operations": {
"$ref": "./examples/proxy/ExposingAvailableOperations.json"
}
},
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json
index b02ed2643216..8b18e79e51c4 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json
@@ -43,7 +43,7 @@
],
"description": "List Remote Rendering Accounts by Subscription",
"x-ms-examples": {
- "RemoteRenderingAccountPageBySubscription": {
+ "List remote rendering accounts by subscription": {
"$ref": "./examples/remote-rendering/GetBySubscription.json"
}
},
@@ -82,7 +82,7 @@
],
"description": "List Resources by Resource Group",
"x-ms-examples": {
- "ResourceGet": {
+ "List remote rendering accounts by resource group": {
"$ref": "./examples/remote-rendering/GetByResourceGroup.json"
}
},
@@ -124,7 +124,7 @@
],
"description": "Delete a Remote Rendering Account.",
"x-ms-examples": {
- "ResourceDelete": {
+ "Delete remote rendering account": {
"$ref": "./examples/remote-rendering/Delete.json"
}
},
@@ -164,7 +164,7 @@
],
"description": "Retrieve a Remote Rendering Account.",
"x-ms-examples": {
- "ResourceGet": {
+ "Get remote rendering account": {
"$ref": "./examples/remote-rendering/Get.json"
}
},
@@ -204,7 +204,7 @@
],
"description": "Updating a Remote Rendering Account",
"x-ms-examples": {
- "ResourceCreateOrUpdate": {
+ "Update remote rendering account": {
"$ref": "./examples/remote-rendering/Patch.json"
}
},
@@ -247,7 +247,7 @@
],
"description": "Creating or Updating a Remote Rendering Account.",
"x-ms-examples": {
- "ResourceCreate": {
+ "Create remote rendering account": {
"$ref": "./examples/remote-rendering/Put.json"
}
},
@@ -298,7 +298,7 @@
],
"description": "Get Both of the 2 Keys of a Remote Rendering Account",
"x-ms-examples": {
- "ResourceGetKey": {
+ "Get remote rendering account key": {
"$ref": "./examples/remote-rendering/GetKeys.json"
}
},
@@ -338,7 +338,7 @@
],
"description": "Regenerate specified Key of a Remote Rendering Account",
"x-ms-examples": {
- "ResourceRegenerateKey": {
+ "Regenerate remote rendering account keys": {
"$ref": "./examples/remote-rendering/RegenerateKey.json"
}
},
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json
index 84f77495791d..53795b91d58d 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json
@@ -43,7 +43,7 @@
],
"description": "List Spatial Anchors Accounts by Subscription",
"x-ms-examples": {
- "SpatialAnchorsAccountPageBySubscription": {
+ "List spatial anchors accounts by subscription": {
"$ref": "./examples/spatial-anchors/GetBySubscription.json"
}
},
@@ -82,7 +82,7 @@
],
"description": "List Resources by Resource Group",
"x-ms-examples": {
- "ResourceGet": {
+ "List spatial anchor accounts by resource group": {
"$ref": "./examples/spatial-anchors/GetByResourceGroup.json"
}
},
@@ -124,7 +124,7 @@
],
"description": "Delete a Spatial Anchors Account.",
"x-ms-examples": {
- "ResourceDelete": {
+ "Delete spatial anchors account": {
"$ref": "./examples/spatial-anchors/Delete.json"
}
},
@@ -164,7 +164,7 @@
],
"description": "Retrieve a Spatial Anchors Account.",
"x-ms-examples": {
- "ResourceGet": {
+ "Get spatial anchors account": {
"$ref": "./examples/spatial-anchors/Get.json"
}
},
@@ -204,7 +204,7 @@
],
"description": "Updating a Spatial Anchors Account",
"x-ms-examples": {
- "ResourceCreateOrUpdate": {
+ "Update spatial anchors account": {
"$ref": "./examples/spatial-anchors/Patch.json"
}
},
@@ -247,7 +247,7 @@
],
"description": "Creating or Updating a Spatial Anchors Account.",
"x-ms-examples": {
- "ResourceCreate": {
+ "Create spatial anchor account": {
"$ref": "./examples/spatial-anchors/Put.json"
}
},
@@ -298,7 +298,7 @@
],
"description": "Get Both of the 2 Keys of a Spatial Anchors Account",
"x-ms-examples": {
- "ResourceGetKey": {
+ "Get spatial anchor account key": {
"$ref": "./examples/spatial-anchors/GetKeys.json"
}
},
@@ -338,7 +338,7 @@
],
"description": "Regenerate specified Key of a Spatial Anchors Account",
"x-ms-examples": {
- "ResourceRegenerateKey": {
+ "Regenerate spatial anchors account keys": {
"$ref": "./examples/spatial-anchors/RegenerateKey.json"
}
},
diff --git a/specification/mixedreality/resource-manager/readme.cli.md b/specification/mixedreality/resource-manager/readme.cli.md
index 434446387859..632d353b5a61 100644
--- a/specification/mixedreality/resource-manager/readme.cli.md
+++ b/specification/mixedreality/resource-manager/readme.cli.md
@@ -8,22 +8,26 @@ cli:
package-name: azure-mgmt-mixedreality
namespace: azure.mgmt.mixedreality
test-scenario:
- - name: ResourceCreate
- - name: ResourceCreate
- - name: ResourceGetKey
- - name: ResourceGetKey
- - name: ResourceGet
- - name: ResourceGet
- - name: ResourceGet
- - name: ResourceGet
- - name: RemoteRenderingAccountPageBySubscription
- - name: SpatialAnchorsAccountPageBySubscription
- - name: OperationPage
- - name: ResourceRegenerateKey
- - name: ResourceRegenerateKey
- - name: ResourceCreateOrUpdate
- - name: ResourceCreateOrUpdate
+ - name: Create spatial anchor account
+ - name: Create remote rendering account
+ - name: Get remote rendering account key
+ - name: Get spatial anchor account key
+ - name: List spatial anchor accounts by resource group
+ - name: List remote rendering accounts by resource group
+ - name: Get spatial anchors account
+ - name: Get remote rendering account
+ - name: List remote rendering accounts by subscription
+ - name: List spatial anchors accounts by subscription
+ - name: List available operations
+ disabled: true
+ - name: Regenerate remote rendering account keys
+ - name: Regenerate spatial anchors account keys
+ - name: Update remote rendering account
+ disabled: true
+ - name: Update spatial anchors account
+ disabled: true
- name: CheckLocalNameAvailability
- - name: ResourceDelete
- - name: ResourceDelete
+ disabled: true
+ - name: Delete spatial anchors account
+ - name: Delete remote rendering account
```
From 458a1d39980904f720b1d982326533974ccebaaa Mon Sep 17 00:00:00 2001
From: yugant-git <48283087+yugant-git@users.noreply.github.com>
Date: Wed, 1 Jan 2020 06:36:57 +0530
Subject: [PATCH 159/469] Updating service language parametrs to QnA Maker APIs
(#7906)
---
.../data-plane/QnAMaker/stable/v4.0/QnAMaker.json | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json
index a508c540a305..928efa6d8bd0 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json
@@ -899,6 +899,12 @@
"description": "Text string to be used as the answer in any Q-A which has no extracted answer from the document but has a hierarchy. Required when EnableHierarchicalExtraction field is set to True.",
"maxLength": 300,
"minLength": 1
+ },
+ "language": {
+ "type": "string",
+ "description": "Language of the knowledgebase.",
+ "maxLength": 100,
+ "minLength": 1
}
}
},
@@ -1344,6 +1350,10 @@
"lastStableVersion": {
"type": "string",
"description": "Latest version of runtime."
+ },
+ "language": {
+ "type": "string",
+ "description": "Language setting of runtime."
}
}
}
From 4676d9187988aa6793ff704aa39c5f495b40f6e0 Mon Sep 17 00:00:00 2001
From: dosegal <51155368+dosegal@users.noreply.github.com>
Date: Thu, 2 Jan 2020 04:22:11 +0200
Subject: [PATCH 160/469] SecurityInsights: Added IoTDevice entity (#7934)
* added new entity type + updated examples
* fixed test error
---
.../2019-01-01-preview/SecurityInsights.json | 100 ++++++++++++++++++
.../entities/GetAzureResourceEntityById.json | 2 +-
.../entities/GetIoTDeviceEntityById.json | 25 +++++
.../entities/GetSecurityGroupEntityById.json | 2 +-
4 files changed, 127 insertions(+), 2 deletions(-)
create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIoTDeviceEntityById.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 e7d8ee703546..28375f14fcf9 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
@@ -1914,6 +1914,9 @@
},
"Get a url entity.": {
"$ref": "./examples/entities/GetUrlEntityById.json"
+ },
+ "Get an IoT device entity.": {
+ "$ref": "./examples/entities/GetIoTDeviceEntityById.json"
}
},
"tags": [
@@ -2674,6 +2677,9 @@
}
}
},
+ "required": [
+ "kind"
+ ],
"type": "object"
},
"AlertRule": {
@@ -2717,6 +2723,9 @@
}
}
},
+ "required": [
+ "kind"
+ ],
"type": "object"
},
"AlertRuleTemplate": {
@@ -3863,6 +3872,9 @@
}
}
},
+ "required": [
+ "kind"
+ ],
"type": "object"
},
"DataConnectorList": {
@@ -4073,6 +4085,7 @@
"RegistryValue",
"SecurityGroup",
"Url",
+ "IoTDevice",
"SecurityAlert",
"Bookmark"
],
@@ -4137,6 +4150,10 @@
"description": "Entity represents url in the system.",
"value": "Url"
},
+ {
+ "description": "Entity represents IoT device in the system.",
+ "value": "IoTDevice"
+ },
{
"description": "Entity represents security alert in the system.",
"value": "SecurityAlert"
@@ -4165,6 +4182,7 @@
"RegistryValue",
"SecurityGroup",
"URL",
+ "IoTDevice",
"SecurityAlert",
"HuntingBookmark"
],
@@ -4229,6 +4247,10 @@
"description": "Entity represents url in the system.",
"value": "URL"
},
+ {
+ "description": "Entity represents IoT device in the system.",
+ "value": "IoTDevice"
+ },
{
"description": "Entity represents security alert in the system.",
"value": "SecurityAlert"
@@ -4248,6 +4270,9 @@
"description": "The kind of the entity."
}
},
+ "required": [
+ "kind"
+ ],
"type": "object"
},
"EntityList": {
@@ -6098,6 +6123,9 @@
}
}
},
+ "required": [
+ "kind"
+ ],
"type": "object"
},
"TIDataConnector": {
@@ -6297,6 +6325,78 @@
},
"type": "object"
},
+ "IoTDeviceEntity": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "description": "Represents an IoT device entity.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/IoTDeviceEntityProperties",
+ "description": "IoTDevice entity properties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "IoTDevice"
+ },
+ "IoTDeviceEntityProperties": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "description": "IoTDevice entity property bag.",
+ "properties": {
+ "deviceId": {
+ "description": "The ID of the IoT Device in the IoT Hub",
+ "readOnly": true,
+ "type": "string"
+ },
+ "iotSecurityAgentId": {
+ "description": "The ID of the security agent running on the device",
+ "format": "uuid",
+ "readOnly": true,
+ "type": "string"
+ },
+ "deviceType": {
+ "description": "The type of the device",
+ "readOnly": true,
+ "type": "string"
+ },
+ "vendor": {
+ "description": "The vendor of the device",
+ "readOnly": true,
+ "type": "string"
+ },
+ "edgeId": {
+ "description": "The ID of the edge device",
+ "readOnly": true,
+ "type": "string"
+ },
+ "iotHubEntityId": {
+ "description": "The AzureResource entity id of the IoT Hub",
+ "readOnly": true,
+ "type": "string"
+ },
+ "hostEntityId": {
+ "description": "The Host entity id of this device",
+ "readOnly": true,
+ "type": "string"
+ },
+ "threatIntelligence": {
+ "description": "A list of TI contexts attached to the IoTDevice entity.",
+ "items": {
+ "$ref": "#/definitions/ThreatIntelligence"
+ },
+ "readOnly": true,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"UserInfo": {
"description": "User information that made some action",
"properties": {
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
index 97929b3d5a02..d630c9f4f3ec 100644
--- 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
@@ -15,7 +15,7 @@
"type": "Microsoft.SecurityInsights/entities",
"kind": "AzureResource",
"properties": {
- "friendlyName": "Resource",
+ "friendlyName": "vm1",
"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/GetIoTDeviceEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIoTDeviceEntityById.json
new file mode 100644
index 000000000000..037fdaa249f1
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIoTDeviceEntityById.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": "IoTDevice",
+ "properties": {
+ "friendlyName": "device1",
+ "deviceId": "device1",
+ "iotHubEntityId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/8b2d9401-f953-e89d-2583-be9b4975870c"
+ }
+ }
+ }
+ }
+}
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
index 856ea6f4465d..181fb12aeb9b 100644
--- 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
@@ -15,7 +15,7 @@
"type": "Microsoft.SecurityInsights/entities",
"kind": "SecurityGroup",
"properties": {
- "friendlyName": "Group",
+ "friendlyName": "Name",
"distinguishedName": "Name",
"sid": "Sid",
"objectGuid": "fb1b8e04-d944-4986-b39a-1ce9adedcd98"
From 91e257ee832b4007e40c5b543ce71a5fd7399e9b Mon Sep 17 00:00:00 2001
From: soshekar
Date: Thu, 2 Jan 2020 17:23:29 -0800
Subject: [PATCH 161/469] Introduce ExactVersion property for Platform an
GalleryImages (#7911)
---
.../Microsoft.Compute/stable/2019-07-01/compute.json | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index 7f8b2ee8b55e..bac149808aee 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -6983,6 +6983,11 @@
"version": {
"type": "string",
"description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available."
+ },
+ "exactVersion": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'."
}
},
"allOf": [
From 06b9412319ada8678c0ce07016cac1bf66258b1d Mon Sep 17 00:00:00 2001
From: mikreite <46890142+mikreite@users.noreply.github.com>
Date: Fri, 3 Jan 2020 11:03:17 +0200
Subject: [PATCH 162/469] [Microsoft.Security/Automations] Descriptions Changes
(#8052)
* fix examples and descriptions
* desc fix
* add aka.ms links for descriptions
---
.../2019-01-01-preview/automations.json | 8 +++----
.../GetAutomationResourceGroup_example.json | 10 ++++----
.../GetAutomationsResourceGroup_example.json | 8 +++----
.../GetAutomationsSubscription_example.json | 10 ++++----
.../Automations/PutAutomation_example.json | 24 +++++++++----------
.../PutDisableAutomation_example.json | 24 +++++++++----------
.../ValidateAutomation_example.json | 8 +++----
7 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
index 3dbb14700330..87aacf936084 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
@@ -447,7 +447,7 @@
},
"AutomationActionLogicApp": {
"type": "object",
- "description": "The logic app action that should be triggered.",
+ "description": "The logic app action that should be triggered. To learn more about Security Center's Workflow Automation capabilities, visit https://aka.ms/ASCWorkflowAutomationLearnMore",
"x-ms-discriminator-value": "LogicApp",
"allOf": [
{
@@ -468,7 +468,7 @@
},
"AutomationActionEventHub": {
"type": "object",
- "description": "The target Event Hub to which event data will be exported.",
+ "description": "The target Event Hub to which event data will be exported. To learn more about Security Center continuous export capabilities, visit https://aka.ms/ASCExportLearnMore",
"x-ms-discriminator-value": "EventHub",
"allOf": [
{
@@ -493,7 +493,7 @@
},
"AutomationActionWorkspace": {
"type": "object",
- "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace.",
+ "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace. To learn more about Security Center continuous export capabilities, visit https://aka.ms/ASCExportLearnMore",
"x-ms-discriminator-value": "Workspace",
"allOf": [
{
@@ -561,7 +561,7 @@
},
"operator": {
"type": "string",
- "description": "A valid comparer operator to use.",
+ "description": "A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.",
"enum": [
"Equals",
"GreaterThan",
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
index a3f41b5df910..977d19b7e605 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json
@@ -1,26 +1,26 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
- "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
"resourceGroupName": "exampleResourceGroup",
"automationName": "exampleAutomation"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
"etag": "etag value",
"location": "Central US",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": true,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
index ef3213aaf9ca..c011c1be0c6b 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
- "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
"resourceGroupName": "exampleResourceGroup"
},
"responses": {
@@ -16,12 +16,12 @@
"location": "Central US",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": true,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
index 471e18739b19..3bb74042197c 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json
@@ -1,26 +1,26 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
- "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982"
+ "subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5"
},
"responses": {
"200": {
"body": {
"value": [
{
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
"etag": "etag value",
"location": "Central US",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": true,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
index 9e29d556818e..f0fb970efdf8 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomation_example.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
- "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
"automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
"Automation": {
@@ -9,12 +9,12 @@
"etag": "etag value (must be supplied for update)",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": true,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
@@ -47,19 +47,19 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
"location": "Central US",
"etag": "new etag value",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": true,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
@@ -90,19 +90,19 @@
},
"201": {
"body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleAutomation",
+ "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/SecurityAutomations",
"location": "Central US",
"etag": "new etag value",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": true,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
index e1d266ccef52..f210cb0bc5c6 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
- "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
"automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
"Automation": {
@@ -9,12 +9,12 @@
"etag": "etag value (must be supplied for update)",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": false,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
@@ -47,19 +47,19 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
+ "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/automations",
"location": "Central US",
"etag": "new etag value",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": false,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
@@ -90,19 +90,19 @@
},
"201": {
"body": {
- "id": "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleAutomation",
+ "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleAutomation",
"name": "exampleAutomation",
"type": "Microsoft.Security/SecurityAutomations",
"location": "Central US",
"etag": "new etag value",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": false,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
index 82404b9641dd..dc19b9e7fbad 100644
--- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
+++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json
@@ -1,19 +1,19 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
- "subscriptionId": "e4272367-5645-4c4e-9c67-3b74b59a6982",
+ "subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
"automationName": "exampleAutomation",
"resourceGroupName": "exampleResourceGroup",
"Automation": {
"location": "Central US",
"tags": {},
"properties": {
- "description": "An example of a security automation that triggers two LogicApp resources (myTest1 and myTest2) on any security assessment of type customAssessment",
+ "description": "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment",
"isEnabled": true,
"scopes": [
{
- "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription 212f9889-769e-45ae-ab43-6da33674bd26",
- "scopePath": "/subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/myResourceGroup"
+ "description": "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5",
+ "scopePath": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup"
}
],
"sources": [
From f52dfbbb9be6c291deeedaf4efe60adf33146d9c Mon Sep 17 00:00:00 2001
From: Jacob Hill
Date: Sat, 4 Jan 2020 23:33:11 -0800
Subject: [PATCH 163/469] [Azure Search] Swagger changes to introduce new API
version (2019-10-01-Preview) (#8018)
* Added post for ListQueryKeys.
* Deprecate get listQueryKeys
* Fixed typo on returns
* Fixed naming of operation Id and included for 2015-02-28.
* Updated swagger to include private endpoint objects in the definitions.
* Updated definitions for private endpoints.
* Removed changes that are part of another PR.
* Added ipRules.
* Fixed typo.
* Update a couple of typos in README.md
* Fix formatting
* Fix minor things with swagger
* Add operations
* Add examples
* Swagger validation fixes
* Fix semantic validation issue
* fit and finishing
* run npm install; npm run prettier-fix to fix the CI check
* refactored to model the iprule object in #/definitions/.
Co-authored-by: Arvind Krishnaa J
Co-authored-by: huangbolun
---
.../DeletePrivateEndpointConnection.json | 29 +
.../GetPrivateEndpointConnection.json | 28 +
.../examples/SearchCheckNameAvailability.json | 19 +
.../examples/SearchCreateOrUpdateService.json | 80 +
...archCreateOrUpdateServiceWithIdentity.json | 93 ++
.../examples/SearchCreateQueryKey.json | 17 +
.../examples/SearchDeleteQueryKey.json | 14 +
.../examples/SearchDeleteService.json | 13 +
.../examples/SearchGetAdminKeys.json | 16 +
.../examples/SearchGetService.json | 38 +
.../SearchListQueryKeysBySearchService.json | 24 +
.../SearchListServicesByResourceGroup.json | 67 +
.../SearchListServicesBySubscription.json | 66 +
.../examples/SearchRegenerateAdminKey.json | 17 +
.../examples/SearchUpdateService.json | 48 +
...ceToAllowAccessFromCustomIPsAndPortal.json | 58 +
...viceToAllowAccessFromPrivateEndpoints.json | 50 +
.../SearchUpdateServiceToRemoveIdentity.json | 46 +
.../UpdatePrivateEndpointConnection.json | 37 +
.../preview/2019-10-01-preview/search.json | 1467 +++++++++++++++++
.../search/resource-manager/readme.md | 8 +
21 files changed, 2235 insertions(+)
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/DeletePrivateEndpointConnection.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/GetPrivateEndpointConnection.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCheckNameAvailability.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateService.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateQueryKey.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchDeleteQueryKey.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchDeleteService.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetAdminKeys.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetService.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListQueryKeysBySearchService.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesByResourceGroup.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesBySubscription.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchRegenerateAdminKey.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateService.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/UpdatePrivateEndpointConnection.json
create mode 100644 specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/DeletePrivateEndpointConnection.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/DeletePrivateEndpointConnection.json
new file mode 100644
index 000000000000..8f74a5f5d0fe
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/DeletePrivateEndpointConnection.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "privateEndpointConnectionName": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
+ "name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
+ "type": "Microsoft.Search/searchServices/privateEndpointConnections",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Disconnected",
+ "description": "",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/GetPrivateEndpointConnection.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/GetPrivateEndpointConnection.json
new file mode 100644
index 000000000000..1a6e8cc4aeda
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/GetPrivateEndpointConnection.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "privateEndpointConnectionName": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
+ "name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
+ "type": "Microsoft.Search/searchServices/privateEndpointConnections",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCheckNameAvailability.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCheckNameAvailability.json
new file mode 100644
index 000000000000..0d6078e6d239
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCheckNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "checkNameAvailabilityInput": {
+ "name": "mysearchservice",
+ "type": "searchServices"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": ""
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateService.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateService.json
new file mode 100644
index 000000000000..997e77fc6f21
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateService.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "service": {
+ "location": "westus",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "hostingMode": "default"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json
new file mode 100644
index 000000000000..569f56a88779
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "service": {
+ "location": "westus",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "hostingMode": "default"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ },
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c",
+ "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ },
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c",
+ "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateQueryKey.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateQueryKey.json
new file mode 100644
index 000000000000..f1d46f20e0c8
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateQueryKey.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "name": "Query key for browser-based clients",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Query key for browser-based clients",
+ "key": ""
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchDeleteQueryKey.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchDeleteQueryKey.json
new file mode 100644
index 000000000000..712c569cc171
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchDeleteQueryKey.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "key": "",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchDeleteService.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchDeleteService.json
new file mode 100644
index 000000000000..32148e207938
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchDeleteService.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetAdminKeys.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetAdminKeys.json
new file mode 100644
index 000000000000..7816eeed03cd
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetAdminKeys.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryKey": "",
+ "secondaryKey": ""
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetService.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetService.json
new file mode 100644
index 000000000000..c1c82356efc4
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetService.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListQueryKeysBySearchService.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListQueryKeysBySearchService.json
new file mode 100644
index 000000000000..3515166883c1
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListQueryKeysBySearchService.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Query key for browser-based clients",
+ "key": ""
+ },
+ {
+ "name": "Query key for mobile clients",
+ "key": ""
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesByResourceGroup.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesByResourceGroup.json
new file mode 100644
index 000000000000..4ac72f3d8fd0
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesByResourceGroup.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice2",
+ "name": "mysearchservice2",
+ "location": "eastus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "basic"
+ },
+ "properties": {
+ "replicaCount": 1,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesBySubscription.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesBySubscription.json
new file mode 100644
index 000000000000..10b73095334f
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesBySubscription.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Search/searchServices/mysearchservice2",
+ "name": "mysearchservice2",
+ "location": "eastus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "basic"
+ },
+ "properties": {
+ "replicaCount": 1,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchRegenerateAdminKey.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchRegenerateAdminKey.json
new file mode 100644
index 000000000000..0807c475548c
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchRegenerateAdminKey.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "keyKind": "primary",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryKey": "",
+ "secondaryKey": ""
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateService.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateService.json
new file mode 100644
index 000000000000..9dc47db685fa
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateService.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "service": {
+ "tags": {
+ "app-name": "My e-commerce app",
+ "new-tag": "Adding a new tag"
+ },
+ "properties": {
+ "replicaCount": 2
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app",
+ "new-tag": "Adding a new tag"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 2,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json
new file mode 100644
index 000000000000..883b2aeb5bcc
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "service": {
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [
+ {
+ "value": "10.2.3.4"
+ }
+ ],
+ "bypass": "AzurePortal"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app",
+ "new-tag": "Adding a new tag"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [
+ {
+ "value": "10.2.3.4"
+ }
+ ],
+ "bypass": "AzurePortal"
+ },
+ "privateEndpointConnections": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json
new file mode 100644
index 000000000000..c70483352eff
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "service": {
+ "properties": {
+ "replicaCount": 1,
+ "partitionCount": 1,
+ "networkRuleSet": {
+ "endpointAccess": "Private",
+ "ipRules": [],
+ "bypass": "None"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app",
+ "new-tag": "Adding a new tag"
+ },
+ "sku": {
+ "name": "basic"
+ },
+ "properties": {
+ "replicaCount": 1,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded",
+ "networkRuleSet": {
+ "endpointAccess": "Private",
+ "ipRules": [],
+ "bypass": "None"
+ },
+ "privateEndpointConnections": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json
new file mode 100644
index 000000000000..7e850534d128
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "service": {
+ "sku": {
+ "name": "standard"
+ },
+ "identity": {
+ "type": "None"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {},
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded",
+ "networkRuleSet": {
+ "endpointAccess": "Public",
+ "ipRules": [],
+ "bypass": "None"
+ }
+ },
+ "identity": {
+ "type": "None"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/UpdatePrivateEndpointConnection.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/UpdatePrivateEndpointConnection.json
new file mode 100644
index 000000000000..1d346f313495
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/UpdatePrivateEndpointConnection.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "subid",
+ "privateEndpointConnectionName": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
+ "privateEndpointConnection": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Rejected",
+ "description": "Rejected for some reason"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
+ "name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
+ "type": "Microsoft.Search/searchServices/privateEndpointConnections",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Rejected",
+ "description": "Rejected for some reason",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
new file mode 100644
index 000000000000..fb3c9cb1c6ca
--- /dev/null
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
@@ -0,0 +1,1467 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "SearchManagementClient",
+ "description": "Client that can be used to manage Azure Cognitive Search services and API keys.",
+ "version": "2019-10-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Search/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available REST API operations of the Microsoft.Search provider.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The response describes the list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys": {
+ "post": {
+ "tags": [
+ "AdminKeys"
+ ],
+ "operationId": "AdminKeys_Get",
+ "x-ms-examples": {
+ "SearchGetAdminKeys": {
+ "$ref": "./examples/SearchGetAdminKeys.json"
+ }
+ },
+ "description": "Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The admin keys were successfully retrieved and are in the response. You can use either the primary or secondary key as the value of the 'api-key' parameter in the Azure Cognitive Search Service REST API or SDK to perform any operations on your Search service, including privileged operations. Privileged operations include managing resources like indexes and data sources as well as uploading, modifying, or deleting data in your indexes.",
+ "schema": {
+ "$ref": "#/definitions/AdminKeyResult"
+ }
+ },
+ "default": {
+ "description": "HTTP 404 (Not Found): The subscription, resource group, or Search service could not be found. HTTP 409 (Conflict): The specified subscription is disabled.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}": {
+ "post": {
+ "tags": [
+ "AdminKeys"
+ ],
+ "operationId": "AdminKeys_Regenerate",
+ "x-ms-examples": {
+ "SearchRegenerateAdminKey": {
+ "$ref": "./examples/SearchRegenerateAdminKey.json"
+ }
+ },
+ "description": "Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "name": "keyKind",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "primary",
+ "secondary"
+ ],
+ "x-ms-enum": {
+ "name": "AdminKeyKind",
+ "modelAsString": false
+ },
+ "description": "Specifies which key to regenerate. Valid values include 'primary' and 'secondary'."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The specified admin key was successfully regenerated. Both admin keys are included in the response, including the newly-regenerated key.",
+ "schema": {
+ "$ref": "#/definitions/AdminKeyResult"
+ }
+ },
+ "default": {
+ "description": "HTTP 404 (Not Found): The subscription, resource group, or Search service could not be found. HTTP 409 (Conflict): The specified subscription is disabled.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}": {
+ "post": {
+ "tags": [
+ "QueryKeys"
+ ],
+ "operationId": "QueryKeys_Create",
+ "x-ms-examples": {
+ "SearchCreateQueryKey": {
+ "$ref": "./examples/SearchCreateQueryKey.json"
+ }
+ },
+ "description": "Generates a new query key for the specified Search service. You can create up to 50 query keys per service.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the new query API key."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The query key was successfully created and is in the response. You can use the query key as the value of the 'api-key' parameter in the Azure Cognitive Search Service REST API or SDK to perform read-only operations on your Search indexes such as querying and looking up documents by ID.",
+ "schema": {
+ "$ref": "#/definitions/QueryKey"
+ }
+ },
+ "default": {
+ "description": "HTTP 404 (Not Found): The subscription, resource group, or Search service could not be found. HTTP 409 (Conflict): The specified subscription is disabled.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys": {
+ "post": {
+ "tags": [
+ "QueryKeys"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "operationId": "QueryKeys_ListBySearchService",
+ "x-ms-examples": {
+ "SearchListQueryKeysBySearchService": {
+ "$ref": "./examples/SearchListQueryKeysBySearchService.json"
+ }
+ },
+ "description": "Returns the list of query API keys for the given Azure Cognitive Search service.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "All query keys for the given Search service were successfully retrieved and are in the response. You can use any of the query keys as the value of the 'api-key' parameter in the Azure Cognitive Search Service REST API or SDK to perform read-only operations on your Search indexes such as querying and looking up documents by ID.",
+ "schema": {
+ "$ref": "#/definitions/ListQueryKeysResult"
+ }
+ },
+ "default": {
+ "description": "HTTP 404 (Not Found): The subscription, resource group, or Search service could not be found. HTTP 409 (Conflict): The specified subscription is disabled.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}": {
+ "delete": {
+ "tags": [
+ "QueryKeys"
+ ],
+ "operationId": "QueryKeys_Delete",
+ "x-ms-examples": {
+ "SearchDeleteQueryKey": {
+ "$ref": "./examples/SearchDeleteQueryKey.json"
+ }
+ },
+ "description": "Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "name": "key",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The query key to be deleted. Query keys are identified by value, not by name."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The query key was successfully deleted."
+ },
+ "204": {
+ "description": "The query key was successfully deleted."
+ },
+ "404": {
+ "description": "The subscription, resource group, Search service, or query key could not be found."
+ },
+ "default": {
+ "description": "HTTP 409 (Conflict): The specified subscription is disabled.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}": {
+ "put": {
+ "tags": [
+ "Services"
+ ],
+ "operationId": "Services_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchCreateOrUpdateService": {
+ "$ref": "./examples/SearchCreateOrUpdateService.json"
+ },
+ "SearchCreateOrUpdateServiceWithIdentity": {
+ "$ref": "./examples/SearchCreateOrUpdateServiceWithIdentity.json"
+ }
+ },
+ "description": "Creates or updates a Search service in the given resource group. If the Search service already exists, all properties will be updated with the given values.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "searchServiceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Cognitive Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net). You cannot change the service name after the service is created."
+ },
+ {
+ "name": "service",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SearchService"
+ },
+ "description": "The definition of the Search service to create or update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The existing service definition was successfully updated. If you changed the number of replicas or partitions, the scale operation will happen asynchronously. You can periodically get your service definition and monitor progress via the provisioningState property.",
+ "schema": {
+ "$ref": "#/definitions/SearchService"
+ }
+ },
+ "201": {
+ "description": "If you requested creation of a free Search service, the service is now provisioned and ready to use, subject to DNS propagation delay. For other SKU types, provisioning happens asynchronously. You can periodically get your service definition and monitor progress via the provisioningState property.",
+ "schema": {
+ "$ref": "#/definitions/SearchService"
+ }
+ },
+ "default": {
+ "description": "HTTP 400 (Bad Request): The given service name or service definition is invalid; See the error code and message in the response for details. HTTP 404 (Not Found): The subscription or resource group could not be found. HTTP 409 (Conflict): The specified subscription is disabled.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Services"
+ ],
+ "operationId": "Services_Update",
+ "x-ms-examples": {
+ "SearchUpdateService": {
+ "$ref": "./examples/SearchUpdateService.json"
+ },
+ "SearchUpdateServiceToRemoveIdentity": {
+ "$ref": "./examples/SearchUpdateServiceToRemoveIdentity.json"
+ },
+ "searchUpdateServiceToAllowAccessFromCustomIPsAndPortal": {
+ "$ref": "./examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json"
+ },
+ "searchUpdateServiceToAllowAccessFromPrivateEndpoints": {
+ "$ref": "./examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json"
+ }
+ },
+ "description": "Updates an existing Search service in the given resource group.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "searchServiceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Cognitive Search service to update."
+ },
+ {
+ "name": "service",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SearchService"
+ },
+ "description": "The definition of the Search service to update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The existing service definition was successfully updated. If you changed the number of replicas or partitions, the scale operation will happen asynchronously. You can periodically get your service definition and monitor progress via the provisioningState property.",
+ "schema": {
+ "$ref": "#/definitions/SearchService"
+ }
+ },
+ "default": {
+ "description": "HTTP 400 (Bad Request): The given service definition is invalid or you attempted to change a property that is immutable; See the error code and message in the response for details. HTTP 404 (Not Found): The subscription or resource group could not be found. HTTP 409 (Conflict): The specified subscription is disabled.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Services"
+ ],
+ "operationId": "Services_Get",
+ "x-ms-examples": {
+ "SearchGetService": {
+ "$ref": "./examples/SearchGetService.json"
+ }
+ },
+ "description": "Gets the Search service with the given name in the given resource group.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Search service definition was successfully retrieved and is in the response. If you are polling for the completion of a provisioning or scale operation, you can check its status via the provisioningState property.",
+ "schema": {
+ "$ref": "#/definitions/SearchService"
+ }
+ },
+ "default": {
+ "description": "HTTP 404 (Not Found): The subscription, resource group, or Search service name could not be found.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Services"
+ ],
+ "operationId": "Services_Delete",
+ "x-ms-examples": {
+ "SearchDeleteService": {
+ "$ref": "./examples/SearchDeleteService.json"
+ }
+ },
+ "description": "Deletes a Search service in the given resource group, along with its associated resources.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Search service was successfully deleted."
+ },
+ "204": {
+ "description": "The Search service was successfully deleted."
+ },
+ "404": {
+ "description": "The subscription, resource group, or Search service could not be found."
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices": {
+ "get": {
+ "tags": [
+ "Services"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "operationId": "Services_ListByResourceGroup",
+ "x-ms-examples": {
+ "SearchListServicesByResourceGroup": {
+ "$ref": "./examples/SearchListServicesByResourceGroup.json"
+ }
+ },
+ "description": "Gets a list of all Search services in the given resource group.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation succeeded. The response contains the list of all Search service definitions for the given resource group.",
+ "schema": {
+ "$ref": "#/definitions/SearchServiceListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "put": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_Update",
+ "x-ms-examples": {
+ "PrivateEndpointConnectionUpdate": {
+ "$ref": "./examples/UpdatePrivateEndpointConnection.json"
+ }
+ },
+ "description": "Updates a Private Endpoint connection to the Search service in the given resource group.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
+ },
+ {
+ "name": "privateEndpointConnection",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "description": "The definition of the private endpoint connection to update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The existing private endpoint connection definition was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "HTTP 400 (Bad Request): The given private endpoint connection name or the private endpoint connection definition is invalid; See the error code and message in the response for details. HTTP 404 (Not Found): The subscription, resource group, search service or private endpoint connection could not be found. HTTP 409 (Conflict): The specified subscription is disabled.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_Get",
+ "x-ms-examples": {
+ "PrivateEndpointConnectionGet": {
+ "$ref": "./examples/GetPrivateEndpointConnection.json"
+ }
+ },
+ "description": "Gets the details of the private endpoint connection to the Search service in the given resource group.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The definition of the private endpoint connection was successfully retrieved and is in the response.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "HTTP 404 (Not Found): The subscription, resource group, Search service or private endpoint connection could not be found.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_Delete",
+ "x-ms-examples": {
+ "PrivateEndpointConnectionDelete": {
+ "$ref": "./examples/DeletePrivateEndpointConnection.json"
+ }
+ },
+ "description": "Disconnects the private endpoint connection and deletes it from the Search service.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The private endpoint connection was successfully disconnected and removed from the search service. The response will contain the updated definition of the private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "404": {
+ "description": "The subscription, resource group, Search service or private endpoint connection could not be found."
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices": {
+ "get": {
+ "tags": [
+ "Services"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "operationId": "Services_ListBySubscription",
+ "x-ms-examples": {
+ "SearchListServicesBySubscription": {
+ "$ref": "./examples/SearchListServicesBySubscription.json"
+ }
+ },
+ "description": "Gets a list of all Search services in the given subscription.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation succeeded. The response contains the list of all Search service definitions for the given subscription.",
+ "schema": {
+ "$ref": "#/definitions/SearchServiceListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "Services"
+ ],
+ "description": "Checks whether or not the given Search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net).",
+ "externalDocs": {
+ "url": "https://aka.ms/search-manage"
+ },
+ "operationId": "Services_CheckNameAvailability",
+ "x-ms-examples": {
+ "SearchCheckNameAvailability": {
+ "$ref": "./examples/SearchCheckNameAvailability.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "checkNameAvailabilityInput",
+ "in": "body",
+ "description": "The resource name and type to check.",
+ "x-ms-client-flatten": true,
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The name check completed. The response contains details of whether the name is valid and available. If the name is invalid, the response also contains a message explaining why not.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityOutput"
+ }
+ },
+ "default": {
+ "description": "HTTP 400 (Bad Request): The given resource type is not 'searchServices'.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CheckNameAvailabilityInput": {
+ "type": "object",
+ "required": [
+ "name",
+ "type"
+ ],
+ "properties": {
+ "name": {
+ "description": "The Search service name to validate. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the resource whose name is to be validated. This value must always be 'searchServices'.",
+ "type": "string",
+ "enum": [
+ "searchServices"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Input of check name availability API."
+ },
+ "CheckNameAvailabilityOutput": {
+ "type": "object",
+ "properties": {
+ "nameAvailable": {
+ "x-ms-client-name": "IsNameAvailable",
+ "description": "A value indicating whether the name is available.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "reason": {
+ "description": "The reason why the name is not available. 'Invalid' indicates the name provided does not match the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists' indicates that the name is already in use and is therefore unavailable.",
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "x-ms-enum": {
+ "name": "UnavailableNameReason",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "description": "A message that explains why the name is invalid and provides resource naming requirements. Available only if 'Invalid' is returned in the 'reason' property.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "Output of check name availability API."
+ },
+ "AdminKeyResult": {
+ "properties": {
+ "primaryKey": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The primary admin API key of the Search service."
+ },
+ "secondaryKey": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The secondary admin API key of the Search service."
+ }
+ },
+ "description": "Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service."
+ },
+ "QueryKey": {
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the query API key; may be empty."
+ },
+ "key": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The value of the query API key."
+ }
+ },
+ "description": "Describes an API key for a given Azure Cognitive Search service that has permissions for query operations only."
+ },
+ "ListQueryKeysResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QueryKey"
+ },
+ "description": "The query keys for the Azure Cognitive Search service."
+ }
+ },
+ "description": "Response containing the query API keys for a given Azure Cognitive Search service.",
+ "x-ms-external": true
+ },
+ "Sku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'",
+ "enum": [
+ "free",
+ "basic",
+ "standard",
+ "standard2",
+ "standard3",
+ "storage_optimized_l1",
+ "storage_optimized_l2"
+ ],
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits.",
+ "externalDocs": {
+ "url": "https://azure.microsoft.com/documentation/articles/search-sku-tier/"
+ }
+ },
+ "PrivateEndpointConnection": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the private endpoint connection. This can be used with the Azure Resource Manager to link resources together.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-linked-resources"
+ }
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the private endpoint connection.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-naming-rules"
+ }
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type."
+ },
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties"
+ }
+ }
+ },
+ "NetworkRuleSet": {
+ "properties": {
+ "endpointAccess": {
+ "type": "string",
+ "default": "Public",
+ "description": "The level of access to the search service endpoint. Public, the search service endpoint is reachable from the internet. Private, the search service endpoint can only be accessed via private endpoints. Default is Public.",
+ "enum": [
+ "Public",
+ "Private"
+ ],
+ "x-ms-enum": {
+ "name": "EndpointAccess",
+ "modelAsString": false
+ }
+ },
+ "ipRules": {
+ "type": "array",
+ "description": "A list of rules that define inbound network access to the search service endpoint. By default, the search service endpoint is reachable from the internet.",
+ "items": {
+ "$ref": "#/definitions/IpRule"
+ }
+ },
+ "bypass": {
+ "type": "string",
+ "default": "None",
+ "description": "Allows bypassing any IP rules or endpoint access definition, if the traffic originates from well-known source. By default, no bypass is allowed.",
+ "enum": [
+ "None",
+ "AzurePortal"
+ ],
+ "x-ms-enum": {
+ "name": "ByPass",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "None"
+ },
+ {
+ "value": "AzurePortal"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "IpRule": {
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed."
+ }
+ }
+ },
+ "PrivateEndpointConnectionProperties": {
+ "properties": {
+ "privateEndpoint": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource id for the private endpoint from Network resource."
+ }
+ }
+ },
+ "privateLinkServiceConnectionState": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "string",
+ "description": "Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected.",
+ "enum": [
+ "Pending",
+ "Approved",
+ "Rejected",
+ "Disconnected"
+ ],
+ "x-ms-enum": {
+ "name": "PrivateLinkServiceConnectionStatus",
+ "modelAsString": false
+ }
+ },
+ "description": {
+ "type": "string",
+ "description": "The description for the private link service connection state."
+ },
+ "actionsRequired": {
+ "type": "string",
+ "description": "A description of any extra actions that may be required.",
+ "default": "None"
+ }
+ }
+ }
+ }
+ },
+ "SearchService": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SearchServiceProperties",
+ "description": "Properties of the Search service."
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service.",
+ "externalDocs": {
+ "url": "https://azure.microsoft.com/documentation/articles/search-sku-tier/"
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes an Azure Cognitive Search service and its current state."
+ },
+ "SearchServiceProperties": {
+ "properties": {
+ "replicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 12,
+ "default": 1,
+ "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU."
+ },
+ "partitionCount": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 12,
+ "default": 1,
+ "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3."
+ },
+ "hostingMode": {
+ "type": "string",
+ "default": "default",
+ "description": "Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'.",
+ "enum": [
+ "default",
+ "highDensity"
+ ],
+ "x-ms-enum": {
+ "name": "HostingMode",
+ "modelAsString": false
+ }
+ },
+ "status": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned.",
+ "enum": [
+ "running",
+ "provisioning",
+ "deleting",
+ "degraded",
+ "disabled",
+ "error"
+ ],
+ "x-ms-enum": {
+ "name": "SearchServiceStatus",
+ "modelAsString": false
+ }
+ },
+ "statusDetails": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The details of the Search service status."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up.",
+ "enum": [
+ "succeeded",
+ "provisioning",
+ "failed"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": false
+ }
+ },
+ "networkRuleSet": {
+ "$ref": "#/definitions/NetworkRuleSet",
+ "description": "Network specific rules that specify how the search service may be reached."
+ },
+ "privateEndpointConnections": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "description": "The list of private endpoint connections to the Search service."
+ }
+ },
+ "description": "Properties of the Search service."
+ },
+ "SearchServiceListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SearchService"
+ },
+ "description": "The list of Search services."
+ }
+ },
+ "description": "Response containing a list of Azure Cognitive Search services.",
+ "x-ms-external": true
+ },
+ "Resource": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ID of the resource. This can be used with the Azure Resource Manager to link resources together.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-linked-resources"
+ }
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-naming-rules"
+ }
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type."
+ },
+ "location": {
+ "type": "string",
+ "description": "The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). This property is required when creating a new resource.",
+ "externalDocs": {
+ "url": "https://aka.ms/search-rp-info"
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Tags to help categorize the resource in the Azure portal."
+ },
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "description": "The identity of the resource."
+ }
+ },
+ "description": "Base type for all Azure resources.",
+ "x-ms-azure-resource": true
+ },
+ "CloudError": {
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody",
+ "description": "Describes a particular API error with an error code and a message."
+ }
+ },
+ "description": "Contains information about an API error.",
+ "x-ms-external": true
+ },
+ "CloudErrorBody": {
+ "type": "object",
+ "description": "Describes a particular API error with an error code and a message.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message that describes the error in detail and provides debugging information."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "Contains nested errors that are related to this error."
+ }
+ },
+ "x-ms-external": true
+ },
+ "Operation": {
+ "description": "Describes a REST API operation.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the operation. This name is of the form {provider}/{resource}/{operation}.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "display": {
+ "description": "The object that describes the operation.",
+ "readOnly": true,
+ "properties": {
+ "provider": {
+ "description": "The friendly name of the resource provider.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "operation": {
+ "description": "The operation type: read, write, delete, listKeys/action, etc.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "The resource type on which the operation is performed.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "description": {
+ "description": "The friendly name of the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "The result of the request to list REST API operations. It contains a list of operations and a URL to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "readOnly": true,
+ "description": "The list of operations supported by the resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The URL to get the next set of operation list results, if any."
+ }
+ }
+ },
+ "Identity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID of resource identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID of resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The identity type.",
+ "enum": [
+ "None",
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "IdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "description": "Identity for the resource."
+ }
+ },
+ "parameters": {
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "x-ms-parameter-location": "method"
+ },
+ "SearchServiceNameParameter": {
+ "name": "searchServiceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Cognitive Search service associated with the specified resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "PrivateEndpointConnectionNameParameter": {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private endpoint connection to the Azure Cognitive Search service with the specified resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ClientRequestIdParameter": {
+ "name": "x-ms-client-request-id",
+ "x-ms-client-name": "clientRequestId",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.",
+ "x-ms-client-request-id": true,
+ "x-ms-parameter-grouping": {
+ "name": "search-management-request-options"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The unique identifier for a Microsoft Azure subscription. You can obtain this value from the Azure Resource Manager API or the portal."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for each request. The current version is 2015-08-19."
+ }
+ }
+}
diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md
index 100c48da579c..47700ee520de 100644
--- a/specification/search/resource-manager/readme.md
+++ b/specification/search/resource-manager/readme.md
@@ -48,6 +48,14 @@ input-file:
- Microsoft.Search/stable/2015-02-28/search.json
```
+### Tag: package-2019-10-preview
+
+These settings apply only when `--tag=package-2019-10-preview` is specified on the command line.
+``` yaml $(tag) == 'package-2019-10-preview'
+input-file:
+- Microsoft.Search/preview/2019-10-01-preview/search.json
+```
+
---
# Code Generation
From 7b9de2930bd3f30affe4e431fcf84a9911b240b8 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Sun, 5 Jan 2020 07:34:56 +0000
Subject: [PATCH 164/469] regenerated all-api-versions
---
specification/search/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md
index 47700ee520de..24d291ac3c59 100644
--- a/specification/search/resource-manager/readme.md
+++ b/specification/search/resource-manager/readme.md
@@ -162,6 +162,7 @@ require: $(this-folder)/../../../profiles/readme.md
input-file:
- $(this-folder)/Microsoft.Search/stable/2015-08-19/search.json
- $(this-folder)/Microsoft.Search/stable/2015-02-28/search.json
+ - $(this-folder)/Microsoft.Search/preview/2019-10-01-preview/search.json
```
From 976254fa698568fbf17cb9a494c35f38b74c1bd9 Mon Sep 17 00:00:00 2001
From: wilco <31971584+wilcobmsft@users.noreply.github.com>
Date: Sun, 5 Jan 2020 21:03:31 -0800
Subject: [PATCH 165/469] [Microsoft.Billing] Add billing instructions API.
(#8045)
* Add billing instructions API.
* Update description: 'by id' -> 'by name'.
* Fix description: id->name.
* Rename BillingInstruction->Instruction.
---
.../preview/2019-10-01-preview/billing.json | 202 ++++++++++++++++++
.../examples/Instruction.json | 22 ++
.../InstructionsListByBillingProfile.json | 35 +++
.../examples/PutInstruction.json | 29 +++
4 files changed, 288 insertions(+)
create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Instruction.json
create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InstructionsListByBillingProfile.json
create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PutInstruction.json
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
index 345e3074055e..35ec35e909a5 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
@@ -322,6 +322,142 @@
}
}
},
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions": {
+ "get": {
+ "tags": [
+ "Instructions"
+ ],
+ "operationId": "Instructions_ListByBillingProfile",
+ "description": "Lists the instructions by billing profile id.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/billing/"
+ },
+ "x-ms-examples": {
+ "InstructionsListByBillingProfile": {
+ "$ref": "./examples/InstructionsListByBillingProfile.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/billingAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/billingProfileNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/InstructionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}": {
+ "get": {
+ "tags": [
+ "Instructions"
+ ],
+ "x-ms-examples": {
+ "Instruction": {
+ "$ref": "./examples/Instruction.json"
+ }
+ },
+ "operationId": "Instructions_Get",
+ "description": "Get the instruction by name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/billingProfileNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instructionNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Instruction"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Instructions"
+ ],
+ "operationId": "Instructions_Put",
+ "description": "The operation to create or update a instruction.",
+ "x-ms-examples": {
+ "PutInstruction": {
+ "$ref": "./examples/PutInstruction.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/billingProfileNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instructionNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Instruction"
+ },
+ "description": "The new instruction."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Instruction"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods": {
"get": {
"tags": [
@@ -5556,6 +5692,24 @@
}
}
},
+ "InstructionListResult": {
+ "description": "Result of listing instructions.",
+ "properties": {
+ "value": {
+ "description": "The list of instructions.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Instruction"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"BillingProfileListResult": {
"description": "Result of listing billing profiles.",
"properties": {
@@ -5590,6 +5744,46 @@
}
}
},
+ "Instruction": {
+ "description": "A instruction resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "A billing instruction.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/InstructionProperties"
+ }
+ }
+ },
+ "InstructionProperties": {
+ "description": "A billing instruction used during invoice generation.",
+ "required": [
+ "amount",
+ "startDate",
+ "endDate"
+ ],
+ "properties": {
+ "amount": {
+ "description": "The amount budgeted for this billing instruction.",
+ "type": "number"
+ },
+ "startDate": {
+ "description": "The date this billing instruction goes into effect.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endDate": {
+ "description": "The date this billing instruction is no longer in effect.",
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ },
"BillingProfileCreationRequest": {
"description": "The request parameters for creating a new billing profile.",
"properties": {
@@ -7313,6 +7507,14 @@
"type": "string",
"x-ms-parameter-location": "method"
},
+ "instructionNameParameter": {
+ "name": "instructionName",
+ "in": "path",
+ "description": "Instruction Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
"billingProfileNameParameter": {
"name": "billingProfileName",
"in": "path",
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Instruction.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Instruction.json
new file mode 100644
index 000000000000..346e8be019ac
--- /dev/null
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Instruction.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "billingAccountName": "{billingAccountName}",
+ "billingProfileName": "{billingProfileName}",
+ "instructionName": "{instructionName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}",
+ "name": "{instructionName}",
+ "type": "Microsoft.Billing/billingAccounts/billingProfiles/instructions",
+ "properties": {
+ "amount": 5000.0,
+ "startDate": "2019-12-30T21:26:47.997Z",
+ "endDate": "2020-12-30T21:26:47.997Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InstructionsListByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InstructionsListByBillingProfile.json
new file mode 100644
index 000000000000..ca4723296e81
--- /dev/null
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InstructionsListByBillingProfile.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "billingAccountName": "{billingAccountName}",
+ "billingProfileName": "{billingProfileName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/TO1:CLIN001",
+ "name": "TO1:CLIN001",
+ "type": "Microsoft.Billing/billingAccounts/billingProfiles/instructions",
+ "properties": {
+ "amount": 5000.0,
+ "startDate": "2019-12-30T21:26:47.997Z",
+ "endDate": "2020-12-30T21:26:47.997Z"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/TO1:CLIN002",
+ "name": "TO1:CLIN002",
+ "type": "Microsoft.Billing/billingAccounts/billingProfiles/instructions",
+ "properties": {
+ "amount": 2000.0,
+ "startDate": "2019-12-30T21:26:47.997Z",
+ "endDate": "2020-12-30T21:26:47.997Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PutInstruction.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PutInstruction.json
new file mode 100644
index 000000000000..741abd5c03ea
--- /dev/null
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PutInstruction.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "billingAccountName": "{billingAccountName}",
+ "billingProfileName": "{billingProfileName}",
+ "instructionName": "{instructionName}",
+ "parameters": {
+ "properties": {
+ "amount": 5000.0,
+ "startDate": "2019-12-30T21:26:47.997Z",
+ "endDate": "2020-12-30T21:26:47.997Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}",
+ "name": "{instructionName}",
+ "type": "Microsoft.Billing/billingAccounts/billingProfiles/instructions",
+ "properties": {
+ "amount": 5000.0,
+ "startDate": "2019-12-30T21:26:47.997Z",
+ "endDate": "2020-12-30T21:26:47.997Z"
+ }
+ }
+ }
+ }
+}
From fece085689bc0122fe8a45bb9a077b92de631fe8 Mon Sep 17 00:00:00 2001
From: Andy Zhang
Date: Mon, 6 Jan 2020 16:03:10 +0800
Subject: [PATCH 166/469] add aks 20200101 api-version (#8041)
* add aks 20200101 api-version
* add api-version change
* aks api-version v20200101: add readme doc
* fix comments
---
.../examples/AgentPoolsCreate_Update.json | 82 +
.../2020-01-01/examples/AgentPoolsDelete.json | 13 +
.../2020-01-01/examples/AgentPoolsGet.json | 25 +
...entPoolsGetAgentPoolAvailableVersions.json | 32 +
.../examples/AgentPoolsGetUpgradeProfile.json | 27 +
.../2020-01-01/examples/AgentPoolsList.json | 28 +
.../ManagedClustersCreate_Update.json | 228 ++
.../examples/ManagedClustersDelete.json | 12 +
.../examples/ManagedClustersGet.json | 92 +
.../ManagedClustersGetAccessProfile.json | 22 +
.../ManagedClustersGetUpgradeProfile.json | 49 +
.../examples/ManagedClustersList.json | 65 +
.../ManagedClustersListByResourceGroup.json | 66 +
...edClustersListClusterCredentialResult.json | 20 +
.../ManagedClustersResetAADProfile.json | 18 +
...dClustersResetServicePrincipalProfile.json | 16 +
...agedClustersRotateClusterCertificates.json | 12 +
.../examples/ManagedClustersUpdateTags.json | 68 +
.../stable/2020-01-01/managedClusters.json | 2435 +++++++++++++++++
.../resource-manager/readme.go.md | 11 +
.../resource-manager/readme.java.md | 14 +
.../resource-manager/readme.md | 23 +-
.../resource-manager/readme.python.md | 12 +
23 files changed, 3369 insertions(+), 1 deletion(-)
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsCreate_Update.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsDelete.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGet.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGetUpgradeProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsList.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersCreate_Update.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersDelete.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGet.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGetAccessProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGetUpgradeProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersList.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersListByResourceGroup.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersListClusterCredentialResult.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersResetAADProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersResetServicePrincipalProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersRotateClusterCertificates.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersUpdateTags.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsCreate_Update.json
new file mode 100644
index 000000000000..5d16c53b58b9
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsCreate_Update.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1",
+ "parameters": {
+ "properties": {
+ "orchestratorVersion": "",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "osType": "Linux",
+ "tags": {
+ "name1": "val1"
+ },
+ "nodeLabels": {
+ "key1": "val1"
+ },
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "type": "Microsoft.ContainerService/managedClusters/agentPools",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "tags": {
+ "name1": "val1"
+ },
+ "nodeLabels": {
+ "key1": "val1"
+ },
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "type": "Microsoft.ContainerService/managedClusters/agentPools",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Creating",
+ "orchestratorVersion": "1.9.6",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "tags": {
+ "name1": "val1"
+ },
+ "nodeLabels": {
+ "key1": "val1"
+ },
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsDelete.json
new file mode 100644
index 000000000000..aa78797a76fd
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGet.json
new file mode 100644
index 000000000000..92fba6712354
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "orchestratorVersion": "1.9.6"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
new file mode 100644
index 000000000000..7886d4f76331
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/availableagentpoolversions",
+ "name": "default",
+ "properties": {
+ "agentPoolVersions": [
+ {
+ "kubernetesVersion": "1.12.7"
+ },
+ {
+ "kubernetesVersion": "1.12.8"
+ },
+ {
+ "default": true,
+ "kubernetesVersion": "1.13.5",
+ "isPreview": true
+ }
+ ]
+ },
+ "type": "Microsoft.ContainerService/managedClusters/availableAgentpoolVersions"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGetUpgradeProfile.json
new file mode 100644
index 000000000000..eebce484f469
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsGetUpgradeProfile.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1/upgradeprofiles/default",
+ "name": "default",
+ "properties": {
+ "kubernetesVersion": "1.12.8",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.13.5"
+ }
+ ]
+ },
+ "type": "Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsList.json
new file mode 100644
index 000000000000..c8548223cf9c
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPoolsList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "orchestratorVersion": "1.9.6"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersCreate_Update.json
new file mode 100644
index 000000000000..3b3d4189a5b0
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersCreate_Update.json
@@ -0,0 +1,228 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "location": "location1",
+ "tags": {
+ "tier": "production",
+ "archv2": ""
+ },
+ "properties": {
+ "kubernetesVersion": "",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "osType": "Linux",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "networkProfile": {
+ "loadBalancerSku": "standard",
+ "outboundType": "loadBalancer",
+ "loadBalancerProfile": {
+ "managedOutboundIPs": {
+ "count": 2
+ }
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser",
+ "adminPassword": "replacePassword1234$"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid",
+ "secret": "secret"
+ },
+ "addonProfiles": {},
+ "enableRBAC": true,
+ "diskEncryptionSetID": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
+ "enablePodSecurityPolicy": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": true,
+ "diskEncryptionSetID": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
+ "enablePodSecurityPolicy": true,
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "networkProfile": {
+ "loadBalancerSku": "basic",
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16",
+ "outboundType": "loadBalancer",
+ "loadBalancerProfile": {
+ "allocatedOutboundPorts": 2000,
+ "idleTimeoutInMinutes": 10,
+ "managedOutboundIPs": {
+ "count": 2
+ },
+ "effectiveOutboundIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Creating",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Creating",
+ "orchestratorVersion": "1.9.6",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": true,
+ "diskEncryptionSetID": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
+ "enablePodSecurityPolicy": true,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16",
+ "loadBalancerSku": "standard",
+ "outboundType": "loadBalancer",
+ "loadBalancerProfile": {
+ "allocatedOutboundPorts": 2000,
+ "idleTimeoutInMinutes": 10,
+ "managedOutboundIPs": {
+ "count": 2
+ },
+ "effectiveOutboundIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersDelete.json
new file mode 100644
index 000000000000..173739d100d7
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGet.json
new file mode 100644
index 000000000000..db3485931aa0
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGet.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ]
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "diskEncryptionSetID": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16",
+ "loadBalancerSku": "standard",
+ "outboundType": "loadBalancer",
+ "loadBalancerProfile": {
+ "allocatedOutboundPorts": 2000,
+ "idleTimeoutInMinutes": 10,
+ "outboundIPs": {
+ "publicIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/customeroutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/customeroutboundip2"
+ }
+ ]
+ },
+ "effectiveOutboundIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGetAccessProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGetAccessProfile.json
new file mode 100644
index 000000000000..212a8d87cb15
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGetAccessProfile.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "roleName": "clusterUser"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/accessProfiles/clusterUser",
+ "location": "location1",
+ "name": "clusterUser",
+ "properties": {
+ "kubeConfig": "kubeConfig1"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters/AccessProfiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGetUpgradeProfile.json
new file mode 100644
index 000000000000..76d8888a5a4e
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersGetUpgradeProfile.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/upgradeprofiles/default",
+ "name": "default",
+ "properties": {
+ "agentPoolProfiles": [
+ {
+ "kubernetesVersion": "1.7.7",
+ "name": "agent",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.7.9"
+ },
+ {
+ "kubernetesVersion": "1.7.11",
+ "isPreview": true
+ }
+ ]
+ }
+ ],
+ "controlPlaneProfile": {
+ "kubernetesVersion": "1.7.7",
+ "name": "master",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.7.9",
+ "isPreview": true
+ },
+ {
+ "kubernetesVersion": "1.7.11"
+ }
+ ]
+ }
+ },
+ "type": "Microsoft.ContainerService/managedClusters/upgradeprofiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersList.json
new file mode 100644
index 000000000000..9115ab6bf697
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersList.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/providers/Microsoft.ContainerService/managedClusters",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "maxAgentPools": 1,
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "diskEncryptionSetID": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersListByResourceGroup.json
new file mode 100644
index 000000000000..752dd3fe2e7a
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersListByResourceGroup.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "maxAgentPools": 1,
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "diskEncryptionSetID": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersListClusterCredentialResult.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersListClusterCredentialResult.json
new file mode 100644
index 000000000000..ee5cfb1d09f5
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersListClusterCredentialResult.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "kubeconfigs": [
+ {
+ "name": "credentialName1",
+ "value": "credentialValue1"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersResetAADProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersResetAADProfile.json
new file mode 100644
index 000000000000..00148942555e
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersResetAADProfile.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "clientAppID": "clientappid",
+ "serverAppID": "serverappid",
+ "serverAppSecret": "serverappsecret",
+ "tenantID": "tenantid"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersResetServicePrincipalProfile.json
new file mode 100644
index 000000000000..dd35fb3d656e
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersResetServicePrincipalProfile.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "clientId": "clientid",
+ "secret": "secret"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersRotateClusterCertificates.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersRotateClusterCertificates.json
new file mode 100644
index 000000000000..173739d100d7
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersRotateClusterCertificates.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersUpdateTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersUpdateTags.json
new file mode 100644
index 000000000000..4d2ae672dc33
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/examples/ManagedClustersUpdateTags.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "tags": {
+ "tier": "testing",
+ "archv3": ""
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv3": "",
+ "tier": "testing"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "diskEncryptionSetID": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
new file mode 100644
index 000000000000..530f1fb0dfa8
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
@@ -0,0 +1,2435 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ContainerServiceClient",
+ "description": "The Container Service Client.",
+ "version": "2020-01-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.ContainerService/operations": {
+ "get": {
+ "tags": [
+ "managedClusters"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of compute operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_List",
+ "summary": "Gets a list of managed clusters in the specified subscription.",
+ "description": "Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Managed Clusters": {
+ "$ref": "./examples/ManagedClustersList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListByResourceGroup",
+ "summary": "Lists managed clusters in the specified subscription and resource group.",
+ "description": "Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Managed Clusters by Resource Group": {
+ "$ref": "./examples/ManagedClustersListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_GetUpgradeProfile",
+ "summary": "Gets upgrade profile for a managed cluster.",
+ "description": "Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterUpgradeProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Upgrade Profile for Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGetUpgradeProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_GetAccessProfile",
+ "summary": "Gets an access profile of a managed cluster.",
+ "description": "Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "roleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the role for managed cluster accessProfile resource."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterAccessProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGetAccessProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListClusterAdminCredentials",
+ "summary": "Gets cluster admin credential of a managed cluster.",
+ "description": "Gets cluster admin credential of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CredentialResults"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListClusterUserCredentials",
+ "summary": "Gets cluster user credential of a managed cluster.",
+ "description": "Gets cluster user credential of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CredentialResults"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_Get",
+ "summary": "Gets a managed cluster.",
+ "description": "Gets the details of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_CreateOrUpdate",
+ "summary": "Creates or updates a managed cluster.",
+ "description": "Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ },
+ "description": "Parameters supplied to the Create or Update a Managed Cluster operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create/Update Managed Cluster": {
+ "$ref": "./examples/ManagedClustersCreate_Update.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_UpdateTags",
+ "summary": "Updates tags on a managed cluster.",
+ "description": "Updates a managed cluster with the specified tags.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the Update Managed Cluster Tags operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update Managed Cluster Tags": {
+ "$ref": "./examples/ManagedClustersUpdateTags.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_Delete",
+ "summary": "Deletes a managed cluster.",
+ "description": "Deletes the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Managed Cluster": {
+ "$ref": "./examples/ManagedClustersDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_List",
+ "summary": "Gets a list of agent pools in the specified managed cluster.",
+ "description": "Gets a list of agent pools in the specified managed cluster. The operation returns properties of each agent pool.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Agent Pools by Managed Cluster": {
+ "$ref": "./examples/AgentPoolsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_Get",
+ "summary": "Gets the agent pool.",
+ "description": "Gets the details of the agent pool by managed cluster and resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Agent Pool": {
+ "$ref": "./examples/AgentPoolsGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_CreateOrUpdate",
+ "summary": "Creates or updates an agent pool.",
+ "description": "Creates or updates an agent pool in the specified managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ },
+ "description": "Parameters supplied to the Create or Update an agent pool operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create/Update Agent Pool": {
+ "$ref": "./examples/AgentPoolsCreate_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_Delete",
+ "summary": "Deletes an agent pool.",
+ "description": "Deletes the agent pool in the specified managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Agent Pool": {
+ "$ref": "./examples/AgentPoolsDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_GetUpgradeProfile",
+ "summary": "Gets upgrade profile for an agent pool.",
+ "description": "Gets the details of the upgrade profile for an agent pool with a specified resource group and managed cluster name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolUpgradeProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Upgrade Profile for Agent Pool": {
+ "$ref": "./examples/AgentPoolsGetUpgradeProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_GetAvailableAgentPoolVersions",
+ "summary": "Gets a list of supported versions for the specified agent pool.",
+ "description": "Gets a list of supported versions for the specified agent pool.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolAvailableVersions"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available versions for agent pool": {
+ "$ref": "./examples/AgentPoolsGetAgentPoolAvailableVersions.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ResetServicePrincipalProfile",
+ "summary": "Reset Service Principal Profile of a managed cluster.",
+ "description": "Update the service principal Profile for a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterServicePrincipalProfile"
+ },
+ "description": "Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reset Service Principal Profile": {
+ "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ResetAADProfile",
+ "summary": "Reset AAD Profile of a managed cluster.",
+ "description": "Update the AAD Profile for a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterAADProfile"
+ },
+ "description": "Parameters supplied to the Reset AAD Profile operation for a Managed Cluster."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reset AAD Profile": {
+ "$ref": "./examples/ManagedClustersResetAADProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_RotateClusterCertificates",
+ "summary": "Rotate certificates of a managed cluster.",
+ "description": "Rotate certificates of a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Rotate Cluster Certificates": {
+ "$ref": "./examples/ManagedClustersRotateClusterCertificates.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/OperationValue"
+ },
+ "description": "The list of compute operations"
+ }
+ },
+ "description": "The List Compute Operation operation response."
+ },
+ "OperationValue": {
+ "properties": {
+ "origin": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The origin of the compute operation."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the compute operation."
+ },
+ "display": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationValueDisplay",
+ "description": "Describes the properties of a Compute Operation Value Display."
+ }
+ },
+ "description": "Describes the properties of a Compute Operation value."
+ },
+ "OperationValueDisplay": {
+ "properties": {
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the compute operation."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the resource the operation applies to."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The description of the operation."
+ },
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource provider for the operation."
+ }
+ },
+ "description": "Describes the properties of a Compute Operation Value Display."
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "SubResource": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ }
+ },
+ "description": "Reference to another subresource.",
+ "x-ms-azure-resource": true
+ },
+ "TagsObject": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Tags object for patch operations."
+ },
+ "ContainerServiceOSDisk": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 1023,
+ "minimum": 0,
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "ContainerServiceStorageProfile": {
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ContainerServiceStorageProfileTypes",
+ "modelAsString": true
+ },
+ "enum": [
+ "StorageAccount",
+ "ManagedDisks"
+ ],
+ "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
+ },
+ "ContainerServiceVnetSubnetID": {
+ "type": "string",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "ContainerServiceVMSize": {
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ContainerServiceVMSizeTypes",
+ "modelAsString": true
+ },
+ "description": "Size of agent VMs.",
+ "enum": [
+ "Standard_A1",
+ "Standard_A10",
+ "Standard_A11",
+ "Standard_A1_v2",
+ "Standard_A2",
+ "Standard_A2_v2",
+ "Standard_A2m_v2",
+ "Standard_A3",
+ "Standard_A4",
+ "Standard_A4_v2",
+ "Standard_A4m_v2",
+ "Standard_A5",
+ "Standard_A6",
+ "Standard_A7",
+ "Standard_A8",
+ "Standard_A8_v2",
+ "Standard_A8m_v2",
+ "Standard_A9",
+ "Standard_B2ms",
+ "Standard_B2s",
+ "Standard_B4ms",
+ "Standard_B8ms",
+ "Standard_D1",
+ "Standard_D11",
+ "Standard_D11_v2",
+ "Standard_D11_v2_Promo",
+ "Standard_D12",
+ "Standard_D12_v2",
+ "Standard_D12_v2_Promo",
+ "Standard_D13",
+ "Standard_D13_v2",
+ "Standard_D13_v2_Promo",
+ "Standard_D14",
+ "Standard_D14_v2",
+ "Standard_D14_v2_Promo",
+ "Standard_D15_v2",
+ "Standard_D16_v3",
+ "Standard_D16s_v3",
+ "Standard_D1_v2",
+ "Standard_D2",
+ "Standard_D2_v2",
+ "Standard_D2_v2_Promo",
+ "Standard_D2_v3",
+ "Standard_D2s_v3",
+ "Standard_D3",
+ "Standard_D32_v3",
+ "Standard_D32s_v3",
+ "Standard_D3_v2",
+ "Standard_D3_v2_Promo",
+ "Standard_D4",
+ "Standard_D4_v2",
+ "Standard_D4_v2_Promo",
+ "Standard_D4_v3",
+ "Standard_D4s_v3",
+ "Standard_D5_v2",
+ "Standard_D5_v2_Promo",
+ "Standard_D64_v3",
+ "Standard_D64s_v3",
+ "Standard_D8_v3",
+ "Standard_D8s_v3",
+ "Standard_DS1",
+ "Standard_DS11",
+ "Standard_DS11_v2",
+ "Standard_DS11_v2_Promo",
+ "Standard_DS12",
+ "Standard_DS12_v2",
+ "Standard_DS12_v2_Promo",
+ "Standard_DS13",
+ "Standard_DS13-2_v2",
+ "Standard_DS13-4_v2",
+ "Standard_DS13_v2",
+ "Standard_DS13_v2_Promo",
+ "Standard_DS14",
+ "Standard_DS14-4_v2",
+ "Standard_DS14-8_v2",
+ "Standard_DS14_v2",
+ "Standard_DS14_v2_Promo",
+ "Standard_DS15_v2",
+ "Standard_DS1_v2",
+ "Standard_DS2",
+ "Standard_DS2_v2",
+ "Standard_DS2_v2_Promo",
+ "Standard_DS3",
+ "Standard_DS3_v2",
+ "Standard_DS3_v2_Promo",
+ "Standard_DS4",
+ "Standard_DS4_v2",
+ "Standard_DS4_v2_Promo",
+ "Standard_DS5_v2",
+ "Standard_DS5_v2_Promo",
+ "Standard_E16_v3",
+ "Standard_E16s_v3",
+ "Standard_E2_v3",
+ "Standard_E2s_v3",
+ "Standard_E32-16s_v3",
+ "Standard_E32-8s_v3",
+ "Standard_E32_v3",
+ "Standard_E32s_v3",
+ "Standard_E4_v3",
+ "Standard_E4s_v3",
+ "Standard_E64-16s_v3",
+ "Standard_E64-32s_v3",
+ "Standard_E64_v3",
+ "Standard_E64s_v3",
+ "Standard_E8_v3",
+ "Standard_E8s_v3",
+ "Standard_F1",
+ "Standard_F16",
+ "Standard_F16s",
+ "Standard_F16s_v2",
+ "Standard_F1s",
+ "Standard_F2",
+ "Standard_F2s",
+ "Standard_F2s_v2",
+ "Standard_F32s_v2",
+ "Standard_F4",
+ "Standard_F4s",
+ "Standard_F4s_v2",
+ "Standard_F64s_v2",
+ "Standard_F72s_v2",
+ "Standard_F8",
+ "Standard_F8s",
+ "Standard_F8s_v2",
+ "Standard_G1",
+ "Standard_G2",
+ "Standard_G3",
+ "Standard_G4",
+ "Standard_G5",
+ "Standard_GS1",
+ "Standard_GS2",
+ "Standard_GS3",
+ "Standard_GS4",
+ "Standard_GS4-4",
+ "Standard_GS4-8",
+ "Standard_GS5",
+ "Standard_GS5-16",
+ "Standard_GS5-8",
+ "Standard_H16",
+ "Standard_H16m",
+ "Standard_H16mr",
+ "Standard_H16r",
+ "Standard_H8",
+ "Standard_H8m",
+ "Standard_L16s",
+ "Standard_L32s",
+ "Standard_L4s",
+ "Standard_L8s",
+ "Standard_M128-32ms",
+ "Standard_M128-64ms",
+ "Standard_M128ms",
+ "Standard_M128s",
+ "Standard_M64-16ms",
+ "Standard_M64-32ms",
+ "Standard_M64ms",
+ "Standard_M64s",
+ "Standard_NC12",
+ "Standard_NC12s_v2",
+ "Standard_NC12s_v3",
+ "Standard_NC24",
+ "Standard_NC24r",
+ "Standard_NC24rs_v2",
+ "Standard_NC24rs_v3",
+ "Standard_NC24s_v2",
+ "Standard_NC24s_v3",
+ "Standard_NC6",
+ "Standard_NC6s_v2",
+ "Standard_NC6s_v3",
+ "Standard_ND12s",
+ "Standard_ND24rs",
+ "Standard_ND24s",
+ "Standard_ND6s",
+ "Standard_NV12",
+ "Standard_NV24",
+ "Standard_NV6"
+ ]
+ },
+ "ManagedClusterServicePrincipalProfile": {
+ "properties": {
+ "clientId": {
+ "type": "string",
+ "description": "The ID for the service principal."
+ },
+ "secret": {
+ "type": "string",
+ "description": "The secret password associated with the service principal in plain text."
+ }
+ },
+ "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs.",
+ "required": [
+ "clientId"
+ ]
+ },
+ "ContainerServiceMasterProfile": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "enum": [
+ 1,
+ 3,
+ 5
+ ],
+ "x-ms-enum": {
+ "name": "Count",
+ "modelAsString": false
+ },
+ "description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1.",
+ "default": 1
+ },
+ "dnsPrefix": {
+ "type": "string",
+ "description": "DNS prefix to be used to create the FQDN for the master pool."
+ },
+ "vmSize": {
+ "$ref": "#/definitions/ContainerServiceVMSize",
+ "description": "Size of agent VMs."
+ },
+ "osDiskSizeGB": {
+ "$ref": "#/definitions/ContainerServiceOSDisk",
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "vnetSubnetID": {
+ "$ref": "#/definitions/ContainerServiceVnetSubnetID",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "firstConsecutiveStaticIP": {
+ "type": "string",
+ "description": "FirstConsecutiveStaticIP used to specify the first static ip of masters.",
+ "default": "10.240.255.5"
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/ContainerServiceStorageProfile",
+ "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
+ },
+ "fqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN for the master pool."
+ }
+ },
+ "required": [
+ "dnsPrefix",
+ "vmSize"
+ ],
+ "description": "Profile for the container service master."
+ },
+ "ManagedClusterAgentPoolProfileProperties": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 100,
+ "minimum": 1,
+ "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. ",
+ "default": 1
+ },
+ "vmSize": {
+ "$ref": "#/definitions/ContainerServiceVMSize",
+ "description": "Size of agent VMs."
+ },
+ "osDiskSizeGB": {
+ "$ref": "#/definitions/ContainerServiceOSDisk",
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "vnetSubnetID": {
+ "$ref": "#/definitions/ContainerServiceVnetSubnetID",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "maxPods": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of pods that can run on a node."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "maxCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of nodes for auto-scaling"
+ },
+ "minCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum number of nodes for auto-scaling"
+ },
+ "enableAutoScaling": {
+ "type": "boolean",
+ "description": "Whether to enable auto-scaler"
+ },
+ "type": {
+ "$ref": "#/definitions/AgentPoolType",
+ "description": "AgentPoolType represents types of an agent pool"
+ },
+ "orchestratorVersion": {
+ "type": "string",
+ "description": "Version of orchestrator specified when creating the managed cluster."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The current deployment or provisioning state, which only appears in the response."
+ },
+ "availabilityZones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType."
+ },
+ "enableNodePublicIP": {
+ "type": "boolean",
+ "description": "Enable public IP for nodes"
+ },
+ "scaleSetPriority": {
+ "$ref": "#/definitions/ScaleSetPriority",
+ "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular."
+ },
+ "scaleSetEvictionPolicy": {
+ "$ref": "#/definitions/ScaleSetEvictionPolicy",
+ "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Agent pool tags to be persisted on the agent pool virtual machine scale set."
+ },
+ "nodeLabels": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Agent pool node labels to be persisted across all nodes in agent pool."
+ },
+ "nodeTaints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule."
+ }
+ },
+ "required": [
+ "vmSize",
+ "count"
+ ],
+ "description": "Properties for the container service agent pool profile."
+ },
+ "ManagedClusterAgentPoolProfile": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties"
+ },
+ {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Unique name of the agent pool profile in the context of the subscription and resource group.",
+ "pattern": "^[a-z][a-z0-9]{0,11}$"
+ }
+ }
+ }
+ ],
+ "required": [
+ "name"
+ ],
+ "description": "Profile for the container service agent pool."
+ },
+ "AgentPoolType": {
+ "type": "string",
+ "enum": [
+ "VirtualMachineScaleSets",
+ "AvailabilitySet"
+ ],
+ "x-ms-enum": {
+ "name": "AgentPoolType",
+ "modelAsString": true
+ },
+ "description": "AgentPoolType represents types of an agent pool."
+ },
+ "AgentPoolListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AgentPool"
+ },
+ "description": "The list of agent pools."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of agent pool results.",
+ "readOnly": true
+ }
+ },
+ "description": "The response from the List Agent Pools operation."
+ },
+ "AgentPool": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "Properties of an agent pool.",
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ ],
+ "description": "Agent Pool."
+ },
+ "ManagedClusterWindowsProfile": {
+ "properties": {
+ "adminUsername": {
+ "type": "string",
+ "description": "The administrator username to use for Windows VMs.",
+ "pattern": "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"
+ },
+ "adminPassword": {
+ "type": "string",
+ "description": "The administrator password to use for Windows VMs.",
+ "pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"
+ }
+ },
+ "required": [
+ "adminUsername"
+ ],
+ "description": "Profile for Windows VMs in the container service cluster."
+ },
+ "ContainerServiceLinuxProfile": {
+ "properties": {
+ "adminUsername": {
+ "type": "string",
+ "description": "The administrator username to use for Linux VMs.",
+ "pattern": "^[A-Za-z][-A-Za-z0-9_]*$"
+ },
+ "ssh": {
+ "$ref": "#/definitions/ContainerServiceSshConfiguration",
+ "description": "SSH configuration for Linux-based VMs running on Azure."
+ }
+ },
+ "required": [
+ "adminUsername",
+ "ssh"
+ ],
+ "description": "Profile for Linux VMs in the container service cluster."
+ },
+ "ContainerServiceNetworkProfile": {
+ "properties": {
+ "networkPlugin": {
+ "type": "string",
+ "enum": [
+ "azure",
+ "kubenet"
+ ],
+ "default": "kubenet",
+ "x-ms-enum": {
+ "name": "NetworkPlugin",
+ "modelAsString": true
+ },
+ "description": "Network plugin used for building Kubernetes network."
+ },
+ "networkPolicy": {
+ "type": "string",
+ "enum": [
+ "calico",
+ "azure"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkPolicy",
+ "modelAsString": true
+ },
+ "description": "Network policy used for building Kubernetes network."
+ },
+ "podCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "10.244.0.0/16",
+ "description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used."
+ },
+ "serviceCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "10.0.0.0/16",
+ "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges."
+ },
+ "dnsServiceIP": {
+ "type": "string",
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "default": "10.0.0.10",
+ "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr."
+ },
+ "dockerBridgeCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "172.17.0.1/16",
+ "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range."
+ },
+ "outboundType": {
+ "type": "string",
+ "enum": [
+ "loadBalancer",
+ "userDefinedRouting"
+ ],
+ "x-ms-enum": {
+ "name": "outboundType",
+ "modelAsString": true
+ },
+ "default": "loadBalancer",
+ "description": "The outbound (egress) routing method."
+ },
+ "loadBalancerSku": {
+ "type": "string",
+ "enum": [
+ "standard",
+ "basic"
+ ],
+ "x-ms-enum": {
+ "name": "loadBalancerSku",
+ "modelAsString": true
+ },
+ "description": "The load balancer sku for the managed cluster."
+ },
+ "loadBalancerProfile": {
+ "$ref": "#/definitions/ManagedClusterLoadBalancerProfile",
+ "description": "Profile of the cluster load balancer."
+ }
+ },
+ "description": "Profile of network configuration."
+ },
+ "ManagedClusterLoadBalancerProfile": {
+ "properties": {
+ "managedOutboundIPs": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 100,
+ "minimum": 1,
+ "description": "Desired number of outbound IP created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. ",
+ "default": 1
+ }
+ },
+ "description": "Desired managed outbound IPs for the cluster load balancer."
+ },
+ "outboundIPPrefixes": {
+ "properties": {
+ "publicIPPrefixes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "A list of public IP prefix resources."
+ }
+ },
+ "description": "Desired outbound IP Prefix resources for the cluster load balancer."
+ },
+ "outboundIPs": {
+ "properties": {
+ "publicIPs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "A list of public IP resources."
+ }
+ },
+ "description": "Desired outbound IP resources for the cluster load balancer."
+ },
+ "effectiveOutboundIPs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "The effective outbound IP resources of the cluster load balancer."
+ },
+ "allocatedOutboundPorts": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 64000,
+ "minimum": 0,
+ "description": "Desired number of allocated SNAT ports per VM. Allowed values must be in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports.",
+ "default": 0
+ },
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 120,
+ "minimum": 4,
+ "description": "Desired outbound flow idle timeout in minutes. Allowed values must be in the range of 4 to 120 (inclusive). The default value is 30 minutes.",
+ "default": 30
+ }
+ },
+ "description": "Profile of the managed cluster load balancer."
+ },
+ "ResourceReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified Azure resource id."
+ }
+ },
+ "description": "A reference to an Azure resource."
+ },
+ "ContainerServiceSshConfiguration": {
+ "properties": {
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerServiceSshPublicKey"
+ },
+ "description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified."
+ }
+ },
+ "description": "SSH configuration for Linux-based VMs running on Azure.",
+ "required": [
+ "publicKeys"
+ ]
+ },
+ "ContainerServiceSshPublicKey": {
+ "properties": {
+ "keyData": {
+ "type": "string",
+ "description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
+ }
+ },
+ "required": [
+ "keyData"
+ ],
+ "description": "Contains information about SSH certificate public key data."
+ },
+ "ContainerServiceDiagnosticsProfile": {
+ "properties": {
+ "vmDiagnostics": {
+ "$ref": "#/definitions/ContainerServiceVMDiagnostics",
+ "description": "Profile for diagnostics on the container service VMs."
+ }
+ },
+ "description": "Profile for diagnostics on the container service cluster.",
+ "required": [
+ "vmDiagnostics"
+ ]
+ },
+ "ContainerServiceVMDiagnostics": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether the VM diagnostic agent is provisioned on the VM."
+ },
+ "storageUri": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI of the storage account where diagnostics are stored."
+ }
+ },
+ "description": "Profile for diagnostics on the container service VMs.",
+ "required": [
+ "enabled"
+ ]
+ },
+ "ManagedClusterListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedCluster"
+ },
+ "description": "The list of managed clusters."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of managed cluster results.",
+ "readOnly": true
+ }
+ },
+ "description": "The response from the List Managed Clusters operation."
+ },
+ "ManagedCluster": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "Properties of a managed cluster.",
+ "$ref": "#/definitions/ManagedClusterProperties",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "$ref": "#/definitions/ManagedClusterIdentity",
+ "description": "The identity of the managed cluster, if configured."
+ }
+ }
+ }
+ ],
+ "description": "Managed cluster."
+ },
+ "ManagedClusterProperties": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The current deployment or provisioning state, which only appears in the response."
+ },
+ "maxAgentPools": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The max number of agent pools for the managed cluster."
+ },
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Version of Kubernetes specified when creating the managed cluster."
+ },
+ "dnsPrefix": {
+ "type": "string",
+ "description": "DNS prefix specified when creating the managed cluster."
+ },
+ "fqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN for the master pool."
+ },
+ "privateFQDN": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN of private cluster."
+ },
+ "agentPoolProfiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfile"
+ },
+ "description": "Properties of the agent pool."
+ },
+ "linuxProfile": {
+ "$ref": "#/definitions/ContainerServiceLinuxProfile",
+ "description": "Profile for Linux VMs in the container service cluster."
+ },
+ "windowsProfile": {
+ "$ref": "#/definitions/ManagedClusterWindowsProfile",
+ "description": "Profile for Windows VMs in the container service cluster."
+ },
+ "servicePrincipalProfile": {
+ "$ref": "#/definitions/ManagedClusterServicePrincipalProfile",
+ "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
+ },
+ "addonProfiles": {
+ "additionalProperties": {
+ "$ref": "#/definitions/ManagedClusterAddonProfile"
+ },
+ "description": "Profile of managed cluster add-on."
+ },
+ "nodeResourceGroup": {
+ "type": "string",
+ "description": "Name of the resource group containing agent pool nodes."
+ },
+ "enableRBAC": {
+ "type": "boolean",
+ "description": "Whether to enable Kubernetes Role-Based Access Control."
+ },
+ "enablePodSecurityPolicy": {
+ "type": "boolean",
+ "description": "(PREVIEW) Whether to enable Kubernetes Pod security policy."
+ },
+ "networkProfile": {
+ "$ref": "#/definitions/ContainerServiceNetworkProfile",
+ "description": "Profile of network configuration."
+ },
+ "aadProfile": {
+ "$ref": "#/definitions/ManagedClusterAADProfile",
+ "description": "Profile of Azure Active Directory configuration."
+ },
+ "apiServerAccessProfile": {
+ "$ref": "#/definitions/ManagedClusterAPIServerAccessProfile",
+ "description": "Access profile for managed cluster API server."
+ },
+ "diskEncryptionSetID": {
+ "type": "string",
+ "description": "ResourceId of the disk encryption set to use for enabling encryption at rest."
+ },
+ "identityProfile": {
+ "additionalProperties": {
+ "readOnly": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/UserAssignedIdentity"
+ }
+ ]
+ },
+ "description": "Identities associated with the cluster."
+ }
+ },
+ "description": "Properties of the managed cluster."
+ },
+ "ManagedClusterAPIServerAccessProfile": {
+ "properties": {
+ "authorizedIPRanges": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Authorized IP Ranges to kubernetes API server."
+ },
+ "enablePrivateCluster": {
+ "type": "boolean",
+ "description": "Whether to create the cluster as a private cluster or not."
+ }
+ },
+ "description": "Access profile for managed cluster API server."
+ },
+ "ManagedClusterIdentity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of the system assigned identity which is used by master components."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant id of the system assigned identity which is used by master components."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly created identity in master components and an auto-created user assigned identity in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service principal will be used instead.",
+ "enum": [
+ "SystemAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Identity for the managed cluster."
+ },
+ "UserAssignedIdentity": {
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "description": "The resource id of the user assigned identity."
+ },
+ "clientId": {
+ "type": "string",
+ "description": "The client id of the user assigned identity."
+ },
+ "objectId": {
+ "type": "string",
+ "description": "The object id of the user assigned identity."
+ }
+ }
+ },
+ "ManagedClusterAccessProfile": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "AccessProfile of a managed cluster.",
+ "$ref": "#/definitions/AccessProfile",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ ],
+ "description": "Managed cluster Access Profile.",
+ "x-ms-azure-resource": false
+ },
+ "AccessProfile": {
+ "type": "object",
+ "properties": {
+ "kubeConfig": {
+ "type": "string",
+ "format": "byte",
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "Profile for enabling a user to access a managed cluster."
+ },
+ "ManagedClusterPoolUpgradeProfile": {
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "name": {
+ "type": "string",
+ "description": "Pool name."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "ContainerServiceOSTypes",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "upgrades": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of orchestrator types and versions available for upgrade."
+ }
+ },
+ "required": [
+ "kubernetesVersion",
+ "osType"
+ ],
+ "description": "The list of available upgrade versions."
+ },
+ "ManagedClusterUpgradeProfileProperties": {
+ "properties": {
+ "controlPlaneProfile": {
+ "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile",
+ "description": "The list of available upgrade versions for the control plane."
+ },
+ "agentPoolProfiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile"
+ },
+ "description": "The list of available upgrade versions for agent pools."
+ }
+ },
+ "required": [
+ "controlPlaneProfile",
+ "agentPoolProfiles"
+ ],
+ "description": "Control plane and agent pool upgrade profiles."
+ },
+ "ManagedClusterAADProfile": {
+ "properties": {
+ "clientAppID": {
+ "type": "string",
+ "description": "The client AAD application ID."
+ },
+ "serverAppID": {
+ "type": "string",
+ "description": "The server AAD application ID."
+ },
+ "serverAppSecret": {
+ "type": "string",
+ "description": "The server AAD application secret."
+ },
+ "tenantID": {
+ "type": "string",
+ "description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription."
+ }
+ },
+ "required": [
+ "clientAppID",
+ "serverAppID"
+ ],
+ "description": "AADProfile specifies attributes for Azure Active Directory integration."
+ },
+ "ManagedClusterAddonProfile": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether the add-on is enabled or not."
+ },
+ "config": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value pairs for configuring an add-on."
+ },
+ "identity": {
+ "readOnly": true,
+ "description": "Information of user assigned identity used by this add-on.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UserAssignedIdentity"
+ }
+ ]
+ }
+ },
+ "required": [
+ "enabled"
+ ],
+ "description": "A Kubernetes add-on profile for a managed cluster."
+ },
+ "ManagedClusterUpgradeProfile": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of upgrade profile."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of upgrade profile."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of upgrade profile."
+ },
+ "properties": {
+ "$ref": "#/definitions/ManagedClusterUpgradeProfileProperties",
+ "description": "Properties of upgrade profile.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available upgrades for compute pools."
+ },
+ "AgentPoolUpgradeProfile": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of the agent pool upgrade profile."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the agent pool upgrade profile."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the agent pool upgrade profile."
+ },
+ "properties": {
+ "$ref": "#/definitions/AgentPoolUpgradeProfileProperties",
+ "description": "Properties of agent pool upgrade profile.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available upgrades for an agent pool."
+ },
+ "AgentPoolUpgradeProfileProperties": {
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "ContainerServiceOSTypes",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "upgrades": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of orchestrator types and versions available for upgrade."
+ }
+ },
+ "required": [
+ "kubernetesVersion",
+ "osType"
+ ],
+ "description": "The list of available upgrade versions."
+ },
+ "AgentPoolAvailableVersions": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of the agent pool available versions."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the agent pool available versions."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the agent pool available versions."
+ },
+ "properties": {
+ "$ref": "#/definitions/AgentPoolAvailableVersionsProperties",
+ "description": "Properties of agent pool available versions.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available versions for an agent pool."
+ },
+ "AgentPoolAvailableVersionsProperties": {
+ "properties": {
+ "agentPoolVersions": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "default": {
+ "type": "boolean",
+ "description": "Whether this version is the default agent pool version."
+ },
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of versions available for agent pool."
+ }
+ },
+ "description": "The list of available agent pool versions."
+ },
+ "OSType": {
+ "type": "string",
+ "default": "Linux",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "ScaleSetPriority": {
+ "type": "string",
+ "default": "Regular",
+ "enum": [
+ "Low",
+ "Regular"
+ ],
+ "x-ms-enum": {
+ "name": "ScaleSetPriority",
+ "modelAsString": true
+ },
+ "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular."
+ },
+ "ScaleSetEvictionPolicy": {
+ "type": "string",
+ "default": "Delete",
+ "enum": [
+ "Delete",
+ "Deallocate"
+ ],
+ "x-ms-enum": {
+ "name": "ScaleSetEvictionPolicy",
+ "modelAsString": true
+ },
+ "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete."
+ },
+ "CredentialResults": {
+ "properties": {
+ "kubeconfigs": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/CredentialResult"
+ },
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "The list of credential result response."
+ },
+ "CredentialResult": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the credential."
+ },
+ "value": {
+ "type": "string",
+ "format": "byte",
+ "readOnly": true,
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "The credential result response."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody",
+ "description": "Details about the error."
+ }
+ },
+ "description": "An error response from the Container service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Container service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version.",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceNameParameter": {
+ "name": "resourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 63,
+ "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$",
+ "description": "The name of the managed cluster resource.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/readme.go.md b/specification/containerservice/resource-manager/readme.go.md
index bfebefd3d5ed..e15f9cbda2df 100644
--- a/specification/containerservice/resource-manager/readme.go.md
+++ b/specification/containerservice/resource-manager/readme.go.md
@@ -12,6 +12,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2020-01
- tag: package-2019-11
- tag: package-2019-10
- tag: package-2019-08
@@ -27,6 +28,16 @@ batch:
- tag: package-2017-07
```
+### Tag: package-2020-01 and go
+
+These settings apply only when `--package-2020-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2020-01' && $(go)
+namespace: containerservice
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-01-01/$(namespace)
+```
+
### Tag: package-2019-11 and go
These settings apply only when `--package-2019-11 --go` is specified on the command line.
diff --git a/specification/containerservice/resource-manager/readme.java.md b/specification/containerservice/resource-manager/readme.java.md
index 51dc3f4eee5a..44e242c3403e 100644
--- a/specification/containerservice/resource-manager/readme.java.md
+++ b/specification/containerservice/resource-manager/readme.java.md
@@ -20,6 +20,20 @@ batch:
- tag: package-2019-08
- tag: package-2019-10
- tag: package-2019-11
+ - tag: package-2020-01
+```
+
+### Tag: package-2020-01 and java
+
+These settings apply only when `--tag=package-2020-01` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2020-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerservice.v2020_01_01
+ output-folder: $(azure-libraries-for-java-folder)/sdk/containerservice/mgmt-v2020_01_01
+regenerate-manager: true
+generate-interface: true
```
### Tag: package-2019-11 and java
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index 944cb86f2c09..059071b42300 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -34,9 +34,20 @@ These are the global settings for the ContainerServices API.
``` yaml
openapi-type: arm
-tag: package-2019-11
+tag: package-2020-01
```
+### Tag: package-2020-01
+
+These settings apply only when `--tag=package-2020-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2020-01'
+input-file:
+ - Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
+ - Microsoft.ContainerService/stable/2017-07-01/containerService.json
+ - Microsoft.ContainerService/stable/2019-08-01/location.json
+ - Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
+```
### Tag: package-2019-11
@@ -186,6 +197,15 @@ input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
```
+### Tag: package-2020-01-01-only
+
+These settings apply only when `--tag=package-2020-01-01-only` is specified on the command line.
+
+``` yaml $(tag) == 'package-2020-01-01-only'
+input-file:
+- Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
+```
+
### Tag: package-2019-11-01-only
These settings apply only when `--tag=package-2019-11-01-only` is specified on the command line.
@@ -419,6 +439,7 @@ input-file:
- $(this-folder)/Microsoft.ContainerService/stable/2017-07-01/containerService.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/location.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/preview/2019-09-30/openShiftManagedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
diff --git a/specification/containerservice/resource-manager/readme.python.md b/specification/containerservice/resource-manager/readme.python.md
index 114dc47f8e02..243c605b8638 100644
--- a/specification/containerservice/resource-manager/readme.python.md
+++ b/specification/containerservice/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2020-01-01-only
- tag: package-2019-11-01-only
- tag: package-2019-10-01-only
- tag: package-2019-08-01-only
@@ -32,6 +33,17 @@ batch:
- tag: package-2017-07-only-extended
```
+### Tag: package-2020-01-01-only and python
+
+These settings apply only when `--tag=package-2020-01-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2020-01-01-only' && $(python)
+python:
+ namespace: azure.mgmt.containerservice.v2020_01_01
+ output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01
+```
+
### Tag: package-2019-11-01-only and python
These settings apply only when `--tag=package-2019-11-01-only --python` is specified on the command line.
From 2f1a4add14ff82a726afd0ea4cef864b900f8172 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Mon, 6 Jan 2020 08:05:18 +0000
Subject: [PATCH 167/469] regenerated all-api-versions
---
specification/containerservice/resource-manager/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index 059071b42300..ab68877dcc5e 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -438,8 +438,8 @@ input-file:
- $(this-folder)/Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2017-07-01/containerService.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/location.json
- - $(this-folder)/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/preview/2019-09-30/openShiftManagedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
From f7475a752a8019712b1195cdf876d8cc169f4c08 Mon Sep 17 00:00:00 2001
From: Zhenfeng
Date: Mon, 6 Jan 2020 17:40:46 -0800
Subject: [PATCH 168/469] [SRP] Add default response status code (#8065)
* [SRP] Add response status code 404
* Add default response
---
.../stable/2019-06-01/storage.json | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index e457d4b98b7b..488dfd9635c8 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -162,6 +162,12 @@
},
"202": {
"description": "Accepted -- Create or update request accepted; operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-long-running-operation": true
@@ -245,6 +251,12 @@
"schema": {
"$ref": "#/definitions/StorageAccount"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
}
},
@@ -291,6 +303,12 @@
"schema": {
"$ref": "#/definitions/StorageAccount"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
}
}
@@ -457,6 +475,12 @@
"schema": {
"$ref": "#/definitions/StorageAccountListKeysResult"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
}
}
@@ -666,6 +690,12 @@
"schema": {
"$ref": "#/definitions/ManagementPolicy"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
}
},
@@ -712,6 +742,12 @@
"schema": {
"$ref": "#/definitions/ManagementPolicy"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
}
},
From 1c8a11eb09086a15b113a6b79a105ad488c1f019 Mon Sep 17 00:00:00 2001
From: sivanguetta <46525261+sivanguetta@users.noreply.github.com>
Date: Tue, 7 Jan 2020 04:10:01 +0200
Subject: [PATCH 169/469] Update the metric alerts swagger to include 'Count'
as a supported aggregation type (#8055)
---
.../Microsoft.Insights/stable/2018-03-01/metricAlert_API.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
index ca7fdba8a5a2..0346eec05390 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
@@ -797,7 +797,8 @@
"Average",
"Minimum",
"Maximum",
- "Total"
+ "Total",
+ "Count"
],
"x-ms-enum": {
"name": "AggregationType",
From 2556391a6e9ba3a244b2d5e4d68de2e80a909343 Mon Sep 17 00:00:00 2001
From: Ran Wang
Date: Mon, 6 Jan 2020 18:13:00 -0800
Subject: [PATCH 170/469] Apply fix api-version and ScopeDeployment from
2019-08-01 to 2019-10-01 (#8043)
* Added previous version spec as initial commit.
* Modified all the api-version for the existing example files.
* Added tag related api spec to resource file as well add example files.
* Modified readme related files.
* Execute prettier to reorganize the file.
* Pull request comments related fixes.
* Use scope to support nested resources for tags.
* Update examples based on scope change.
* Remove first slash to resolve model validation error.
* Combine tracked resource and subscription apis for tags.
* Modifed the examples to match the changes in resource.json.
* Utilize the shared parameters, and update the examples.
* Removing "required" from TagPatchRequest as getting R2016 error.
* Collapse TagRequest and TagResponse into TagsResource.
* Removed 404 response as covered in default scenario, as well updated corresponding examples.
* Apply fix api-version from method property to client property for 2019-10-01.
---
.../stable/2019-10-01/resources.json | 89 +++++++------------
1 file changed, 33 insertions(+), 56 deletions(-)
diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/resources.json
index 95277e46c2ef..5fefb1a9b3e5 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/resources.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/resources.json
@@ -461,7 +461,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/ScopedDeployment"
},
"description": "Additional parameters supplied to the operation."
},
@@ -571,7 +571,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/ScopedDeployment"
},
"description": "Parameters to validate."
},
@@ -765,7 +765,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/ScopedDeployment"
},
"description": "Additional parameters supplied to the operation."
},
@@ -884,7 +884,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/ScopedDeployment"
},
"description": "Parameters to validate."
},
@@ -2135,7 +2135,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "The filter to apply on the operation.
The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.
For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'
You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.
For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)
You can link more than one substringof together by adding and/or operators.
You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'
You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId."
+ "description": "The filter to apply on the operation.
The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.
For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'
You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.
For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)
You can link more than one substringof together by adding and/or operators.
You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.
You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId."
},
{
"name": "$expand",
@@ -2633,7 +2633,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "The filter to apply on the operation.
The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.
For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'
You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.
For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)
You can link more than one substringof together by adding and/or operators.
You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'
You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId."
+ "description": "The filter to apply on the operation.
The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.
For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'
You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.
For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)
You can link more than one substringof together by adding and/or operators.
You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.
You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId."
},
{
"name": "$expand",
@@ -2726,11 +2726,7 @@
"description": "The name of the resource to check whether it exists."
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -2799,11 +2795,7 @@
"description": "The name of the resource to delete."
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -2876,11 +2868,7 @@
"description": "The name of the resource to create."
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "parameters",
@@ -2968,11 +2956,7 @@
"description": "The name of the resource to update."
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "parameters",
@@ -3054,11 +3038,7 @@
"description": "The name of the resource to get."
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -3097,11 +3077,7 @@
"x-ms-skip-url-encoding": true
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -3135,11 +3111,7 @@
"x-ms-skip-url-encoding": true
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -3177,11 +3149,7 @@
"x-ms-skip-url-encoding": true
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "parameters",
@@ -3234,11 +3202,7 @@
"x-ms-skip-url-encoding": true
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "parameters",
@@ -3285,11 +3249,7 @@
"x-ms-skip-url-encoding": true
},
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
+ "$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -4295,6 +4255,23 @@
],
"description": "Deployment operation parameters."
},
+ "ScopedDeployment": {
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "The location to store the deployment data."
+ },
+ "properties": {
+ "$ref": "#/definitions/DeploymentProperties",
+ "description": "The deployment properties."
+ }
+ },
+ "required": [
+ "location",
+ "properties"
+ ],
+ "description": "Deployment operation parameters."
+ },
"DeploymentExportResult": {
"properties": {
"template": {
From 8362072d97602604b83df593aa2c1915952a126b Mon Sep 17 00:00:00 2001
From: Mathew Charles
Date: Mon, 6 Jan 2020 20:06:13 -0800
Subject: [PATCH 171/469] Updating Functions ARM APIs (#7939)
---
.../stable/2019-08-01/WebApps.json | 5028 ++++++++++-------
specification/web/resource-manager/readme.md | 18 +
2 files changed, 2998 insertions(+), 2048 deletions(-)
diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2019-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2019-08-01/WebApps.json
index 39791ff45f3a..eab6a6c3d4b7 100644
--- a/specification/web/resource-manager/Microsoft.Web/stable/2019-08-01/WebApps.json
+++ b/specification/web/resource-manager/Microsoft.Web/stable/2019-08-01/WebApps.json
@@ -3323,14 +3323,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Get function secrets for a function in a web site, or a deployment slot.",
- "description": "Description for Get function secrets for a function in a web site, or a deployment slot.",
- "operationId": "WebApps_ListFunctionSecrets",
+ "summary": "Add or update a function secret.",
+ "description": "Description for Add or update a function secret.",
+ "operationId": "WebApps_CreateOrUpdateFunctionSecret",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3345,10 +3345,26 @@
{
"name": "functionName",
"in": "path",
- "description": "Function name.",
+ "description": "The name of the function.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the key.",
"required": true,
"type": "string"
},
+ {
+ "name": "key",
+ "in": "body",
+ "description": "The key to create or update",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/KeyInfo"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -3357,10 +3373,16 @@
}
],
"responses": {
+ "201": {
+ "description": "Key was created.",
+ "schema": {
+ "$ref": "#/definitions/KeyInfo"
+ }
+ },
"200": {
- "description": "Function secrets returned.",
+ "description": "Key was updated.",
"schema": {
- "$ref": "#/definitions/FunctionSecrets"
+ "$ref": "#/definitions/KeyInfo"
}
},
"default": {
@@ -3370,16 +3392,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": {
- "get": {
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Get hostname bindings for an app or a deployment slot.",
- "description": "Description for Get hostname bindings for an app or a deployment slot.",
- "operationId": "WebApps_ListHostNameBindings",
+ "summary": "Delete a function secret.",
+ "description": "Description for Delete a function secret.",
+ "operationId": "WebApps_DeleteFunctionSecret",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3387,7 +3407,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "functionName",
+ "in": "path",
+ "description": "The name of the function.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the key.",
"required": true,
"type": "string"
},
@@ -3399,11 +3433,11 @@
}
],
"responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/HostNameBindingCollection"
- }
+ "404": {
+ "description": "Key was not found."
+ },
+ "204": {
+ "description": "Key was deleted."
},
"default": {
"description": "App Service error response.",
@@ -3411,20 +3445,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Get the named hostname binding for an app (or deployment slot, if specified).",
- "description": "Description for Get the named hostname binding for an app (or deployment slot, if specified).",
- "operationId": "WebApps_GetHostNameBinding",
+ "summary": "Get function keys for a function in a web site, or a deployment slot.",
+ "description": "Description for Get function keys for a function in a web site, or a deployment slot.",
+ "operationId": "WebApps_ListFunctionKeys",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3432,14 +3463,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "hostName",
+ "name": "functionName",
"in": "path",
- "description": "Hostname in the hostname binding.",
+ "description": "Function name.",
"required": true,
"type": "string"
},
@@ -3452,9 +3483,9 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Function keys returned.",
"schema": {
- "$ref": "#/definitions/HostNameBinding"
+ "$ref": "#/definitions/StringDictionary"
}
},
"default": {
@@ -3464,14 +3495,16 @@
}
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Creates a hostname binding for an app.",
- "description": "Description for Creates a hostname binding for an app.",
- "operationId": "WebApps_CreateOrUpdateHostNameBinding",
+ "summary": "Get function secrets for a function in a web site, or a deployment slot.",
+ "description": "Description for Get function secrets for a function in a web site, or a deployment slot.",
+ "operationId": "WebApps_ListFunctionSecrets",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3479,26 +3512,17 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "hostName",
+ "name": "functionName",
"in": "path",
- "description": "Hostname in the hostname binding.",
+ "description": "Function name.",
"required": true,
"type": "string"
},
- {
- "name": "hostNameBinding",
- "in": "body",
- "description": "Binding details. This is the JSON representation of a HostNameBinding object.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/HostNameBinding"
- }
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -3508,9 +3532,9 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Function secrets returned.",
"schema": {
- "$ref": "#/definitions/HostNameBinding"
+ "$ref": "#/definitions/FunctionSecrets"
}
},
"default": {
@@ -3520,14 +3544,16 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Deletes a hostname binding for an app.",
- "description": "Description for Deletes a hostname binding for an app.",
- "operationId": "WebApps_DeleteHostNameBinding",
+ "summary": "Get host secrets for a function app.",
+ "description": "Description for Get host secrets for a function app.",
+ "operationId": "WebApps_ListHostKeys",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3535,14 +3561,7 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
- "required": true,
- "type": "string"
- },
- {
- "name": "hostName",
- "in": "path",
- "description": "Hostname in the hostname binding.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
@@ -3555,10 +3574,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted hostname binding."
- },
- "204": {
- "description": "Hostname binding does not exist."
+ "description": "Host secrets returned.",
+ "schema": {
+ "$ref": "#/definitions/HostKeys"
+ }
},
"default": {
"description": "App Service error response.",
@@ -3569,14 +3588,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.",
- "description": "Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App.",
- "operationId": "WebApps_GetHybridConnection",
+ "summary": "This is to allow calling via powershell and ARM template.",
+ "description": "Description for This is to allow calling via powershell and ARM template.",
+ "operationId": "WebApps_ListSyncStatus",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3584,21 +3603,46 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "namespaceName",
- "in": "path",
- "description": "The namespace for this hybrid connection.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
- "name": "relayName",
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync": {
+ "post": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Syncs function trigger metadata to the management database",
+ "description": "Description for Syncs function trigger metadata to the management database",
+ "operationId": "WebApps_SyncFunctions",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
"in": "path",
- "description": "The relay name for this hybrid connection.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
@@ -3610,11 +3654,8 @@
}
],
"responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
- }
+ "204": {
+ "description": "No Content"
},
"default": {
"description": "App Service error response.",
@@ -3623,14 +3664,16 @@
}
}
}
- },
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}": {
"put": {
"tags": [
"WebApps"
],
- "summary": "Creates a new Hybrid Connection using a Service Bus relay.",
- "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.",
- "operationId": "WebApps_CreateOrUpdateHybridConnection",
+ "summary": "Add or update a host level secret.",
+ "description": "Description for Add or update a host level secret.",
+ "operationId": "WebApps_CreateOrUpdateHostSecret",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3638,31 +3681,31 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "namespaceName",
+ "name": "keyType",
"in": "path",
- "description": "The namespace for this hybrid connection.",
+ "description": "The type of host key.",
"required": true,
"type": "string"
},
{
- "name": "relayName",
+ "name": "keyName",
"in": "path",
- "description": "The relay name for this hybrid connection.",
+ "description": "The name of the key.",
"required": true,
"type": "string"
},
{
- "name": "connectionEnvelope",
+ "name": "key",
"in": "body",
- "description": "The details of the hybrid connection.",
+ "description": "The key to create or update",
"required": true,
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
+ "$ref": "#/definitions/KeyInfo"
}
},
{
@@ -3673,10 +3716,16 @@
}
],
"responses": {
+ "201": {
+ "description": "Key was created.",
+ "schema": {
+ "$ref": "#/definitions/KeyInfo"
+ }
+ },
"200": {
- "description": "OK",
+ "description": "Key was updated.",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
+ "$ref": "#/definitions/KeyInfo"
}
},
"default": {
@@ -3691,9 +3740,9 @@
"tags": [
"WebApps"
],
- "summary": "Removes a Hybrid Connection from this site.",
- "description": "Description for Removes a Hybrid Connection from this site.",
- "operationId": "WebApps_DeleteHybridConnection",
+ "summary": "Delete a host level secret.",
+ "description": "Description for Delete a host level secret.",
+ "operationId": "WebApps_DeleteHostSecret",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3701,21 +3750,21 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "namespaceName",
+ "name": "keyType",
"in": "path",
- "description": "The namespace for this hybrid connection.",
+ "description": "The type of host key.",
"required": true,
"type": "string"
},
{
- "name": "relayName",
+ "name": "keyName",
"in": "path",
- "description": "The relay name for this hybrid connection.",
+ "description": "The name of the key.",
"required": true,
"type": "string"
},
@@ -3727,11 +3776,11 @@
}
],
"responses": {
- "200": {
- "description": "Successfully deleted hybrid connection."
- },
"404": {
- "description": "Hybrid connection does not exist."
+ "description": "Key was not found."
+ },
+ "204": {
+ "description": "Key was deleted."
},
"default": {
"description": "App Service error response.",
@@ -3740,14 +3789,16 @@
}
}
}
- },
- "patch": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Creates a new Hybrid Connection using a Service Bus relay.",
- "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.",
- "operationId": "WebApps_UpdateHybridConnection",
+ "summary": "Get hostname bindings for an app or a deployment slot.",
+ "description": "Description for Get hostname bindings for an app or a deployment slot.",
+ "operationId": "WebApps_ListHostNameBindings",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3755,33 +3806,10 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
- "required": true,
- "type": "string"
- },
- {
- "name": "namespaceName",
- "in": "path",
- "description": "The namespace for this hybrid connection.",
- "required": true,
- "type": "string"
- },
- {
- "name": "relayName",
- "in": "path",
- "description": "The relay name for this hybrid connection.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
- {
- "name": "connectionEnvelope",
- "in": "body",
- "description": "The details of the hybrid connection.",
- "required": true,
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
- }
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -3793,7 +3821,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
+ "$ref": "#/definitions/HostNameBindingCollection"
}
},
"default": {
@@ -3802,17 +3830,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.",
- "description": "Description for Retrieves all Service Bus Hybrid Connections used by this Web App.",
- "operationId": "WebApps_ListHybridConnections",
+ "summary": "Get the named hostname binding for an app (or deployment slot, if specified).",
+ "description": "Description for Get the named hostname binding for an app (or deployment slot, if specified).",
+ "operationId": "WebApps_GetHostNameBinding",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3820,7 +3851,14 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "description": "Hostname in the hostname binding.",
"required": true,
"type": "string"
},
@@ -3835,7 +3873,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
+ "$ref": "#/definitions/HostNameBinding"
}
},
"default": {
@@ -3845,16 +3883,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection": {
- "get": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).",
- "description": "Description for Gets hybrid connections configured for an app (or deployment slot, if specified).",
- "operationId": "WebApps_ListRelayServiceConnections",
+ "summary": "Creates a hostname binding for an app.",
+ "description": "Description for Creates a hostname binding for an app.",
+ "operationId": "WebApps_CreateOrUpdateHostNameBinding",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3866,6 +3902,22 @@
"required": true,
"type": "string"
},
+ {
+ "name": "hostName",
+ "in": "path",
+ "description": "Hostname in the hostname binding.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "hostNameBinding",
+ "in": "body",
+ "description": "Binding details. This is the JSON representation of a HostNameBinding object.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/HostNameBinding"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -3877,8 +3929,55 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/RelayServiceConnectionEntity"
+ "$ref": "#/definitions/HostNameBinding"
+ }
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Deletes a hostname binding for an app.",
+ "description": "Description for Deletes a hostname binding for an app.",
+ "operationId": "WebApps_DeleteHostNameBinding",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "description": "Hostname in the hostname binding.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted hostname binding."
+ },
+ "204": {
+ "description": "Hostname binding does not exist."
},
"default": {
"description": "App Service error response.",
@@ -3889,14 +3988,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets a hybrid connection configuration by its name.",
- "description": "Description for Gets a hybrid connection configuration by its name.",
- "operationId": "WebApps_GetRelayServiceConnection",
+ "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.",
+ "description": "Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App.",
+ "operationId": "WebApps_GetHybridConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3904,14 +4003,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
{
- "name": "entityName",
+ "name": "namespaceName",
"in": "path",
- "description": "Name of the hybrid connection.",
+ "description": "The namespace for this hybrid connection.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "relayName",
+ "in": "path",
+ "description": "The relay name for this hybrid connection.",
"required": true,
"type": "string"
},
@@ -3926,7 +4032,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/RelayServiceConnectionEntity"
+ "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
}
},
"default": {
@@ -3941,9 +4047,9 @@
"tags": [
"WebApps"
],
- "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).",
- "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).",
- "operationId": "WebApps_CreateOrUpdateRelayServiceConnection",
+ "summary": "Creates a new Hybrid Connection using a Service Bus relay.",
+ "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.",
+ "operationId": "WebApps_CreateOrUpdateHybridConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -3951,24 +4057,31 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
{
- "name": "entityName",
+ "name": "namespaceName",
"in": "path",
- "description": "Name of the hybrid connection configuration.",
+ "description": "The namespace for this hybrid connection.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "relayName",
+ "in": "path",
+ "description": "The relay name for this hybrid connection.",
"required": true,
"type": "string"
},
{
"name": "connectionEnvelope",
"in": "body",
- "description": "Details of the hybrid connection configuration.",
+ "description": "The details of the hybrid connection.",
"required": true,
"schema": {
- "$ref": "#/definitions/RelayServiceConnectionEntity"
+ "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
}
},
{
@@ -3982,7 +4095,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/RelayServiceConnectionEntity"
+ "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
}
},
"default": {
@@ -3997,9 +4110,9 @@
"tags": [
"WebApps"
],
- "summary": "Deletes a relay service connection by its name.",
- "description": "Description for Deletes a relay service connection by its name.",
- "operationId": "WebApps_DeleteRelayServiceConnection",
+ "summary": "Removes a Hybrid Connection from this site.",
+ "description": "Description for Removes a Hybrid Connection from this site.",
+ "operationId": "WebApps_DeleteHybridConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4007,14 +4120,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
{
- "name": "entityName",
+ "name": "namespaceName",
"in": "path",
- "description": "Name of the hybrid connection configuration.",
+ "description": "The namespace for this hybrid connection.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "relayName",
+ "in": "path",
+ "description": "The relay name for this hybrid connection.",
"required": true,
"type": "string"
},
@@ -4027,10 +4147,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted relay service connection."
+ "description": "Successfully deleted hybrid connection."
},
"404": {
- "description": "Relay service connection does not exist."
+ "description": "Hybrid connection does not exist."
},
"default": {
"description": "App Service error response.",
@@ -4044,9 +4164,9 @@
"tags": [
"WebApps"
],
- "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).",
- "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).",
- "operationId": "WebApps_UpdateRelayServiceConnection",
+ "summary": "Creates a new Hybrid Connection using a Service Bus relay.",
+ "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.",
+ "operationId": "WebApps_UpdateHybridConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4054,24 +4174,31 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
{
- "name": "entityName",
+ "name": "namespaceName",
"in": "path",
- "description": "Name of the hybrid connection configuration.",
+ "description": "The namespace for this hybrid connection.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "relayName",
+ "in": "path",
+ "description": "The relay name for this hybrid connection.",
"required": true,
"type": "string"
},
{
"name": "connectionEnvelope",
"in": "body",
- "description": "Details of the hybrid connection configuration.",
+ "description": "The details of the hybrid connection.",
"required": true,
"schema": {
- "$ref": "#/definitions/RelayServiceConnectionEntity"
+ "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
}
},
{
@@ -4085,7 +4212,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/RelayServiceConnectionEntity"
+ "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
}
},
"default": {
@@ -4097,14 +4224,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets all scale-out instances of an app.",
- "description": "Description for Gets all scale-out instances of an app.",
- "operationId": "WebApps_ListInstanceIdentifiers",
+ "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.",
+ "description": "Description for Retrieves all Service Bus Hybrid Connections used by this Web App.",
+ "operationId": "WebApps_ListHybridConnections",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4112,7 +4239,7 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
@@ -4127,7 +4254,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/WebAppInstanceCollection"
+ "$ref": "./CommonDefinitions.json#/definitions/HybridConnection"
}
},
"default": {
@@ -4136,20 +4263,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets all scale-out instances of an app.",
- "description": "Description for Gets all scale-out instances of an app.",
- "operationId": "WebApps_GetInstanceInfo",
+ "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).",
+ "description": "Description for Gets hybrid connections configured for an app (or deployment slot, if specified).",
+ "operationId": "WebApps_ListRelayServiceConnections",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4161,12 +4285,6 @@
"required": true,
"type": "string"
},
- {
- "name": "instanceId",
- "in": "path",
- "required": true,
- "type": "string"
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -4178,7 +4296,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/WebSiteInstanceStatus"
+ "$ref": "#/definitions/RelayServiceConnectionEntity"
}
},
"default": {
@@ -4187,22 +4305,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-examples": {
- "Get site instance info": {
- "$ref": "./examples/GetSiteInstanceInfo.json"
- }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Get the status of the last MSDeploy operation.",
- "description": "Description for Get the status of the last MSDeploy operation.",
- "operationId": "WebApps_GetInstanceMsDeployStatus",
+ "summary": "Gets a hybrid connection configuration by its name.",
+ "description": "Description for Gets a hybrid connection configuration by its name.",
+ "operationId": "WebApps_GetRelayServiceConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4210,14 +4323,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "instanceId",
+ "name": "entityName",
"in": "path",
- "description": "ID of web app instance.",
+ "description": "Name of the hybrid connection.",
"required": true,
"type": "string"
},
@@ -4232,7 +4345,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/MSDeployStatus"
+ "$ref": "#/definitions/RelayServiceConnectionEntity"
}
},
"default": {
@@ -4247,9 +4360,9 @@
"tags": [
"WebApps"
],
- "summary": "Invoke the MSDeploy web app extension.",
- "description": "Description for Invoke the MSDeploy web app extension.",
- "operationId": "WebApps_CreateInstanceMSDeployOperation",
+ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).",
+ "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).",
+ "operationId": "WebApps_CreateOrUpdateRelayServiceConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4257,24 +4370,24 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "instanceId",
+ "name": "entityName",
"in": "path",
- "description": "ID of web app instance.",
+ "description": "Name of the hybrid connection configuration.",
"required": true,
"type": "string"
},
{
- "name": "MSDeploy",
+ "name": "connectionEnvelope",
"in": "body",
- "description": "Details of MSDeploy operation",
+ "description": "Details of the hybrid connection configuration.",
"required": true,
"schema": {
- "$ref": "#/definitions/MSDeploy"
+ "$ref": "#/definitions/RelayServiceConnectionEntity"
}
},
{
@@ -4285,33 +4398,27 @@
}
],
"responses": {
- "201": {
- "description": "Deployment is scheduled.",
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/MSDeployStatus"
+ "$ref": "#/definitions/RelayServiceConnectionEntity"
}
},
- "409": {
- "description": "Another deployment is in progress."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": {
- "get": {
+ }
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Get the MSDeploy Log for the last MSDeploy operation.",
- "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.",
- "operationId": "WebApps_GetInstanceMSDeployLog",
+ "summary": "Deletes a relay service connection by its name.",
+ "description": "Description for Deletes a relay service connection by its name.",
+ "operationId": "WebApps_DeleteRelayServiceConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4319,14 +4426,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "instanceId",
+ "name": "entityName",
"in": "path",
- "description": "ID of web app instance.",
+ "description": "Name of the hybrid connection configuration.",
"required": true,
"type": "string"
},
@@ -4339,13 +4446,10 @@
],
"responses": {
"200": {
- "description": "MSDeploy log returned.",
- "schema": {
- "$ref": "#/definitions/MSDeployLog"
- }
+ "description": "Successfully deleted relay service connection."
},
"404": {
- "description": "MSDeploy log not found."
+ "description": "Relay service connection does not exist."
},
"default": {
"description": "App Service error response.",
@@ -4354,16 +4458,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes": {
- "get": {
+ },
+ "patch": {
"tags": [
"WebApps"
],
- "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.",
- "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_ListInstanceProcesses",
+ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).",
+ "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).",
+ "operationId": "WebApps_UpdateRelayServiceConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4371,17 +4473,26 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "instanceId",
+ "name": "entityName",
"in": "path",
- "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
+ "description": "Name of the hybrid connection configuration.",
"required": true,
"type": "string"
},
+ {
+ "name": "connectionEnvelope",
+ "in": "body",
+ "description": "Details of the hybrid connection configuration.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RelayServiceConnectionEntity"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -4391,34 +4502,28 @@
],
"responses": {
"200": {
- "description": "Process terminated.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/ProcessInfoCollection"
+ "$ref": "#/definitions/RelayServiceConnectionEntity"
}
},
- "404": {
- "description": "Process with the specified ID is not running."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Get process information by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_GetInstanceProcess",
+ "summary": "Gets all scale-out instances of an app.",
+ "description": "Description for Gets all scale-out instances of an app.",
+ "operationId": "WebApps_ListInstanceIdentifiers",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4426,21 +4531,7 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "processId",
- "in": "path",
- "description": "PID.",
- "required": true,
- "type": "string"
- },
- {
- "name": "instanceId",
- "in": "path",
- "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
@@ -4453,29 +4544,31 @@
],
"responses": {
"200": {
- "description": "Process information returned.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/ProcessInfo"
+ "$ref": "#/definitions/WebAppInstanceCollection"
}
},
- "404": {
- "description": "Process with the specified ID is not running."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.",
- "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.",
- "operationId": "WebApps_DeleteInstanceProcess",
+ "summary": "Gets all scale-out instances of an app.",
+ "description": "Description for Gets all scale-out instances of an app.",
+ "operationId": "WebApps_GetInstanceInfo",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4483,21 +4576,13 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "processId",
- "in": "path",
- "description": "PID.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
"name": "instanceId",
"in": "path",
- "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
"required": true,
"type": "string"
},
@@ -4509,11 +4594,11 @@
}
],
"responses": {
- "204": {
- "description": "Process terminated."
- },
- "404": {
- "description": "Process with the specified ID is not running."
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/WebSiteInstanceStatus"
+ }
},
"default": {
"description": "App Service error response.",
@@ -4521,17 +4606,22 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "Get site instance info": {
+ "$ref": "./examples/GetSiteInstanceInfo.json"
+ }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_GetInstanceProcessDump",
+ "summary": "Get the status of the last MSDeploy operation.",
+ "description": "Description for Get the status of the last MSDeploy operation.",
+ "operationId": "WebApps_GetInstanceMsDeployStatus",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4539,21 +4629,14 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "processId",
- "in": "path",
- "description": "PID.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
"name": "instanceId",
"in": "path",
- "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
+ "description": "ID of web app instance.",
"required": true,
"type": "string"
},
@@ -4568,12 +4651,9 @@
"200": {
"description": "OK",
"schema": {
- "type": "file"
+ "$ref": "#/definitions/MSDeployStatus"
}
},
- "404": {
- "description": "Process with the specified ID is not running."
- },
"default": {
"description": "App Service error response.",
"schema": {
@@ -4581,16 +4661,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules": {
- "get": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_ListInstanceProcessModules",
+ "summary": "Invoke the MSDeploy web app extension.",
+ "description": "Description for Invoke the MSDeploy web app extension.",
+ "operationId": "WebApps_CreateInstanceMSDeployOperation",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4598,23 +4676,25 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
- "name": "processId",
+ "name": "instanceId",
"in": "path",
- "description": "PID.",
+ "description": "ID of web app instance.",
"required": true,
"type": "string"
},
{
- "name": "instanceId",
- "in": "path",
- "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
+ "name": "MSDeploy",
+ "in": "body",
+ "description": "Details of MSDeploy operation",
"required": true,
- "type": "string"
+ "schema": {
+ "$ref": "#/definitions/MSDeploy"
+ }
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -4624,14 +4704,14 @@
}
],
"responses": {
- "200": {
- "description": "Module information returned.",
+ "201": {
+ "description": "Deployment is scheduled.",
"schema": {
- "$ref": "#/definitions/ProcessModuleInfoCollection"
+ "$ref": "#/definitions/MSDeployStatus"
}
},
- "404": {
- "description": "Process with the specified ID is not running."
+ "409": {
+ "description": "Another deployment is in progress."
},
"default": {
"description": "App Service error response.",
@@ -4640,19 +4720,17 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Get process information by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_GetInstanceProcessModule",
+ "summary": "Get the MSDeploy Log for the last MSDeploy operation.",
+ "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.",
+ "operationId": "WebApps_GetInstanceMSDeployLog",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4660,28 +4738,14 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "processId",
- "in": "path",
- "description": "PID.",
- "required": true,
- "type": "string"
- },
- {
- "name": "baseAddress",
- "in": "path",
- "description": "Module base address.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
"name": "instanceId",
"in": "path",
- "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
+ "description": "ID of web app instance.",
"required": true,
"type": "string"
},
@@ -4694,13 +4758,13 @@
],
"responses": {
"200": {
- "description": "Module information returned.",
+ "description": "MSDeploy log returned.",
"schema": {
- "$ref": "#/definitions/ProcessModuleInfo"
+ "$ref": "#/definitions/MSDeployLog"
}
},
"404": {
- "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found."
+ "description": "MSDeploy log not found."
},
"default": {
"description": "App Service error response.",
@@ -4711,14 +4775,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes": {
"get": {
"tags": [
"WebApps"
],
- "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_ListInstanceProcessThreads",
+ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.",
+ "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_ListInstanceProcesses",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4731,14 +4795,7 @@
"type": "string"
},
{
- "name": "processId",
- "in": "path",
- "description": "PID.",
- "required": true,
- "type": "string"
- },
- {
- "name": "instanceId",
+ "name": "instanceId",
"in": "path",
"description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
"required": true,
@@ -4753,9 +4810,9 @@
],
"responses": {
"200": {
- "description": "Thread information returned.",
+ "description": "Process terminated.",
"schema": {
- "$ref": "#/definitions/ProcessThreadInfoCollection"
+ "$ref": "#/definitions/ProcessInfoCollection"
}
},
"404": {
@@ -4773,14 +4830,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Shows whether an app can be cloned to another resource group or subscription.",
- "description": "Description for Shows whether an app can be cloned to another resource group or subscription.",
- "operationId": "WebApps_IsCloneable",
+ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_GetInstanceProcess",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4788,7 +4845,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
"required": true,
"type": "string"
},
@@ -4801,11 +4872,14 @@
],
"responses": {
"200": {
- "description": "OK.",
+ "description": "Process information returned.",
"schema": {
- "$ref": "#/definitions/SiteCloneability"
+ "$ref": "#/definitions/ProcessInfo"
}
},
+ "404": {
+ "description": "Process with the specified ID is not running."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -4813,16 +4887,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups": {
- "post": {
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Gets existing backups of an app.",
- "description": "Description for Gets existing backups of an app.",
- "operationId": "WebApps_ListSiteBackups",
+ "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.",
+ "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.",
+ "operationId": "WebApps_DeleteInstanceProcess",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4830,7 +4902,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
"required": true,
"type": "string"
},
@@ -4842,11 +4928,11 @@
}
],
"responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/BackupItemCollection"
- }
+ "204": {
+ "description": "Process terminated."
+ },
+ "404": {
+ "description": "Process with the specified ID is not running."
},
"default": {
"description": "App Service error response.",
@@ -4854,25 +4940,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-examples": {
- "List backups": {
- "$ref": "./examples/ListSlotBackups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "This is to allow calling via powershell and ARM template.",
- "description": "Description for This is to allow calling via powershell and ARM template.",
- "operationId": "WebApps_ListSyncFunctionTriggers",
+ "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_GetInstanceProcessDump",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4880,7 +4958,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
"required": true,
"type": "string"
},
@@ -4895,9 +4987,12 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/FunctionSecrets"
+ "type": "file"
}
},
+ "404": {
+ "description": "Process with the specified ID is not running."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -4907,40 +5002,38 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": {
- "put": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Restores a web app.",
- "description": "Description for Restores a web app.",
- "operationId": "WebApps_MigrateStorage",
+ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_ListInstanceProcessModules",
"parameters": [
- {
- "name": "subscriptionName",
- "in": "query",
- "description": "Azure subscription.",
- "required": true,
- "type": "string"
- },
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "migrationOptions",
- "in": "body",
- "description": "Migration migrationOptions.",
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
"required": true,
- "schema": {
- "$ref": "#/definitions/StorageMigrationOptions"
- }
+ "type": "string"
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
+ "required": true,
+ "type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -4951,11 +5044,14 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Module information returned.",
"schema": {
- "$ref": "#/definitions/StorageMigrationResponse"
+ "$ref": "#/definitions/ProcessModuleInfoCollection"
}
},
+ "404": {
+ "description": "Process with the specified ID is not running."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -4963,17 +5059,19 @@
}
}
},
- "x-ms-long-running-operation": true
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Migrates a local (in-app) MySql database to a remote MySql database.",
- "description": "Description for Migrates a local (in-app) MySql database to a remote MySql database.",
- "operationId": "WebApps_MigrateMySql",
+ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_GetInstanceProcessModule",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -4981,18 +5079,30 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "migrationRequestEnvelope",
- "in": "body",
- "description": "MySql migration options.",
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
"required": true,
- "schema": {
- "$ref": "#/definitions/MigrateMySqlRequest"
- }
+ "type": "string"
+ },
+ {
+ "name": "baseAddress",
+ "in": "path",
+ "description": "Module base address.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
+ "required": true,
+ "type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -5003,29 +5113,31 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Module information returned.",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Operation"
+ "$ref": "#/definitions/ProcessModuleInfo"
}
},
+ "404": {
+ "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found."
+ },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled",
- "description": "Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled",
- "operationId": "WebApps_GetMigrateMySqlStatus",
+ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_ListInstanceProcessThreads",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5033,7 +5145,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".",
"required": true,
"type": "string"
},
@@ -5046,30 +5172,36 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Thread information returned.",
"schema": {
- "$ref": "#/definitions/MigrateMySqlStatus"
+ "$ref": "#/definitions/ProcessThreadInfoCollection"
}
},
+ "404": {
+ "description": "Process with the specified ID is not running."
+ },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Gets a Swift Virtual Network connection.",
- "description": "Description for Gets a Swift Virtual Network connection.",
- "operationId": "WebApps_GetSwiftVirtualNetworkConnection",
- "parameters": [
- {
+ "summary": "Shows whether an app can be cloned to another resource group or subscription.",
+ "description": "Description for Shows whether an app can be cloned to another resource group or subscription.",
+ "operationId": "WebApps_IsCloneable",
+ "parameters": [
+ {
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
@@ -5090,7 +5222,7 @@
"200": {
"description": "OK.",
"schema": {
- "$ref": "#/definitions/SwiftVirtualNetwork"
+ "$ref": "#/definitions/SiteCloneability"
}
},
"default": {
@@ -5100,14 +5232,16 @@
}
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.",
- "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.",
- "operationId": "WebApps_CreateOrUpdateSwiftVirtualNetworkConnection",
+ "summary": "Gets existing backups of an app.",
+ "description": "Description for Gets existing backups of an app.",
+ "operationId": "WebApps_ListSiteBackups",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5119,15 +5253,6 @@
"required": true,
"type": "string"
},
- {
- "name": "connectionEnvelope",
- "in": "body",
- "description": "Properties of the Virtual Network connection. See example.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/SwiftVirtualNetwork"
- }
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -5139,7 +5264,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SwiftVirtualNetwork"
+ "$ref": "#/definitions/BackupItemCollection"
}
},
"default": {
@@ -5148,15 +5273,25 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "List backups": {
+ "$ref": "./examples/ListSlotBackups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Deletes a Swift Virtual Network connection from an app (or deployment slot).",
- "description": "Description for Deletes a Swift Virtual Network connection from an app (or deployment slot).",
- "operationId": "WebApps_DeleteSwiftVirtualNetwork",
+ "summary": "This is to allow calling via powershell and ARM template.",
+ "description": "Description for This is to allow calling via powershell and ARM template.",
+ "operationId": "WebApps_ListSyncFunctionTriggers",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5177,10 +5312,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted virtual network."
- },
- "404": {
- "description": "Virtual network does not exist."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/FunctionSecrets"
+ }
},
"default": {
"description": "App Service error response.",
@@ -5189,32 +5324,41 @@
}
}
}
- },
- "patch": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.",
- "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.",
- "operationId": "WebApps_UpdateSwiftVirtualNetworkConnection",
+ "summary": "Restores a web app.",
+ "description": "Description for Restores a web app.",
+ "operationId": "WebApps_MigrateStorage",
"parameters": [
+ {
+ "name": "subscriptionName",
+ "in": "query",
+ "description": "Azure subscription.",
+ "required": true,
+ "type": "string"
+ },
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
- "name": "connectionEnvelope",
+ "name": "migrationOptions",
"in": "body",
- "description": "Properties of the Virtual Network connection. See example.",
+ "description": "Migration migrationOptions.",
"required": true,
"schema": {
- "$ref": "#/definitions/SwiftVirtualNetwork"
+ "$ref": "#/definitions/StorageMigrationOptions"
}
},
{
@@ -5228,7 +5372,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SwiftVirtualNetwork"
+ "$ref": "#/definitions/StorageMigrationResponse"
}
},
"default": {
@@ -5237,17 +5381,18 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Gets all network features used by the app (or deployment slot, if specified).",
- "description": "Description for Gets all network features used by the app (or deployment slot, if specified).",
- "operationId": "WebApps_ListNetworkFeatures",
+ "summary": "Migrates a local (in-app) MySql database to a remote MySql database.",
+ "description": "Description for Migrates a local (in-app) MySql database to a remote MySql database.",
+ "operationId": "WebApps_MigrateMySql",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5255,16 +5400,18 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
- "name": "view",
- "in": "path",
- "description": "The type of view. This can either be \"summary\" or \"detailed\".",
+ "name": "migrationRequestEnvelope",
+ "in": "body",
+ "description": "MySql migration options.",
"required": true,
- "type": "string"
+ "schema": {
+ "$ref": "#/definitions/MigrateMySqlRequest"
+ }
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -5275,31 +5422,29 @@
],
"responses": {
"200": {
- "description": "OK.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/NetworkFeatures"
+ "$ref": "./CommonDefinitions.json#/definitions/Operation"
}
},
- "404": {
- "description": "The requested view does not exist."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).",
- "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).",
- "operationId": "WebApps_GetNetworkTraceOperation",
+ "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled",
+ "description": "Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled",
+ "operationId": "WebApps_GetMigrateMySqlStatus",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5307,14 +5452,7 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
- "required": true,
- "type": "string"
- },
- {
- "name": "operationId",
- "in": "path",
- "description": "GUID of the operation.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
@@ -5329,19 +5467,7 @@
"200": {
"description": "OK",
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkTrace"
- }
- }
- },
- "202": {
- "description": "Operation is in progress.",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkTrace"
- }
+ "$ref": "#/definitions/MigrateMySqlStatus"
}
},
"default": {
@@ -5350,22 +5476,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-examples": {
- "Get the current status of a network trace operation for a site": {
- "$ref": "./examples/GetWebSiteNetworkTraceOperation.json"
- }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Start capturing network packets for the site (To be deprecated).",
- "description": "Description for Start capturing network packets for the site (To be deprecated).",
- "operationId": "WebApps_StartWebSiteNetworkTrace",
+ "summary": "Gets a Swift Virtual Network connection.",
+ "description": "Description for Gets a Swift Virtual Network connection.",
+ "operationId": "WebApps_GetSwiftVirtualNetworkConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5373,30 +5494,10 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
- {
- "name": "durationInSeconds",
- "in": "query",
- "description": "The duration to keep capturing in seconds.",
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "maxFrameLength",
- "in": "query",
- "description": "The maximum frame length in bytes (Optional).",
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "sasUrl",
- "in": "query",
- "description": "The Blob URL to store capture file.",
- "type": "string"
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -5406,9 +5507,9 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "OK.",
"schema": {
- "type": "string"
+ "$ref": "#/definitions/SwiftVirtualNetwork"
}
},
"default": {
@@ -5418,16 +5519,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation": {
- "post": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Start capturing network packets for the site.",
- "description": "Description for Start capturing network packets for the site.",
- "operationId": "WebApps_StartWebSiteNetworkTraceOperation",
+ "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.",
+ "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.",
+ "operationId": "WebApps_CreateOrUpdateSwiftVirtualNetworkConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5435,29 +5534,18 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "durationInSeconds",
- "in": "query",
- "description": "The duration to keep capturing in seconds.",
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "maxFrameLength",
- "in": "query",
- "description": "The maximum frame length in bytes (Optional).",
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "sasUrl",
- "in": "query",
- "description": "The Blob URL to store capture file.",
- "type": "string"
+ "name": "connectionEnvelope",
+ "in": "body",
+ "description": "Properties of the Virtual Network connection. See example.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SwiftVirtualNetwork"
+ }
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -5470,19 +5558,7 @@
"200": {
"description": "OK",
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkTrace"
- }
- }
- },
- "202": {
- "description": "Operation is in progress.",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkTrace"
- }
+ "$ref": "#/definitions/SwiftVirtualNetwork"
}
},
"default": {
@@ -5491,23 +5567,15 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-examples": {
- "Start a new network trace operation for a site": {
- "$ref": "./examples/StartWebSiteNetworkTraceOperation.json"
- }
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop": {
- "post": {
+ }
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Stop ongoing capturing network packets for the site.",
- "description": "Description for Stop ongoing capturing network packets for the site.",
- "operationId": "WebApps_StopWebSiteNetworkTrace",
+ "summary": "Deletes a Swift Virtual Network connection from an app (or deployment slot).",
+ "description": "Description for Deletes a Swift Virtual Network connection from an app (or deployment slot).",
+ "operationId": "WebApps_DeleteSwiftVirtualNetwork",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5515,7 +5583,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
@@ -5528,10 +5596,10 @@
],
"responses": {
"200": {
- "description": "Stopped."
+ "description": "Successfully deleted virtual network."
},
- "204": {
- "description": "Stopped."
+ "404": {
+ "description": "Virtual network does not exist."
},
"default": {
"description": "App Service error response.",
@@ -5539,22 +5607,15 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-examples": {
- "Stop a currently running network trace operation for a site": {
- "$ref": "./examples/StopWebSiteNetworkTrace.json"
- }
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}": {
- "get": {
+ },
+ "patch": {
"tags": [
"WebApps"
],
- "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).",
- "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).",
- "operationId": "WebApps_GetNetworkTraces",
+ "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.",
+ "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.",
+ "operationId": "WebApps_UpdateSwiftVirtualNetworkConnection",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5567,11 +5628,13 @@
"type": "string"
},
{
- "name": "operationId",
- "in": "path",
- "description": "GUID of the operation.",
+ "name": "connectionEnvelope",
+ "in": "body",
+ "description": "Properties of the Virtual Network connection. See example.",
"required": true,
- "type": "string"
+ "schema": {
+ "$ref": "#/definitions/SwiftVirtualNetwork"
+ }
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -5584,10 +5647,7 @@
"200": {
"description": "OK",
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkTrace"
- }
+ "$ref": "#/definitions/SwiftVirtualNetwork"
}
},
"default": {
@@ -5596,22 +5656,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-examples": {
- "Get NetworkTraces for a site": {
- "$ref": "./examples/GetWebSiteNetworkTraces.json"
- }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).",
- "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).",
- "operationId": "WebApps_GetNetworkTraceOperationV2",
+ "summary": "Gets all network features used by the app (or deployment slot, if specified).",
+ "description": "Description for Gets all network features used by the app (or deployment slot, if specified).",
+ "operationId": "WebApps_ListNetworkFeatures",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5624,9 +5679,9 @@
"type": "string"
},
{
- "name": "operationId",
+ "name": "view",
"in": "path",
- "description": "GUID of the operation.",
+ "description": "The type of view. This can either be \"summary\" or \"detailed\".",
"required": true,
"type": "string"
},
@@ -5639,22 +5694,13 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "OK.",
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkTrace"
- }
+ "$ref": "#/definitions/NetworkFeatures"
}
},
- "202": {
- "description": "Operation is in progress.",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkTrace"
- }
- }
+ "404": {
+ "description": "The requested view does not exist."
},
"default": {
"description": "App Service error response.",
@@ -5662,22 +5708,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-examples": {
- "Get the current status of a network trace operation for a site": {
- "$ref": "./examples/GetWebSiteNetworkTraceOperation.json"
- }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}": {
"get": {
"tags": [
"WebApps"
],
"summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).",
"description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).",
- "operationId": "WebApps_GetNetworkTracesV2",
+ "operationId": "WebApps_GetNetworkTraceOperation",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5713,6 +5754,15 @@
}
}
},
+ "202": {
+ "description": "Operation is in progress.",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkTrace"
+ }
+ }
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -5721,20 +5771,20 @@
}
},
"x-ms-examples": {
- "Get NetworkTraces for a site": {
- "$ref": "./examples/GetWebSiteNetworkTraces.json"
+ "Get the current status of a network trace operation for a site": {
+ "$ref": "./examples/GetWebSiteNetworkTraceOperation.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start": {
"post": {
"tags": [
"WebApps"
],
- "summary": "Generates a new publishing password for an app (or deployment slot, if specified).",
- "description": "Description for Generates a new publishing password for an app (or deployment slot, if specified).",
- "operationId": "WebApps_GenerateNewSitePublishingPassword",
+ "summary": "Start capturing network packets for the site (To be deprecated).",
+ "description": "Description for Start capturing network packets for the site (To be deprecated).",
+ "operationId": "WebApps_StartWebSiteNetworkTrace",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5742,10 +5792,30 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
+ {
+ "name": "durationInSeconds",
+ "in": "query",
+ "description": "The duration to keep capturing in seconds.",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "maxFrameLength",
+ "in": "query",
+ "description": "The maximum frame length in bytes (Optional).",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "sasUrl",
+ "in": "query",
+ "description": "The Blob URL to store capture file.",
+ "type": "string"
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -5755,10 +5825,10 @@
],
"responses": {
"200": {
- "description": "Successfully generate new password."
- },
- "204": {
- "description": "Successfully generate new password."
+ "description": "OK",
+ "schema": {
+ "type": "string"
+ }
},
"default": {
"description": "App Service error response.",
@@ -5769,14 +5839,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Gets perfmon counters for web app.",
- "description": "Description for Gets perfmon counters for web app.",
- "operationId": "WebApps_ListPerfMonCounters",
+ "summary": "Start capturing network packets for the site.",
+ "description": "Description for Start capturing network packets for the site.",
+ "operationId": "WebApps_StartWebSiteNetworkTraceOperation",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5784,16 +5854,29 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
{
- "name": "$filter",
+ "name": "durationInSeconds",
"in": "query",
- "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'.",
- "type": "string",
- "x-ms-skip-url-encoding": true
+ "description": "The duration to keep capturing in seconds.",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "maxFrameLength",
+ "in": "query",
+ "description": "The maximum frame length in bytes (Optional).",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "sasUrl",
+ "in": "query",
+ "description": "The Blob URL to store capture file.",
+ "type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -5806,7 +5889,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/PerfMonCounterCollection"
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkTrace"
+ }
+ }
+ },
+ "202": {
+ "description": "Operation is in progress.",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkTrace"
+ }
}
},
"default": {
@@ -5816,19 +5911,22 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
+ "x-ms-examples": {
+ "Start a new network trace operation for a site": {
+ "$ref": "./examples/StartWebSiteNetworkTraceOperation.json"
+ }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Gets web app's event logs.",
- "description": "Description for Gets web app's event logs.",
- "operationId": "WebApps_GetSitePhpErrorLogFlag",
+ "summary": "Stop ongoing capturing network packets for the site.",
+ "description": "Description for Stop ongoing capturing network packets for the site.",
+ "operationId": "WebApps_StopWebSiteNetworkTrace",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5836,7 +5934,7 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
@@ -5849,10 +5947,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SitePhpErrorLogFlag"
- }
+ "description": "Stopped."
+ },
+ "204": {
+ "description": "Stopped."
},
"default": {
"description": "App Service error response.",
@@ -5860,17 +5958,22 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "Stop a currently running network trace operation for a site": {
+ "$ref": "./examples/StopWebSiteNetworkTrace.json"
+ }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets the premier add-ons of an app.",
- "description": "Description for Gets the premier add-ons of an app.",
- "operationId": "WebApps_ListPremierAddOns",
+ "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).",
+ "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).",
+ "operationId": "WebApps_GetNetworkTraces",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5882,6 +5985,13 @@
"required": true,
"type": "string"
},
+ {
+ "name": "operationId",
+ "in": "path",
+ "description": "GUID of the operation.",
+ "required": true,
+ "type": "string"
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -5893,7 +6003,10 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/PremierAddOn"
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkTrace"
+ }
}
},
"default": {
@@ -5902,17 +6015,22 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "Get NetworkTraces for a site": {
+ "$ref": "./examples/GetWebSiteNetworkTraces.json"
+ }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets a named add-on of an app.",
- "description": "Description for Gets a named add-on of an app.",
- "operationId": "WebApps_GetPremierAddOn",
+ "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).",
+ "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).",
+ "operationId": "WebApps_GetNetworkTraceOperationV2",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5925,9 +6043,9 @@
"type": "string"
},
{
- "name": "premierAddOnName",
+ "name": "operationId",
"in": "path",
- "description": "Add-on name.",
+ "description": "GUID of the operation.",
"required": true,
"type": "string"
},
@@ -5942,7 +6060,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/PremierAddOn"
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkTrace"
+ }
+ }
+ },
+ "202": {
+ "description": "Operation is in progress.",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkTrace"
+ }
}
},
"default": {
@@ -5951,15 +6081,22 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "Get the current status of a network trace operation for a site": {
+ "$ref": "./examples/GetWebSiteNetworkTraceOperation.json"
+ }
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Updates a named add-on of an app.",
- "description": "Description for Updates a named add-on of an app.",
- "operationId": "WebApps_AddPremierAddOn",
+ "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).",
+ "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).",
+ "operationId": "WebApps_GetNetworkTracesV2",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -5972,21 +6109,12 @@
"type": "string"
},
{
- "name": "premierAddOnName",
+ "name": "operationId",
"in": "path",
- "description": "Add-on name.",
+ "description": "GUID of the operation.",
"required": true,
"type": "string"
},
- {
- "name": "premierAddOn",
- "in": "body",
- "description": "A JSON representation of the edited premier add-on.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PremierAddOn"
- }
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -5998,7 +6126,10 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/PremierAddOn"
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkTrace"
+ }
}
},
"default": {
@@ -6007,15 +6138,22 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "Get NetworkTraces for a site": {
+ "$ref": "./examples/GetWebSiteNetworkTraces.json"
+ }
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Delete a premier add-on from an app.",
- "description": "Description for Delete a premier add-on from an app.",
- "operationId": "WebApps_DeletePremierAddOn",
+ "summary": "Generates a new publishing password for an app (or deployment slot, if specified).",
+ "description": "Description for Generates a new publishing password for an app (or deployment slot, if specified).",
+ "operationId": "WebApps_GenerateNewSitePublishingPassword",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6027,13 +6165,6 @@
"required": true,
"type": "string"
},
- {
- "name": "premierAddOnName",
- "in": "path",
- "description": "Add-on name.",
- "required": true,
- "type": "string"
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -6043,7 +6174,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted premier add-on."
+ "description": "Successfully generate new password."
+ },
+ "204": {
+ "description": "Successfully generate new password."
},
"default": {
"description": "App Service error response.",
@@ -6052,14 +6186,16 @@
}
}
}
- },
- "patch": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Updates a named add-on of an app.",
- "description": "Description for Updates a named add-on of an app.",
- "operationId": "WebApps_UpdatePremierAddOn",
+ "summary": "Gets perfmon counters for web app.",
+ "description": "Description for Gets perfmon counters for web app.",
+ "operationId": "WebApps_ListPerfMonCounters",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6067,25 +6203,16 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
- "required": true,
- "type": "string"
- },
- {
- "name": "premierAddOnName",
- "in": "path",
- "description": "Add-on name.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
- "name": "premierAddOn",
- "in": "body",
- "description": "A JSON representation of the edited premier add-on.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PremierAddOnPatchResource"
- }
+ "name": "$filter",
+ "in": "query",
+ "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'.",
+ "type": "string",
+ "x-ms-skip-url-encoding": true
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -6098,7 +6225,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/PremierAddOn"
+ "$ref": "#/definitions/PerfMonCounterCollection"
}
},
"default": {
@@ -6107,17 +6234,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets data around private site access enablement and authorized Virtual Networks that can access the site.",
- "description": "Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site.",
- "operationId": "WebApps_GetPrivateAccess",
+ "summary": "Gets web app's event logs.",
+ "description": "Description for Gets web app's event logs.",
+ "operationId": "WebApps_GetSitePhpErrorLogFlag",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6125,7 +6255,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
@@ -6140,7 +6270,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/PrivateAccess"
+ "$ref": "#/definitions/SitePhpErrorLogFlag"
}
},
"default": {
@@ -6150,14 +6280,16 @@
}
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Sets data around private site access enablement and authorized Virtual Networks that can access the site.",
- "description": "Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site.",
- "operationId": "WebApps_PutPrivateAccessVnet",
+ "summary": "Gets the premier add-ons of an app.",
+ "description": "Description for Gets the premier add-ons of an app.",
+ "operationId": "WebApps_ListPremierAddOns",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6165,19 +6297,10 @@
{
"name": "name",
"in": "path",
- "description": "The name of the web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
- {
- "name": "access",
- "in": "body",
- "description": "The information for the private access",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PrivateAccess"
- }
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -6189,7 +6312,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/PrivateAccess"
+ "$ref": "#/definitions/PremierAddOn"
}
},
"default": {
@@ -6201,14 +6324,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.",
- "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_ListProcesses",
+ "summary": "Gets a named add-on of an app.",
+ "description": "Description for Gets a named add-on of an app.",
+ "operationId": "WebApps_GetPremierAddOn",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6216,7 +6339,14 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "premierAddOnName",
+ "in": "path",
+ "description": "Add-on name.",
"required": true,
"type": "string"
},
@@ -6229,34 +6359,26 @@
],
"responses": {
"200": {
- "description": "Process terminated.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/ProcessInfoCollection"
+ "$ref": "#/definitions/PremierAddOn"
}
},
- "404": {
- "description": "Process with the specified ID is not running."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": {
- "get": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Get process information by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_GetProcess",
+ "summary": "Updates a named add-on of an app.",
+ "description": "Description for Updates a named add-on of an app.",
+ "operationId": "WebApps_AddPremierAddOn",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6264,17 +6386,26 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "processId",
+ "name": "premierAddOnName",
"in": "path",
- "description": "PID.",
+ "description": "Add-on name.",
"required": true,
"type": "string"
},
+ {
+ "name": "premierAddOn",
+ "in": "body",
+ "description": "A JSON representation of the edited premier add-on.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PremierAddOn"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -6284,14 +6415,11 @@
],
"responses": {
"200": {
- "description": "Process information returned.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/ProcessInfo"
+ "$ref": "#/definitions/PremierAddOn"
}
},
- "404": {
- "description": "Process with the specified ID is not running."
- },
"default": {
"description": "App Service error response.",
"schema": {
@@ -6304,9 +6432,9 @@
"tags": [
"WebApps"
],
- "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.",
- "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.",
- "operationId": "WebApps_DeleteProcess",
+ "summary": "Delete a premier add-on from an app.",
+ "description": "Description for Delete a premier add-on from an app.",
+ "operationId": "WebApps_DeletePremierAddOn",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6314,14 +6442,14 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "processId",
+ "name": "premierAddOnName",
"in": "path",
- "description": "PID.",
+ "description": "Add-on name.",
"required": true,
"type": "string"
},
@@ -6333,11 +6461,8 @@
}
],
"responses": {
- "204": {
- "description": "Process terminated."
- },
- "404": {
- "description": "Process with the specified ID is not running."
+ "200": {
+ "description": "Successfully deleted premier add-on."
},
"default": {
"description": "App Service error response.",
@@ -6346,16 +6471,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump": {
- "get": {
+ },
+ "patch": {
"tags": [
"WebApps"
],
- "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_GetProcessDump",
+ "summary": "Updates a named add-on of an app.",
+ "description": "Description for Updates a named add-on of an app.",
+ "operationId": "WebApps_UpdatePremierAddOn",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6363,17 +6486,26 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "processId",
+ "name": "premierAddOnName",
"in": "path",
- "description": "PID.",
+ "description": "Add-on name.",
"required": true,
"type": "string"
},
+ {
+ "name": "premierAddOn",
+ "in": "body",
+ "description": "A JSON representation of the edited premier add-on.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PremierAddOnPatchResource"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -6385,12 +6517,9 @@
"200": {
"description": "OK",
"schema": {
- "type": "file"
+ "$ref": "#/definitions/PremierAddOn"
}
},
- "404": {
- "description": "Process with the specified ID is not running."
- },
"default": {
"description": "App Service error response.",
"schema": {
@@ -6400,14 +6529,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks": {
"get": {
"tags": [
"WebApps"
],
- "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_ListProcessModules",
+ "summary": "Gets data around private site access enablement and authorized Virtual Networks that can access the site.",
+ "description": "Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site.",
+ "operationId": "WebApps_GetPrivateAccess",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6415,14 +6544,7 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "processId",
- "in": "path",
- "description": "PID.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
@@ -6435,34 +6557,26 @@
],
"responses": {
"200": {
- "description": "Module information returned.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/ProcessModuleInfoCollection"
+ "$ref": "#/definitions/PrivateAccess"
}
},
- "404": {
- "description": "Process with the specified ID is not running."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}": {
- "get": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Get process information by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_GetProcessModule",
+ "summary": "Sets data around private site access enablement and authorized Virtual Networks that can access the site.",
+ "description": "Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site.",
+ "operationId": "WebApps_PutPrivateAccessVnet",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6470,23 +6584,18 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "processId",
- "in": "path",
- "description": "PID.",
+ "description": "The name of the web app.",
"required": true,
"type": "string"
},
{
- "name": "baseAddress",
- "in": "path",
- "description": "Module base address.",
+ "name": "access",
+ "in": "body",
+ "description": "The information for the private access",
"required": true,
- "type": "string"
+ "schema": {
+ "$ref": "#/definitions/PrivateAccess"
+ }
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -6497,14 +6606,11 @@
],
"responses": {
"200": {
- "description": "Module information returned.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/ProcessModuleInfo"
+ "$ref": "#/definitions/PrivateAccess"
}
},
- "404": {
- "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found."
- },
"default": {
"description": "App Service error response.",
"schema": {
@@ -6514,14 +6620,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes": {
"get": {
"tags": [
"WebApps"
],
- "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.",
- "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.",
- "operationId": "WebApps_ListProcessThreads",
+ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.",
+ "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_ListProcesses",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6533,13 +6639,6 @@
"required": true,
"type": "string"
},
- {
- "name": "processId",
- "in": "path",
- "description": "PID.",
- "required": true,
- "type": "string"
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -6549,9 +6648,9 @@
],
"responses": {
"200": {
- "description": "Thread information returned.",
+ "description": "Process terminated.",
"schema": {
- "$ref": "#/definitions/ProcessThreadInfoCollection"
+ "$ref": "#/definitions/ProcessInfoCollection"
}
},
"404": {
@@ -6569,14 +6668,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Get public certificates for an app or a deployment slot.",
- "description": "Description for Get public certificates for an app or a deployment slot.",
- "operationId": "WebApps_ListPublicCertificates",
+ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_GetProcess",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6584,7 +6683,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
"required": true,
"type": "string"
},
@@ -6597,31 +6703,29 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Process information returned.",
"schema": {
- "$ref": "#/definitions/PublicCertificateCollection"
+ "$ref": "#/definitions/ProcessInfo"
}
},
+ "404": {
+ "description": "Process with the specified ID is not running."
+ },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": {
- "get": {
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Get the named public certificate for an app (or deployment slot, if specified).",
- "description": "Description for Get the named public certificate for an app (or deployment slot, if specified).",
- "operationId": "WebApps_GetPublicCertificate",
+ "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.",
+ "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.",
+ "operationId": "WebApps_DeleteProcess",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6629,14 +6733,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "publicCertificateName",
+ "name": "processId",
"in": "path",
- "description": "Public certificate name.",
+ "description": "PID.",
"required": true,
"type": "string"
},
@@ -6648,11 +6752,11 @@
}
],
"responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/PublicCertificate"
- }
+ "204": {
+ "description": "Process terminated."
+ },
+ "404": {
+ "description": "Process with the specified ID is not running."
},
"default": {
"description": "App Service error response.",
@@ -6661,14 +6765,16 @@
}
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Creates a hostname binding for an app.",
- "description": "Description for Creates a hostname binding for an app.",
- "operationId": "WebApps_CreateOrUpdatePublicCertificate",
+ "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_GetProcessDump",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6676,26 +6782,17 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "publicCertificateName",
+ "name": "processId",
"in": "path",
- "description": "Public certificate name.",
+ "description": "PID.",
"required": true,
"type": "string"
},
- {
- "name": "publicCertificate",
- "in": "body",
- "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PublicCertificate"
- }
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -6707,9 +6804,12 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/PublicCertificate"
+ "type": "file"
}
},
+ "404": {
+ "description": "Process with the specified ID is not running."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -6717,14 +6817,16 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Deletes a hostname binding for an app.",
- "description": "Description for Deletes a hostname binding for an app.",
- "operationId": "WebApps_DeletePublicCertificate",
+ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_ListProcessModules",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6732,14 +6834,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "publicCertificateName",
+ "name": "processId",
"in": "path",
- "description": "Public certificate name.",
+ "description": "PID.",
"required": true,
"type": "string"
},
@@ -6752,10 +6854,13 @@
],
"responses": {
"200": {
- "description": "Successfully deleted hostname binding."
+ "description": "Module information returned.",
+ "schema": {
+ "$ref": "#/definitions/ProcessModuleInfoCollection"
+ }
},
- "204": {
- "description": "Hostname binding does not exist."
+ "404": {
+ "description": "Process with the specified ID is not running."
},
"default": {
"description": "App Service error response.",
@@ -6763,20 +6868,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Gets the publishing profile for an app (or deployment slot, if specified).",
- "description": "Description for Gets the publishing profile for an app (or deployment slot, if specified).",
- "operationId": "WebApps_ListPublishingProfileXmlWithSecrets",
- "produces": [
- "application/xml"
- ],
+ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_GetProcessModule",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6784,18 +6889,23 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "publishingProfileOptions",
- "in": "body",
- "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.",
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
"required": true,
- "schema": {
- "$ref": "#/definitions/CsmPublishingProfileOptions"
- }
+ "type": "string"
+ },
+ {
+ "name": "baseAddress",
+ "in": "path",
+ "description": "Module base address.",
+ "required": true,
+ "type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -6806,11 +6916,14 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Module information returned.",
"schema": {
- "type": "file"
+ "$ref": "#/definitions/ProcessModuleInfo"
}
},
+ "404": {
+ "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -6820,14 +6933,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.",
- "description": "Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.",
- "operationId": "WebApps_ResetProductionSlotConfig",
+ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.",
+ "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.",
+ "operationId": "WebApps_ListProcessThreads",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6835,7 +6948,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "processId",
+ "in": "path",
+ "description": "PID.",
"required": true,
"type": "string"
},
@@ -6848,7 +6968,13 @@
],
"responses": {
"200": {
- "description": "OK."
+ "description": "Thread information returned.",
+ "schema": {
+ "$ref": "#/definitions/ProcessThreadInfoCollection"
+ }
+ },
+ "404": {
+ "description": "Process with the specified ID is not running."
},
"default": {
"description": "App Service error response.",
@@ -6856,17 +6982,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Restarts an app (or deployment slot, if specified).",
- "description": "Description for Restarts an app (or deployment slot, if specified).",
- "operationId": "WebApps_Restart",
+ "summary": "Get public certificates for an app or a deployment slot.",
+ "description": "Description for Get public certificates for an app or a deployment slot.",
+ "operationId": "WebApps_ListPublicCertificates",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6878,18 +7007,6 @@
"required": true,
"type": "string"
},
- {
- "name": "softRestart",
- "in": "query",
- "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.",
- "type": "boolean"
- },
- {
- "name": "synchronous",
- "in": "query",
- "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).",
- "type": "boolean"
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -6899,7 +7016,10 @@
],
"responses": {
"200": {
- "description": "Successfully restarted app."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PublicCertificateCollection"
+ }
},
"default": {
"description": "App Service error response.",
@@ -6907,17 +7027,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Restores an app from a backup blob in Azure Storage.",
- "description": "Description for Restores an app from a backup blob in Azure Storage.",
- "operationId": "WebApps_RestoreFromBackupBlob",
+ "summary": "Get the named public certificate for an app (or deployment slot, if specified).",
+ "description": "Description for Get the named public certificate for an app (or deployment slot, if specified).",
+ "operationId": "WebApps_GetPublicCertificate",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6930,13 +7053,11 @@
"type": "string"
},
{
- "name": "request",
- "in": "body",
- "description": "Information on restore request .",
+ "name": "publicCertificateName",
+ "in": "path",
+ "description": "Public certificate name.",
"required": true,
- "schema": {
- "$ref": "#/definitions/RestoreRequest"
- }
+ "type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -6946,11 +7067,11 @@
}
],
"responses": {
- "202": {
- "description": "Restore operation started."
- },
"200": {
- "description": "Restore operation started."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PublicCertificate"
+ }
},
"default": {
"description": "App Service error response.",
@@ -6958,18 +7079,15 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp": {
- "post": {
+ }
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Restores a deleted web app to this web app.",
- "description": "Description for Restores a deleted web app to this web app.",
- "operationId": "WebApps_RestoreFromDeletedApp",
+ "summary": "Creates a hostname binding for an app.",
+ "description": "Description for Creates a hostname binding for an app.",
+ "operationId": "WebApps_CreateOrUpdatePublicCertificate",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -6977,17 +7095,24 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "restoreRequest",
+ "name": "publicCertificateName",
+ "in": "path",
+ "description": "Public certificate name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "publicCertificate",
"in": "body",
- "description": "Deleted web app restore information.",
+ "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.",
"required": true,
"schema": {
- "$ref": "#/definitions/DeletedAppRestoreRequest"
+ "$ref": "#/definitions/PublicCertificate"
}
},
{
@@ -6998,11 +7123,11 @@
}
],
"responses": {
- "202": {
- "description": "Restore operation started."
- },
"200": {
- "description": "Restore operation started."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PublicCertificate"
+ }
},
"default": {
"description": "App Service error response.",
@@ -7010,18 +7135,15 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot": {
- "post": {
+ }
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Restores a web app from a snapshot.",
- "description": "Description for Restores a web app from a snapshot.",
- "operationId": "WebApps_RestoreSnapshot",
+ "summary": "Deletes a hostname binding for an app.",
+ "description": "Description for Deletes a hostname binding for an app.",
+ "operationId": "WebApps_DeletePublicCertificate",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7029,18 +7151,16 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "restoreRequest",
- "in": "body",
- "description": "Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.",
+ "name": "publicCertificateName",
+ "in": "path",
+ "description": "Public certificate name.",
"required": true,
- "schema": {
- "$ref": "#/definitions/SnapshotRestoreRequest"
- }
+ "type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -7050,11 +7170,11 @@
}
],
"responses": {
- "202": {
- "description": "Restore operation started."
- },
"200": {
- "description": "Restore operation started."
+ "description": "Successfully deleted hostname binding."
+ },
+ "204": {
+ "description": "Hostname binding does not exist."
},
"default": {
"description": "App Service error response.",
@@ -7062,18 +7182,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Get list of siteextensions for a web site, or a deployment slot.",
- "description": "Description for Get list of siteextensions for a web site, or a deployment slot.",
- "operationId": "WebApps_ListSiteExtensions",
+ "summary": "Gets the publishing profile for an app (or deployment slot, if specified).",
+ "description": "Description for Gets the publishing profile for an app (or deployment slot, if specified).",
+ "operationId": "WebApps_ListPublishingProfileXmlWithSecrets",
+ "produces": [
+ "application/xml"
+ ],
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7081,10 +7203,19 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
+ {
+ "name": "publishingProfileOptions",
+ "in": "body",
+ "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CsmPublishingProfileOptions"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -7094,34 +7225,28 @@
],
"responses": {
"200": {
- "description": "SiteExtension information returned.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/SiteExtensionInfoCollection"
+ "type": "file"
}
},
- "404": {
- "description": "SiteExtension not found."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Get site extension information by its ID for a web site, or a deployment slot.",
- "description": "Description for Get site extension information by its ID for a web site, or a deployment slot.",
- "operationId": "WebApps_GetSiteExtension",
+ "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.",
+ "description": "Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.",
+ "operationId": "WebApps_ResetProductionSlotConfig",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7129,14 +7254,7 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "siteExtensionId",
- "in": "path",
- "description": "Site extension name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
@@ -7149,13 +7267,7 @@
],
"responses": {
"200": {
- "description": "SiteExtension information returned.",
- "schema": {
- "$ref": "#/definitions/SiteExtensionInfo"
- }
- },
- "404": {
- "description": "SiteExtension with an ID of {siteExtensionId} is not running."
+ "description": "OK."
},
"default": {
"description": "App Service error response.",
@@ -7164,14 +7276,16 @@
}
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Install site extension on a web site, or a deployment slot.",
- "description": "Description for Install site extension on a web site, or a deployment slot.",
- "operationId": "WebApps_InstallSiteExtension",
+ "summary": "Restarts an app (or deployment slot, if specified).",
+ "description": "Description for Restarts an app (or deployment slot, if specified).",
+ "operationId": "WebApps_Restart",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7179,16 +7293,21 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "siteExtensionId",
- "in": "path",
- "description": "Site extension name.",
- "required": true,
- "type": "string"
+ "name": "softRestart",
+ "in": "query",
+ "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.",
+ "type": "boolean"
+ },
+ {
+ "name": "synchronous",
+ "in": "query",
+ "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).",
+ "type": "boolean"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -7198,20 +7317,584 @@
}
],
"responses": {
- "201": {
- "description": "Site Extension created.",
+ "200": {
+ "description": "Successfully restarted app."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob": {
+ "post": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Restores an app from a backup blob in Azure Storage.",
+ "description": "Description for Restores an app from a backup blob in Azure Storage.",
+ "operationId": "WebApps_RestoreFromBackupBlob",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "request",
+ "in": "body",
+ "description": "Information on restore request .",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RestoreRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Restore operation started."
+ },
+ "200": {
+ "description": "Restore operation started."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp": {
+ "post": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Restores a deleted web app to this web app.",
+ "description": "Description for Restores a deleted web app to this web app.",
+ "operationId": "WebApps_RestoreFromDeletedApp",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of web app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "restoreRequest",
+ "in": "body",
+ "description": "Deleted web app restore information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeletedAppRestoreRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Restore operation started."
+ },
+ "200": {
+ "description": "Restore operation started."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot": {
+ "post": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Restores a web app from a snapshot.",
+ "description": "Description for Restores a web app from a snapshot.",
+ "operationId": "WebApps_RestoreSnapshot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of web app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "restoreRequest",
+ "in": "body",
+ "description": "Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SnapshotRestoreRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Restore operation started."
+ },
+ "200": {
+ "description": "Restore operation started."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions": {
+ "get": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Get list of siteextensions for a web site, or a deployment slot.",
+ "description": "Description for Get list of siteextensions for a web site, or a deployment slot.",
+ "operationId": "WebApps_ListSiteExtensions",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "SiteExtension information returned.",
+ "schema": {
+ "$ref": "#/definitions/SiteExtensionInfoCollection"
+ }
+ },
+ "404": {
+ "description": "SiteExtension not found."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": {
+ "get": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Get site extension information by its ID for a web site, or a deployment slot.",
+ "description": "Description for Get site extension information by its ID for a web site, or a deployment slot.",
+ "operationId": "WebApps_GetSiteExtension",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "siteExtensionId",
+ "in": "path",
+ "description": "Site extension name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "SiteExtension information returned.",
+ "schema": {
+ "$ref": "#/definitions/SiteExtensionInfo"
+ }
+ },
+ "404": {
+ "description": "SiteExtension with an ID of {siteExtensionId} is not running."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Install site extension on a web site, or a deployment slot.",
+ "description": "Description for Install site extension on a web site, or a deployment slot.",
+ "operationId": "WebApps_InstallSiteExtension",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "siteExtensionId",
+ "in": "path",
+ "description": "Site extension name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Site Extension created.",
+ "schema": {
+ "$ref": "#/definitions/SiteExtensionInfo"
+ }
+ },
+ "200": {
+ "description": "Site Extension created.",
+ "schema": {
+ "$ref": "#/definitions/SiteExtensionInfo"
+ }
+ },
+ "429": {
+ "description": "Site Extension is being installed on another request: Rejecting current request."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Remove a site extension from a web site, or a deployment slot.",
+ "description": "Description for Remove a site extension from a web site, or a deployment slot.",
+ "operationId": "WebApps_DeleteSiteExtension",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "siteExtensionId",
+ "in": "path",
+ "description": "Site extension name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "SiteExtension terminated."
+ },
+ "404": {
+ "description": "SiteExtension with an ID of {siteExtensionId} is not running."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotcopy": {
+ "post": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Copies a deployment slot to another deployment slot of an app.",
+ "description": "Description for Copies a deployment slot to another deployment slot of an app.",
+ "operationId": "WebApps_CopyProductionSlot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "copySlotEntity",
+ "in": "body",
+ "description": "JSON object that contains the target slot name and site config properties to override the source slot config. See example.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CsmCopySlotEntity"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK."
+ },
+ "202": {
+ "description": "Operation is in progress."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Copy slot": {
+ "$ref": "./examples/CopySlot.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": {
+ "get": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Gets an app's deployment slots.",
+ "description": "Description for Gets an app's deployment slots.",
+ "operationId": "WebApps_ListSlots",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection"
+ }
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": {
+ "get": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Gets the details of a web, mobile, or API app.",
+ "description": "Description for Gets the details of a web, mobile, or API app.",
+ "operationId": "WebApps_GetSlot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the deployment slot. By default, this API returns the production slot.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/Site"
+ }
+ },
+ "404": {
+ "description": "Not found."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.",
+ "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.",
+ "operationId": "WebApps_CreateOrUpdateSlot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "siteEnvelope",
+ "in": "body",
+ "description": "A JSON representation of the app properties. See example.",
+ "required": true,
"schema": {
- "$ref": "#/definitions/SiteExtensionInfo"
+ "$ref": "./CommonDefinitions.json#/definitions/Site"
}
},
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
"200": {
- "description": "Site Extension created.",
+ "description": "OK.",
"schema": {
- "$ref": "#/definitions/SiteExtensionInfo"
+ "$ref": "./CommonDefinitions.json#/definitions/Site"
}
},
- "429": {
- "description": "Site Extension is being installed on another request: Rejecting current request."
+ "202": {
+ "description": "Asynchronous operation in progress.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/Site"
+ }
},
"default": {
"description": "App Service error response.",
@@ -7226,9 +7909,9 @@
"tags": [
"WebApps"
],
- "summary": "Remove a site extension from a web site, or a deployment slot.",
- "description": "Description for Remove a site extension from a web site, or a deployment slot.",
- "operationId": "WebApps_DeleteSiteExtension",
+ "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.",
+ "description": "Description for Deletes a web, mobile, or API app, or one of the deployment slots.",
+ "operationId": "WebApps_DeleteSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7236,17 +7919,29 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app to delete.",
"required": true,
"type": "string"
},
{
- "name": "siteExtensionId",
+ "name": "slot",
"in": "path",
- "description": "Site extension name.",
+ "description": "Name of the deployment slot to delete. By default, the API deletes the production slot.",
"required": true,
"type": "string"
},
+ {
+ "name": "deleteMetrics",
+ "in": "query",
+ "description": "If true, web app metrics are also deleted.",
+ "type": "boolean"
+ },
+ {
+ "name": "deleteEmptyServerFarm",
+ "in": "query",
+ "description": "Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted.",
+ "type": "boolean"
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -7255,11 +7950,76 @@
}
],
"responses": {
+ "200": {
+ "description": "Successfully deleted web app."
+ },
"204": {
- "description": "SiteExtension terminated."
+ "description": "Successfully deleted web app."
},
"404": {
- "description": "SiteExtension with an ID of {siteExtensionId} is not running."
+ "description": "Web app not found."
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.",
+ "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.",
+ "operationId": "WebApps_UpdateSlot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "siteEnvelope",
+ "in": "body",
+ "description": "A JSON representation of the app properties. See example.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SitePatchResource"
+ }
+ },
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/Site"
+ }
+ },
+ "202": {
+ "description": "Asynchronous operation in progress.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/Site"
+ }
},
"default": {
"description": "App Service error response.",
@@ -7270,14 +8030,69 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotcopy": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": {
+ "get": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Analyze a custom hostname.",
+ "description": "Description for Analyze a custom hostname.",
+ "operationId": "WebApps_AnalyzeCustomHostnameSlot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of web app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "hostName",
+ "in": "query",
+ "description": "Custom hostname.",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CustomHostnameAnalysisResult"
+ }
+ },
+ "default": {
+ "description": "App Service error response.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": {
"post": {
"tags": [
"WebApps"
],
- "summary": "Copies a deployment slot to another deployment slot of an app.",
- "description": "Description for Copies a deployment slot to another deployment slot of an app.",
- "operationId": "WebApps_CopyProductionSlot",
+ "summary": "Applies the configuration settings from the target slot onto the current slot.",
+ "description": "Description for Applies the configuration settings from the target slot onto the current slot.",
+ "operationId": "WebApps_ApplySlotConfigurationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7290,14 +8105,21 @@
"type": "string"
},
{
- "name": "copySlotEntity",
+ "name": "slotSwapEntity",
"in": "body",
- "description": "JSON object that contains the target slot name and site config properties to override the source slot config. See example.",
+ "description": "JSON object that contains the target slot name. See example.",
"required": true,
"schema": {
- "$ref": "#/definitions/CsmCopySlotEntity"
+ "$ref": "#/definitions/CsmSlotEntity"
}
},
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.",
+ "required": true,
+ "type": "string"
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -7309,40 +8131,47 @@
"200": {
"description": "OK."
},
- "202": {
- "description": "Operation is in progress."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-examples": {
- "Copy slot": {
- "$ref": "./examples/CopySlot.json"
- }
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Gets an app's deployment slots.",
- "description": "Description for Gets an app's deployment slots.",
- "operationId": "WebApps_ListSlots",
+ "summary": "Creates a backup of an app.",
+ "description": "Description for Creates a backup of an app.",
+ "operationId": "WebApps_BackupSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
- "name": "name",
+ "name": "name",
+ "in": "path",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "request",
+ "in": "body",
+ "description": "Backup configuration. You can use the JSON response from the POST action as input here.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BackupRequest"
+ }
+ },
+ {
+ "name": "slot",
"in": "path",
- "description": "Name of the app.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot.",
"required": true,
"type": "string"
},
@@ -7357,7 +8186,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection"
+ "$ref": "#/definitions/BackupItem"
}
},
"default": {
@@ -7366,20 +8195,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets the details of a web, mobile, or API app.",
- "description": "Description for Gets the details of a web, mobile, or API app.",
- "operationId": "WebApps_GetSlot",
+ "summary": "Gets existing backups of an app.",
+ "description": "Description for Gets existing backups of an app.",
+ "operationId": "WebApps_ListBackupsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7394,7 +8220,7 @@
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. By default, this API returns the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.",
"required": true,
"type": "string"
},
@@ -7407,29 +8233,31 @@
],
"responses": {
"200": {
- "description": "OK.",
+ "description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Site"
+ "$ref": "#/definitions/BackupItemCollection"
}
},
- "404": {
- "description": "Not found."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.",
- "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.",
- "operationId": "WebApps_CreateOrUpdateSlot",
+ "summary": "Gets a backup of an app by its ID.",
+ "description": "Description for Gets a backup of an app by its ID.",
+ "operationId": "WebApps_GetBackupStatusSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7437,23 +8265,21 @@
{
"name": "name",
"in": "path",
- "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "siteEnvelope",
- "in": "body",
- "description": "A JSON representation of the app properties. See example.",
+ "name": "backupId",
+ "in": "path",
+ "description": "ID of the backup.",
"required": true,
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Site"
- }
+ "type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.",
"required": true,
"type": "string"
},
@@ -7466,15 +8292,9 @@
],
"responses": {
"200": {
- "description": "OK.",
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Site"
- }
- },
- "202": {
- "description": "Asynchronous operation in progress.",
+ "description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Site"
+ "$ref": "#/definitions/BackupItem"
}
},
"default": {
@@ -7483,16 +8303,15 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
+ }
},
"delete": {
"tags": [
"WebApps"
],
- "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.",
- "description": "Description for Deletes a web, mobile, or API app, or one of the deployment slots.",
- "operationId": "WebApps_DeleteSlot",
+ "summary": "Deletes a backup of an app by its ID.",
+ "description": "Description for Deletes a backup of an app by its ID.",
+ "operationId": "WebApps_DeleteBackupSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7500,28 +8319,23 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app to delete.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "slot",
+ "name": "backupId",
"in": "path",
- "description": "Name of the deployment slot to delete. By default, the API deletes the production slot.",
+ "description": "ID of the backup.",
"required": true,
"type": "string"
},
{
- "name": "deleteMetrics",
- "in": "query",
- "description": "If true, web app metrics are also deleted.",
- "type": "boolean"
- },
- {
- "name": "deleteEmptyServerFarm",
- "in": "query",
- "description": "Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted.",
- "type": "boolean"
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot.",
+ "required": true,
+ "type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -7532,13 +8346,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted web app."
- },
- "204": {
- "description": "Successfully deleted web app."
+ "description": "Successfully deleted web app backup item."
},
"404": {
- "description": "Web app not found."
+ "description": "Web app backup item does not exist."
},
"default": {
"description": "App Service error response.",
@@ -7547,14 +8358,16 @@
}
}
}
- },
- "patch": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.",
- "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.",
- "operationId": "WebApps_UpdateSlot",
+ "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.",
+ "description": "Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.",
+ "operationId": "WebApps_ListBackupStatusSecretsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7562,23 +8375,30 @@
{
"name": "name",
"in": "path",
- "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
- "name": "siteEnvelope",
+ "name": "backupId",
+ "in": "path",
+ "description": "ID of backup.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "request",
"in": "body",
- "description": "A JSON representation of the app properties. See example.",
+ "description": "Information on backup request.",
"required": true,
"schema": {
- "$ref": "#/definitions/SitePatchResource"
+ "$ref": "#/definitions/BackupRequest"
}
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
"required": true,
"type": "string"
},
@@ -7591,15 +8411,9 @@
],
"responses": {
"200": {
- "description": "OK.",
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Site"
- }
- },
- "202": {
- "description": "Asynchronous operation in progress.",
+ "description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Site"
+ "$ref": "#/definitions/BackupItem"
}
},
"default": {
@@ -7611,14 +8425,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Analyze a custom hostname.",
- "description": "Description for Analyze a custom hostname.",
- "operationId": "WebApps_AnalyzeCustomHostnameSlot",
+ "summary": "Restores a specific backup to another app (or deployment slot, if specified).",
+ "description": "Description for Restores a specific backup to another app (or deployment slot, if specified).",
+ "operationId": "WebApps_RestoreSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7626,21 +8440,31 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "slot",
+ "name": "backupId",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "ID of the backup.",
"required": true,
"type": "string"
},
{
- "name": "hostName",
- "in": "query",
- "description": "Custom hostname.",
+ "name": "request",
+ "in": "body",
+ "description": "Information on restore request .",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RestoreRequest"
+ }
+ },
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.",
+ "required": true,
"type": "string"
},
{
@@ -7651,11 +8475,11 @@
}
],
"responses": {
+ "202": {
+ "description": "Restore operation started."
+ },
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CustomHostnameAnalysisResult"
- }
+ "description": "Restore operation started."
},
"default": {
"description": "App Service error response.",
@@ -7663,17 +8487,18 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Applies the configuration settings from the target slot onto the current slot.",
- "description": "Description for Applies the configuration settings from the target slot onto the current slot.",
- "operationId": "WebApps_ApplySlotConfigurationSlot",
+ "summary": "List the configurations of an app",
+ "description": "Description for List the configurations of an app",
+ "operationId": "WebApps_ListConfigurationsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7685,19 +8510,10 @@
"required": true,
"type": "string"
},
- {
- "name": "slotSwapEntity",
- "in": "body",
- "description": "JSON object that contains the target slot name. See example.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CsmSlotEntity"
- }
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -7710,7 +8526,10 @@
],
"responses": {
"200": {
- "description": "OK."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SiteConfigResourceCollection"
+ }
},
"default": {
"description": "App Service error response.",
@@ -7718,17 +8537,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Creates a backup of an app.",
- "description": "Description for Creates a backup of an app.",
- "operationId": "WebApps_BackupSlot",
+ "summary": "Replaces the application settings of an app.",
+ "description": "Description for Replaces the application settings of an app.",
+ "operationId": "WebApps_UpdateApplicationSettingsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7741,18 +8563,18 @@
"type": "string"
},
{
- "name": "request",
+ "name": "appSettings",
"in": "body",
- "description": "Backup configuration. You can use the JSON response from the POST action as input here.",
+ "description": "Application settings of the app.",
"required": true,
"schema": {
- "$ref": "#/definitions/BackupRequest"
+ "$ref": "#/definitions/StringDictionary"
}
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot.",
"required": true,
"type": "string"
},
@@ -7767,7 +8589,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/BackupItem"
+ "$ref": "#/definitions/StringDictionary"
}
},
"default": {
@@ -7779,14 +8601,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Gets existing backups of an app.",
- "description": "Description for Gets existing backups of an app.",
- "operationId": "WebApps_ListBackupsSlot",
+ "summary": "Gets the application settings of an app.",
+ "description": "Description for Gets the application settings of an app.",
+ "operationId": "WebApps_ListApplicationSettingsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7801,7 +8623,7 @@
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot.",
"required": true,
"type": "string"
},
@@ -7816,29 +8638,26 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/BackupItemCollection"
+ "$ref": "#/definitions/StringDictionary"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
+ }
+ }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Gets a backup of an app by its ID.",
- "description": "Description for Gets a backup of an app by its ID.",
- "operationId": "WebApps_GetBackupStatusSlot",
+ "summary": "Updates the Authentication / Authorization settings associated with web app.",
+ "description": "Description for Updates the Authentication / Authorization settings associated with web app.",
+ "operationId": "WebApps_UpdateAuthSettingsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7846,21 +8665,23 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
- "name": "backupId",
- "in": "path",
- "description": "ID of the backup.",
+ "name": "siteAuthSettings",
+ "in": "body",
+ "description": "Auth settings associated with web app.",
"required": true,
- "type": "string"
+ "schema": {
+ "$ref": "#/definitions/SiteAuthSettings"
+ }
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
"required": true,
"type": "string"
},
@@ -7875,7 +8696,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/BackupItem"
+ "$ref": "#/definitions/SiteAuthSettings"
}
},
"default": {
@@ -7885,14 +8706,16 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Deletes a backup of an app by its ID.",
- "description": "Description for Deletes a backup of an app by its ID.",
- "operationId": "WebApps_DeleteBackupSlot",
+ "summary": "Gets the Authentication/Authorization settings of an app.",
+ "description": "Description for Gets the Authentication/Authorization settings of an app.",
+ "operationId": "WebApps_GetAuthSettingsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7904,17 +8727,10 @@
"required": true,
"type": "string"
},
- {
- "name": "backupId",
- "in": "path",
- "description": "ID of the backup.",
- "required": true,
- "type": "string"
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.",
"required": true,
"type": "string"
},
@@ -7927,10 +8743,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted web app backup item."
- },
- "404": {
- "description": "Web app backup item does not exist."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SiteAuthSettings"
+ }
},
"default": {
"description": "App Service error response.",
@@ -7941,14 +8757,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.",
- "description": "Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.",
- "operationId": "WebApps_ListBackupStatusSecretsSlot",
+ "summary": "Updates the Azure storage account configurations of an app.",
+ "description": "Description for Updates the Azure storage account configurations of an app.",
+ "operationId": "WebApps_UpdateAzureStorageAccountsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -7956,30 +8772,23 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
- "required": true,
- "type": "string"
- },
- {
- "name": "backupId",
- "in": "path",
- "description": "ID of backup.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "request",
+ "name": "azureStorageAccounts",
"in": "body",
- "description": "Information on backup request.",
+ "description": "Azure storage accounts of the app.",
"required": true,
"schema": {
- "$ref": "#/definitions/BackupRequest"
+ "$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
}
},
{
"name": "slot",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.",
"required": true,
"type": "string"
},
@@ -7994,7 +8803,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/BackupItem"
+ "$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
}
},
"default": {
@@ -8006,14 +8815,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list": {
"post": {
"tags": [
"WebApps"
],
- "summary": "Restores a specific backup to another app (or deployment slot, if specified).",
- "description": "Description for Restores a specific backup to another app (or deployment slot, if specified).",
- "operationId": "WebApps_RestoreSlot",
+ "summary": "Gets the Azure storage account configurations of an app.",
+ "description": "Description for Gets the Azure storage account configurations of an app.",
+ "operationId": "WebApps_ListAzureStorageAccountsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8025,26 +8834,10 @@
"required": true,
"type": "string"
},
- {
- "name": "backupId",
- "in": "path",
- "description": "ID of the backup.",
- "required": true,
- "type": "string"
- },
- {
- "name": "request",
- "in": "body",
- "description": "Information on restore request .",
- "required": true,
- "schema": {
- "$ref": "#/definitions/RestoreRequest"
- }
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.",
"required": true,
"type": "string"
},
@@ -8056,11 +8849,11 @@
}
],
"responses": {
- "202": {
- "description": "Restore operation started."
- },
"200": {
- "description": "Restore operation started."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
+ }
},
"default": {
"description": "App Service error response.",
@@ -8068,18 +8861,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "List the configurations of an app",
- "description": "Description for List the configurations of an app",
- "operationId": "WebApps_ListConfigurationsSlot",
+ "summary": "Updates the backup configuration of an app.",
+ "description": "Description for Updates the backup configuration of an app.",
+ "operationId": "WebApps_UpdateBackupConfigurationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8091,10 +8883,19 @@
"required": true,
"type": "string"
},
+ {
+ "name": "request",
+ "in": "body",
+ "description": "Edited backup configuration.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BackupRequest"
+ }
+ },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8109,7 +8910,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SiteConfigResourceCollection"
+ "$ref": "#/definitions/BackupRequest"
}
},
"default": {
@@ -8118,20 +8919,15 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": {
- "put": {
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Replaces the application settings of an app.",
- "description": "Description for Replaces the application settings of an app.",
- "operationId": "WebApps_UpdateApplicationSettingsSlot",
+ "summary": "Deletes the backup configuration of an app.",
+ "description": "Description for Deletes the backup configuration of an app.",
+ "operationId": "WebApps_DeleteBackupConfigurationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8143,19 +8939,10 @@
"required": true,
"type": "string"
},
- {
- "name": "appSettings",
- "in": "body",
- "description": "Application settings of the app.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/StringDictionary"
- }
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8168,10 +8955,7 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/StringDictionary"
- }
+ "description": "Successfully deleted backup configuration."
},
"default": {
"description": "App Service error response.",
@@ -8182,14 +8966,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list": {
"post": {
"tags": [
"WebApps"
],
- "summary": "Gets the application settings of an app.",
- "description": "Description for Gets the application settings of an app.",
- "operationId": "WebApps_ListApplicationSettingsSlot",
+ "summary": "Gets the backup configuration of an app.",
+ "description": "Description for Gets the backup configuration of an app.",
+ "operationId": "WebApps_GetBackupConfigurationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8204,7 +8988,7 @@
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8219,7 +9003,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/StringDictionary"
+ "$ref": "#/definitions/BackupRequest"
}
},
"default": {
@@ -8231,14 +9015,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": {
"put": {
"tags": [
"WebApps"
],
- "summary": "Updates the Authentication / Authorization settings associated with web app.",
- "description": "Description for Updates the Authentication / Authorization settings associated with web app.",
- "operationId": "WebApps_UpdateAuthSettingsSlot",
+ "summary": "Replaces the connection strings of an app.",
+ "description": "Description for Replaces the connection strings of an app.",
+ "operationId": "WebApps_UpdateConnectionStringsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8246,23 +9030,23 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "siteAuthSettings",
+ "name": "connectionStrings",
"in": "body",
- "description": "Auth settings associated with web app.",
+ "description": "Connection strings of the app or deployment slot. See example.",
"required": true,
"schema": {
- "$ref": "#/definitions/SiteAuthSettings"
+ "$ref": "#/definitions/ConnectionStringDictionary"
}
},
{
"name": "slot",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot.",
"required": true,
"type": "string"
},
@@ -8277,7 +9061,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SiteAuthSettings"
+ "$ref": "#/definitions/ConnectionStringDictionary"
}
},
"default": {
@@ -8289,14 +9073,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": {
"post": {
"tags": [
"WebApps"
],
- "summary": "Gets the Authentication/Authorization settings of an app.",
- "description": "Description for Gets the Authentication/Authorization settings of an app.",
- "operationId": "WebApps_GetAuthSettingsSlot",
+ "summary": "Gets the connection strings of an app.",
+ "description": "Description for Gets the connection strings of an app.",
+ "operationId": "WebApps_ListConnectionStringsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8311,7 +9095,7 @@
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot.",
"required": true,
"type": "string"
},
@@ -8326,7 +9110,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SiteAuthSettings"
+ "$ref": "#/definitions/ConnectionStringDictionary"
}
},
"default": {
@@ -8338,14 +9122,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts": {
- "put": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Updates the Azure storage account configurations of an app.",
- "description": "Description for Updates the Azure storage account configurations of an app.",
- "operationId": "WebApps_UpdateAzureStorageAccountsSlot",
+ "summary": "Gets the logging configuration of an app.",
+ "description": "Description for Gets the logging configuration of an app.",
+ "operationId": "WebApps_GetDiagnosticLogsConfigurationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8357,19 +9141,10 @@
"required": true,
"type": "string"
},
- {
- "name": "azureStorageAccounts",
- "in": "body",
- "description": "Azure storage accounts of the app.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
- }
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8384,7 +9159,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
+ "$ref": "#/definitions/SiteLogsConfig"
}
},
"default": {
@@ -8394,16 +9169,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list": {
- "post": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Gets the Azure storage account configurations of an app.",
- "description": "Description for Gets the Azure storage account configurations of an app.",
- "operationId": "WebApps_ListAzureStorageAccountsSlot",
+ "summary": "Updates the logging configuration of an app.",
+ "description": "Description for Updates the logging configuration of an app.",
+ "operationId": "WebApps_UpdateDiagnosticLogsConfigSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8415,10 +9188,19 @@
"required": true,
"type": "string"
},
+ {
+ "name": "siteLogsConfig",
+ "in": "body",
+ "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SiteLogsConfig"
+ }
+ },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8433,7 +9215,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
+ "$ref": "#/definitions/SiteLogsConfig"
}
},
"default": {
@@ -8445,14 +9227,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": {
"put": {
"tags": [
"WebApps"
],
- "summary": "Updates the backup configuration of an app.",
- "description": "Description for Updates the backup configuration of an app.",
- "operationId": "WebApps_UpdateBackupConfigurationSlot",
+ "summary": "Replaces the metadata of an app.",
+ "description": "Description for Replaces the metadata of an app.",
+ "operationId": "WebApps_UpdateMetadataSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8465,18 +9247,18 @@
"type": "string"
},
{
- "name": "request",
+ "name": "metadata",
"in": "body",
- "description": "Edited backup configuration.",
+ "description": "Edited metadata of the app or deployment slot. See example.",
"required": true,
"schema": {
- "$ref": "#/definitions/BackupRequest"
+ "$ref": "#/definitions/StringDictionary"
}
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot.",
"required": true,
"type": "string"
},
@@ -8491,7 +9273,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/BackupRequest"
+ "$ref": "#/definitions/StringDictionary"
}
},
"default": {
@@ -8501,14 +9283,16 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Deletes the backup configuration of an app.",
- "description": "Description for Deletes the backup configuration of an app.",
- "operationId": "WebApps_DeleteBackupConfigurationSlot",
+ "summary": "Gets the metadata of an app.",
+ "description": "Description for Gets the metadata of an app.",
+ "operationId": "WebApps_ListMetadataSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8523,7 +9307,7 @@
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot.",
"required": true,
"type": "string"
},
@@ -8536,7 +9320,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted backup configuration."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StringDictionary"
+ }
},
"default": {
"description": "App Service error response.",
@@ -8547,14 +9334,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": {
"post": {
"tags": [
"WebApps"
],
- "summary": "Gets the backup configuration of an app.",
- "description": "Description for Gets the backup configuration of an app.",
- "operationId": "WebApps_GetBackupConfigurationSlot",
+ "summary": "Gets the Git/FTP publishing credentials of an app.",
+ "description": "Description for Gets the Git/FTP publishing credentials of an app.",
+ "operationId": "WebApps_ListPublishingCredentialsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8569,7 +9356,7 @@
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot.",
"required": true,
"type": "string"
},
@@ -8584,7 +9371,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/BackupRequest"
+ "$ref": "./CommonDefinitions.json#/definitions/User"
}
},
"default": {
@@ -8593,17 +9380,18 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings": {
"put": {
"tags": [
"WebApps"
],
- "summary": "Replaces the connection strings of an app.",
- "description": "Description for Replaces the connection strings of an app.",
- "operationId": "WebApps_UpdateConnectionStringsSlot",
+ "summary": "Updates the Push settings associated with web app.",
+ "description": "Description for Updates the Push settings associated with web app.",
+ "operationId": "WebApps_UpdateSitePushSettingsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8611,23 +9399,23 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
- "name": "connectionStrings",
+ "name": "pushSettings",
"in": "body",
- "description": "Connection strings of the app or deployment slot. See example.",
+ "description": "Push settings associated with web app.",
"required": true,
"schema": {
- "$ref": "#/definitions/ConnectionStringDictionary"
+ "$ref": "./CommonDefinitions.json#/definitions/PushSettings"
}
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot.",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
"required": true,
"type": "string"
},
@@ -8642,7 +9430,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ConnectionStringDictionary"
+ "$ref": "./CommonDefinitions.json#/definitions/PushSettings"
}
},
"default": {
@@ -8654,14 +9442,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list": {
"post": {
"tags": [
"WebApps"
],
- "summary": "Gets the connection strings of an app.",
- "description": "Description for Gets the connection strings of an app.",
- "operationId": "WebApps_ListConnectionStringsSlot",
+ "summary": "Gets the Push settings associated with web app.",
+ "description": "Description for Gets the Push settings associated with web app.",
+ "operationId": "WebApps_ListSitePushSettingsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8669,14 +9457,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot.",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
"required": true,
"type": "string"
},
@@ -8691,7 +9479,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ConnectionStringDictionary"
+ "$ref": "./CommonDefinitions.json#/definitions/PushSettings"
}
},
"default": {
@@ -8703,14 +9491,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets the logging configuration of an app.",
- "description": "Description for Gets the logging configuration of an app.",
- "operationId": "WebApps_GetDiagnosticLogsConfigurationSlot",
+ "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.",
+ "description": "Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.",
+ "operationId": "WebApps_GetConfigurationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8725,7 +9513,7 @@
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8740,7 +9528,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SiteLogsConfig"
+ "$ref": "#/definitions/SiteConfigResource"
}
},
"default": {
@@ -8755,9 +9543,9 @@
"tags": [
"WebApps"
],
- "summary": "Updates the logging configuration of an app.",
- "description": "Description for Updates the logging configuration of an app.",
- "operationId": "WebApps_UpdateDiagnosticLogsConfigSlot",
+ "summary": "Updates the configuration of an app.",
+ "description": "Description for Updates the configuration of an app.",
+ "operationId": "WebApps_CreateOrUpdateConfigurationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8770,18 +9558,18 @@
"type": "string"
},
{
- "name": "siteLogsConfig",
+ "name": "siteConfig",
"in": "body",
- "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.",
+ "description": "JSON representation of a SiteConfig object. See example.",
"required": true,
"schema": {
- "$ref": "#/definitions/SiteLogsConfig"
+ "$ref": "#/definitions/SiteConfigResource"
}
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8796,7 +9584,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SiteLogsConfig"
+ "$ref": "#/definitions/SiteConfigResource"
}
},
"default": {
@@ -8806,16 +9594,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": {
- "put": {
+ },
+ "patch": {
"tags": [
"WebApps"
],
- "summary": "Replaces the metadata of an app.",
- "description": "Description for Replaces the metadata of an app.",
- "operationId": "WebApps_UpdateMetadataSlot",
+ "summary": "Updates the configuration of an app.",
+ "description": "Description for Updates the configuration of an app.",
+ "operationId": "WebApps_UpdateConfigurationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8828,18 +9614,18 @@
"type": "string"
},
{
- "name": "metadata",
+ "name": "siteConfig",
"in": "body",
- "description": "Edited metadata of the app or deployment slot. See example.",
+ "description": "JSON representation of a SiteConfig object. See example.",
"required": true,
"schema": {
- "$ref": "#/definitions/StringDictionary"
+ "$ref": "#/definitions/SiteConfigResource"
}
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8854,7 +9640,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/StringDictionary"
+ "$ref": "#/definitions/SiteConfigResource"
}
},
"default": {
@@ -8866,14 +9652,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Gets the metadata of an app.",
- "description": "Description for Gets the metadata of an app.",
- "operationId": "WebApps_ListMetadataSlot",
+ "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.",
+ "description": "Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.",
+ "operationId": "WebApps_ListConfigurationSnapshotInfoSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8888,7 +9674,7 @@
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8903,7 +9689,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/StringDictionary"
+ "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection"
}
},
"default": {
@@ -8912,17 +9698,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Gets the Git/FTP publishing credentials of an app.",
- "description": "Description for Gets the Git/FTP publishing credentials of an app.",
- "operationId": "WebApps_ListPublishingCredentialsSlot",
+ "summary": "Gets a snapshot of the configuration of an app at a previous point in time.",
+ "description": "Description for Gets a snapshot of the configuration of an app at a previous point in time.",
+ "operationId": "WebApps_GetConfigurationSnapshotSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8934,10 +9723,17 @@
"required": true,
"type": "string"
},
+ {
+ "name": "snapshotId",
+ "in": "path",
+ "description": "The ID of the snapshot to read.",
+ "required": true,
+ "type": "string"
+ },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
"required": true,
"type": "string"
},
@@ -8952,7 +9748,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/User"
+ "$ref": "#/definitions/SiteConfigResource"
}
},
"default": {
@@ -8961,18 +9757,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings": {
- "put": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Updates the Push settings associated with web app.",
- "description": "Description for Updates the Push settings associated with web app.",
- "operationId": "WebApps_UpdateSitePushSettingsSlot",
+ "summary": "Reverts the configuration of an app to a previous snapshot.",
+ "description": "Description for Reverts the configuration of an app to a previous snapshot.",
+ "operationId": "WebApps_RecoverSiteConfigurationSnapshotSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -8980,18 +9775,65 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "pushSettings",
- "in": "body",
- "description": "Push settings associated with web app.",
+ "name": "snapshotId",
+ "in": "path",
+ "description": "The ID of the snapshot to read.",
"required": true,
+ "type": "string"
+ },
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "App Service error response.",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/PushSettings"
+ "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs": {
+ "post": {
+ "tags": [
+ "WebApps"
+ ],
+ "summary": "Gets the last lines of docker logs for the given site",
+ "description": "Description for Gets the last lines of docker logs for the given site",
+ "operationId": "WebApps_GetWebSiteContainerLogsSlot",
+ "produces": [
+ "application/octet-stream"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "Name of web app.",
+ "required": true,
+ "type": "string"
},
{
"name": "slot",
@@ -9008,10 +9850,13 @@
}
],
"responses": {
+ "204": {
+ "description": "No Content"
+ },
"200": {
"description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/PushSettings"
+ "type": "file"
}
},
"default": {
@@ -9023,14 +9868,17 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": {
"post": {
"tags": [
"WebApps"
],
- "summary": "Gets the Push settings associated with web app.",
- "description": "Description for Gets the Push settings associated with web app.",
- "operationId": "WebApps_ListSitePushSettingsSlot",
+ "summary": "Gets the ZIP archived docker log files for the given site",
+ "description": "Description for Gets the ZIP archived docker log files for the given site",
+ "operationId": "WebApps_GetContainerLogsZipSlot",
+ "produces": [
+ "application/zip"
+ ],
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9057,10 +9905,13 @@
}
],
"responses": {
+ "204": {
+ "description": "No Content"
+ },
"200": {
"description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/PushSettings"
+ "type": "file"
}
},
"default": {
@@ -9072,14 +9923,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.",
- "description": "Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.",
- "operationId": "WebApps_GetConfigurationSlot",
+ "summary": "List continuous web jobs for an app, or a deployment slot.",
+ "description": "Description for List continuous web jobs for an app, or a deployment slot.",
+ "operationId": "WebApps_ListContinuousWebJobsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9087,14 +9938,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
"required": true,
"type": "string"
},
@@ -9109,7 +9960,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SiteConfigResource"
+ "$ref": "#/definitions/ContinuousWebJobCollection"
}
},
"default": {
@@ -9118,15 +9969,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Updates the configuration of an app.",
- "description": "Description for Updates the configuration of an app.",
- "operationId": "WebApps_CreateOrUpdateConfigurationSlot",
+ "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.",
+ "description": "Description for Gets a continuous web job by its ID for an app, or a deployment slot.",
+ "operationId": "WebApps_GetContinuousWebJobSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9134,23 +9990,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "siteConfig",
- "in": "body",
- "description": "JSON representation of a SiteConfig object. See example.",
+ "name": "webJobName",
+ "in": "path",
+ "description": "Name of Web Job.",
"required": true,
- "schema": {
- "$ref": "#/definitions/SiteConfigResource"
- }
+ "type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
"required": true,
"type": "string"
},
@@ -9163,11 +10017,14 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Found continuous web job.",
"schema": {
- "$ref": "#/definitions/SiteConfigResource"
+ "$ref": "#/definitions/ContinuousWebJob"
}
},
+ "404": {
+ "description": "Continuous web job does not exist."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -9176,13 +10033,13 @@
}
}
},
- "patch": {
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Updates the configuration of an app.",
- "description": "Description for Updates the configuration of an app.",
- "operationId": "WebApps_UpdateConfigurationSlot",
+ "summary": "Delete a continuous web job by its ID for an app, or a deployment slot.",
+ "description": "Description for Delete a continuous web job by its ID for an app, or a deployment slot.",
+ "operationId": "WebApps_DeleteContinuousWebJobSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9190,23 +10047,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "siteConfig",
- "in": "body",
- "description": "JSON representation of a SiteConfig object. See example.",
+ "name": "webJobName",
+ "in": "path",
+ "description": "Name of Web Job.",
"required": true,
- "schema": {
- "$ref": "#/definitions/SiteConfigResource"
- }
+ "type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
"required": true,
"type": "string"
},
@@ -9219,10 +10074,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SiteConfigResource"
- }
+ "description": "Successfully deleted continuous web job."
+ },
+ "204": {
+ "description": "Continuous web job does not exist."
},
"default": {
"description": "App Service error response.",
@@ -9233,14 +10088,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.",
- "description": "Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.",
- "operationId": "WebApps_ListConfigurationSnapshotInfoSlot",
+ "summary": "Start a continuous web job for an app, or a deployment slot.",
+ "description": "Description for Start a continuous web job for an app, or a deployment slot.",
+ "operationId": "WebApps_StartContinuousWebJobSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9248,14 +10103,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "webJobName",
+ "in": "path",
+ "description": "Name of Web Job.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
"required": true,
"type": "string"
},
@@ -9268,10 +10130,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection"
- }
+ "description": "Found continuous web job."
+ },
+ "404": {
+ "description": "Continuous web job does not exist."
},
"default": {
"description": "App Service error response.",
@@ -9279,20 +10141,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Gets a snapshot of the configuration of an app at a previous point in time.",
- "description": "Description for Gets a snapshot of the configuration of an app at a previous point in time.",
- "operationId": "WebApps_GetConfigurationSnapshotSlot",
+ "summary": "Stop a continuous web job for an app, or a deployment slot.",
+ "description": "Description for Stop a continuous web job for an app, or a deployment slot.",
+ "operationId": "WebApps_StopContinuousWebJobSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9300,21 +10159,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "snapshotId",
+ "name": "webJobName",
"in": "path",
- "description": "The ID of the snapshot to read.",
+ "description": "Name of Web Job.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
"required": true,
"type": "string"
},
@@ -9327,10 +10186,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SiteConfigResource"
- }
+ "description": "Found continuous web job."
+ },
+ "404": {
+ "description": "Continuous web job does not exist."
},
"default": {
"description": "App Service error response.",
@@ -9341,14 +10200,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Reverts the configuration of an app to a previous snapshot.",
- "description": "Description for Reverts the configuration of an app to a previous snapshot.",
- "operationId": "WebApps_RecoverSiteConfigurationSnapshotSlot",
+ "summary": "List deployments for an app, or a deployment slot.",
+ "description": "Description for List deployments for an app, or a deployment slot.",
+ "operationId": "WebApps_ListDeploymentsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9360,17 +10219,10 @@
"required": true,
"type": "string"
},
- {
- "name": "snapshotId",
- "in": "path",
- "description": "The ID of the snapshot to read.",
- "required": true,
- "type": "string"
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.",
"required": true,
"type": "string"
},
@@ -9382,8 +10234,11 @@
}
],
"responses": {
- "204": {
- "description": "No Content"
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DeploymentCollection"
+ }
},
"default": {
"description": "App Service error response.",
@@ -9391,20 +10246,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Gets the last lines of docker logs for the given site",
- "description": "Description for Gets the last lines of docker logs for the given site",
- "operationId": "WebApps_GetWebSiteContainerLogsSlot",
- "produces": [
- "application/octet-stream"
- ],
+ "summary": "Get a deployment by its ID for an app, or a deployment slot.",
+ "description": "Description for Get a deployment by its ID for an app, or a deployment slot.",
+ "operationId": "WebApps_GetDeploymentSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9412,14 +10267,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "Deployment ID.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.",
"required": true,
"type": "string"
},
@@ -9431,13 +10293,10 @@
}
],
"responses": {
- "204": {
- "description": "No Content"
- },
"200": {
"description": "OK",
"schema": {
- "type": "file"
+ "$ref": "#/definitions/Deployment"
}
},
"default": {
@@ -9447,19 +10306,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": {
- "post": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Gets the ZIP archived docker log files for the given site",
- "description": "Description for Gets the ZIP archived docker log files for the given site",
- "operationId": "WebApps_GetContainerLogsZipSlot",
- "produces": [
- "application/zip"
- ],
+ "summary": "Create a deployment for an app, or a deployment slot.",
+ "description": "Description for Create a deployment for an app, or a deployment slot.",
+ "operationId": "WebApps_CreateDeploymentSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9467,17 +10321,33 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of an existing deployment.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot.",
"required": true,
"type": "string"
},
+ {
+ "name": "deployment",
+ "in": "body",
+ "description": "Deployment details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Deployment"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -9486,13 +10356,10 @@
}
],
"responses": {
- "204": {
- "description": "No Content"
- },
"200": {
"description": "OK",
"schema": {
- "type": "file"
+ "$ref": "#/definitions/Deployment"
}
},
"default": {
@@ -9502,16 +10369,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": {
- "get": {
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "List continuous web jobs for an app, or a deployment slot.",
- "description": "Description for List continuous web jobs for an app, or a deployment slot.",
- "operationId": "WebApps_ListContinuousWebJobsSlot",
+ "summary": "Delete a deployment by its ID for an app, or a deployment slot.",
+ "description": "Description for Delete a deployment by its ID for an app, or a deployment slot.",
+ "operationId": "WebApps_DeleteDeploymentSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9519,7 +10384,14 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "Deployment ID.",
"required": true,
"type": "string"
},
@@ -9539,10 +10411,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ContinuousWebJobCollection"
- }
+ "description": "Successfully deleted deployment."
+ },
+ "204": {
+ "description": "Deployment does not exist."
},
"default": {
"description": "App Service error response.",
@@ -9550,20 +10422,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.",
- "description": "Description for Gets a continuous web job by its ID for an app, or a deployment slot.",
- "operationId": "WebApps_GetContinuousWebJobSlot",
+ "summary": "List deployment log for specific deployment for an app, or a deployment slot.",
+ "description": "Description for List deployment log for specific deployment for an app, or a deployment slot.",
+ "operationId": "WebApps_ListDeploymentLogSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9571,21 +10440,21 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "webJobName",
+ "name": "id",
"in": "path",
- "description": "Name of Web Job.",
+ "description": "The ID of a specific deployment. This is the value of the name property in the JSON response from \"GET /api/sites/{siteName}/deployments\".",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.",
"required": true,
"type": "string"
},
@@ -9598,14 +10467,11 @@
],
"responses": {
"200": {
- "description": "Found continuous web job.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/ContinuousWebJob"
+ "$ref": "#/definitions/Deployment"
}
},
- "404": {
- "description": "Continuous web job does not exist."
- },
"default": {
"description": "App Service error response.",
"schema": {
@@ -9613,14 +10479,16 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Delete a continuous web job by its ID for an app, or a deployment slot.",
- "description": "Description for Delete a continuous web job by its ID for an app, or a deployment slot.",
- "operationId": "WebApps_DeleteContinuousWebJobSlot",
+ "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.",
+ "description": "Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.",
+ "operationId": "WebApps_DiscoverBackupSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9628,21 +10496,23 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "webJobName",
- "in": "path",
- "description": "Name of Web Job.",
+ "name": "request",
+ "in": "body",
+ "description": "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.",
"required": true,
- "type": "string"
+ "schema": {
+ "$ref": "#/definitions/RestoreRequest"
+ }
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot.",
"required": true,
"type": "string"
},
@@ -9655,10 +10525,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted continuous web job."
- },
- "204": {
- "description": "Continuous web job does not exist."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RestoreRequest"
+ }
},
"default": {
"description": "App Service error response.",
@@ -9669,14 +10539,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Start a continuous web job for an app, or a deployment slot.",
- "description": "Description for Start a continuous web job for an app, or a deployment slot.",
- "operationId": "WebApps_StartContinuousWebJobSlot",
+ "summary": "Lists ownership identifiers for domain associated with web app.",
+ "description": "Description for Lists ownership identifiers for domain associated with web app.",
+ "operationId": "WebApps_ListDomainOwnershipIdentifiersSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9684,21 +10554,14 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "webJobName",
- "in": "path",
- "description": "Name of Web Job.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
"required": true,
"type": "string"
},
@@ -9711,10 +10574,10 @@
],
"responses": {
"200": {
- "description": "Found continuous web job."
- },
- "404": {
- "description": "Continuous web job does not exist."
+ "description": "OK",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/IdentifierCollection"
+ }
},
"default": {
"description": "App Service error response.",
@@ -9722,17 +10585,20 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Stop a continuous web job for an app, or a deployment slot.",
- "description": "Description for Stop a continuous web job for an app, or a deployment slot.",
- "operationId": "WebApps_StopContinuousWebJobSlot",
+ "summary": "Get domain ownership identifier for web app.",
+ "description": "Description for Get domain ownership identifier for web app.",
+ "operationId": "WebApps_GetDomainOwnershipIdentifierSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9740,21 +10606,21 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
{
- "name": "webJobName",
+ "name": "domainOwnershipIdentifierName",
"in": "path",
- "description": "Name of Web Job.",
+ "description": "Name of domain ownership identifier.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
"required": true,
"type": "string"
},
@@ -9767,10 +10633,10 @@
],
"responses": {
"200": {
- "description": "Found continuous web job."
- },
- "404": {
- "description": "Continuous web job does not exist."
+ "description": "OK",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/Identifier"
+ }
},
"default": {
"description": "App Service error response.",
@@ -9779,16 +10645,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": {
- "get": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "List deployments for an app, or a deployment slot.",
- "description": "Description for List deployments for an app, or a deployment slot.",
- "operationId": "WebApps_ListDeploymentsSlot",
+ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.",
+ "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.",
+ "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifierSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9800,10 +10664,26 @@
"required": true,
"type": "string"
},
+ {
+ "name": "domainOwnershipIdentifierName",
+ "in": "path",
+ "description": "Name of domain ownership identifier.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainOwnershipIdentifier",
+ "in": "body",
+ "description": "A JSON representation of the domain ownership properties.",
+ "required": true,
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/Identifier"
+ }
+ },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
"required": true,
"type": "string"
},
@@ -9818,7 +10698,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DeploymentCollection"
+ "$ref": "./CommonDefinitions.json#/definitions/Identifier"
}
},
"default": {
@@ -9827,20 +10707,15 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": {
- "get": {
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Get a deployment by its ID for an app, or a deployment slot.",
- "description": "Description for Get a deployment by its ID for an app, or a deployment slot.",
- "operationId": "WebApps_GetDeploymentSlot",
+ "summary": "Deletes a domain ownership identifier for a web app.",
+ "description": "Description for Deletes a domain ownership identifier for a web app.",
+ "operationId": "WebApps_DeleteDomainOwnershipIdentifierSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9853,16 +10728,16 @@
"type": "string"
},
{
- "name": "id",
+ "name": "domainOwnershipIdentifierName",
"in": "path",
- "description": "Deployment ID.",
+ "description": "Name of domain ownership identifier.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
"required": true,
"type": "string"
},
@@ -9875,10 +10750,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Deployment"
- }
+ "description": "Successfully deleted domain ownership identifier."
+ },
+ "204": {
+ "description": "Domain ownership identifier does not exist."
},
"default": {
"description": "App Service error response.",
@@ -9888,13 +10763,13 @@
}
}
},
- "put": {
+ "patch": {
"tags": [
"WebApps"
],
- "summary": "Create a deployment for an app, or a deployment slot.",
- "description": "Description for Create a deployment for an app, or a deployment slot.",
- "operationId": "WebApps_CreateDeploymentSlot",
+ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.",
+ "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.",
+ "operationId": "WebApps_UpdateDomainOwnershipIdentifierSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9907,28 +10782,28 @@
"type": "string"
},
{
- "name": "id",
- "in": "path",
- "description": "ID of an existing deployment.",
- "required": true,
- "type": "string"
- },
- {
- "name": "slot",
+ "name": "domainOwnershipIdentifierName",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot.",
+ "description": "Name of domain ownership identifier.",
"required": true,
"type": "string"
},
{
- "name": "deployment",
+ "name": "domainOwnershipIdentifier",
"in": "body",
- "description": "Deployment details.",
+ "description": "A JSON representation of the domain ownership properties.",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "./CommonDefinitions.json#/definitions/Identifier"
}
},
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
+ "required": true,
+ "type": "string"
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -9940,7 +10815,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "./CommonDefinitions.json#/definitions/Identifier"
}
},
"default": {
@@ -9950,14 +10825,16 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Delete a deployment by its ID for an app, or a deployment slot.",
- "description": "Description for Delete a deployment by its ID for an app, or a deployment slot.",
- "operationId": "WebApps_DeleteDeploymentSlot",
+ "summary": "Get the status of the last MSDeploy operation.",
+ "description": "Description for Get the status of the last MSDeploy operation.",
+ "operationId": "WebApps_GetMSDeployStatusSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -9965,21 +10842,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
- "required": true,
- "type": "string"
- },
- {
- "name": "id",
- "in": "path",
- "description": "Deployment ID.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
"required": true,
"type": "string"
},
@@ -9992,10 +10862,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted deployment."
- },
- "204": {
- "description": "Deployment does not exist."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MSDeployStatus"
+ }
},
"default": {
"description": "App Service error response.",
@@ -10004,16 +10874,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log": {
- "get": {
+ },
+ "put": {
"tags": [
"WebApps"
],
- "summary": "List deployment log for specific deployment for an app, or a deployment slot.",
- "description": "Description for List deployment log for specific deployment for an app, or a deployment slot.",
- "operationId": "WebApps_ListDeploymentLogSlot",
+ "summary": "Invoke the MSDeploy web app extension.",
+ "description": "Description for Invoke the MSDeploy web app extension.",
+ "operationId": "WebApps_CreateMSDeployOperationSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10021,23 +10889,25 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
- "name": "id",
+ "name": "slot",
"in": "path",
- "description": "The ID of a specific deployment. This is the value of the name property in the JSON response from \"GET /api/sites/{siteName}/deployments\".",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
"required": true,
"type": "string"
},
{
- "name": "slot",
- "in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.",
+ "name": "MSDeploy",
+ "in": "body",
+ "description": "Details of MSDeploy operation",
"required": true,
- "type": "string"
+ "schema": {
+ "$ref": "#/definitions/MSDeploy"
+ }
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -10047,29 +10917,33 @@
}
],
"responses": {
- "200": {
- "description": "OK",
+ "201": {
+ "description": "Deployment is scheduled.",
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/MSDeployStatus"
}
},
+ "409": {
+ "description": "Another deployment is in progress."
+ },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.",
- "description": "Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.",
- "operationId": "WebApps_DiscoverBackupSlot",
+ "summary": "Get the MSDeploy Log for the last MSDeploy operation.",
+ "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.",
+ "operationId": "WebApps_GetMSDeployLogSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10077,23 +10951,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
- {
- "name": "request",
- "in": "body",
- "description": "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/RestoreRequest"
- }
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot.",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
"required": true,
"type": "string"
},
@@ -10106,11 +10971,14 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "MSDeploy log returned.",
"schema": {
- "$ref": "#/definitions/RestoreRequest"
+ "$ref": "#/definitions/MSDeployLog"
}
},
+ "404": {
+ "description": "MSDeploy log not found."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -10120,14 +10988,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Lists ownership identifiers for domain associated with web app.",
- "description": "Description for Lists ownership identifiers for domain associated with web app.",
- "operationId": "WebApps_ListDomainOwnershipIdentifiersSlot",
+ "summary": "List the functions for a web site, or a deployment slot.",
+ "description": "Description for List the functions for a web site, or a deployment slot.",
+ "operationId": "WebApps_ListInstanceFunctionsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10135,14 +11003,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
+ "description": "Name of the deployment slot.",
"required": true,
"type": "string"
},
@@ -10155,11 +11023,14 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Function information returned.",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/IdentifierCollection"
+ "$ref": "#/definitions/FunctionEnvelopeCollection"
}
},
+ "404": {
+ "description": "Function with an ID of {functionName} is not running."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -10172,14 +11043,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": {
"get": {
"tags": [
"WebApps"
],
- "summary": "Get domain ownership identifier for web app.",
- "description": "Description for Get domain ownership identifier for web app.",
- "operationId": "WebApps_GetDomainOwnershipIdentifierSlot",
+ "summary": "Fetch a short lived token that can be exchanged for a master key.",
+ "description": "Description for Fetch a short lived token that can be exchanged for a master key.",
+ "operationId": "WebApps_GetFunctionsAdminTokenSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10187,21 +11058,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
- "required": true,
- "type": "string"
- },
- {
- "name": "domainOwnershipIdentifierName",
- "in": "path",
- "description": "Name of domain ownership identifier.",
+ "description": "Name of web app.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
+ "description": "Name of web app slot. If not specified then will default to production slot.",
"required": true,
"type": "string"
},
@@ -10216,7 +11080,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Identifier"
+ "type": "string"
}
},
"default": {
@@ -10226,14 +11090,16 @@
}
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": {
+ "get": {
"tags": [
"WebApps"
],
- "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.",
- "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.",
- "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifierSlot",
+ "summary": "Get function information by its ID for web site, or a deployment slot.",
+ "description": "Description for Get function information by its ID for web site, or a deployment slot.",
+ "operationId": "WebApps_GetInstanceFunctionSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10241,30 +11107,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "domainOwnershipIdentifierName",
+ "name": "functionName",
"in": "path",
- "description": "Name of domain ownership identifier.",
+ "description": "Function name.",
"required": true,
"type": "string"
},
- {
- "name": "domainOwnershipIdentifier",
- "in": "body",
- "description": "A JSON representation of the domain ownership properties.",
- "required": true,
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Identifier"
- }
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
+ "description": "Name of the deployment slot.",
"required": true,
"type": "string"
},
@@ -10277,11 +11134,14 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Function information returned.",
"schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Identifier"
+ "$ref": "#/definitions/FunctionEnvelope"
}
},
+ "404": {
+ "description": "Function with a name of {functionName} does not exist."
+ },
"default": {
"description": "App Service error response.",
"schema": {
@@ -10290,13 +11150,13 @@
}
}
},
- "delete": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Deletes a domain ownership identifier for a web app.",
- "description": "Description for Deletes a domain ownership identifier for a web app.",
- "operationId": "WebApps_DeleteDomainOwnershipIdentifierSlot",
+ "summary": "Create function for web site, or a deployment slot.",
+ "description": "Description for Create function for web site, or a deployment slot.",
+ "operationId": "WebApps_CreateInstanceFunctionSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10304,24 +11164,33 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "domainOwnershipIdentifierName",
+ "name": "functionName",
"in": "path",
- "description": "Name of domain ownership identifier.",
+ "description": "Function name.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
+ "description": "Name of the deployment slot.",
"required": true,
"type": "string"
},
+ {
+ "name": "function_envelope",
+ "in": "body",
+ "description": "Function details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FunctionEnvelope"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -10330,11 +11199,11 @@
}
],
"responses": {
- "200": {
- "description": "Successfully deleted domain ownership identifier."
- },
- "204": {
- "description": "Domain ownership identifier does not exist."
+ "201": {
+ "description": "Function created.",
+ "schema": {
+ "$ref": "#/definitions/FunctionEnvelope"
+ }
},
"default": {
"description": "App Service error response.",
@@ -10342,15 +11211,16 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- }
+ },
+ "x-ms-long-running-operation": true
},
- "patch": {
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.",
- "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.",
- "operationId": "WebApps_UpdateDomainOwnershipIdentifierSlot",
+ "summary": "Delete a function for web site, or a deployment slot.",
+ "description": "Description for Delete a function for web site, or a deployment slot.",
+ "operationId": "WebApps_DeleteInstanceFunctionSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10358,30 +11228,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of the app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "domainOwnershipIdentifierName",
+ "name": "functionName",
"in": "path",
- "description": "Name of domain ownership identifier.",
+ "description": "Function name.",
"required": true,
"type": "string"
},
- {
- "name": "domainOwnershipIdentifier",
- "in": "body",
- "description": "A JSON representation of the domain ownership properties.",
- "required": true,
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Identifier"
- }
- },
{
"name": "slot",
"in": "path",
- "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.",
+ "description": "Name of the deployment slot.",
"required": true,
"type": "string"
},
@@ -10393,11 +11254,11 @@
}
],
"responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/Identifier"
- }
+ "204": {
+ "description": "Function deleted."
+ },
+ "404": {
+ "description": "Function does not exist."
},
"default": {
"description": "App Service error response.",
@@ -10408,14 +11269,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Get the status of the last MSDeploy operation.",
- "description": "Description for Get the status of the last MSDeploy operation.",
- "operationId": "WebApps_GetMSDeployStatusSlot",
+ "summary": "Add or update a function secret.",
+ "description": "Description for Add or update a function secret.",
+ "operationId": "WebApps_CreateOrUpdateFunctionSecretSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10423,17 +11284,40 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "functionName",
+ "in": "path",
+ "description": "The name of the function.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the key.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "Name of the deployment slot.",
"required": true,
"type": "string"
},
+ {
+ "name": "key",
+ "in": "body",
+ "description": "The key to create or update",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/KeyInfo"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -10442,10 +11326,16 @@
}
],
"responses": {
+ "201": {
+ "description": "Key was created.",
+ "schema": {
+ "$ref": "#/definitions/KeyInfo"
+ }
+ },
"200": {
- "description": "OK",
+ "description": "Key was updated.",
"schema": {
- "$ref": "#/definitions/MSDeployStatus"
+ "$ref": "#/definitions/KeyInfo"
}
},
"default": {
@@ -10456,13 +11346,13 @@
}
}
},
- "put": {
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Invoke the MSDeploy web app extension.",
- "description": "Description for Invoke the MSDeploy web app extension.",
- "operationId": "WebApps_CreateMSDeployOperationSlot",
+ "summary": "Delete a function secret.",
+ "description": "Description for Delete a function secret.",
+ "operationId": "WebApps_DeleteFunctionSecretSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10470,25 +11360,30 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
- "name": "slot",
+ "name": "functionName",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "The name of the function.",
"required": true,
"type": "string"
},
{
- "name": "MSDeploy",
- "in": "body",
- "description": "Details of MSDeploy operation",
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the key.",
"required": true,
- "schema": {
- "$ref": "#/definitions/MSDeploy"
- }
+ "type": "string"
+ },
+ {
+ "name": "slot",
+ "in": "path",
+ "description": "Name of the deployment slot.",
+ "required": true,
+ "type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
@@ -10498,14 +11393,11 @@
}
],
"responses": {
- "201": {
- "description": "Deployment is scheduled.",
- "schema": {
- "$ref": "#/definitions/MSDeployStatus"
- }
+ "404": {
+ "description": "Key was not found."
},
- "409": {
- "description": "Another deployment is in progress."
+ "204": {
+ "description": "Key was deleted."
},
"default": {
"description": "App Service error response.",
@@ -10513,18 +11405,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Get the MSDeploy Log for the last MSDeploy operation.",
- "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.",
- "operationId": "WebApps_GetMSDeployLogSlot",
+ "summary": "Get function keys for a function in a web site, or a deployment slot.",
+ "description": "Description for Get function keys for a function in a web site, or a deployment slot.",
+ "operationId": "WebApps_ListFunctionKeysSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10532,14 +11423,21 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Site name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "functionName",
+ "in": "path",
+ "description": "Function name.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "Name of the deployment slot.",
"required": true,
"type": "string"
},
@@ -10552,14 +11450,11 @@
],
"responses": {
"200": {
- "description": "MSDeploy log returned.",
+ "description": "Function keys returned.",
"schema": {
- "$ref": "#/definitions/MSDeployLog"
+ "$ref": "#/definitions/StringDictionary"
}
},
- "404": {
- "description": "MSDeploy log not found."
- },
"default": {
"description": "App Service error response.",
"schema": {
@@ -10569,14 +11464,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "List the functions for a web site, or a deployment slot.",
- "description": "Description for List the functions for a web site, or a deployment slot.",
- "operationId": "WebApps_ListInstanceFunctionsSlot",
+ "summary": "Get function secrets for a function in a web site, or a deployment slot.",
+ "description": "Description for Get function secrets for a function in a web site, or a deployment slot.",
+ "operationId": "WebApps_ListFunctionSecretsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10588,6 +11483,13 @@
"required": true,
"type": "string"
},
+ {
+ "name": "functionName",
+ "in": "path",
+ "description": "Function name.",
+ "required": true,
+ "type": "string"
+ },
{
"name": "slot",
"in": "path",
@@ -10604,34 +11506,28 @@
],
"responses": {
"200": {
- "description": "Function information returned.",
+ "description": "Function secrets returned.",
"schema": {
- "$ref": "#/definitions/FunctionEnvelopeCollection"
+ "$ref": "#/definitions/FunctionSecrets"
}
},
- "404": {
- "description": "Function with an ID of {functionName} is not running."
- },
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Fetch a short lived token that can be exchanged for a master key.",
- "description": "Description for Fetch a short lived token that can be exchanged for a master key.",
- "operationId": "WebApps_GetFunctionsAdminTokenSlot",
+ "summary": "Get host secrets for a function app.",
+ "description": "Description for Get host secrets for a function app.",
+ "operationId": "WebApps_ListHostKeysSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10639,14 +11535,14 @@
{
"name": "name",
"in": "path",
- "description": "Name of web app.",
+ "description": "Site name.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
- "description": "Name of web app slot. If not specified then will default to production slot.",
+ "description": "Name of the deployment slot.",
"required": true,
"type": "string"
},
@@ -10659,9 +11555,9 @@
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Host secrets returned.",
"schema": {
- "type": "string"
+ "$ref": "#/definitions/HostKeys"
}
},
"default": {
@@ -10673,14 +11569,14 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Get function information by its ID for web site, or a deployment slot.",
- "description": "Description for Get function information by its ID for web site, or a deployment slot.",
- "operationId": "WebApps_GetInstanceFunctionSlot",
+ "summary": "This is to allow calling via powershell and ARM template.",
+ "description": "Description for This is to allow calling via powershell and ARM template.",
+ "operationId": "WebApps_ListSyncStatusSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10688,14 +11584,7 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "functionName",
- "in": "path",
- "description": "Function name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
@@ -10714,14 +11603,8 @@
}
],
"responses": {
- "200": {
- "description": "Function information returned.",
- "schema": {
- "$ref": "#/definitions/FunctionEnvelope"
- }
- },
- "404": {
- "description": "Function with a name of {functionName} does not exist."
+ "204": {
+ "description": "No Content"
},
"default": {
"description": "App Service error response.",
@@ -10730,14 +11613,16 @@
}
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync": {
+ "post": {
"tags": [
"WebApps"
],
- "summary": "Create function for web site, or a deployment slot.",
- "description": "Description for Create function for web site, or a deployment slot.",
- "operationId": "WebApps_CreateInstanceFunctionSlot",
+ "summary": "Syncs function trigger metadata to the management database",
+ "description": "Description for Syncs function trigger metadata to the management database",
+ "operationId": "WebApps_SyncFunctionsSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10745,14 +11630,7 @@
{
"name": "name",
"in": "path",
- "description": "Site name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "functionName",
- "in": "path",
- "description": "Function name.",
+ "description": "Name of the app.",
"required": true,
"type": "string"
},
@@ -10763,15 +11641,6 @@
"required": true,
"type": "string"
},
- {
- "name": "function_envelope",
- "in": "body",
- "description": "Function details.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/FunctionEnvelope"
- }
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -10780,11 +11649,8 @@
}
],
"responses": {
- "201": {
- "description": "Function created.",
- "schema": {
- "$ref": "#/definitions/FunctionEnvelope"
- }
+ "204": {
+ "description": "No Content"
},
"default": {
"description": "App Service error response.",
@@ -10792,16 +11658,17 @@
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}": {
+ "put": {
"tags": [
"WebApps"
],
- "summary": "Delete a function for web site, or a deployment slot.",
- "description": "Description for Delete a function for web site, or a deployment slot.",
- "operationId": "WebApps_DeleteInstanceFunctionSlot",
+ "summary": "Add or update a host level secret.",
+ "description": "Description for Add or update a host level secret.",
+ "operationId": "WebApps_CreateOrUpdateHostSecretSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10814,9 +11681,16 @@
"type": "string"
},
{
- "name": "functionName",
+ "name": "keyType",
"in": "path",
- "description": "Function name.",
+ "description": "The type of host key.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the key.",
"required": true,
"type": "string"
},
@@ -10827,6 +11701,15 @@
"required": true,
"type": "string"
},
+ {
+ "name": "key",
+ "in": "body",
+ "description": "The key to create or update",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/KeyInfo"
+ }
+ },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -10835,11 +11718,17 @@
}
],
"responses": {
- "204": {
- "description": "Function deleted."
+ "201": {
+ "description": "Key was created.",
+ "schema": {
+ "$ref": "#/definitions/KeyInfo"
+ }
},
- "404": {
- "description": "Function does not exist."
+ "200": {
+ "description": "Key was updated.",
+ "schema": {
+ "$ref": "#/definitions/KeyInfo"
+ }
},
"default": {
"description": "App Service error response.",
@@ -10848,16 +11737,14 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets": {
- "post": {
+ },
+ "delete": {
"tags": [
"WebApps"
],
- "summary": "Get function secrets for a function in a web site, or a deployment slot.",
- "description": "Description for Get function secrets for a function in a web site, or a deployment slot.",
- "operationId": "WebApps_ListFunctionSecretsSlot",
+ "summary": "Delete a host level secret.",
+ "description": "Description for Delete a host level secret.",
+ "operationId": "WebApps_DeleteHostSecretSlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -10870,9 +11757,16 @@
"type": "string"
},
{
- "name": "functionName",
+ "name": "keyType",
"in": "path",
- "description": "Function name.",
+ "description": "The type of host key.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "keyName",
+ "in": "path",
+ "description": "The name of the key.",
"required": true,
"type": "string"
},
@@ -10891,11 +11785,11 @@
}
],
"responses": {
- "200": {
- "description": "Function secrets returned.",
- "schema": {
- "$ref": "#/definitions/FunctionSecrets"
- }
+ "404": {
+ "description": "Key was not found."
+ },
+ "204": {
+ "description": "Key was deleted."
},
"default": {
"description": "App Service error response.",
@@ -10906,7 +11800,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": {
"get": {
"tags": [
"WebApps"
@@ -16024,8 +16918,8 @@
"tags": [
"WebApps"
],
- "summary": "Syncs function trigger metadata to the scale controller",
- "description": "Description for Syncs function trigger metadata to the scale controller",
+ "summary": "Syncs function trigger metadata to the management database",
+ "description": "Description for Syncs function trigger metadata to the management database",
"operationId": "WebApps_SyncFunctionTriggersSlot",
"parameters": [
{
@@ -17740,8 +18634,8 @@
"tags": [
"WebApps"
],
- "summary": "Syncs function trigger metadata to the scale controller",
- "description": "Description for Syncs function trigger metadata to the scale controller",
+ "summary": "Syncs function trigger metadata to the management database",
+ "description": "Description for Syncs function trigger metadata to the management database",
"operationId": "WebApps_SyncFunctionTriggers",
"parameters": [
{
@@ -19895,6 +20789,30 @@
}
}
},
+ "HostKeys": {
+ "description": "Functions host level keys.",
+ "type": "object",
+ "properties": {
+ "masterKey": {
+ "description": "Secret key.",
+ "type": "string"
+ },
+ "functionKeys": {
+ "description": "Host level function keys.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "systemKeys": {
+ "description": "System keys.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
"HostNameBinding": {
"description": "A hostname binding object.",
"type": "object",
@@ -20049,6 +20967,20 @@
}
}
},
+ "KeyInfo": {
+ "description": "Function key info.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Key name",
+ "type": "string"
+ },
+ "value": {
+ "description": "Key value",
+ "type": "string"
+ }
+ }
+ },
"KeyVaultReferenceCollection": {
"description": "Web app key vault reference and status ARM resource.",
"type": "object",
diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md
index 4771a3c68be3..cc8be980286c 100644
--- a/specification/web/resource-manager/readme.md
+++ b/specification/web/resource-manager/readme.md
@@ -37,6 +37,24 @@ openapi-type: arm
tag: package-2019-08
```
+### Suppression
+
+``` yaml
+directive:
+ - suppress: XmsResourceInPutResponse
+ from: WebApps.json
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}"].put
+ reason: Model type is not an Azure resource
+ - suppress: RequiredPropertiesMissingInResourceModel
+ from: WebApps.json
+ where: $.definitions.KeyInfo
+ reason: Model type is not an Azure resource
+ - suppress: BodyTopLevelProperties
+ from: WebApps.json
+ where: $.definitions.KeyInfo.properties
+ reason: Model type is not an Azure resource
+```
+
### Tag: package-2019-08
These settings apply only when `--tag=package-2019-08` or `--tag=package-2019-08-only` is specified on the command line.
From f130ce412f555c893091c976d2a7f4f8137de499 Mon Sep 17 00:00:00 2001
From: Filiz Topatan
Date: Mon, 6 Jan 2020 21:04:56 -0800
Subject: [PATCH 172/469] [DeploymentScripts] Add error property to
ScriptStatus object (#7987)
* Add error property to ScriptStatus
* remove 'expiring' from provisioningState enum
---
.../preview/2019-10-01-preview/deploymentScripts.json | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
index 6506e3c84a9e..9bb4f1e52962 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
@@ -617,8 +617,7 @@
"Running",
"Succeeded",
"Failed",
- "Canceled",
- "Expiring"
+ "Canceled"
],
"x-ms-enum": {
"name": "ScriptProvisioningState",
@@ -673,6 +672,10 @@
"format": "date-time",
"readOnly": true,
"description": "Time the deployment script resource will expire."
+ },
+ "error": {
+ "description": "Error that is relayed from the script execution.",
+ "$ref": "#/definitions/DefaultErrorResponse"
}
}
},
From 13045eed245477c9596d0b5f628c62d08c21977b Mon Sep 17 00:00:00 2001
From: sivanguetta <46525261+sivanguetta@users.noreply.github.com>
Date: Tue, 7 Jan 2020 07:24:40 +0200
Subject: [PATCH 173/469] Fix property name typo (from webhookProperties to
webHookProperties) (#8056)
---
.../stable/2018-03-01/examples/UpdateMetricAlert.json | 4 ++--
.../createOrUpdateDynamicMetricAlertMultipleResource.json | 4 ++--
.../createOrUpdateDynamicMetricAlertSingleResource.json | 4 ++--
.../examples/createOrUpdateMetricAlertMultipleResource.json | 4 ++--
.../examples/createOrUpdateMetricAlertResourceGroup.json | 4 ++--
.../examples/createOrUpdateMetricAlertSingleResource.json | 4 ++--
.../examples/createOrUpdateMetricAlertSubscription.json | 4 ++--
.../examples/getDynamicMetricAlertMultipleResource.json | 2 +-
.../examples/getDynamicMetricAlertSingleResource.json | 2 +-
.../2018-03-01/examples/getMetricAlertMultipleResource.json | 2 +-
.../2018-03-01/examples/getMetricAlertResourceGroup.json | 2 +-
.../2018-03-01/examples/getMetricAlertSingleResource.json | 2 +-
.../2018-03-01/examples/getMetricAlertSubscription.json | 2 +-
.../stable/2018-03-01/examples/listMetricAlert.json | 4 ++--
.../Microsoft.Insights/stable/2018-03-01/metricAlert_API.json | 2 +-
15 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json
index 1688705d89ce..d94a5ef9480a 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json
@@ -33,7 +33,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
@@ -79,7 +79,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json
index ee68510b86c7..e2d8b087be84 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json
@@ -42,7 +42,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
@@ -96,7 +96,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json
index 3fdd3df3ad4e..93ccf1e5689c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json
@@ -42,7 +42,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
@@ -96,7 +96,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json
index 50e3275420f9..07697f2ee2ad 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json
@@ -38,7 +38,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
@@ -88,7 +88,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json
index 7b2bb11cd113..76fb4ac457a9 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json
@@ -38,7 +38,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
@@ -88,7 +88,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json
index 4065627efa3f..21e17acd07a5 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json
@@ -34,7 +34,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
@@ -80,7 +80,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json
index 918d07dd4620..deac96bbe836 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json
@@ -37,7 +37,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
@@ -86,7 +86,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json
index 8869f07a8571..933647227ffd 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json
@@ -50,7 +50,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json
index 54d46d2c1ac8..60c7a95c3f73 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json
@@ -48,7 +48,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json
index 853015d49de3..e46b462d8ffa 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json
@@ -46,7 +46,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json
index 00e5d33bd202..ce7ced3081dd 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json
@@ -46,7 +46,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json
index c6ab3a033c42..f799535413db 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json
@@ -42,7 +42,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json
index 9c323b96999c..47e9d090462b 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json
@@ -45,7 +45,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json
index b2feab27f209..a75915e6868d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json
@@ -42,7 +42,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
@@ -83,7 +83,7 @@
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
+ "webHookProperties": {
"key11": "value11",
"key12": "value12"
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
index 0346eec05390..dfbf0b9cf660 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
@@ -456,7 +456,7 @@
"type": "string",
"description": "the id of the action group to use."
},
- "webhookProperties": {
+ "webHookProperties": {
"type": "object",
"additionalProperties": {
"type": "string",
From 68831c6eded64f98fabe9eb658712ceff16c6a2d Mon Sep 17 00:00:00 2001
From: Wei Wei
Date: Tue, 7 Jan 2020 15:11:16 +0800
Subject: [PATCH 174/469] Revert "[SRP] Add default response status code
(#8065)" (#8074)
This reverts commit f7475a752a8019712b1195cdf876d8cc169f4c08.
---
.../stable/2019-06-01/storage.json | 36 -------------------
1 file changed, 36 deletions(-)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index 488dfd9635c8..e457d4b98b7b 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -162,12 +162,6 @@
},
"202": {
"description": "Accepted -- Create or update request accepted; operation will complete asynchronously."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
}
},
"x-ms-long-running-operation": true
@@ -251,12 +245,6 @@
"schema": {
"$ref": "#/definitions/StorageAccount"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
}
}
},
@@ -303,12 +291,6 @@
"schema": {
"$ref": "#/definitions/StorageAccount"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
}
}
}
@@ -475,12 +457,6 @@
"schema": {
"$ref": "#/definitions/StorageAccountListKeysResult"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
}
}
}
@@ -690,12 +666,6 @@
"schema": {
"$ref": "#/definitions/ManagementPolicy"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
}
}
},
@@ -742,12 +712,6 @@
"schema": {
"$ref": "#/definitions/ManagementPolicy"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
}
}
},
From e86f236a0437895537a18bbd3a4cab59c26fc129 Mon Sep 17 00:00:00 2001
From: Amir Keren
Date: Wed, 8 Jan 2020 03:09:24 +0200
Subject: [PATCH 175/469] Update SecurityInsights.json (#8022)
Make objectId optional
Co-authored-by: amir-keren
---
.../preview/2019-01-01-preview/SecurityInsights.json | 3 ---
1 file changed, 3 deletions(-)
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 28375f14fcf9..9726e43d21a2 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
@@ -6417,9 +6417,6 @@
"x-nullable": true
}
},
- "required": [
- "objectId"
- ],
"type": "object"
},
"IncidentInfo": {
From 7ecb21dedb65d6dd04f18d578278a247603e7b3a Mon Sep 17 00:00:00 2001
From: shurd
Date: Tue, 7 Jan 2020 20:10:21 -0500
Subject: [PATCH 176/469] Adding 2019-12-12 API version for Cosmos DB (#8058)
* adding new API version for Cosmos DB
* remove property that is not actually in response
---
.../stable/2019-12-12/cosmos-db.json | 7223 +++++++++++++++++
...CosmosDBCassandraKeyspaceCreateUpdate.json | 36 +
.../CosmosDBCassandraKeyspaceDelete.json | 13 +
.../CosmosDBCassandraKeyspaceGet.json | 28 +
.../CosmosDBCassandraKeyspaceList.json | 28 +
...osmosDBCassandraKeyspaceThroughputGet.json | 30 +
...osDBCassandraKeyspaceThroughputUpdate.json | 40 +
.../CosmosDBCassandraTableCreateUpdate.json | 77 +
.../CosmosDBCassandraTableDelete.json | 14 +
.../examples/CosmosDBCassandraTableGet.json | 49 +
.../examples/CosmosDBCassandraTableList.json | 49 +
.../CosmosDBCassandraTableThroughputGet.json | 31 +
...osmosDBCassandraTableThroughputUpdate.json | 39 +
...osmosDBCollectionGetMetricDefinitions.json | 41 +
.../CosmosDBCollectionGetMetrics.json | 55 +
.../examples/CosmosDBCollectionGetUsages.json | 29 +
...CosmosDBCollectionPartitionGetMetrics.json | 57 +
.../CosmosDBCollectionPartitionGetUsages.json | 31 +
...DBCollectionPartitionRegionGetMetrics.json | 58 +
...osmosDBDatabaseAccountCheckNameExists.json | 10 +
.../CosmosDBDatabaseAccountCreateMax.json | 125 +
.../CosmosDBDatabaseAccountCreateMin.json | 78 +
.../CosmosDBDatabaseAccountDelete.json | 12 +
...DatabaseAccountFailoverPriorityChange.json | 24 +
.../examples/CosmosDBDatabaseAccountGet.json | 68 +
...DBDatabaseAccountGetMetricDefinitions.json | 39 +
.../CosmosDBDatabaseAccountGetMetrics.json | 53 +
.../CosmosDBDatabaseAccountGetUsages.json | 27 +
.../examples/CosmosDBDatabaseAccountList.json | 68 +
...sDBDatabaseAccountListByResourceGroup.json | 69 +
...BDatabaseAccountListConnectionStrings.json | 13 +
...baseAccountListConnectionStringsMongo.json | 20 +
.../CosmosDBDatabaseAccountListKeys.json | 18 +
...smosDBDatabaseAccountListReadOnlyKeys.json | 16 +
.../CosmosDBDatabaseAccountOfflineRegion.json | 18 +
.../CosmosDBDatabaseAccountOnlineRegion.json | 18 +
.../CosmosDBDatabaseAccountPatch.json | 96 +
.../CosmosDBDatabaseAccountRegenerateKey.json | 15 +
...smosDBDatabaseAccountRegionGetMetrics.json | 54 +
.../CosmosDBDatabaseGetMetricDefinitions.json | 40 +
.../examples/CosmosDBDatabaseGetMetrics.json | 54 +
.../examples/CosmosDBDatabaseGetUsages.json | 28 +
.../CosmosDBGremlinDatabaseCreateUpdate.json | 39 +
.../CosmosDBGremlinDatabaseDelete.json | 13 +
.../examples/CosmosDBGremlinDatabaseGet.json | 28 +
.../examples/CosmosDBGremlinDatabaseList.json | 31 +
.../CosmosDBGremlinDatabaseThroughputGet.json | 30 +
...smosDBGremlinDatabaseThroughputUpdate.json | 40 +
.../CosmosDBGremlinGraphCreateUpdate.json | 124 +
.../examples/CosmosDBGremlinGraphDelete.json | 14 +
.../examples/CosmosDBGremlinGraphGet.json | 69 +
.../examples/CosmosDBGremlinGraphList.json | 72 +
.../CosmosDBGremlinGraphThroughputGet.json | 31 +
.../CosmosDBGremlinGraphThroughputUpdate.json | 41 +
...CosmosDBMongoDBCollectionCreateUpdate.json | 69 +
.../CosmosDBMongoDBCollectionDelete.json | 14 +
.../CosmosDBMongoDBCollectionGet.json | 45 +
.../CosmosDBMongoDBCollectionList.json | 45 +
...osmosDBMongoDBCollectionThroughputGet.json | 31 +
...osDBMongoDBCollectionThroughputUpdate.json | 41 +
.../CosmosDBMongoDBDatabaseCreateUpdate.json | 36 +
.../CosmosDBMongoDBDatabaseDelete.json | 13 +
.../examples/CosmosDBMongoDBDatabaseGet.json | 28 +
.../examples/CosmosDBMongoDBDatabaseList.json | 28 +
.../CosmosDBMongoDBDatabaseThroughputGet.json | 30 +
...smosDBMongoDBDatabaseThroughputUpdate.json | 40 +
.../examples/CosmosDBOperationsList.json | 22 +
.../CosmosDBPKeyRangeIdGetMetrics.json | 58 +
.../CosmosDBPKeyRangeIdRegionGetMetrics.json | 59 +
.../CosmosDBPercentileGetMetrics.json | 61 +
...mosDBPercentileSourceTargetGetMetrics.json | 41 +
.../CosmosDBPercentileTargetGetMetrics.json | 62 +
.../CosmosDBRegionCollectionGetMetrics.json | 56 +
.../CosmosDBSqlContainerCreateUpdate.json | 124 +
.../examples/CosmosDBSqlContainerDelete.json | 14 +
.../examples/CosmosDBSqlContainerGet.json | 71 +
.../examples/CosmosDBSqlContainerList.json | 74 +
.../CosmosDBSqlContainerThroughputGet.json | 31 +
.../CosmosDBSqlContainerThroughputUpdate.json | 41 +
.../CosmosDBSqlDatabaseCreateUpdate.json | 39 +
.../examples/CosmosDBSqlDatabaseDelete.json | 13 +
.../examples/CosmosDBSqlDatabaseGet.json | 30 +
.../examples/CosmosDBSqlDatabaseList.json | 33 +
.../CosmosDBSqlDatabaseThroughputGet.json | 30 +
.../CosmosDBSqlDatabaseThroughputUpdate.json | 40 +
...osmosDBSqlStoredProcedureCreateUpdate.json | 39 +
.../CosmosDBSqlStoredProcedureDelete.json | 15 +
.../CosmosDBSqlStoredProcedureGet.json | 29 +
.../CosmosDBSqlStoredProcedureList.json | 32 +
.../CosmosDBSqlTriggerCreateUpdate.json | 43 +
.../examples/CosmosDBSqlTriggerDelete.json | 15 +
.../examples/CosmosDBSqlTriggerGet.json | 31 +
.../examples/CosmosDBSqlTriggerList.json | 34 +
...sDBSqlUserDefinedFunctionCreateUpdate.json | 39 +
.../CosmosDBSqlUserDefinedFunctionDelete.json | 15 +
.../CosmosDBSqlUserDefinedFunctionGet.json | 29 +
.../CosmosDBSqlUserDefinedFunctionList.json | 32 +
.../examples/CosmosDBTableCreateUpdate.json | 35 +
.../examples/CosmosDBTableDelete.json | 13 +
.../2019-12-12/examples/CosmosDBTableGet.json | 28 +
.../examples/CosmosDBTableList.json | 28 +
.../examples/CosmosDBTableThroughputGet.json | 30 +
.../CosmosDBTableThroughputUpdate.json | 40 +
.../cosmos-db/resource-manager/readme.go.md | 10 +
.../cosmos-db/resource-manager/readme.java.md | 14 +
.../cosmos-db/resource-manager/readme.md | 14 +-
106 files changed, 11306 insertions(+), 1 deletion(-)
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableThroughputUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetMetricDefinitions.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetUsages.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionGetUsages.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionRegionGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCheckNameExists.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCreateMax.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCreateMin.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetUsages.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListByResourceGroup.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListConnectionStrings.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListKeys.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountOfflineRegion.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountOnlineRegion.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountPatch.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountRegenerateKey.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountRegionGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetMetricDefinitions.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetUsages.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphThroughputUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBOperationsList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPKeyRangeIdGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileSourceTargetGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileTargetGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBRegionCollectionGetMetrics.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerThroughputUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseThroughputUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableCreateUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableList.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableThroughputGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableThroughputUpdate.json
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json
new file mode 100644
index 000000000000..018309c5d2ad
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json
@@ -0,0 +1,7223 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Cosmos DB",
+ "description": "Azure Cosmos DB Database Service Resource Provider REST API",
+ "version": "2019-12-12"
+ },
+ "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.DocumentDB/databaseAccounts/{accountName}": {
+ "get": {
+ "operationId": "DatabaseAccounts_Get",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountGet": {
+ "$ref": "./examples/CosmosDBDatabaseAccountGet.json"
+ }
+ },
+ "description": "Retrieves the properties of an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The database account properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountGetResults"
+ }
+ }
+ }
+ },
+ "patch": {
+ "operationId": "DatabaseAccounts_Update",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountPatch": {
+ "$ref": "./examples/CosmosDBDatabaseAccountPatch.json"
+ }
+ },
+ "description": "Updates the properties of an existing Azure Cosmos DB database account.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountUpdateParameters"
+ },
+ "description": "The parameters to provide for the current database account."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The database account update operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "DatabaseAccounts_CreateOrUpdate",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountCreateMin": {
+ "$ref": "./examples/CosmosDBDatabaseAccountCreateMin.json"
+ },
+ "CosmosDBDatabaseAccountCreateMax": {
+ "$ref": "./examples/CosmosDBDatabaseAccountCreateMax.json"
+ }
+ },
+ "description": "Creates or updates an Azure Cosmos DB database account. The \"Update\" method is preferred when performing updates on an account.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current database account."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The database account create or update operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "DatabaseAccounts_Delete",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountDelete": {
+ "$ref": "./examples/CosmosDBDatabaseAccountDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB database account.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The database account delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The specified account does not exist in the subscription."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/failoverPriorityChange": {
+ "post": {
+ "operationId": "DatabaseAccounts_FailoverPriorityChange",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountFailoverPriorityChange": {
+ "$ref": "./examples/CosmosDBDatabaseAccountFailoverPriorityChange.json"
+ }
+ },
+ "description": "Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "failoverParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FailoverPolicies"
+ },
+ "description": "The new failover policies for the database account."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The failover policy change operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccounts": {
+ "get": {
+ "operationId": "DatabaseAccounts_List",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountList": {
+ "$ref": "./examples/CosmosDBDatabaseAccountList.json"
+ }
+ },
+ "description": "Lists all the Azure Cosmos DB database accounts available under the subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountsListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts": {
+ "get": {
+ "operationId": "DatabaseAccounts_ListByResourceGroup",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountListByResourceGroup": {
+ "$ref": "./examples/CosmosDBDatabaseAccountListByResourceGroup.json"
+ }
+ },
+ "description": "Lists all the Azure Cosmos DB database accounts available under the given resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountsListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listKeys": {
+ "post": {
+ "operationId": "DatabaseAccounts_ListKeys",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountListKeys": {
+ "$ref": "./examples/CosmosDBDatabaseAccountListKeys.json"
+ }
+ },
+ "description": "Lists the access keys for the specified Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountListKeysResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listConnectionStrings": {
+ "post": {
+ "operationId": "DatabaseAccounts_ListConnectionStrings",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountListConnectionStrings": {
+ "$ref": "./examples/CosmosDBDatabaseAccountListConnectionStrings.json"
+ },
+ "CosmosDBDatabaseAccountListConnectionStringsMongo": {
+ "$ref": "./examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json"
+ }
+ },
+ "description": "Lists the connection strings for the specified Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountListConnectionStringsResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/offlineRegion": {
+ "post": {
+ "operationId": "DatabaseAccounts_OfflineRegion",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountOfflineRegion": {
+ "$ref": "./examples/CosmosDBDatabaseAccountOfflineRegion.json"
+ }
+ },
+ "description": "Offline the specified region for the specified Azure Cosmos DB database account.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "regionParameterForOffline",
+ "in": "body",
+ "required": true,
+ "description": "Cosmos DB region to offline for the database account.",
+ "schema": {
+ "$ref": "#/definitions/RegionForOnlineOffline"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The offline region operation is completed successfully."
+ },
+ "202": {
+ "description": "Accepted. The offline region operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/onlineRegion": {
+ "post": {
+ "operationId": "DatabaseAccounts_OnlineRegion",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountOnlineRegion": {
+ "$ref": "./examples/CosmosDBDatabaseAccountOnlineRegion.json"
+ }
+ },
+ "description": "Online the specified region for the specified Azure Cosmos DB database account.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "regionParameterForOnline",
+ "in": "body",
+ "required": true,
+ "description": "Cosmos DB region to online for the database account.",
+ "schema": {
+ "$ref": "#/definitions/RegionForOnlineOffline"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The online region operation is completed successfully."
+ },
+ "202": {
+ "description": "Accepted. The online region operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys": {
+ "get": {
+ "operationId": "DatabaseAccounts_GetReadOnlyKeys",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountListReadOnlyKeys": {
+ "$ref": "./examples/CosmosDBDatabaseAccountListReadOnlyKeys.json"
+ }
+ },
+ "description": "Lists the read-only access keys for the specified Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountListReadOnlyKeysResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "DatabaseAccounts_ListReadOnlyKeys",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountListReadOnlyKeys": {
+ "$ref": "./examples/CosmosDBDatabaseAccountListReadOnlyKeys.json"
+ }
+ },
+ "description": "Lists the read-only access keys for the specified Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountListReadOnlyKeysResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/regenerateKey": {
+ "post": {
+ "operationId": "DatabaseAccounts_RegenerateKey",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegenerateKey": {
+ "$ref": "./examples/CosmosDBDatabaseAccountRegenerateKey.json"
+ }
+ },
+ "description": "Regenerates an access key for the specified Azure Cosmos DB database account.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "keyToRegenerate",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DatabaseAccountRegenerateKeyParameters"
+ },
+ "description": "The name of the key to regenerate."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted. The regenerate key operation will complete asynchronously."
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DocumentDB/databaseAccountNames/{accountName}": {
+ "head": {
+ "operationId": "DatabaseAccounts_CheckNameExists",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountCheckNameExists": {
+ "$ref": "./examples/CosmosDBDatabaseAccountCheckNameExists.json"
+ }
+ },
+ "description": "Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The account name is valid but is already in use."
+ },
+ "404": {
+ "description": "Not Found. The account name is available and valid."
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DocumentDB/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available Cosmos DB Resource Provider operations.",
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "CosmosDBOperationsList": {
+ "$ref": "./examples/CosmosDBOperationsList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metrics": {
+ "get": {
+ "operationId": "DatabaseAccounts_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountGetMetrics": {
+ "$ref": "./examples/CosmosDBDatabaseAccountGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The metrics for the database account were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metrics": {
+ "get": {
+ "operationId": "Database_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseGetMetrics": {
+ "$ref": "./examples/CosmosDBDatabaseGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given database account and database.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The metrics for the database account were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metrics": {
+ "get": {
+ "operationId": "Collection_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBCollectionGetMetrics": {
+ "$ref": "./examples/CosmosDBCollectionGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given database account and collection.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The metrics for the database account were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/metrics": {
+ "get": {
+ "operationId": "CollectionRegion_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBRegionCollectionGetMetrics": {
+ "$ref": "./examples/CosmosDBRegionCollectionGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given database account, collection and region.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/regionParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The metrics for the database account were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/metrics": {
+ "get": {
+ "operationId": "DatabaseAccountRegion_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegionGetMetrics": {
+ "$ref": "./examples/CosmosDBDatabaseAccountRegionGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given database account and region.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/regionParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The metrics for the database account were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sourceRegion/{sourceRegion}/targetRegion/{targetRegion}/percentile/metrics": {
+ "get": {
+ "operationId": "PercentileSourceTarget_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegionGetMetrics": {
+ "$ref": "./examples/CosmosDBPercentileSourceTargetGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/sourceRegionParameter"
+ },
+ {
+ "$ref": "#/parameters/targetRegionParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The percentile metrics for the account, source and target regions were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/PercentileMetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/targetRegion/{targetRegion}/percentile/metrics": {
+ "get": {
+ "operationId": "PercentileTarget_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegionGetMetrics": {
+ "$ref": "./examples/CosmosDBPercentileTargetGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/targetRegionParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The percentile metrics for the account and target regions were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/PercentileMetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/percentile/metrics": {
+ "get": {
+ "operationId": "Percentile_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegionGetMetrics": {
+ "$ref": "./examples/CosmosDBPercentileGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The percentile metrics for the account were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/PercentileMetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics": {
+ "get": {
+ "operationId": "CollectionPartitionRegion_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegionGetMetrics": {
+ "$ref": "./examples/CosmosDBCollectionPartitionRegionGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given collection and region, split by partition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/regionParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The partition-level metrics for the collection and region were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/PartitionMetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics": {
+ "get": {
+ "operationId": "CollectionPartition_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegionGetMetrics": {
+ "$ref": "./examples/CosmosDBCollectionPartitionGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given collection, split by partition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The partition-level metrics for the collection were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/PartitionMetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics": {
+ "get": {
+ "operationId": "PartitionKeyRangeId_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegionGetMetrics": {
+ "$ref": "./examples/CosmosDBPKeyRangeIdGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given partition key range id.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/partitionKeyRangeIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The partition-level metrics for the partition key range id were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/PartitionMetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics": {
+ "get": {
+ "operationId": "PartitionKeyRangeIdRegion_ListMetrics",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountRegionGetMetrics": {
+ "$ref": "./examples/CosmosDBPKeyRangeIdRegionGetMetrics.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "description": "Retrieves the metrics determined by the given filter for the given partition key range id and region.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/regionParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/partitionKeyRangeIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/filterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The partition-level metrics for the partition key range id and region were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/PartitionMetricListResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/usages": {
+ "get": {
+ "operationId": "DatabaseAccounts_ListUsages",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountGetUsages": {
+ "$ref": "./examples/CosmosDBDatabaseAccountGetUsages.json"
+ }
+ },
+ "description": "Retrieves the usages (most recent data) for the given database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/usageFilterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The usages for the database account were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/UsagesResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/usages": {
+ "get": {
+ "operationId": "Database_ListUsages",
+ "x-ms-examples": {
+ "CosmosDBDatabaseGetUsages": {
+ "$ref": "./examples/CosmosDBDatabaseGetUsages.json"
+ }
+ },
+ "description": "Retrieves the usages (most recent data) for the given database.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/usageFilterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The usages for the database were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/UsagesResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/usages": {
+ "get": {
+ "operationId": "Collection_ListUsages",
+ "x-ms-examples": {
+ "CosmosDBCollectionGetUsages": {
+ "$ref": "./examples/CosmosDBCollectionGetUsages.json"
+ }
+ },
+ "description": "Retrieves the usages (most recent storage data) for the given collection.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/usageFilterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The usages for the collection were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/UsagesResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/usages": {
+ "get": {
+ "operationId": "CollectionPartition_ListUsages",
+ "x-ms-examples": {
+ "CosmosDBCollectionGetUsages": {
+ "$ref": "./examples/CosmosDBCollectionPartitionGetUsages.json"
+ }
+ },
+ "description": "Retrieves the usages (most recent storage data) for the given collection, split by partition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/usageFilterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The usages for the collection, per partition were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/PartitionUsagesResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metricDefinitions": {
+ "get": {
+ "operationId": "Database_ListMetricDefinitions",
+ "x-ms-examples": {
+ "CosmosDBDatabaseGetMetricDefinitions": {
+ "$ref": "./examples/CosmosDBDatabaseGetMetricDefinitions.json"
+ }
+ },
+ "description": "Retrieves metric definitions for the given database.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The metric definitions for the database were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricDefinitionsListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metricDefinitions": {
+ "get": {
+ "operationId": "Collection_ListMetricDefinitions",
+ "x-ms-examples": {
+ "CosmosDBCollectionGetMetricDefinitions": {
+ "$ref": "./examples/CosmosDBCollectionGetMetricDefinitions.json"
+ }
+ },
+ "description": "Retrieves metric definitions for the given collection.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseRidParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionRidParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The metric definitions for the collection were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricDefinitionsListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metricDefinitions": {
+ "get": {
+ "operationId": "DatabaseAccounts_ListMetricDefinitions",
+ "x-ms-examples": {
+ "CosmosDBDatabaseAccountGetMetricDefinitions": {
+ "$ref": "./examples/CosmosDBDatabaseAccountGetMetricDefinitions.json"
+ }
+ },
+ "description": "Retrieves metric definitions for the given database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The metric definitions for the database account were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricDefinitionsListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases": {
+ "get": {
+ "operationId": "SqlResources_ListSqlDatabases",
+ "x-ms-examples": {
+ "CosmosDBSqlDatabaseList": {
+ "$ref": "./examples/CosmosDBSqlDatabaseList.json"
+ }
+ },
+ "description": "Lists the SQL databases under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL database properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlDatabaseListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}": {
+ "get": {
+ "operationId": "SqlResources_GetSqlDatabase",
+ "x-ms-examples": {
+ "CosmosDBSqlDatabaseGet": {
+ "$ref": "./examples/CosmosDBSqlDatabaseGet.json"
+ }
+ },
+ "description": "Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL database property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlDatabaseGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "SqlResources_CreateUpdateSqlDatabase",
+ "x-ms-examples": {
+ "CosmosDBSqlDatabaseCreateUpdate": {
+ "$ref": "./examples/CosmosDBSqlDatabaseCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB SQL database",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateSqlDatabaseParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SqlDatabaseCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current SQL database."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL database create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The SQL database create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlDatabaseGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "SqlResources_DeleteSqlDatabase",
+ "x-ms-examples": {
+ "CosmosDBSqlDatabaseDelete": {
+ "$ref": "./examples/CosmosDBSqlDatabaseDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB SQL database.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL database delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The SQL database delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default": {
+ "get": {
+ "operationId": "SqlResources_GetSqlDatabaseThroughput",
+ "x-ms-examples": {
+ "CosmosDBSqlDatabaseThroughputGet": {
+ "$ref": "./examples/CosmosDBSqlDatabaseThroughputGet.json"
+ }
+ },
+ "description": "Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the SQL database was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "SqlResources_UpdateSqlDatabaseThroughput",
+ "x-ms-examples": {
+ "CosmosDBSqlDatabaseThroughputUpdate": {
+ "$ref": "./examples/CosmosDBSqlDatabaseThroughputUpdate.json"
+ }
+ },
+ "description": "Update RUs per second of an Azure Cosmos DB SQL database",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The parameters to provide for the RUs per second of the current SQL database."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the SQL database update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the SQL database update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers": {
+ "get": {
+ "operationId": "SqlResources_ListSqlContainers",
+ "x-ms-examples": {
+ "CosmosDBSqlContainerList": {
+ "$ref": "./examples/CosmosDBSqlContainerList.json"
+ }
+ },
+ "description": "Lists the SQL container under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL container properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlContainerListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}": {
+ "get": {
+ "operationId": "SqlResources_GetSqlContainer",
+ "x-ms-examples": {
+ "CosmosDBSqlContainerGet": {
+ "$ref": "./examples/CosmosDBSqlContainerGet.json"
+ }
+ },
+ "description": "Gets the SQL container under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL container property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlContainerGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "SqlResources_CreateUpdateSqlContainer",
+ "x-ms-examples": {
+ "CosmosDBSqlContainerCreateUpdate": {
+ "$ref": "./examples/CosmosDBSqlContainerCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB SQL container",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateSqlContainerParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SqlContainerCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current SQL container."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL container create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The SQL container create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlContainerGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "SqlResources_DeleteSqlContainer",
+ "x-ms-examples": {
+ "CosmosDBSqlContainerDelete": {
+ "$ref": "./examples/CosmosDBSqlContainerDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB SQL container.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL container delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The SQL container delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default": {
+ "get": {
+ "operationId": "SqlResources_GetSqlContainerThroughput",
+ "x-ms-examples": {
+ "CosmosDBSqlContainerThroughputGet": {
+ "$ref": "./examples/CosmosDBSqlContainerThroughputGet.json"
+ }
+ },
+ "description": "Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the SQL container was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "SqlResources_UpdateSqlContainerThroughput",
+ "x-ms-examples": {
+ "CosmosDBSqlContainerThroughputUpdate": {
+ "$ref": "./examples/CosmosDBSqlContainerThroughputUpdate.json"
+ }
+ },
+ "description": "Update RUs per second of an Azure Cosmos DB SQL container",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The parameters to provide for the RUs per second of the current SQL container."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the SQL container update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the SQL container update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures": {
+ "get": {
+ "operationId": "SqlResources_ListSqlStoredProcedures",
+ "x-ms-examples": {
+ "CosmosDBSqlStoredProcedureList": {
+ "$ref": "./examples/CosmosDBSqlStoredProcedureList.json"
+ }
+ },
+ "description": "Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL stored procedure properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlStoredProcedureListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}": {
+ "get": {
+ "operationId": "SqlResources_GetSqlStoredProcedure",
+ "x-ms-examples": {
+ "CosmosDBSqlStoredProcedureGet": {
+ "$ref": "./examples/CosmosDBSqlStoredProcedureGet.json"
+ }
+ },
+ "description": "Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/storedProcedureNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL storedProcedure property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlStoredProcedureGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "SqlResources_CreateUpdateSqlStoredProcedure",
+ "x-ms-examples": {
+ "CosmosDBSqlStoredProcedureCreateUpdate": {
+ "$ref": "./examples/CosmosDBSqlStoredProcedureCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB SQL storedProcedure",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/storedProcedureNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateSqlStoredProcedureParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SqlStoredProcedureCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current SQL storedProcedure."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL storedProcedure create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The SQL storedProcedure create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlStoredProcedureGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "SqlResources_DeleteSqlStoredProcedure",
+ "x-ms-examples": {
+ "CosmosDBSqlStoredProcedureDelete": {
+ "$ref": "./examples/CosmosDBSqlStoredProcedureDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB SQL storedProcedure.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/storedProcedureNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL storedProcedure delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The SQL storedProcedure delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions": {
+ "get": {
+ "operationId": "SqlResources_ListSqlUserDefinedFunctions",
+ "x-ms-examples": {
+ "CosmosDBSqlUserDefinedFunctionList": {
+ "$ref": "./examples/CosmosDBSqlUserDefinedFunctionList.json"
+ }
+ },
+ "description": "Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL userDefinedFunction properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlUserDefinedFunctionListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}": {
+ "get": {
+ "operationId": "SqlResources_GetSqlUserDefinedFunction",
+ "x-ms-examples": {
+ "CosmosDBSqlUserDefinedFunctionGet": {
+ "$ref": "./examples/CosmosDBSqlUserDefinedFunctionGet.json"
+ }
+ },
+ "description": "Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/userDefinedFunctionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL userDefinedFunction property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlUserDefinedFunctionGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "SqlResources_CreateUpdateSqlUserDefinedFunction",
+ "x-ms-examples": {
+ "CosmosDBSqlUserDefinedFunctionCreateUpdate": {
+ "$ref": "./examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB SQL userDefinedFunction",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/userDefinedFunctionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateSqlUserDefinedFunctionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current SQL userDefinedFunction."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL userDefinedFunction create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The SQL userDefinedFunction create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlUserDefinedFunctionGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "SqlResources_DeleteSqlUserDefinedFunction",
+ "x-ms-examples": {
+ "CosmosDBSqlUserDefinedFunctionDelete": {
+ "$ref": "./examples/CosmosDBSqlUserDefinedFunctionDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB SQL userDefinedFunction.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/userDefinedFunctionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL userDefinedFunction delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The SQL userDefinedFunction delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers": {
+ "get": {
+ "operationId": "SqlResources_ListSqlTriggers",
+ "x-ms-examples": {
+ "CosmosDBSqlTriggerList": {
+ "$ref": "./examples/CosmosDBSqlTriggerList.json"
+ }
+ },
+ "description": "Lists the SQL trigger under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL trigger properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlTriggerListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}": {
+ "get": {
+ "operationId": "SqlResources_GetSqlTrigger",
+ "x-ms-examples": {
+ "CosmosDBSqlTriggerGet": {
+ "$ref": "./examples/CosmosDBSqlTriggerGet.json"
+ }
+ },
+ "description": "Gets the SQL trigger under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/triggerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The SQL trigger property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlTriggerGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "SqlResources_CreateUpdateSqlTrigger",
+ "x-ms-examples": {
+ "CosmosDBSqlTriggerCreateUpdate": {
+ "$ref": "./examples/CosmosDBSqlTriggerCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB SQL trigger",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/triggerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateSqlTriggerParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SqlTriggerCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current SQL trigger."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL trigger create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The SQL trigger create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlTriggerGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "SqlResources_DeleteSqlTrigger",
+ "x-ms-examples": {
+ "CosmosDBSqlTriggerDelete": {
+ "$ref": "./examples/CosmosDBSqlTriggerDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB SQL trigger.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/containerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/triggerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The SQL trigger delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The SQL trigger delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases": {
+ "get": {
+ "operationId": "MongoDBResources_ListMongoDBDatabases",
+ "x-ms-examples": {
+ "CosmosDBMongoDBDatabaseList": {
+ "$ref": "./examples/CosmosDBMongoDBDatabaseList.json"
+ }
+ },
+ "description": "Lists the MongoDB databases under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The MongoDB database properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MongoDBDatabaseListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}": {
+ "get": {
+ "operationId": "MongoDBResources_GetMongoDBDatabase",
+ "x-ms-examples": {
+ "CosmosDBMongoDBDatabaseGet": {
+ "$ref": "./examples/CosmosDBMongoDBDatabaseGet.json"
+ }
+ },
+ "description": "Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The MongoDB database property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MongoDBDatabaseGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "MongoDBResources_CreateUpdateMongoDBDatabase",
+ "x-ms-examples": {
+ "CosmosDBMongoDBDatabaseCreateUpdate": {
+ "$ref": "./examples/CosmosDBMongoDBDatabaseCreateUpdate.json"
+ }
+ },
+ "description": "Create or updates Azure Cosmos DB MongoDB database",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateMongoDBDatabaseParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MongoDBDatabaseCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current MongoDB database."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The MongoDB database create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The MongoDB database create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MongoDBDatabaseGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MongoDBResources_DeleteMongoDBDatabase",
+ "x-ms-examples": {
+ "CosmosDBMongoDBDatabaseDelete": {
+ "$ref": "./examples/CosmosDBMongoDBDatabaseDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB MongoDB database.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The MongoDB database delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The MongoDB database delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default": {
+ "get": {
+ "operationId": "MongoDBResources_GetMongoDBDatabaseThroughput",
+ "x-ms-examples": {
+ "CosmosDBMongoDBDatabaseThroughputGet": {
+ "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputGet.json"
+ }
+ },
+ "description": "Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the MongoDB database was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "MongoDBResources_UpdateMongoDBDatabaseThroughput",
+ "x-ms-examples": {
+ "CosmosDBMongoDBDatabaseThroughputUpdate": {
+ "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputUpdate.json"
+ }
+ },
+ "description": "Update RUs per second of the an Azure Cosmos DB MongoDB database",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The RUs per second of the parameters to provide for the current MongoDB database."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the MongoDB database update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the MongoDB database update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections": {
+ "get": {
+ "operationId": "MongoDBResources_ListMongoDBCollections",
+ "x-ms-examples": {
+ "CosmosDBMongoDBCollectionList": {
+ "$ref": "./examples/CosmosDBMongoDBCollectionList.json"
+ }
+ },
+ "description": "Lists the MongoDB collection under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The MongoDB collection properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MongoDBCollectionListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}": {
+ "get": {
+ "operationId": "MongoDBResources_GetMongoDBCollection",
+ "x-ms-examples": {
+ "CosmosDBMongoDBCollectionGet": {
+ "$ref": "./examples/CosmosDBMongoDBCollectionGet.json"
+ }
+ },
+ "description": "Gets the MongoDB collection under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The MongoDB collection property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/MongoDBCollectionGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "MongoDBResources_CreateUpdateMongoDBCollection",
+ "x-ms-examples": {
+ "CosmosDBMongoDBCollectionCreateUpdate": {
+ "$ref": "./examples/CosmosDBMongoDBCollectionCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB MongoDB Collection",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateMongoDBCollectionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MongoDBCollectionCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current MongoDB Collection."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The MongoDB Collection create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The MongoDB Collection create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MongoDBCollectionGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MongoDBResources_DeleteMongoDBCollection",
+ "x-ms-examples": {
+ "CosmosDBMongoDBCollectionDelete": {
+ "$ref": "./examples/CosmosDBMongoDBCollectionDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB MongoDB Collection.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The MongoDB collection delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The MongoDB collection delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default": {
+ "get": {
+ "operationId": "MongoDBResources_GetMongoDBCollectionThroughput",
+ "x-ms-examples": {
+ "CosmosDBMongoDBCollectionThroughputGet": {
+ "$ref": "./examples/CosmosDBMongoDBCollectionThroughputGet.json"
+ }
+ },
+ "description": "Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the MongoDB collection was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "MongoDBResources_UpdateMongoDBCollectionThroughput",
+ "x-ms-examples": {
+ "CosmosDBMongoDBCollectionThroughputUpdate": {
+ "$ref": "./examples/CosmosDBMongoDBCollectionThroughputUpdate.json"
+ }
+ },
+ "description": "Update the RUs per second of an Azure Cosmos DB MongoDB collection",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/collectionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The RUs per second of the parameters to provide for the current MongoDB collection."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the MongoDB collection update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the MongoDB collection update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables": {
+ "get": {
+ "operationId": "TableResources_ListTables",
+ "x-ms-examples": {
+ "CosmosDBTableList": {
+ "$ref": "./examples/CosmosDBTableList.json"
+ }
+ },
+ "description": "Lists the Tables under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Table properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/TableListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}": {
+ "get": {
+ "operationId": "TableResources_GetTable",
+ "x-ms-examples": {
+ "CosmosDBTableGet": {
+ "$ref": "./examples/CosmosDBTableGet.json"
+ }
+ },
+ "description": "Gets the Tables under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Table property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/TableGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "TableResources_CreateUpdateTable",
+ "x-ms-examples": {
+ "CosmosDBTableReplace": {
+ "$ref": "./examples/CosmosDBTableCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB Table",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateTableParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TableCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current Table."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Table create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The Table create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/TableGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "TableResources_DeleteTable",
+ "x-ms-examples": {
+ "CosmosDBTableDelete": {
+ "$ref": "./examples/CosmosDBTableDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB Table.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Table delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The Table delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default": {
+ "get": {
+ "operationId": "TableResources_GetTableThroughput",
+ "x-ms-examples": {
+ "CosmosDBTableThroughputGet": {
+ "$ref": "./examples/CosmosDBTableThroughputGet.json"
+ }
+ },
+ "description": "Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the Table was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "TableResources_UpdateTableThroughput",
+ "x-ms-examples": {
+ "CosmosDBTableThroughputUpdate": {
+ "$ref": "./examples/CosmosDBTableThroughputUpdate.json"
+ }
+ },
+ "description": "Update RUs per second of an Azure Cosmos DB Table",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The parameters to provide for the RUs per second of the current Table."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the Table update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the Table update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces": {
+ "get": {
+ "operationId": "CassandraResources_ListCassandraKeyspaces",
+ "x-ms-examples": {
+ "CosmosDBCassandraKeyspaceList": {
+ "$ref": "./examples/CosmosDBCassandraKeyspaceList.json"
+ }
+ },
+ "description": "Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Cassandra keyspace properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/CassandraKeyspaceListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}": {
+ "get": {
+ "operationId": "CassandraResources_GetCassandraKeyspace",
+ "x-ms-examples": {
+ "CosmosDBCassandraKeyspaceGet": {
+ "$ref": "./examples/CosmosDBCassandraKeyspaceGet.json"
+ }
+ },
+ "description": "Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Cassandra keyspace property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/CassandraKeyspaceGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "CassandraResources_CreateUpdateCassandraKeyspace",
+ "x-ms-examples": {
+ "CosmosDBCassandraKeyspaceCreateUpdate": {
+ "$ref": "./examples/CosmosDBCassandraKeyspaceCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB Cassandra keyspace",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateCassandraKeyspaceParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CassandraKeyspaceCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current Cassandra keyspace."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Cassandra keyspace create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The Cassandra keyspace create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/CassandraKeyspaceGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "CassandraResources_DeleteCassandraKeyspace",
+ "x-ms-examples": {
+ "CosmosDBCassandraKeyspaceDelete": {
+ "$ref": "./examples/CosmosDBCassandraKeyspaceDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB Cassandra keyspace.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Cassandra keyspace delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The Cassandra keyspace delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default": {
+ "get": {
+ "operationId": "CassandraResources_GetCassandraKeyspaceThroughput",
+ "x-ms-examples": {
+ "CosmosDBCassandraKeyspaceThroughputGet": {
+ "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputGet.json"
+ }
+ },
+ "description": "Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the Cassandra Keyspace was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "CassandraResources_UpdateCassandraKeyspaceThroughput",
+ "x-ms-examples": {
+ "CosmosDBCassandraKeyspaceThroughputUpdate": {
+ "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputUpdate.json"
+ }
+ },
+ "description": "Update RUs per second of an Azure Cosmos DB Cassandra Keyspace",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The RUs per second of the parameters to provide for the current Cassandra Keyspace."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the Cassandra Keyspace update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the Cassandra Keyspace update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables": {
+ "get": {
+ "operationId": "CassandraResources_ListCassandraTables",
+ "x-ms-examples": {
+ "CosmosDBCassandraTableList": {
+ "$ref": "./examples/CosmosDBCassandraTableList.json"
+ }
+ },
+ "description": "Lists the Cassandra table under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Cassandra table properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/CassandraTableListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}": {
+ "get": {
+ "operationId": "CassandraResources_GetCassandraTable",
+ "x-ms-examples": {
+ "CosmosDBCassandraTableGet": {
+ "$ref": "./examples/CosmosDBCassandraTableGet.json"
+ }
+ },
+ "description": "Gets the Cassandra table under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Cassandra table property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/CassandraTableGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "CassandraResources_CreateUpdateCassandraTable",
+ "x-ms-examples": {
+ "CosmosDBCassandraTableCreateUpdate": {
+ "$ref": "./examples/CosmosDBCassandraTableCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB Cassandra Table",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateCassandraTableParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CassandraTableCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current Cassandra Table."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Cassandra Table create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The Cassandra Table create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/CassandraTableGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "CassandraResources_DeleteCassandraTable",
+ "x-ms-examples": {
+ "CosmosDBCassandraTableDelete": {
+ "$ref": "./examples/CosmosDBCassandraTableDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB Cassandra table.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Cassandra table delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The Cassandra table delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default": {
+ "get": {
+ "operationId": "CassandraResources_GetCassandraTableThroughput",
+ "x-ms-examples": {
+ "CosmosDBCassandraTableThroughputGet": {
+ "$ref": "./examples/CosmosDBCassandraTableThroughputGet.json"
+ }
+ },
+ "description": "Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the Cassandra table was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "CassandraResources_UpdateCassandraTableThroughput",
+ "x-ms-examples": {
+ "CosmosDBCassandraTableThroughputUpdate": {
+ "$ref": "./examples/CosmosDBCassandraTableThroughputUpdate.json"
+ }
+ },
+ "description": "Update RUs per second of an Azure Cosmos DB Cassandra table",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/keyspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/tableNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The RUs per second of the parameters to provide for the current Cassandra table."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the Cassandra table update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the Cassandra table update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases": {
+ "get": {
+ "operationId": "GremlinResources_ListGremlinDatabases",
+ "x-ms-examples": {
+ "CosmosDBGremlinDatabaseList": {
+ "$ref": "./examples/CosmosDBGremlinDatabaseList.json"
+ }
+ },
+ "description": "Lists the Gremlin databases under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Gremlin database properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/GremlinDatabaseListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}": {
+ "get": {
+ "operationId": "GremlinResources_GetGremlinDatabase",
+ "x-ms-examples": {
+ "CosmosDBGremlinDatabaseGet": {
+ "$ref": "./examples/CosmosDBGremlinDatabaseGet.json"
+ }
+ },
+ "description": "Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Gremlin database property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/GremlinDatabaseGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "GremlinResources_CreateUpdateGremlinDatabase",
+ "x-ms-examples": {
+ "CosmosDBGremlinDatabaseCreateUpdate": {
+ "$ref": "./examples/CosmosDBGremlinDatabaseCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB Gremlin database",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateGremlinDatabaseParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GremlinDatabaseCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current Gremlin database."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Gremlin database create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The Gremlin database create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/GremlinDatabaseGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "GremlinResources_DeleteGremlinDatabase",
+ "x-ms-examples": {
+ "CosmosDBGremlinDatabaseDelete": {
+ "$ref": "./examples/CosmosDBGremlinDatabaseDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB Gremlin database.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Gremlin database delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The Gremlin database delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default": {
+ "get": {
+ "operationId": "GremlinResources_GetGremlinDatabaseThroughput",
+ "x-ms-examples": {
+ "CosmosDBGremlinDatabaseThroughputGet": {
+ "$ref": "./examples/CosmosDBGremlinDatabaseThroughputGet.json"
+ }
+ },
+ "description": "Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the Gremlin database was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "GremlinResources_UpdateGremlinDatabaseThroughput",
+ "x-ms-examples": {
+ "CosmosDBGremlinDatabaseThroughputUpdate": {
+ "$ref": "./examples/CosmosDBGremlinDatabaseThroughputUpdate.json"
+ }
+ },
+ "description": "Update RUs per second of an Azure Cosmos DB Gremlin database",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The RUs per second of the parameters to provide for the current Gremlin database."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the Gremlin database update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the Gremlin database update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs": {
+ "get": {
+ "operationId": "GremlinResources_ListGremlinGraphs",
+ "x-ms-examples": {
+ "CosmosDBGremlinGraphList": {
+ "$ref": "./examples/CosmosDBGremlinGraphList.json"
+ }
+ },
+ "description": "Lists the Gremlin graph under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Gremlin graph properties were retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/GremlinGraphListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}": {
+ "get": {
+ "operationId": "GremlinResources_GetGremlinGraph",
+ "x-ms-examples": {
+ "CosmosDBGremlinGraphGet": {
+ "$ref": "./examples/CosmosDBGremlinGraphGet.json"
+ }
+ },
+ "description": "Gets the Gremlin graph under an existing Azure Cosmos DB database account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/graphNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Gremlin graph property was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/GremlinGraphGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "GremlinResources_CreateUpdateGremlinGraph",
+ "x-ms-examples": {
+ "CosmosDBGremlinGraphCreateUpdate": {
+ "$ref": "./examples/CosmosDBGremlinGraphCreateUpdate.json"
+ }
+ },
+ "description": "Create or update an Azure Cosmos DB Gremlin graph",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/graphNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "createUpdateGremlinGraphParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GremlinGraphCreateUpdateParameters"
+ },
+ "description": "The parameters to provide for the current Gremlin graph."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Gremlin graph create or update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The Gremlin graph create or update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/GremlinGraphGetResults"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "GremlinResources_DeleteGremlinGraph",
+ "x-ms-examples": {
+ "CosmosDBGremlinGraphDelete": {
+ "$ref": "./examples/CosmosDBGremlinGraphDelete.json"
+ }
+ },
+ "description": "Deletes an existing Azure Cosmos DB Gremlin graph.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/graphNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The Gremlin graph delete operation will complete asynchronously."
+ },
+ "204": {
+ "description": "The Gremlin graph delete operation was completed successfully."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default": {
+ "get": {
+ "operationId": "GremlinResources_GetGremlinGraphThroughput",
+ "x-ms-examples": {
+ "CosmosDBGremlinGraphThroughputGet": {
+ "$ref": "./examples/CosmosDBGremlinGraphThroughputGet.json"
+ }
+ },
+ "description": "Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/graphNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The RUs per second of the Gremlin graph was retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "GremlinResources_UpdateGremlinGraphThroughput",
+ "x-ms-examples": {
+ "CosmosDBGremlinGraphThroughputUpdate": {
+ "$ref": "./examples/CosmosDBGremlinGraphThroughputUpdate.json"
+ }
+ },
+ "description": "Update RUs per second of an Azure Cosmos DB Gremlin graph",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/databaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/graphNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "updateThroughputParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsUpdateParameters"
+ },
+ "description": "The RUs per second of the parameters to provide for the current Gremlin graph."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The RUs per second of the Gremlin graph update operation will complete asynchronously."
+ },
+ "200": {
+ "description": "The RUs per second of the Gremlin graph update operation was completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ThroughputSettingsGetResults"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DatabaseAccountsListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseAccountGetResults"
+ },
+ "description": "List of database account and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the database accounts and their properties."
+ },
+ "SqlDatabaseListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SqlDatabaseGetResults"
+ },
+ "description": "List of SQL databases and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the SQL databases and their properties."
+ },
+ "SqlContainerListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SqlContainerGetResults"
+ },
+ "description": "List of containers and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the containers and their properties."
+ },
+ "SqlStoredProcedureListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SqlStoredProcedureGetResults"
+ },
+ "description": "List of storedProcedures and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the storedProcedures and their properties."
+ },
+ "SqlUserDefinedFunctionListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SqlUserDefinedFunctionGetResults"
+ },
+ "description": "List of userDefinedFunctions and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the userDefinedFunctions and their properties."
+ },
+ "SqlTriggerListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SqlTriggerGetResults"
+ },
+ "description": "List of triggers and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the triggers and their properties."
+ },
+ "MongoDBDatabaseListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MongoDBDatabaseGetResults"
+ },
+ "description": "List of MongoDB databases and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the MongoDB databases and their properties."
+ },
+ "MongoDBCollectionListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MongoDBCollectionGetResults"
+ },
+ "description": "List of MongoDB collections and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the MongoDB collections and their properties."
+ },
+ "TableListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TableGetResults"
+ },
+ "description": "List of Table and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the Table and their properties."
+ },
+ "CassandraKeyspaceListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CassandraKeyspaceGetResults"
+ },
+ "description": "List of Cassandra keyspaces and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the Cassandra keyspaces and their properties."
+ },
+ "CassandraTableListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CassandraTableGetResults"
+ },
+ "description": "List of Cassandra tables and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the Cassandra tables and their properties."
+ },
+ "GremlinDatabaseListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GremlinDatabaseGetResults"
+ },
+ "description": "List of Gremlin databases and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the Gremlin databases and their properties."
+ },
+ "GremlinGraphListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GremlinGraphGetResults"
+ },
+ "description": "List of graphs and their properties."
+ }
+ },
+ "description": "The List operation response, that contains the graphs and their properties."
+ },
+ "ErrorResponse": {
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ },
+ "description": "Error Response."
+ },
+ "FailoverPolicies": {
+ "properties": {
+ "failoverPolicies": {
+ "type": "array",
+ "description": "List of failover policies.",
+ "items": {
+ "$ref": "#/definitions/FailoverPolicy"
+ }
+ }
+ },
+ "required": [
+ "failoverPolicies"
+ ],
+ "description": "The list of new failover policies for the failover priority change."
+ },
+ "FailoverPolicy": {
+ "type": "object",
+ "description": "The failover policy for a given region of a database account.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>."
+ },
+ "locationName": {
+ "type": "string",
+ "description": "The name of the region in which the database account exists."
+ },
+ "failoverPriority": {
+ "type": "integer",
+ "minimum": 0,
+ "format": "int32",
+ "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists."
+ }
+ }
+ },
+ "RegionForOnlineOffline": {
+ "properties": {
+ "region": {
+ "type": "string",
+ "description": "Cosmos DB region, with spaces between words and each word capitalized."
+ }
+ },
+ "required": [
+ "region"
+ ],
+ "description": "Cosmos DB region to online or offline."
+ },
+ "Location": {
+ "description": "A region in which the Azure Cosmos DB database account is deployed.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The unique identifier of the region within the database account. Example: <accountName>-<locationName>."
+ },
+ "locationName": {
+ "type": "string",
+ "description": "The name of the region."
+ },
+ "documentEndpoint": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/"
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "failoverPriority": {
+ "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.",
+ "format": "int32",
+ "type": "integer",
+ "minimum": 0
+ },
+ "isZoneRedundant": {
+ "type": "boolean",
+ "description": "Flag to indicate whether or not this region is an AvailabilityZone region"
+ }
+ }
+ },
+ "ARMResourceProperties": {
+ "type": "object",
+ "description": "The core properties of ARM resources.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The unique resource identifier of the ARM resource."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the ARM resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of Azure resource."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the resource group to which the resource belongs."
+ },
+ "tags": {
+ "$ref": "#/definitions/Tags"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ARMProxyResource": {
+ "type": "object",
+ "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The unique resource identifier of the database account."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the database account."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of Azure resource."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "DatabaseAccountGetResults": {
+ "description": "An Azure Cosmos DB database account.",
+ "type": "object",
+ "properties": {
+ "kind": {
+ "description": "Indicates the type of database account. This can only be set at database account creation.",
+ "type": "string",
+ "default": "GlobalDocumentDB",
+ "enum": [
+ "GlobalDocumentDB",
+ "MongoDB",
+ "Parse"
+ ],
+ "x-ms-enum": {
+ "name": "DatabaseAccountKind",
+ "modelAsString": true
+ }
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DatabaseAccountGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "ExtendedResourceProperties": {
+ "description": "The system generated resource properties associated with SQL databases, SQL containers, Gremlin databases and Gremlin graphs.",
+ "type": "object",
+ "properties": {
+ "_rid": {
+ "type": "string",
+ "description": "A system generated property. A unique identifier.",
+ "readOnly": true
+ },
+ "_ts": {
+ "description": "A system generated property that denotes the last updated timestamp of the resource.",
+ "readOnly": true
+ },
+ "_etag": {
+ "type": "string",
+ "description": "A system generated property representing the resource etag required for optimistic concurrency control.",
+ "readOnly": true
+ }
+ }
+ },
+ "ThroughputSettingsGetResults": {
+ "description": "An Azure Cosmos DB resource throughput.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB resource throughput",
+ "$ref": "#/definitions/ThroughputSettingsGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "ThroughputSettingsGetProperties": {
+ "description": "The properties of an Azure Cosmos DB resource throughput",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/ThroughputSettingsResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "SqlDatabaseGetResults": {
+ "description": "An Azure Cosmos DB SQL database.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB SQL database",
+ "$ref": "#/definitions/SqlDatabaseGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "SqlDatabaseGetProperties": {
+ "description": "The properties of an Azure Cosmos DB SQL database",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "properties": {
+ "_colls": {
+ "type": "string",
+ "description": "A system generated property that specified the addressable path of the collections resource."
+ },
+ "_users": {
+ "type": "string",
+ "description": "A system generated property that specifies the addressable path of the users resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlDatabaseResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "SqlContainerGetResults": {
+ "description": "An Azure Cosmos DB container.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB container",
+ "$ref": "#/definitions/SqlContainerGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "SqlContainerGetProperties": {
+ "description": "The properties of an Azure Cosmos DB container",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlContainerResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "SqlStoredProcedureGetResults": {
+ "description": "An Azure Cosmos DB storedProcedure.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB storedProcedure",
+ "$ref": "#/definitions/SqlStoredProcedureGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "SqlStoredProcedureGetProperties": {
+ "description": "The properties of an Azure Cosmos DB StoredProcedure",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlStoredProcedureResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "SqlUserDefinedFunctionGetResults": {
+ "description": "An Azure Cosmos DB userDefinedFunction.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB userDefinedFunction",
+ "$ref": "#/definitions/SqlUserDefinedFunctionGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "SqlUserDefinedFunctionGetProperties": {
+ "description": "The properties of an Azure Cosmos DB userDefinedFunction",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlUserDefinedFunctionResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "SqlTriggerGetResults": {
+ "description": "An Azure Cosmos DB trigger.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB trigger",
+ "$ref": "#/definitions/SqlTriggerGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "SqlTriggerGetProperties": {
+ "description": "The properties of an Azure Cosmos DB trigger",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SqlTriggerResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "MongoDBDatabaseGetResults": {
+ "description": "An Azure Cosmos DB MongoDB database.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB MongoDB database",
+ "$ref": "#/definitions/MongoDBDatabaseGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "MongoDBDatabaseGetProperties": {
+ "description": "The properties of an Azure Cosmos DB MongoDB database",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/MongoDBDatabaseResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "MongoDBCollectionGetResults": {
+ "description": "An Azure Cosmos DB MongoDB collection.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB MongoDB collection",
+ "$ref": "#/definitions/MongoDBCollectionGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "MongoDBCollectionGetProperties": {
+ "description": "The properties of an Azure Cosmos DB MongoDB collection",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/MongoDBCollectionResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "TableGetResults": {
+ "description": "An Azure Cosmos DB Table.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB Table",
+ "$ref": "#/definitions/TableGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "TableGetProperties": {
+ "description": "The properties of an Azure Cosmos Table",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/TableResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "CassandraKeyspaceGetResults": {
+ "description": "An Azure Cosmos DB Cassandra keyspace.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB Cassandra keyspace",
+ "$ref": "#/definitions/CassandraKeyspaceGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "CassandraKeyspaceGetProperties": {
+ "description": "The properties of an Azure Cosmos DB Cassandra keyspace",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/CassandraKeyspaceResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "CassandraTableGetResults": {
+ "description": "An Azure Cosmos DB Cassandra table.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB Cassandra table",
+ "$ref": "#/definitions/CassandraTableGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "CassandraTableGetProperties": {
+ "description": "The properties of an Azure Cosmos DB Cassandra table",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/CassandraTableResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "GremlinDatabaseGetResults": {
+ "description": "An Azure Cosmos DB Gremlin database.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB SQL database",
+ "$ref": "#/definitions/GremlinDatabaseGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "GremlinDatabaseGetProperties": {
+ "description": "The properties of an Azure Cosmos DB SQL database",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/GremlinDatabaseResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "GremlinGraphGetResults": {
+ "description": "An Azure Cosmos DB Gremlin graph.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties of an Azure Cosmos DB Gremlin graph",
+ "$ref": "#/definitions/GremlinGraphGetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ]
+ },
+ "GremlinGraphGetProperties": {
+ "description": "The properties of an Azure Cosmos DB Gremlin graph",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/GremlinGraphResource"
+ },
+ {
+ "$ref": "#/definitions/ExtendedResourceProperties"
+ }
+ ]
+ }
+ }
+ },
+ "ConsistencyPolicy": {
+ "type": "object",
+ "description": "The consistency policy for the Cosmos DB database account.",
+ "properties": {
+ "defaultConsistencyLevel": {
+ "description": "The default consistency level and configuration settings of the Cosmos DB account.",
+ "type": "string",
+ "enum": [
+ "Eventual",
+ "Session",
+ "BoundedStaleness",
+ "Strong",
+ "ConsistentPrefix"
+ ],
+ "x-ms-enum": {
+ "name": "DefaultConsistencyLevel",
+ "modelAsString": false
+ }
+ },
+ "maxStalenessPrefix": {
+ "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 2147483647,
+ "format": "int64"
+ },
+ "maxIntervalInSeconds": {
+ "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.",
+ "type": "integer",
+ "minimum": 5,
+ "maximum": 86400,
+ "format": "int32"
+ }
+ },
+ "required": [
+ "defaultConsistencyLevel"
+ ]
+ },
+ "DatabaseAccountGetProperties": {
+ "description": "Properties for the database account.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "documentEndpoint": {
+ "description": "The connection endpoint for the Cosmos DB database account.",
+ "type": "string",
+ "readOnly": true
+ },
+ "databaseAccountOfferType": {
+ "description": "The offer type for the Cosmos DB database account. Default value: Standard.",
+ "readOnly": true,
+ "$ref": "#/definitions/DatabaseAccountOfferType"
+ },
+ "ipRangeFilter": {
+ "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.",
+ "$ref": "#/definitions/IPRangeFilter"
+ },
+ "isVirtualNetworkFilterEnabled": {
+ "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules.",
+ "type": "boolean"
+ },
+ "enableAutomaticFailover": {
+ "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.",
+ "type": "boolean"
+ },
+ "consistencyPolicy": {
+ "description": "The consistency policy for the Cosmos DB database account.",
+ "$ref": "#/definitions/ConsistencyPolicy"
+ },
+ "capabilities": {
+ "type": "array",
+ "description": "List of Cosmos DB capabilities for the account",
+ "items": {
+ "$ref": "#/definitions/Capability"
+ }
+ },
+ "writeLocations": {
+ "type": "array",
+ "readOnly": true,
+ "description": "An array that contains the write location for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/Location"
+ }
+ },
+ "readLocations": {
+ "type": "array",
+ "readOnly": true,
+ "description": "An array that contains of the read locations enabled for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/Location"
+ }
+ },
+ "locations": {
+ "type": "array",
+ "readOnly": true,
+ "description": "An array that contains all of the locations enabled for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/Location"
+ }
+ },
+ "failoverPolicies": {
+ "type": "array",
+ "readOnly": true,
+ "description": "An array that contains the regions ordered by their failover priorities.",
+ "items": {
+ "$ref": "#/definitions/FailoverPolicy"
+ }
+ },
+ "virtualNetworkRules": {
+ "type": "array",
+ "description": "List of Virtual Network ACL rules configured for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkRule"
+ }
+ },
+ "enableMultipleWriteLocations": {
+ "description": "Enables the account to write in multiple locations",
+ "type": "boolean"
+ },
+ "enableCassandraConnector": {
+ "description": "Enables the cassandra connector on the Cosmos DB C* account",
+ "type": "boolean"
+ },
+ "connectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB database C* account.",
+ "$ref": "#/definitions/ConnectorOffer"
+ },
+ "disableKeyBasedMetadataWriteAccess": {
+ "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys",
+ "type": "boolean"
+ },
+ "keyVaultKeyUri": {
+ "description": "The URI of the key vault",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseAccountCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB database accounts.",
+ "type": "object",
+ "properties": {
+ "consistencyPolicy": {
+ "description": "The consistency policy for the Cosmos DB account.",
+ "$ref": "#/definitions/ConsistencyPolicy"
+ },
+ "locations": {
+ "type": "array",
+ "description": "An array that contains the georeplication locations enabled for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/Location"
+ }
+ },
+ "databaseAccountOfferType": {
+ "description": "The offer type for the database",
+ "$ref": "#/definitions/DatabaseAccountOfferType"
+ },
+ "ipRangeFilter": {
+ "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.",
+ "$ref": "#/definitions/IPRangeFilter"
+ },
+ "isVirtualNetworkFilterEnabled": {
+ "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules.",
+ "type": "boolean"
+ },
+ "enableAutomaticFailover": {
+ "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.",
+ "type": "boolean"
+ },
+ "capabilities": {
+ "type": "array",
+ "description": "List of Cosmos DB capabilities for the account",
+ "items": {
+ "$ref": "#/definitions/Capability"
+ }
+ },
+ "virtualNetworkRules": {
+ "type": "array",
+ "description": "List of Virtual Network ACL rules configured for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkRule"
+ }
+ },
+ "enableMultipleWriteLocations": {
+ "description": "Enables the account to write in multiple locations",
+ "type": "boolean"
+ },
+ "enableCassandraConnector": {
+ "description": "Enables the cassandra connector on the Cosmos DB C* account",
+ "type": "boolean"
+ },
+ "connectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB database C* account.",
+ "$ref": "#/definitions/ConnectorOffer"
+ },
+ "disableKeyBasedMetadataWriteAccess": {
+ "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys",
+ "type": "boolean"
+ },
+ "keyVaultKeyUri": {
+ "description": "The URI of the key vault",
+ "type": "string"
+ }
+ },
+ "required": [
+ "locations",
+ "databaseAccountOfferType"
+ ]
+ },
+ "DatabaseAccountCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB database accounts.",
+ "type": "object",
+ "properties": {
+ "kind": {
+ "description": "Indicates the type of database account. This can only be set at database account creation.",
+ "type": "string",
+ "default": "GlobalDocumentDB",
+ "enum": [
+ "GlobalDocumentDB",
+ "MongoDB",
+ "Parse"
+ ],
+ "x-ms-enum": {
+ "name": "DatabaseAccountKind",
+ "modelAsString": true
+ }
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "DatabaseAccountUpdateProperties": {
+ "description": "Properties to update Azure Cosmos DB database accounts.",
+ "type": "object",
+ "properties": {
+ "consistencyPolicy": {
+ "description": "The consistency policy for the Cosmos DB account.",
+ "$ref": "#/definitions/ConsistencyPolicy"
+ },
+ "locations": {
+ "type": "array",
+ "description": "An array that contains the georeplication locations enabled for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/Location"
+ }
+ },
+ "ipRangeFilter": {
+ "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.",
+ "$ref": "#/definitions/IPRangeFilter"
+ },
+ "isVirtualNetworkFilterEnabled": {
+ "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules.",
+ "type": "boolean"
+ },
+ "enableAutomaticFailover": {
+ "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.",
+ "type": "boolean"
+ },
+ "capabilities": {
+ "type": "array",
+ "description": "List of Cosmos DB capabilities for the account",
+ "items": {
+ "$ref": "#/definitions/Capability"
+ }
+ },
+ "virtualNetworkRules": {
+ "type": "array",
+ "description": "List of Virtual Network ACL rules configured for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkRule"
+ }
+ },
+ "enableMultipleWriteLocations": {
+ "description": "Enables the account to write in multiple locations",
+ "type": "boolean"
+ },
+ "enableCassandraConnector": {
+ "description": "Enables the cassandra connector on the Cosmos DB C* account",
+ "type": "boolean"
+ },
+ "connectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB database C* account.",
+ "$ref": "#/definitions/ConnectorOffer"
+ },
+ "disableKeyBasedMetadataWriteAccess": {
+ "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys",
+ "type": "boolean"
+ },
+ "keyVaultKeyUri": {
+ "description": "The URI of the key vault",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseAccountUpdateParameters": {
+ "description": "Parameters for patching Azure Cosmos DB database account properties.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "$ref": "#/definitions/Tags"
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the resource group to which the resource belongs."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DatabaseAccountUpdateProperties"
+ }
+ }
+ },
+ "DatabaseAccountListReadOnlyKeysResult": {
+ "description": "The read-only access keys for the given database account.",
+ "properties": {
+ "primaryReadonlyMasterKey": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Base 64 encoded value of the primary read-only key."
+ },
+ "secondaryReadonlyMasterKey": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Base 64 encoded value of the secondary read-only key."
+ }
+ }
+ },
+ "DatabaseAccountListKeysResult": {
+ "description": "The access keys for the given database account.",
+ "properties": {
+ "primaryMasterKey": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Base 64 encoded value of the primary read-write key."
+ },
+ "secondaryMasterKey": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Base 64 encoded value of the secondary read-write key."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/DatabaseAccountListReadOnlyKeysResult"
+ }
+ ]
+ },
+ "DatabaseAccountConnectionString": {
+ "description": "Connection string for the Cosmos DB account",
+ "properties": {
+ "connectionString": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Value of the connection string"
+ },
+ "description": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Description of the connection string"
+ }
+ }
+ },
+ "DatabaseAccountListConnectionStringsResult": {
+ "description": "The connection strings for the given database account.",
+ "properties": {
+ "connectionStrings": {
+ "type": "array",
+ "description": "An array that contains the connection strings for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/DatabaseAccountConnectionString"
+ }
+ }
+ }
+ },
+ "DatabaseAccountRegenerateKeyParameters": {
+ "type": "object",
+ "description": "Parameters to regenerate the keys within the database account.",
+ "properties": {
+ "keyKind": {
+ "type": "string",
+ "description": "The access key to regenerate.",
+ "enum": [
+ "primary",
+ "secondary",
+ "primaryReadonly",
+ "secondaryReadonly"
+ ],
+ "x-ms-enum": {
+ "name": "KeyKind",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "keyKind"
+ ]
+ },
+ "DatabaseAccountOfferType": {
+ "description": "The offer type for the Cosmos DB database account.",
+ "type": "string",
+ "enum": [
+ "Standard"
+ ],
+ "x-ms-enum": {
+ "name": "DatabaseAccountOfferType",
+ "modelAsString": false
+ }
+ },
+ "ThroughputSettingsUpdateParameters": {
+ "description": "Parameters to update Cosmos DB resource throughput.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to update Azure Cosmos DB resource throughput.",
+ "$ref": "#/definitions/ThroughputSettingsUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "ThroughputSettingsUpdateProperties": {
+ "description": "Properties to update Azure Cosmos DB resource throughput.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a resource throughput",
+ "$ref": "#/definitions/ThroughputSettingsResource"
+ }
+ },
+ "required": [
+ "resource"
+ ]
+ },
+ "SqlDatabaseCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB SQL database.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB SQL database.",
+ "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "SqlDatabaseCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB SQL database.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a SQL database",
+ "$ref": "#/definitions/SqlDatabaseResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "SqlContainerCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB container.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB container.",
+ "$ref": "#/definitions/SqlContainerCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "SqlContainerCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB container.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a container",
+ "$ref": "#/definitions/SqlContainerResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "SqlStoredProcedureCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB storedProcedure.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB storedProcedure.",
+ "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "SqlStoredProcedureCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB storedProcedure.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a storedProcedure",
+ "$ref": "#/definitions/SqlStoredProcedureResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "SqlUserDefinedFunctionCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB userDefinedFunction.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB userDefinedFunction.",
+ "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "SqlUserDefinedFunctionCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB userDefinedFunction.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a userDefinedFunction",
+ "$ref": "#/definitions/SqlUserDefinedFunctionResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "SqlTriggerCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB trigger.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB trigger.",
+ "$ref": "#/definitions/SqlTriggerCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "SqlTriggerCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB trigger.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a trigger",
+ "$ref": "#/definitions/SqlTriggerResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "MongoDBDatabaseCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB MongoDB database.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB MongoDB database.",
+ "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "MongoDBDatabaseCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB MongoDB database.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a MongoDB database",
+ "$ref": "#/definitions/MongoDBDatabaseResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "MongoDBCollectionCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB MongoDB collection.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB MongoDB collection.",
+ "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "MongoDBCollectionCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB MongoDB collection.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a MongoDB collection",
+ "$ref": "#/definitions/MongoDBCollectionResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "TableCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB Table.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB Table.",
+ "$ref": "#/definitions/TableCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "TableCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB Table.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a Table",
+ "$ref": "#/definitions/TableResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "CassandraKeyspaceCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB Cassandra keyspace.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace.",
+ "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "CassandraKeyspaceCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a Cassandra keyspace",
+ "$ref": "#/definitions/CassandraKeyspaceResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "CassandraTableCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB Cassandra table.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB Cassandra table.",
+ "$ref": "#/definitions/CassandraTableCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "CassandraTableCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB Cassandra table.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a Cassandra table",
+ "$ref": "#/definitions/CassandraTableResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "GremlinDatabaseCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB Gremlin database.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB Gremlin database.",
+ "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "GremlinDatabaseCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB Gremlin database.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a Gremlin database",
+ "$ref": "#/definitions/GremlinDatabaseResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "GremlinGraphCreateUpdateParameters": {
+ "description": "Parameters to create and update Cosmos DB Gremlin graph.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties to create and update Azure Cosmos DB Gremlin graph.",
+ "$ref": "#/definitions/GremlinGraphCreateUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ARMResourceProperties"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "GremlinGraphCreateUpdateProperties": {
+ "description": "Properties to create and update Azure Cosmos DB Gremlin graph.",
+ "type": "object",
+ "properties": {
+ "resource": {
+ "description": "The standard JSON format of a Gremlin graph",
+ "$ref": "#/definitions/GremlinGraphResource"
+ },
+ "options": {
+ "description": "A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.",
+ "$ref": "#/definitions/CreateUpdateOptions"
+ }
+ },
+ "required": [
+ "resource",
+ "options"
+ ]
+ },
+ "ThroughputSettingsResource": {
+ "type": "object",
+ "description": "Cosmos DB resource throughput object",
+ "properties": {
+ "throughput": {
+ "type": "integer",
+ "description": "Value of the Cosmos DB resource throughput"
+ },
+ "minimumThroughput": {
+ "type": "string",
+ "description": "The minimum throughput of the resource",
+ "readOnly": true
+ },
+ "offerReplacePending": {
+ "type": "string",
+ "description": "The throughput replace is pending",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "throughput"
+ ]
+ },
+ "SqlDatabaseResource": {
+ "type": "object",
+ "description": "Cosmos DB SQL database resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB SQL database"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "SqlContainerResource": {
+ "type": "object",
+ "description": "Cosmos DB SQL container resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB SQL container"
+ },
+ "indexingPolicy": {
+ "$ref": "#/definitions/IndexingPolicy",
+ "description": "The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container"
+ },
+ "partitionKey": {
+ "$ref": "#/definitions/ContainerPartitionKey",
+ "description": "The configuration of the partition key to be used for partitioning data into multiple partitions"
+ },
+ "defaultTtl": {
+ "type": "integer",
+ "description": "Default time to live"
+ },
+ "uniqueKeyPolicy": {
+ "$ref": "#/definitions/UniqueKeyPolicy",
+ "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service."
+ },
+ "conflictResolutionPolicy": {
+ "$ref": "#/definitions/ConflictResolutionPolicy",
+ "description": "The conflict resolution policy for the container."
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "IndexingPolicy": {
+ "type": "object",
+ "description": "Cosmos DB indexing policy",
+ "properties": {
+ "automatic": {
+ "type": "boolean",
+ "description": "Indicates if the indexing policy is automatic"
+ },
+ "indexingMode": {
+ "description": "Indicates the indexing mode.",
+ "type": "string",
+ "default": "Consistent",
+ "enum": [
+ "Consistent",
+ "Lazy",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "IndexingMode",
+ "modelAsString": true
+ }
+ },
+ "includedPaths": {
+ "description": "List of paths to include in the indexing",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IncludedPath"
+ }
+ },
+ "excludedPaths": {
+ "description": "List of paths to exclude from indexing",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExcludedPath"
+ }
+ },
+ "compositeIndexes": {
+ "description": "List of composite path list",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CompositePathList"
+ }
+ },
+ "spatialIndexes": {
+ "description": "List of spatial specifics",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SpatialSpec"
+ }
+ }
+ }
+ },
+ "ExcludedPath": {
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)"
+ }
+ }
+ },
+ "IncludedPath": {
+ "type": "object",
+ "description": "The paths that are included in indexing",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)"
+ },
+ "indexes": {
+ "description": "List of indexes for this path",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Indexes"
+ }
+ }
+ }
+ },
+ "Indexes": {
+ "type": "object",
+ "description": "The indexes for the path.",
+ "properties": {
+ "dataType": {
+ "description": "The datatype for which the indexing behavior is applied to.",
+ "type": "string",
+ "default": "String",
+ "enum": [
+ "String",
+ "Number",
+ "Point",
+ "Polygon",
+ "LineString",
+ "MultiPolygon"
+ ],
+ "x-ms-enum": {
+ "name": "DataType",
+ "modelAsString": true
+ }
+ },
+ "precision": {
+ "description": "The precision of the index. -1 is maximum precision.",
+ "type": "integer"
+ },
+ "kind": {
+ "description": "Indicates the type of index.",
+ "type": "string",
+ "default": "Hash",
+ "enum": [
+ "Hash",
+ "Range",
+ "Spatial"
+ ],
+ "x-ms-enum": {
+ "name": "IndexKind",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "CompositePathList": {
+ "description": "List of composite path",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CompositePath"
+ }
+ },
+ "CompositePath": {
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)"
+ },
+ "order": {
+ "description": "Sort order for composite paths.",
+ "type": "string",
+ "enum": [
+ "Ascending",
+ "Descending"
+ ],
+ "x-ms-enum": {
+ "name": "CompositePathSortOrder",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SpatialSpec": {
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)"
+ },
+ "types": {
+ "description": "List of path's spatial type",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SpatialType"
+ }
+ }
+ }
+ },
+ "SpatialType": {
+ "description": "Indicates the spatial type of index.",
+ "type": "string",
+ "enum": [
+ "Point",
+ "LineString",
+ "Polygon",
+ "MultiPolygon"
+ ],
+ "x-ms-enum": {
+ "name": "SpatialType",
+ "modelAsString": true
+ }
+ },
+ "ContainerPartitionKey": {
+ "type": "object",
+ "description": "The configuration of the partition key to be used for partitioning data into multiple partitions",
+ "properties": {
+ "paths": {
+ "description": "List of paths using which data within the container can be partitioned",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Path"
+ }
+ },
+ "kind": {
+ "description": "Indicates the kind of algorithm used for partitioning",
+ "type": "string",
+ "default": "Hash",
+ "enum": [
+ "Hash",
+ "Range"
+ ],
+ "x-ms-enum": {
+ "name": "PartitionKind",
+ "modelAsString": true
+ }
+ },
+ "version": {
+ "description": "Indicates the version of the partition key definition",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 2,
+ "format": "int32"
+ }
+ }
+ },
+ "Path": {
+ "type": "string",
+ "description": "A path. These typically start with root (/path)"
+ },
+ "UniqueKeyPolicy": {
+ "type": "object",
+ "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.",
+ "properties": {
+ "uniqueKeys": {
+ "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UniqueKey"
+ }
+ }
+ }
+ },
+ "UniqueKey": {
+ "type": "object",
+ "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.",
+ "properties": {
+ "paths": {
+ "description": "List of paths must be unique for each document in the Azure Cosmos DB service",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Path"
+ }
+ }
+ }
+ },
+ "ConflictResolutionPolicy": {
+ "type": "object",
+ "description": "The conflict resolution policy for the container.",
+ "properties": {
+ "mode": {
+ "description": "Indicates the conflict resolution mode.",
+ "type": "string",
+ "default": "LastWriterWins",
+ "enum": [
+ "LastWriterWins",
+ "Custom"
+ ],
+ "x-ms-enum": {
+ "name": "ConflictResolutionMode",
+ "modelAsString": true
+ }
+ },
+ "conflictResolutionPath": {
+ "type": "string",
+ "description": "The conflict resolution path in the case of LastWriterWins mode."
+ },
+ "conflictResolutionProcedure": {
+ "type": "string",
+ "description": "The procedure to resolve conflicts in the case of custom mode."
+ }
+ }
+ },
+ "SqlStoredProcedureResource": {
+ "type": "object",
+ "description": "Cosmos DB SQL storedProcedure resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB SQL storedProcedure"
+ },
+ "body": {
+ "type": "string",
+ "description": "Body of the Stored Procedure"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "SqlUserDefinedFunctionResource": {
+ "type": "object",
+ "description": "Cosmos DB SQL userDefinedFunction resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB SQL userDefinedFunction"
+ },
+ "body": {
+ "type": "string",
+ "description": "Body of the User Defined Function"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "SqlTriggerResource": {
+ "type": "object",
+ "description": "Cosmos DB SQL trigger resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB SQL trigger"
+ },
+ "body": {
+ "type": "string",
+ "description": "Body of the Trigger"
+ },
+ "triggerType": {
+ "type": "string",
+ "enum": [
+ "Pre",
+ "Post"
+ ],
+ "description": "Type of the Trigger",
+ "x-ms-enum": {
+ "name": "triggerType",
+ "modelAsString": true
+ }
+ },
+ "triggerOperation": {
+ "type": "string",
+ "enum": [
+ "All",
+ "Create",
+ "Update",
+ "Delete",
+ "Replace"
+ ],
+ "description": "The operation the trigger is associated with",
+ "x-ms-enum": {
+ "name": "triggerOperation",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "MongoDBDatabaseResource": {
+ "type": "object",
+ "description": "Cosmos DB MongoDB database resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB MongoDB database"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "MongoDBCollectionResource": {
+ "type": "object",
+ "description": "Cosmos DB MongoDB collection resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB MongoDB collection"
+ },
+ "shardKey": {
+ "description": "A key-value pair of shard keys to be applied for the request.",
+ "$ref": "#/definitions/ShardKeys"
+ },
+ "indexes": {
+ "description": "List of index keys",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MongoIndex"
+ }
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "ShardKeys": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The shard key and partition kind pair, only support \"Hash\" partition kind"
+ },
+ "MongoIndex": {
+ "type": "object",
+ "description": "Cosmos DB MongoDB collection index key",
+ "properties": {
+ "key": {
+ "description": "Cosmos DB MongoDB collection index keys",
+ "$ref": "#/definitions/MongoIndexKeys"
+ },
+ "options": {
+ "description": "Cosmos DB MongoDB collection index key options",
+ "$ref": "#/definitions/MongoIndexOptions"
+ }
+ }
+ },
+ "MongoIndexKeys": {
+ "type": "object",
+ "description": "Cosmos DB MongoDB collection resource object",
+ "properties": {
+ "keys": {
+ "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Key"
+ }
+ }
+ }
+ },
+ "Key": {
+ "type": "string",
+ "description": "A Key."
+ },
+ "MongoIndexOptions": {
+ "type": "object",
+ "description": "Cosmos DB MongoDB collection index options",
+ "properties": {
+ "expireAfterSeconds": {
+ "description": "Expire after seconds",
+ "type": "integer"
+ },
+ "unique": {
+ "description": "Is unique or not",
+ "type": "boolean"
+ }
+ }
+ },
+ "TableResource": {
+ "type": "object",
+ "description": "Cosmos DB table resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB table"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "CassandraKeyspaceResource": {
+ "type": "object",
+ "description": "Cosmos DB Cassandra keyspace resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB Cassandra keyspace"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "CassandraTableResource": {
+ "type": "object",
+ "description": "Cosmos DB Cassandra table resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB Cassandra table"
+ },
+ "defaultTtl": {
+ "type": "integer",
+ "description": "Time to live of the Cosmos DB Cassandra table"
+ },
+ "schema": {
+ "description": "Schema of the Cosmos DB Cassandra table",
+ "$ref": "#/definitions/CassandraSchema"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "CassandraSchema": {
+ "type": "object",
+ "description": "Cosmos DB Cassandra table schema",
+ "properties": {
+ "columns": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Column"
+ },
+ "description": "List of Cassandra table columns."
+ },
+ "partitionKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CassandraPartitionKey"
+ },
+ "description": "List of partition key."
+ },
+ "clusterKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ClusterKey"
+ },
+ "description": "List of cluster key."
+ }
+ }
+ },
+ "Column": {
+ "type": "object",
+ "description": "Cosmos DB Cassandra table column",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the Cosmos DB Cassandra table column"
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the Cosmos DB Cassandra table column"
+ }
+ }
+ },
+ "CassandraPartitionKey": {
+ "type": "object",
+ "description": "Cosmos DB Cassandra table partition key",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the Cosmos DB Cassandra table partition key"
+ }
+ }
+ },
+ "ClusterKey": {
+ "type": "object",
+ "description": "Cosmos DB Cassandra table cluster key",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the Cosmos DB Cassandra table cluster key"
+ },
+ "orderBy": {
+ "type": "string",
+ "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\""
+ }
+ }
+ },
+ "GremlinDatabaseResource": {
+ "type": "object",
+ "description": "Cosmos DB Gremlin database resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB Gremlin database"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "GremlinGraphResource": {
+ "type": "object",
+ "description": "Cosmos DB Gremlin graph resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Name of the Cosmos DB Gremlin graph"
+ },
+ "indexingPolicy": {
+ "$ref": "#/definitions/IndexingPolicy",
+ "description": "The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph"
+ },
+ "partitionKey": {
+ "$ref": "#/definitions/ContainerPartitionKey",
+ "description": "The configuration of the partition key to be used for partitioning data into multiple partitions"
+ },
+ "defaultTtl": {
+ "type": "integer",
+ "description": "Default time to live"
+ },
+ "uniqueKeyPolicy": {
+ "$ref": "#/definitions/UniqueKeyPolicy",
+ "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service."
+ },
+ "conflictResolutionPolicy": {
+ "$ref": "#/definitions/ConflictResolutionPolicy",
+ "description": "The conflict resolution policy for the graph."
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "CreateUpdateOptions": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\""
+ },
+ "Capability": {
+ "type": "object",
+ "description": "Cosmos DB capability object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"."
+ }
+ }
+ },
+ "Tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"."
+ },
+ "ProvisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation."
+ },
+ "IPRangeFilter": {
+ "type": "string",
+ "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces."
+ },
+ "VirtualNetworkRule": {
+ "type": "object",
+ "description": "Virtual Network ACL Rule object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}."
+ },
+ "ignoreMissingVNetServiceEndpoint": {
+ "type": "boolean",
+ "description": "Create firewall rule before the virtual network has vnet service endpoint enabled."
+ }
+ }
+ },
+ "Operation": {
+ "description": "REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "Provider": {
+ "description": "Service provider: Microsoft.ResourceProvider",
+ "type": "string"
+ },
+ "Resource": {
+ "description": "Resource on which the operation is performed: Profile, endpoint, etc.",
+ "type": "string"
+ },
+ "Operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string"
+ },
+ "Description": {
+ "description": "Description of operation",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of operations supported by the Resource Provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "UsagesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Usage"
+ },
+ "description": "The list of usages for the database. A usage is a point in time metric"
+ }
+ },
+ "description": "The response to a list usage request."
+ },
+ "Usage": {
+ "properties": {
+ "unit": {
+ "description": "The unit of the metric.",
+ "$ref": "#/definitions/UnitType"
+ },
+ "name": {
+ "$ref": "#/definitions/MetricName",
+ "readOnly": true,
+ "description": "The name information for the metric."
+ },
+ "quotaPeriod": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The quota period used to summarize the usage values."
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Maximum value for this metric"
+ },
+ "currentValue": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Current value for this metric"
+ }
+ },
+ "description": "The usage data for a usage request."
+ },
+ "PartitionUsagesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/PartitionUsage"
+ },
+ "description": "The list of partition-level usages for the database. A usage is a point in time metric"
+ }
+ },
+ "description": "The response to a list partition level usage request."
+ },
+ "PartitionUsage": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Usage"
+ }
+ ],
+ "properties": {
+ "partitionId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The partition id (GUID identifier) of the usages."
+ },
+ "partitionKeyRangeId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The partition key range id (integer identifier) of the usages."
+ }
+ },
+ "description": "The partition level usage data for a usage request."
+ },
+ "MetricDefinitionsListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/MetricDefinition"
+ },
+ "description": "The list of metric definitions for the account."
+ }
+ },
+ "description": "The response to a list metric definitions request."
+ },
+ "MetricDefinition": {
+ "properties": {
+ "metricAvailabilities": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/MetricAvailability"
+ },
+ "description": "The list of metric availabilities for the account."
+ },
+ "primaryAggregationType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The primary aggregation type of the metric.",
+ "enum": [
+ "None",
+ "Average",
+ "Total",
+ "Minimum",
+ "Maximum",
+ "Last"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "PrimaryAggregationType"
+ }
+ },
+ "unit": {
+ "description": "The unit of the metric.",
+ "$ref": "#/definitions/UnitType"
+ },
+ "resourceUri": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource uri of the database."
+ },
+ "name": {
+ "readOnly": true,
+ "$ref": "#/definitions/MetricName",
+ "description": "The name information for the metric."
+ }
+ },
+ "description": "The definition of a metric."
+ },
+ "MetricAvailability": {
+ "properties": {
+ "timeGrain": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The time grain to be used to summarize the metric values."
+ },
+ "retention": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The retention for the metric values."
+ }
+ },
+ "description": "The availability of the metric."
+ },
+ "MetricListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Metric"
+ },
+ "description": "The list of metrics for the account."
+ }
+ },
+ "description": "The response to a list metrics request."
+ },
+ "Metric": {
+ "properties": {
+ "startTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The start time for the metric (ISO-8601 format)."
+ },
+ "endTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The end time for the metric (ISO-8601 format)."
+ },
+ "timeGrain": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The time grain to be used to summarize the metric values."
+ },
+ "unit": {
+ "$ref": "#/definitions/UnitType",
+ "description": "The unit of the metric."
+ },
+ "name": {
+ "readOnly": true,
+ "$ref": "#/definitions/MetricName",
+ "description": "The name information for the metric."
+ },
+ "metricValues": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricValue"
+ },
+ "description": "The metric values for the specified time window and timestep."
+ }
+ },
+ "description": "Metric data"
+ },
+ "MetricName": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the metric."
+ },
+ "localizedValue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The friendly name of the metric."
+ }
+ },
+ "description": "A metric name."
+ },
+ "MetricValue": {
+ "properties": {
+ "_count": {
+ "readOnly": true,
+ "type": "number",
+ "format": "int32",
+ "description": "The number of values for the metric."
+ },
+ "average": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The average value of the metric."
+ },
+ "maximum": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The max value of the metric."
+ },
+ "minimum": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The min value of the metric."
+ },
+ "timestamp": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The metric timestamp (ISO-8601 format)."
+ },
+ "total": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The total value of the metric."
+ }
+ },
+ "description": "Represents metrics values."
+ },
+ "PercentileMetricListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PercentileMetric"
+ },
+ "description": "The list of percentile metrics for the account."
+ }
+ },
+ "description": "The response to a list percentile metrics request."
+ },
+ "PercentileMetric": {
+ "properties": {
+ "startTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The start time for the metric (ISO-8601 format)."
+ },
+ "endTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The end time for the metric (ISO-8601 format)."
+ },
+ "timeGrain": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The time grain to be used to summarize the metric values."
+ },
+ "unit": {
+ "$ref": "#/definitions/UnitType",
+ "description": "The unit of the metric."
+ },
+ "name": {
+ "readOnly": true,
+ "$ref": "#/definitions/MetricName",
+ "description": "The name information for the metric."
+ },
+ "metricValues": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PercentileMetricValue"
+ },
+ "description": "The percentile metric values for the specified time window and timestep."
+ }
+ },
+ "description": "Percentile Metric data"
+ },
+ "PercentileMetricValue": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/MetricValue"
+ }
+ ],
+ "properties": {
+ "P10": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The 10th percentile value for the metric."
+ },
+ "P25": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The 25th percentile value for the metric."
+ },
+ "P50": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The 50th percentile value for the metric."
+ },
+ "P75": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The 75th percentile value for the metric."
+ },
+ "P90": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The 90th percentile value for the metric."
+ },
+ "P95": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The 95th percentile value for the metric."
+ },
+ "P99": {
+ "readOnly": true,
+ "type": "number",
+ "format": "double",
+ "description": "The 99th percentile value for the metric."
+ }
+ },
+ "description": "Represents percentile metrics values."
+ },
+ "PartitionMetricListResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PartitionMetric"
+ },
+ "description": "The list of partition-level metrics for the account."
+ }
+ },
+ "description": "The response to a list partition metrics request."
+ },
+ "PartitionMetric": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Metric"
+ }
+ ],
+ "properties": {
+ "partitionId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The partition id (GUID identifier) of the metric values."
+ },
+ "partitionKeyRangeId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The partition key range id (integer identifier) of the metric values."
+ }
+ },
+ "description": "The metric values for a single partition."
+ },
+ "UnitType": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The unit of the metric.",
+ "enum": [
+ "Count",
+ "Bytes",
+ "Seconds",
+ "Percent",
+ "CountPerSecond",
+ "BytesPerSecond",
+ "Milliseconds"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "UnitType"
+ }
+ },
+ "ConnectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB C* database account.",
+ "type": "string",
+ "enum": [
+ "Small"
+ ],
+ "x-ms-enum": {
+ "name": "ConnectorOffer",
+ "modelAsString": true
+ }
+ }
+ },
+ "parameters": {
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Azure subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. The current version is 2019-08-01."
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method",
+ "description": "Name of an Azure resource group."
+ },
+ "accountNameParameter": {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB database account name.",
+ "minLength": 3,
+ "maxLength": 50,
+ "pattern": "^[a-z0-9]+(-[a-z0-9]+)*"
+ },
+ "filterParameter": {
+ "name": "$filter",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq."
+ },
+ "usageFilterParameter": {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names)."
+ },
+ "databaseRidParameter": {
+ "name": "databaseRid",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB database rid."
+ },
+ "collectionRidParameter": {
+ "name": "collectionRid",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB collection rid."
+ },
+ "databaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB database name."
+ },
+ "containerNameParameter": {
+ "name": "containerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB container name."
+ },
+ "storedProcedureNameParameter": {
+ "name": "storedProcedureName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB storedProcedure name."
+ },
+ "userDefinedFunctionNameParameter": {
+ "name": "userDefinedFunctionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB userDefinedFunction name."
+ },
+ "triggerNameParameter": {
+ "name": "triggerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB trigger name."
+ },
+ "tableNameParameter": {
+ "name": "tableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB table name."
+ },
+ "collectionNameParameter": {
+ "name": "collectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB collection name."
+ },
+ "keyspaceNameParameter": {
+ "name": "keyspaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB keyspace name."
+ },
+ "graphNameParameter": {
+ "name": "graphName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB graph name."
+ },
+ "regionParameter": {
+ "name": "region",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB region, with spaces between words and each word capitalized."
+ },
+ "sourceRegionParameter": {
+ "name": "sourceRegion",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Source region from which data is written. Cosmos DB region, with spaces between words and each word capitalized."
+ },
+ "targetRegionParameter": {
+ "name": "targetRegion",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized."
+ },
+ "partitionKeyRangeIdParameter": {
+ "name": "partitionKeyRangeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Partition Key Range Id for which to get data."
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
new file mode 100644
index 000000000000..c9cdc441763f
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName",
+ "createUpdateCassandraKeyspaceParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "keyspaceName"
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName",
+ "name": "keyspaceName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "keyspaceName"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceDelete.json
new file mode 100644
index 000000000000..d966adffcf6b
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceGet.json
new file mode 100644
index 000000000000..48a5ce143b91
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName",
+ "name": "keyspaceName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "keyspaceName",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceList.json
new file mode 100644
index 000000000000..bd5554c827dd
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName",
+ "name": "keyspaceName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "keyspaceName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceThroughputGet.json
new file mode 100644
index 000000000000..f2184f2b0aed
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceThroughputGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
new file mode 100644
index 000000000000..f2eaf4b7fa2f
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableCreateUpdate.json
new file mode 100644
index 000000000000..f241fbee7b2c
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableCreateUpdate.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName",
+ "tableName": "tableName",
+ "createUpdateCassandraTableParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "tableName",
+ "defaultTtl": 100,
+ "schema": {
+ "columns": [
+ {
+ "name": "columnA",
+ "type": "Ascii"
+ }
+ ],
+ "partitionKeys": [
+ {
+ "name": "columnA"
+ }
+ ],
+ "clusterKeys": [
+ {
+ "name": "columnA",
+ "orderBy": "Asc"
+ }
+ ]
+ }
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/cassandraTables/tableName",
+ "name": "tableName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/cassandraTables",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "tableName",
+ "defaultTtl": 100,
+ "schema": {
+ "columns": [
+ {
+ "name": "columnA",
+ "type": "Ascii"
+ }
+ ],
+ "partitionKeys": [
+ {
+ "name": "columnA"
+ }
+ ],
+ "clusterKeys": [
+ {
+ "name": "columnA",
+ "orderBy": "Asc"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableDelete.json
new file mode 100644
index 000000000000..772f83b1cc9d
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName",
+ "tableName": "tableName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableGet.json
new file mode 100644
index 000000000000..32616174062f
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableGet.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName",
+ "tableName": "tableName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/cassandraTables/tableName",
+ "name": "tableName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/cassandraTables",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "tableName",
+ "defaultTtl": 100,
+ "schema": {
+ "columns": [
+ {
+ "name": "columnA",
+ "type": "Ascii"
+ }
+ ],
+ "partitionKeys": [
+ {
+ "name": "columnA"
+ }
+ ],
+ "clusterKeys": [
+ {
+ "name": "columnA",
+ "orderBy": "Asc"
+ }
+ ]
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableList.json
new file mode 100644
index 000000000000..511cad95501e
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "keyspaceName": "keyspaceName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/cassandraTables/tableName",
+ "name": "tableName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/cassandraTables",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "tableName",
+ "defaultTtl": 100,
+ "schema": {
+ "columns": [
+ {
+ "name": "columnA",
+ "type": "Ascii"
+ }
+ ],
+ "partitionKeys": [
+ {
+ "name": "columnA"
+ }
+ ],
+ "clusterKeys": [
+ {
+ "name": "columnA",
+ "orderBy": "Asc"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableThroughputGet.json
new file mode 100644
index 000000000000..77dc7bb4b819
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableThroughputGet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName",
+ "tableName": "tableName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/cassandraTables/tableName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/cassandraTables/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableThroughputUpdate.json
new file mode 100644
index 000000000000..4d4b15c3fca7
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCassandraTableThroughputUpdate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyspaceName": "keyspaceName",
+ "tableName": "tableName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/cassandraTables/tableName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/cassandraTables/throughputSettings",
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetMetricDefinitions.json
new file mode 100644
index 000000000000..d9c5c996141e
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetMetricDefinitions.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid",
+ "api-version": "2019-12-12",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT5M",
+ "retention": "P2D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P14D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P60D"
+ }
+ ],
+ "primaryAggregationType": "Total",
+ "unit": "Count",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": {
+ "value": "Total Requests",
+ "localizedValue": "Total Requests"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetMetrics.json
new file mode 100644
index 000000000000..5b2b370b96cb
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetMetrics.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid",
+ "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Count",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:03:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:08:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ }
+ ],
+ "name": {
+ "value": "Total Requests",
+ "localizedValue": "Total Requests"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetUsages.json
new file mode 100644
index 000000000000..2b59a4048e92
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionGetUsages.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid",
+ "subscriptionId": "subid",
+ "$filter": "$filter=name.value eq 'Storage'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "unit": "Bytes",
+ "quotaPeriod": "P1D",
+ "limit": 10737418240,
+ "currentValue": 0,
+ "name": {
+ "value": "Storage",
+ "localizedValue": "Storage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionGetMetrics.json
new file mode 100644
index 000000000000..795c3b48e6ac
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionGetMetrics.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid",
+ "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT1M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T23:58:55.2780000Z",
+ "unit": "Count",
+ "partitionId": "00000000-0000-0000-0000-000000000000",
+ "partitionKeyRangeId": "0",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:54:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:55:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:56:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:57:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "maximum": 5
+ }
+ ],
+ "name": {
+ "value": "Max RUs Per Second",
+ "localizedValue": "Max RUs Per Second"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionGetUsages.json
new file mode 100644
index 000000000000..eba6762ffc8f
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionGetUsages.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid",
+ "subscriptionId": "subid",
+ "$filter": "$filter=name.value eq 'Partition Storage'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "unit": "Bytes",
+ "quotaPeriod": "P1D",
+ "limit": 10737418240,
+ "currentValue": 0,
+ "partitionId": "00000000-0000-0000-0000-000000000000",
+ "partitionKeyRangeId": "0",
+ "name": {
+ "value": "Storage",
+ "localizedValue": "Storage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionRegionGetMetrics.json
new file mode 100644
index 000000000000..a1e6f62535b9
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBCollectionPartitionRegionGetMetrics.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid",
+ "region": "North Europe",
+ "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT1M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T23:58:55.2780000Z",
+ "unit": "Count",
+ "partitionId": "00000000-0000-0000-0000-000000000000",
+ "partitionKeyRangeId": "0",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:54:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:55:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:56:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:57:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "maximum": 5
+ }
+ ],
+ "name": {
+ "value": "Max RUs Per Second",
+ "localizedValue": "Max RUs Per Second"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCheckNameExists.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCheckNameExists.json
new file mode 100644
index 000000000000..f3f36001fa50
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCheckNameExists.json
@@ -0,0 +1,10 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "api-version": "2019-12-12"
+ },
+ "responses": {
+ "200": {},
+ "404": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCreateMax.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCreateMax.json
new file mode 100644
index 000000000000..f41a4f7fecca
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCreateMax.json
@@ -0,0 +1,125 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "createUpdateParameters": {
+ "location": "westus",
+ "tags": {},
+ "kind": "GlobalDocumentDB",
+ "properties": {
+ "databaseAccountOfferType": "Standard",
+ "ipRangeFilter": "10.10.10.10",
+ "isVirtualNetworkFilterEnabled": true,
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "ignoreMissingVNetServiceEndpoint": false
+ }
+ ],
+ "locations": [
+ {
+ "failoverPriority": 0,
+ "locationName": "southcentralus",
+ "isZoneRedundant": false
+ },
+ {
+ "failoverPriority": 1,
+ "locationName": "eastus",
+ "isZoneRedundant": false
+ }
+ ],
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "BoundedStaleness",
+ "maxIntervalInSeconds": 10,
+ "maxStalenessPrefix": 200
+ },
+ "keyVaultKeyUri": "https://myKeyVault.vault.azure.net"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": "ddb1",
+ "location": "West US",
+ "type": "Microsoft.DocumentDB/databaseAccounts",
+ "kind": "GlobalDocumentDB",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Initializing",
+ "ipRangeFilter": "10.10.10.10",
+ "isVirtualNetworkFilterEnabled": true,
+ "databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "BoundedStaleness",
+ "maxIntervalInSeconds": 10,
+ "maxStalenessPrefix": 200
+ },
+ "writeLocations": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 0,
+ "isZoneRedundant": false
+ }
+ ],
+ "readLocations": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 0,
+ "isZoneRedundant": false
+ },
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 1,
+ "isZoneRedundant": false
+ }
+ ],
+ "locations": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 0,
+ "isZoneRedundant": false
+ },
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 1,
+ "isZoneRedundant": false
+ }
+ ],
+ "failoverPolicies": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "failoverPriority": 0
+ },
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "failoverPriority": 1
+ }
+ ],
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
+ }
+ ],
+ "keyVaultKeyUri": "https://myKeyVault.vault.azure.net"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCreateMin.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCreateMin.json
new file mode 100644
index 000000000000..a48cdb597629
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountCreateMin.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "createUpdateParameters": {
+ "location": "westus",
+ "properties": {
+ "databaseAccountOfferType": "Standard",
+ "locations": [
+ {
+ "failoverPriority": 0,
+ "locationName": "southcentralus",
+ "isZoneRedundant": false
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": "ddb1",
+ "location": "West US",
+ "type": "Microsoft.DocumentDB/databaseAccounts",
+ "kind": "GlobalDocumentDB",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Initializing",
+ "ipRangeFilter": "",
+ "databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "Session",
+ "maxIntervalInSeconds": 5,
+ "maxStalenessPrefix": 100
+ },
+ "writeLocations": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 0,
+ "isZoneRedundant": false
+ }
+ ],
+ "readLocations": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 0,
+ "isZoneRedundant": false
+ }
+ ],
+ "locations": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 0,
+ "isZoneRedundant": false
+ }
+ ],
+ "failoverPolicies": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "failoverPriority": 0
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountDelete.json
new file mode 100644
index 000000000000..41d3416b09fb
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json
new file mode 100644
index 000000000000..f0efee8dd426
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "accountName": "ddb1-failover",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "failoverParameters": {
+ "failoverPolicies": [
+ {
+ "locationName": "eastus",
+ "failoverPriority": 0
+ },
+ {
+ "locationName": "westus",
+ "failoverPriority": 1
+ }
+ ]
+ }
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGet.json
new file mode 100644
index 000000000000..ad0ed4f8c1fb
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGet.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": "ddb1",
+ "location": "West US",
+ "type": "Microsoft.DocumentDB/databaseAccounts",
+ "kind": "GlobalDocumentDB",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "documentEndpoint": "https://ddb1.documents.azure.com:443/",
+ "ipRangeFilter": "",
+ "isVirtualNetworkFilterEnabled": false,
+ "virtualNetworkRules": [],
+ "databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "Session",
+ "maxIntervalInSeconds": 5,
+ "maxStalenessPrefix": 100
+ },
+ "writeLocations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "readLocations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "locations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "failoverPolicies": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "failoverPriority": 0
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
new file mode 100644
index 000000000000..b5c754942401
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid",
+ "api-version": "2019-12-12"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT5M",
+ "retention": "P2D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P14D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P60D"
+ }
+ ],
+ "primaryAggregationType": "Total",
+ "unit": "Count",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": {
+ "value": "Total Requests",
+ "localizedValue": "Total Requests"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetMetrics.json
new file mode 100644
index 000000000000..53de6ec49266
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetMetrics.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Count",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:03:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:08:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ }
+ ],
+ "name": {
+ "value": "Total Requests",
+ "localizedValue": "Total Requests"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetUsages.json
new file mode 100644
index 000000000000..a5313431be90
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountGetUsages.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "$filter": "$filter=name.value eq 'Storage'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "unit": "Bytes",
+ "quotaPeriod": "P1D",
+ "limit": 10737418240,
+ "currentValue": 0,
+ "name": {
+ "value": "Storage",
+ "localizedValue": "Storage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountList.json
new file mode 100644
index 000000000000..59566629c3b8
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountList.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": "ddb1",
+ "location": "West US",
+ "type": "Microsoft.DocumentDB/databaseAccounts",
+ "kind": "GlobalDocumentDB",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "documentEndpoint": "https://ddb1.documents.azure.com:443/",
+ "ipRangeFilter": "",
+ "databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "Session",
+ "maxIntervalInSeconds": 5,
+ "maxStalenessPrefix": 100
+ },
+ "writeLocations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "readLocations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "locations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "failoverPolicies": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "failoverPriority": 0
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListByResourceGroup.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListByResourceGroup.json
new file mode 100644
index 000000000000..3bd06aa32071
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListByResourceGroup.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": "ddb1",
+ "location": "West US",
+ "type": "Microsoft.DocumentDB/databaseAccounts",
+ "kind": "GlobalDocumentDB",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "documentEndpoint": "https://ddb1.documents.azure.com:443/",
+ "ipRangeFilter": "",
+ "databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "Session",
+ "maxIntervalInSeconds": 5,
+ "maxStalenessPrefix": 100
+ },
+ "writeLocations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "readLocations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "locations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "failoverPolicies": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "failoverPriority": 0
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListConnectionStrings.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListConnectionStrings.json
new file mode 100644
index 000000000000..74569294c4b1
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListConnectionStrings.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json
new file mode 100644
index 000000000000..c21a810db45d
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "accountName": "mongo-ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "connectionStrings": [
+ {
+ "connectionString": "connection-string",
+ "description": "Name of the connection string"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListKeys.json
new file mode 100644
index 000000000000..5e1d50b654e4
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListKeys.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryMasterKey": "primaryMasterKey",
+ "secondaryMasterKey": "secondaryMasterKey",
+ "primaryReadonlyMasterKey": "primaryReadonlyMasterKey",
+ "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey"
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json
new file mode 100644
index 000000000000..917ceb3861a2
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryReadonlyMasterKey": "primaryReadonlyMasterKey",
+ "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey"
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountOfflineRegion.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountOfflineRegion.json
new file mode 100644
index 000000000000..6810f044fb32
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountOfflineRegion.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "region": "North Europe",
+ "regionParameterForOffline": [
+ {
+ "region": "North Europe"
+ }
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountOnlineRegion.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountOnlineRegion.json
new file mode 100644
index 000000000000..fe8c6a4e5097
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountOnlineRegion.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "region": "North Europe",
+ "regionParameterForOnline": [
+ {
+ "region": "North Europe"
+ }
+ ]
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountPatch.json
new file mode 100644
index 000000000000..6654cdf7a760
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountPatch.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "updateParameters": {
+ "location": "westus",
+ "tags": {
+ "dept": "finance"
+ },
+ "properties": {
+ "ipRangeFilter": "10.10.10.10",
+ "isVirtualNetworkFilterEnabled": true,
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "ignoreMissingVNetServiceEndpoint": false
+ }
+ ],
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "BoundedStaleness",
+ "maxIntervalInSeconds": 10,
+ "maxStalenessPrefix": 200
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": "ddb1",
+ "location": "West US",
+ "type": "Microsoft.DocumentDB/databaseAccounts",
+ "kind": "GlobalDocumentDB",
+ "tags": {
+ "dept": "finance"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "documentEndpoint": "https://ddb1.documents.azure.com:443/",
+ "databaseAccountOfferType": "Standard",
+ "ipRangeFilter": "10.10.10.10",
+ "isVirtualNetworkFilterEnabled": true,
+ "disableKeyBasedMetadataWriteAccess": false,
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "BoundedStaleness",
+ "maxIntervalInSeconds": 10,
+ "maxStalenessPrefix": 200
+ },
+ "writeLocations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "readLocations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "locations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
+ "failoverPolicies": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "failoverPriority": 0
+ }
+ ],
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "ignoreMissingVNetServiceEndpoint": false
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountRegenerateKey.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountRegenerateKey.json
new file mode 100644
index 000000000000..6d37f0abd5bf
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountRegenerateKey.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "keyToRegenerate": {
+ "keyKind": "primary"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountRegionGetMetrics.json
new file mode 100644
index 000000000000..62a357daba65
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseAccountRegionGetMetrics.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "region": "North Europe",
+ "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Count",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:03:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:08:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ }
+ ],
+ "name": {
+ "value": "Total Requests",
+ "localizedValue": "Total Requests"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetMetricDefinitions.json
new file mode 100644
index 000000000000..39180f7d0610
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetMetricDefinitions.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid",
+ "api-version": "2019-12-12",
+ "databaseRid": "databaseRid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT5M",
+ "retention": "P2D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P14D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P60D"
+ }
+ ],
+ "primaryAggregationType": "Total",
+ "unit": "Count",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
+ "name": {
+ "value": "Total Requests",
+ "localizedValue": "Total Requests"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetMetrics.json
new file mode 100644
index 000000000000..f96792e7cce5
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetMetrics.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseRid": "rid",
+ "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Count",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:03:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:08:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ }
+ ],
+ "name": {
+ "value": "Total Requests",
+ "localizedValue": "Total Requests"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetUsages.json
new file mode 100644
index 000000000000..5fc9ca37f0be
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBDatabaseGetUsages.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "databaseRid": "databaseRid",
+ "subscriptionId": "subid",
+ "$filter": "$filter=name.value eq 'Storage'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "unit": "Bytes",
+ "quotaPeriod": "P1D",
+ "limit": 10737418240,
+ "currentValue": 0,
+ "name": {
+ "value": "Storage",
+ "localizedValue": "Storage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseCreateUpdate.json
new file mode 100644
index 000000000000..99ef49980044
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseCreateUpdate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "createUpdateGremlinDatabaseParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName"
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/gremlinDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseDelete.json
new file mode 100644
index 000000000000..f2025b02d8d1
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseGet.json
new file mode 100644
index 000000000000..d64d1c030181
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/gremlinDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseList.json
new file mode 100644
index 000000000000..52ee8b41004d
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseList.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/gremlinDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseThroughputGet.json
new file mode 100644
index 000000000000..fca539a23ae0
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseThroughputGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/gremlinDatabases/databaseName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
new file mode 100644
index 000000000000..ca89703198de
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/gremlinDatabases/databaseName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphCreateUpdate.json
new file mode 100644
index 000000000000..3624447acc5b
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphCreateUpdate.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "graphName": "graphName",
+ "createUpdateGremlinGraphParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "graphName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ }
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/gremlinDatabases/databaseName/gremlinGraphs/graphName",
+ "name": "graphName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/gremlinGraphs",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "graphName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphDelete.json
new file mode 100644
index 000000000000..e353034f844d
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "graphName": "graphName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphGet.json
new file mode 100644
index 000000000000..bda14f85b859
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphGet.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "graphName": "graphName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "graphName",
+ "name": "graphName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs",
+ "properties": {
+ "resource": {
+ "id": "graphName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphList.json
new file mode 100644
index 000000000000..dd651c325694
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphList.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "testgrf",
+ "name": "testgrf",
+ "type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs",
+ "properties": {
+ "resource": {
+ "id": "testgrf",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphThroughputGet.json
new file mode 100644
index 000000000000..d2dd9eb24185
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphThroughputGet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "graphName": "graphName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/gremlinDatabases/databaseName/gremlinGraphs/graphName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphThroughputUpdate.json
new file mode 100644
index 000000000000..a5f49b59727b
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBGremlinGraphThroughputUpdate.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "graphName": "graphName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/gremlinDatabases/databaseName/gremlinGraphs/graphName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionCreateUpdate.json
new file mode 100644
index 000000000000..40ebdba6f576
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionCreateUpdate.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "collectionName": "collectionName",
+ "createUpdateMongoDBCollectionParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "collectionName",
+ "indexes": [
+ {
+ "key": {
+ "keys": [
+ "testKey"
+ ]
+ },
+ "options": {
+ "expireAfterSeconds": 100,
+ "unique": true
+ }
+ }
+ ],
+ "shardKey": {
+ "testKey": "Hash"
+ }
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName/mongodbCollections/collectionName",
+ "name": "collectionName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/mongodbCollections",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "collectionName",
+ "indexes": [
+ {
+ "key": {
+ "keys": [
+ "testKey"
+ ]
+ },
+ "options": {
+ "expireAfterSeconds": 100,
+ "unique": true
+ }
+ }
+ ],
+ "shardKey": {
+ "testKey": "Hash"
+ }
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionDelete.json
new file mode 100644
index 000000000000..cca72c1d48e3
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "collectionName": "collectionName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionGet.json
new file mode 100644
index 000000000000..a1c8acf3384d
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionGet.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "collectionName": "collectionName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName/mongodbCollections/collectionName",
+ "name": "collectionName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/mongodbCollections",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "testcoll",
+ "indexes": [
+ {
+ "key": {
+ "keys": [
+ "testKey"
+ ]
+ },
+ "options": {
+ "expireAfterSeconds": 100,
+ "unique": true
+ }
+ }
+ ],
+ "shardKey": {
+ "testKey": "Hash"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionList.json
new file mode 100644
index 000000000000..7c55a1280260
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionList.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName/mongodbCollections/collectionName",
+ "name": "collectionName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/mongodbCollections",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "testcoll",
+ "indexes": [
+ {
+ "key": {
+ "keys": [
+ "testKey"
+ ]
+ },
+ "options": {
+ "expireAfterSeconds": 100,
+ "unique": true
+ }
+ }
+ ],
+ "shardKey": {
+ "testKey": "Hash"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionThroughputGet.json
new file mode 100644
index 000000000000..0c415decff50
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionThroughputGet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "collectionName": "collectionName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName/mongodbCollections/collectionName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/mongodbCollections/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
new file mode 100644
index 000000000000..e58ff2a84a7b
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "collectionName": "collectionName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName/mongodbCollections/collectionName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/mongodbCollections/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseCreateUpdate.json
new file mode 100644
index 000000000000..042f140ce1b7
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseCreateUpdate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "createUpdateMongoDBDatabaseParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName"
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "updatedDatabaseName"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseDelete.json
new file mode 100644
index 000000000000..f2025b02d8d1
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseGet.json
new file mode 100644
index 000000000000..af3adea20143
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseList.json
new file mode 100644
index 000000000000..bbb7e8b682ab
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseThroughputGet.json
new file mode 100644
index 000000000000..4c4a2f8a7b33
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseThroughputGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
new file mode 100644
index 000000000000..05c9bb42f4a2
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBOperationsList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBOperationsList.json
new file mode 100644
index 000000000000..d8935970dd49
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBOperationsList.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "operationName",
+ "display": {
+ "Provider": "providerName",
+ "Resource": "resourceName",
+ "Operation": "operationName",
+ "Description": "description"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPKeyRangeIdGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPKeyRangeIdGetMetrics.json
new file mode 100644
index 000000000000..161446a2d65f
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPKeyRangeIdGetMetrics.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid",
+ "partitionKeyRangeId": "0",
+ "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT1M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T23:58:55.2780000Z",
+ "unit": "Count",
+ "partitionId": "00000000-0000-0000-0000-000000000000",
+ "partitionKeyRangeId": "0",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:54:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:55:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:56:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:57:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "maximum": 5
+ }
+ ],
+ "name": {
+ "value": "Max RUs Per Second",
+ "localizedValue": "Max RUs Per Second"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json
new file mode 100644
index 000000000000..91f0eea8deb8
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid",
+ "partitionKeyRangeId": "0",
+ "region": "West US",
+ "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT1M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T23:58:55.2780000Z",
+ "unit": "Count",
+ "partitionId": "00000000-0000-0000-0000-000000000000",
+ "partitionKeyRangeId": "0",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:54:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:55:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:56:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:57:55.2780000Z",
+ "maximum": 5
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "maximum": 5
+ }
+ ],
+ "name": {
+ "value": "Max RUs Per Second",
+ "localizedValue": "Max RUs Per Second"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileGetMetrics.json
new file mode 100644
index 000000000000..7691edb62a0f
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileGetMetrics.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Milliseconds",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "P10": 1.11,
+ "P25": 2.5,
+ "P50": 4.34,
+ "P75": 5.2,
+ "P90": 6.77,
+ "P95": 7.1,
+ "P99": 8.3
+ }
+ ],
+ "name": {
+ "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US",
+ "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US"
+ }
+ },
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Milliseconds",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "P10": 1.11,
+ "P25": 2.5,
+ "P50": 4.34,
+ "P75": 5.2,
+ "P90": 6.77,
+ "P95": 7.1,
+ "P99": 8.3
+ }
+ ],
+ "name": {
+ "value": "Probabilistic Bounded Staleness-S-West Central US-T-West US",
+ "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-West US"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileSourceTargetGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileSourceTargetGetMetrics.json
new file mode 100644
index 000000000000..0c63348b9b3e
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileSourceTargetGetMetrics.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "sourceRegion": "West Central US",
+ "targetRegion": "East US",
+ "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Milliseconds",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "P10": 1.11,
+ "P25": 2.5,
+ "P50": 4.34,
+ "P75": 5.2,
+ "P90": 6.77,
+ "P95": 7.1,
+ "P99": 8.3
+ }
+ ],
+ "name": {
+ "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US",
+ "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileTargetGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileTargetGetMetrics.json
new file mode 100644
index 000000000000..88479bf9daca
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBPercentileTargetGetMetrics.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "targetRegion": "East US",
+ "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Milliseconds",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "P10": 1.11,
+ "P25": 2.5,
+ "P50": 4.34,
+ "P75": 5.2,
+ "P90": 6.77,
+ "P95": 7.1,
+ "P99": 8.3
+ }
+ ],
+ "name": {
+ "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US",
+ "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US"
+ }
+ },
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Milliseconds",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "P10": 1.11,
+ "P25": 2.5,
+ "P50": 4.34,
+ "P75": 5.2,
+ "P90": 6.77,
+ "P95": 7.1,
+ "P99": 8.3
+ }
+ ],
+ "name": {
+ "value": "Probabilistic Bounded Staleness-S-West US-T-East US",
+ "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-West US"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBRegionCollectionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBRegionCollectionGetMetrics.json
new file mode 100644
index 000000000000..4dcd10b04038
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBRegionCollectionGetMetrics.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseRid": "databaseRid",
+ "collectionRid": "collectionRid",
+ "region": "North Europe",
+ "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "timeGrain": "PT5M",
+ "startTime": "2017-11-19T23:53:55.2780000Z",
+ "endTime": "2017-11-20T00:13:55.2780000Z",
+ "unit": "Count",
+ "metricValues": [
+ {
+ "timestamp": "2017-11-19T23:53:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-19T23:58:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:03:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ },
+ {
+ "timestamp": "2017-11-20T00:08:55.2780000Z",
+ "total": 0,
+ "_count": 0,
+ "average": 0
+ }
+ ],
+ "name": {
+ "value": "Total Requests",
+ "localizedValue": "Total Requests"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerCreateUpdate.json
new file mode 100644
index 000000000000..cba6196568db
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerCreateUpdate.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "createUpdateSqlContainerParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "containerName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ }
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName",
+ "name": "containerName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "containerName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerDelete.json
new file mode 100644
index 000000000000..b80eb80f9192
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerGet.json
new file mode 100644
index 000000000000..8f11a75bb85f
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerGet.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "containerName": "containerName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName",
+ "name": "containerName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "containerName",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerList.json
new file mode 100644
index 000000000000..8d497d40cf50
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerList.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName",
+ "name": "containerName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "testctn",
+ "indexingPolicy": {
+ "indexingMode": "Consistent",
+ "automatic": true,
+ "includedPaths": [
+ {
+ "path": "/*",
+ "indexes": [
+ {
+ "kind": "Range",
+ "dataType": "String",
+ "precision": -1
+ },
+ {
+ "kind": "Range",
+ "dataType": "Number",
+ "precision": -1
+ }
+ ]
+ }
+ ],
+ "excludedPaths": []
+ },
+ "partitionKey": {
+ "paths": [
+ "/AccountNumber"
+ ],
+ "kind": "Hash"
+ },
+ "defaultTtl": 100,
+ "uniqueKeyPolicy": {
+ "uniqueKeys": [
+ {
+ "paths": [
+ "/testPath"
+ ]
+ }
+ ]
+ },
+ "conflictResolutionPolicy": {
+ "mode": "LastWriterWins",
+ "conflictResolutionPath": "/path"
+ },
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerThroughputGet.json
new file mode 100644
index 000000000000..ad0fc7a33e59
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerThroughputGet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerThroughputUpdate.json
new file mode 100644
index 000000000000..1266e55edc95
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlContainerThroughputUpdate.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseCreateUpdate.json
new file mode 100644
index 000000000000..34392aefe4f9
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseCreateUpdate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "createUpdateSqlDatabaseParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName"
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseDelete.json
new file mode 100644
index 000000000000..f2025b02d8d1
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseGet.json
new file mode 100644
index 000000000000..a4175f7e4210
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
+ "_colls": "colls/",
+ "_users": "users/"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseList.json
new file mode 100644
index 000000000000..e766516aabda
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseList.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName",
+ "name": "databaseName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "databaseName",
+ "_rid": "CqNBAA==",
+ "_ts": 1449602962,
+ "_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
+ "_colls": "colls/",
+ "_users": "users/"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseThroughputGet.json
new file mode 100644
index 000000000000..52c14d4f25c9
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseThroughputGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseThroughputUpdate.json
new file mode 100644
index 000000000000..b0ae85112337
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlDatabaseThroughputUpdate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureCreateUpdate.json
new file mode 100644
index 000000000000..ae44bf32b441
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureCreateUpdate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "storedProcedureName": "storedProcedureName",
+ "createUpdateSqlStoredProcedureParameters": {
+ "properties": {
+ "resource": {
+ "id": "storedProcedureName",
+ "body": "body"
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlStoredProcedures/storedProcedureName",
+ "name": "storedProcedureName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlStoredProcedures",
+ "properties": {
+ "resource": {
+ "id": "storedProcedureName",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureDelete.json
new file mode 100644
index 000000000000..d51a2cfd6953
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureDelete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "storedProcedureName": "storedProcedureName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureGet.json
new file mode 100644
index 000000000000..147db1191b1a
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "storedProcedureName": "storedProcedureName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlStoredProcedures/storedProcedureName",
+ "name": "storedProcedureName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlStoredProcedures",
+ "properties": {
+ "resource": {
+ "id": "storedProcedureName",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureList.json
new file mode 100644
index 000000000000..4123a198c84b
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlStoredProcedureList.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "containerName": "containerName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlStoredProcedures/storedProcedureName",
+ "name": "testctn",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlStoredProcedures",
+ "properties": {
+ "resource": {
+ "id": "testctn",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerCreateUpdate.json
new file mode 100644
index 000000000000..7e14d24cfe48
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerCreateUpdate.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "triggerName": "triggerName",
+ "createUpdateSqlTriggerParameters": {
+ "properties": {
+ "resource": {
+ "id": "triggerName",
+ "body": "body",
+ "triggerType": "triggerType",
+ "triggerOperation": "triggerOperation"
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlTriggers/triggerName",
+ "name": "triggerName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlTriggers",
+ "properties": {
+ "resource": {
+ "id": "triggerName",
+ "body": "body",
+ "triggerType": "triggerType",
+ "triggerOperation": "triggerOperation",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerDelete.json
new file mode 100644
index 000000000000..b092a10244ac
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerDelete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "triggerName": "triggerName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerGet.json
new file mode 100644
index 000000000000..e5b4538fb7dc
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerGet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "triggerName": "triggerName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlTriggers/triggerName",
+ "name": "triggerName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlTriggers",
+ "properties": {
+ "resource": {
+ "id": "triggerName",
+ "body": "body",
+ "triggerType": "triggerType",
+ "triggerOperation": "triggerOperation",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerList.json
new file mode 100644
index 000000000000..3f0b100ec84d
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlTriggerList.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "containerName": "containerName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlTriggers/triggerName",
+ "name": "testctn",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlTriggers",
+ "properties": {
+ "resource": {
+ "id": "testctn",
+ "body": "body",
+ "triggerType": "triggerType",
+ "triggerOperation": "triggerOperation",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json
new file mode 100644
index 000000000000..7ba380af4de4
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "userDefinedFunctionName": "userDefinedFunctionName",
+ "createUpdateSqlUserDefinedFunctionParameters": {
+ "properties": {
+ "resource": {
+ "id": "userDefinedFunctionName",
+ "body": "body"
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlUserDefinedFunctions/userDefinedFunctionName",
+ "name": "userDefinedFunctionName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlUserDefinedFunctions",
+ "properties": {
+ "resource": {
+ "id": "userDefinedFunctionName",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionDelete.json
new file mode 100644
index 000000000000..da6a208e8744
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionDelete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "userDefinedFunctionName": "userDefinedFunctionName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionGet.json
new file mode 100644
index 000000000000..1609824157de
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "containerName": "containerName",
+ "userDefinedFunctionName": "userDefinedFunctionName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlUserDefinedFunctions/userDefinedFunctionName",
+ "name": "userDefinedFunctionName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlUserDefinedFunctions",
+ "properties": {
+ "resource": {
+ "id": "userDefinedFunctionName",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionList.json
new file mode 100644
index 000000000000..bab88b6013c8
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBSqlUserDefinedFunctionList.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1",
+ "databaseName": "databaseName",
+ "containerName": "containerName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlUserDefinedFunctions/userDefinedFunctionName",
+ "name": "testctn",
+ "type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlUserDefinedFunctions",
+ "properties": {
+ "resource": {
+ "id": "testctn",
+ "body": "body",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableCreateUpdate.json
new file mode 100644
index 000000000000..1f3d3cf15070
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableCreateUpdate.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "tableName": "tableName",
+ "createUpdateTableParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "tableName"
+ },
+ "options": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/tables/tableName",
+ "name": "tableName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/tables",
+ "location": "West US",
+ "properties": {
+ "resource": {
+ "id": "tableName"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableDelete.json
new file mode 100644
index 000000000000..942ea0e17b14
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "tableName": "tableName"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableGet.json
new file mode 100644
index 000000000000..19aef684f3a3
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "tableName": "tableName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/tables/tableName",
+ "name": "tableName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/tables",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "tableName",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableList.json
new file mode 100644
index 000000000000..aa670cacddb4
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "accountName": "ddb1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/tables/tableName",
+ "name": "tableName",
+ "type": "Microsoft.DocumentDB/databaseAccounts/tables",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "id": "tableName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableThroughputGet.json
new file mode 100644
index 000000000000..bb407243e0a8
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableThroughputGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "tableName": "tableName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/tables/tableName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableThroughputUpdate.json
new file mode 100644
index 000000000000..80b4630e795e
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/examples/CosmosDBTableThroughputUpdate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "accountName": "ddb1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-12-12",
+ "subscriptionId": "subid",
+ "tableName": "tableName",
+ "updateThroughputParameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/tables/tableName/throughputSettings/default",
+ "name": "default",
+ "type": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "resource": {
+ "throughput": 400,
+ "minimumThroughput": "400",
+ "offerReplacePending": "true",
+ "_rid": "PD5DALigDgw=",
+ "_ts": 1459200611,
+ "_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/cosmos-db/resource-manager/readme.go.md b/specification/cosmos-db/resource-manager/readme.go.md
index 14afc64ea4de..7f941e8877aa 100644
--- a/specification/cosmos-db/resource-manager/readme.go.md
+++ b/specification/cosmos-db/resource-manager/readme.go.md
@@ -13,11 +13,21 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-12
- tag: package-2019-08
- tag: package-2019-08-preview
- tag: package-2015-04
```
+### Tag: package-2019-12 and go
+
+These settings apply only when `--tag=package-2019-12 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-12' && $(go)
+output-folder: $(go-sdk-folder)/services/cosmos-db/mgmt/2019-12-12/$(namespace)
+```
+
### Tag: package-2019-08 and go
These settings apply only when `--tag=package-2019-08 --go` is specified on the command line.
diff --git a/specification/cosmos-db/resource-manager/readme.java.md b/specification/cosmos-db/resource-manager/readme.java.md
index 5b760d6f8cf4..7c4b648f32c1 100644
--- a/specification/cosmos-db/resource-manager/readme.java.md
+++ b/specification/cosmos-db/resource-manager/readme.java.md
@@ -17,11 +17,25 @@ service-name: CosmosDB
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-12
- tag: package-2019-08
- tag: package-2019-08-preview
- tag: package-2015-04
```
+### Tag: package-2019-12 and java
+
+These settings apply only when `--tag=package-2019-12 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2019-12' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.cosmosdb.v2019_12_12
+ output-folder: $(azure-libraries-for-java-folder)/sdk/cosmosdb/mgmt-v2019_12_12
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-08 and java
These settings apply only when `--tag=package-2019-08 --java` is specified on the command line.
diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md
index 4c559e30e903..6aa32cc4a408 100644
--- a/specification/cosmos-db/resource-manager/readme.md
+++ b/specification/cosmos-db/resource-manager/readme.md
@@ -27,7 +27,18 @@ These are the global settings for the Cosmos-DB API.
``` yaml
title: CosmosDBManagementClient
openapi-type: arm
-tag: package-2019-08-preview
+tag: package-2019-12
+```
+
+### Tag: package-2019-12
+
+These settings apply only when `--tag=package-2019-12` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-12'
+input-file:
+- Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json
+- Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
+- Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
```
### Tag: package-2019-08
@@ -212,6 +223,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json
- $(this-folder)/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
- $(this-folder)/Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
- $(this-folder)/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
From 97789cf97a176a8cc4231080241770576ffe4bab Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Wed, 8 Jan 2020 01:19:09 +0000
Subject: [PATCH 177/469] regenerated all-api-versions
---
specification/cosmos-db/resource-manager/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md
index 6aa32cc4a408..c6b3020e2a6b 100644
--- a/specification/cosmos-db/resource-manager/readme.md
+++ b/specification/cosmos-db/resource-manager/readme.md
@@ -224,9 +224,9 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json
- - $(this-folder)/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
- $(this-folder)/Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
- $(this-folder)/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
+ - $(this-folder)/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
- $(this-folder)/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
- $(this-folder)/Microsoft.DocumentDB/stable/2014-04-01/cosmos-db.json
- $(this-folder)/Microsoft.DocumentDB/stable/2015-11-06/cosmos-db.json
From 4aad8caa899d7fcedfb526456895cff43f21ae53 Mon Sep 17 00:00:00 2001
From: wenjlu-lgy <51814679+wenjlu-lgy@users.noreply.github.com>
Date: Wed, 8 Jan 2020 10:00:40 +0800
Subject: [PATCH 178/469] Fix rp cop (#8034)
---
.../preview/2015-12-01/acquisitions.json | 170 -----
.../preview/2015-12-01/blobServices.json | 245 -------
.../preview/2015-12-01/containers.json | 449 ------------
.../examples/Acquisitions/List.json | 14 -
.../2015-12-01/examples/BlobService/Get.json | 44 --
.../BlobService/ListMetricDefinitions.json | 348 ----------
.../examples/BlobService/ListMetrics.json | 386 -----------
.../examples/Containers/CancelMigration.json | 38 -
.../2015-12-01/examples/Containers/List.json | 109 ---
.../Containers/ListDestinationShares.json | 15 -
.../examples/Containers/Migrate.json | 42 --
.../examples/Containers/MigrationStatus.json | 25 -
.../2015-12-01/examples/Farms/Create.json | 71 --
.../2015-12-01/examples/Farms/Get.json | 67 --
.../Farms/GetGarbageCollectionState.json | 15 -
.../2015-12-01/examples/Farms/List.json | 69 --
.../examples/Farms/ListMetricDefinitions.json | 151 ----
.../examples/Farms/ListMetrics.json | 239 -------
.../Farms/StartGarbageCollection.json | 12 -
.../2015-12-01/examples/Farms/Update.json | 120 ----
.../2015-12-01/examples/Operations/List.json | 12 -
.../2015-12-01/examples/QueueService/Get.json | 41 --
.../QueueService/ListMetricDefinitions.json | 282 --------
.../examples/QueueService/ListMetrics.json | 324 ---------
.../examples/Quotas/CreateOrUpdate.json | 30 -
.../2015-12-01/examples/Quotas/Delete.json | 13 -
.../2015-12-01/examples/Quotas/Get.json | 24 -
.../2015-12-01/examples/Quotas/List.json | 27 -
.../2015-12-01/examples/Shares/Get.json | 28 -
.../2015-12-01/examples/Shares/List.json | 29 -
.../Shares/ListMetricDefinitions.json | 108 ---
.../examples/Shares/ListMetrics.json | 218 ------
.../examples/StorageAccounts/Get.json | 43 --
.../examples/StorageAccounts/List.json | 242 -------
.../examples/StorageAccounts/Synchronize.json | 6 -
.../StorageAccounts/SynchronizeAll.json | 6 -
.../examples/StorageAccounts/Undelete.json | 13 -
.../2015-12-01/examples/TableService/Get.json | 41 --
.../TableService/ListMetricDefinitions.json | 502 --------------
.../examples/TableService/ListMetrics.json | 434 ------------
.../preview/2015-12-01/farms.json | 656 ------------------
.../preview/2015-12-01/queueServices.json | 207 ------
.../preview/2015-12-01/quotas.json | 263 -------
.../preview/2015-12-01/shares.json | 278 --------
.../preview/2015-12-01/storage.json | 570 ---------------
.../preview/2015-12-01/storageaccounts.json | 441 ------------
.../preview/2015-12-01/tableServices.json | 207 ------
.../examples/AsyncOperations/Get.json | 13 +
.../examples/StorageServices/Get.json | 17 +
.../StorageServices/ListResourceGroup.json | 23 +
.../StorageServices/ListSubscription.json | 32 +
.../examples/StorageServices/Put.json | 22 +
.../preview/2019-08-08/storage.json | 361 +++++++++-
.../preview/2019-08-08/storageaccounts.json | 6 +-
.../resource-manager/storage/readme.md | 27 -
55 files changed, 470 insertions(+), 7705 deletions(-)
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/acquisitions.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/blobServices.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/containers.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Acquisitions/List.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/Get.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/ListMetricDefinitions.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/ListMetrics.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/CancelMigration.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/List.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/ListDestinationShares.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/Migrate.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/MigrationStatus.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Create.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Get.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/GetGarbageCollectionState.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/List.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/ListMetricDefinitions.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/ListMetrics.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/StartGarbageCollection.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Update.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Operations/List.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/Get.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/ListMetricDefinitions.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/ListMetrics.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/CreateOrUpdate.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/Delete.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/Get.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/List.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/Get.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/List.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/ListMetricDefinitions.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/ListMetrics.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Get.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/List.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Synchronize.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/SynchronizeAll.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Undelete.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/Get.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/ListMetricDefinitions.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/ListMetrics.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/farms.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/queueServices.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/quotas.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/shares.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/storage.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/storageaccounts.json
delete mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/tableServices.json
create mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/AsyncOperations/Get.json
create mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/Get.json
create mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/ListResourceGroup.json
create mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/ListSubscription.json
create mode 100644 specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/Put.json
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/acquisitions.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/acquisitions.json
deleted file mode 100644
index 550b4395dffc..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/acquisitions.json
+++ /dev/null
@@ -1,170 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/acquisitions": {
- "get": {
- "x-ms-examples": {
- "Returns a list of page BLOB acquisitions.": {
- "$ref": "./examples/Acquisitions/List.json"
- }
- },
- "tags": [
- "Acquisitions"
- ],
- "operationId": "Acquisitions_List",
- "description": "Returns a list of BLOB acquisitions.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "storage.json#/parameters/FilterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of acquisitions has been returned.",
- "schema": {
- "$ref": "#/definitions/AcquisitionList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm cannot be found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- }
- },
- "definitions": {
- "AcquisitionStatus": {
- "description": "The status of page BLOB acquisition.",
- "type": "string",
- "enum": [
- "InProgress",
- "Success",
- "Failed"
- ],
- "x-ms-enum": {
- "name": "AcquisitionStatus",
- "modelAsString": true
- }
- },
- "AcquisitionProperties": {
- "description": "The Properties of page BLOB acquisition.",
- "type": "object",
- "properties": {
- "filePath": {
- "description": "The file path of the page BLOB file on storage cluster.",
- "type": "string",
- "readOnly": true
- },
- "maximumblobsize": {
- "description": "The maximum size of the page BLOB.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "status": {
- "description": "The status of the page BLOB acquisition.",
- "$ref": "#/definitions/AcquisitionStatus",
- "readOnly": true
- },
- "susbcriptionid": {
- "description": "ID of the subscription associated with the page BLOB.",
- "type": "string",
- "readOnly": true
- },
- "storageaccount": {
- "description": "The storage account that holds the page BLOB.",
- "type": "string",
- "readOnly": true
- },
- "container": {
- "description": "The container associated with the page BLOB.",
- "type": "string",
- "readOnly": true
- },
- "blob": {
- "description": "The name of the page BLOB.",
- "type": "string",
- "readOnly": true
- },
- "acquisitionid": {
- "description": "The ID of page BLOB acquisition.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "Acquisition": {
- "description": "The acquisition of the page BLOB.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "The properties of the page blob acquisition.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AcquisitionProperties",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- },
- "AcquisitionList": {
- "description": "The list of page BLOB acquisitions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Acquisition"
- }
- }
- },
- "parameters": {},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/blobServices.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/blobServices.json
deleted file mode 100644
index 519ef48fa783..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/blobServices.json
+++ /dev/null
@@ -1,245 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/blobservices/{serviceType}": {
- "get": {
- "x-ms-examples": {
- "Returns the BLOB service.": {
- "$ref": "./examples/BlobService/Get.json"
- }
- },
- "tags": [
- "BlobServices"
- ],
- "operationId": "BlobServices_Get",
- "description": "Returns the BLOB service.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The BLOB service has been returned.",
- "schema": {
- "$ref": "#/definitions/BlobService"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/blobservices/{serviceType}/metricdefinitions": {
- "get": {
- "x-ms-examples": {
- "Returns the list of metric definitions for BLOB service.": {
- "$ref": "./examples/BlobService/ListMetricDefinitions.json"
- }
- },
- "tags": [
- "BlobServices"
- ],
- "operationId": "BlobServices_ListMetricDefinitions",
- "description": "Returns the list of metric definitions for BLOB service.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metric definitions for the BLOB service has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricDefinitionList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/blobservices/{serviceType}/metrics": {
- "get": {
- "x-ms-examples": {
- "Returns a list of metrics for BLOB service.": {
- "$ref": "./examples/BlobService/ListMetrics.json"
- }
- },
- "tags": [
- "BlobServices"
- ],
- "operationId": "BlobServices_ListMetrics",
- "description": "Returns a list of metrics for BLOB service.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metrics has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "BlobServiceWritableSettings": {
- "description": "Settings of BLOB service.",
- "type": "object",
- "properties": {
- "blobSvcContainerGcInterval": {
- "description": "The interval, in seconds, of container garbage collection.",
- "type": "integer",
- "format": "int32",
- "readOnly": true
- },
- "blobSvcShallowGcInterval": {
- "description": "The interval ,in seconds, of shallow garbage collection.",
- "type": "integer",
- "format": "int32",
- "readOnly": true
- },
- "blobSvcStreamMapMinContainerOccupancyPercent": {
- "description": "The minimal container occupancy percent for stream mapping.",
- "type": "integer",
- "format": "int32",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/WritableServiceSettings"
- }
- ]
- },
- "BlobServiceSettings": {
- "description": "Blob service settings.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/BlobServiceWritableSettings"
- }
- ]
- },
- "BlobServiceProperties": {
- "description": "Blob service properties.",
- "type": "object",
- "properties": {
- "settings": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/BlobServiceSettings",
- "description": "Blob service settings.",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Service"
- }
- ]
- },
- "BlobService": {
- "description": "The BLOB service.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Blob service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/BlobServiceProperties",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- }
- },
- "parameters": {},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/containers.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/containers.json
deleted file mode 100644
index 2e39b9862f23..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/containers.json
+++ /dev/null
@@ -1,449 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/shares/operationresults/{operationId}": {
- "post": {
- "x-ms-examples": {
- "Cancel a container migration job.": {
- "$ref": "./examples/Containers/CancelMigration.json"
- }
- },
- "tags": [
- "Containers"
- ],
- "operationId": "Containers_CancelMigration",
- "description": "Cancel a container migration job.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/OperationIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Operation has been accepted and processed",
- "schema": {
- "$ref": "#/definitions/MigrationResult"
- }
- },
- "202": {
- "description": "ACCEPTED - Operation has been accepted will be processed asynchronously",
- "schema": {
- "$ref": "#/definitions/MigrationResult"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "x-ms-examples": {
- "Returns the status of a container migration job.": {
- "$ref": "./examples/Containers/MigrationStatus.json"
- }
- },
- "tags": [
- "Containers"
- ],
- "operationId": "Containers_MigrationStatus",
- "description": "Returns the status of a container migration job.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/OperationIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Operation has been accepted and processed",
- "schema": {
- "$ref": "#/definitions/MigrationResult"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/shares/{shareName}/containers": {
- "get": {
- "x-ms-examples": {
- "Returns the list of containers which can be migrated in the specified share.": {
- "$ref": "./examples/Containers/List.json"
- }
- },
- "tags": [
- "Containers"
- ],
- "operationId": "Containers_List",
- "description": "Returns the list of containers which can be migrated in the specified share.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ShareNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MigrationIntentParameter"
- },
- {
- "$ref": "#/parameters/MaxCountParameter"
- },
- {
- "$ref": "#/parameters/StartIndexParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of containers has been returned.",
- "schema": {
- "$ref": "#/definitions/ContainerList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm or share was not found."
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/shares/{shareName}/destinationshares": {
- "get": {
- "x-ms-examples": {
- "Returns a list of destination shares that the system considers as best candidates for migration.": {
- "$ref": "./examples/Containers/ListDestinationShares.json"
- }
- },
- "tags": [
- "Containers"
- ],
- "operationId": "Containers_ListDestinationShares",
- "description": "Returns a list of destination shares that the system considers as best candidates for migration.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ShareNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of shares has been returned.",
- "schema": {
- "$ref": "shares.json#/definitions/ShareList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm or share was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/shares/{shareName}/migrate": {
- "post": {
- "x-ms-examples": {
- "Starts a container migration job to migrate containers to the specified destination share.": {
- "$ref": "./examples/Containers/Migrate.json"
- }
- },
- "tags": [
- "Containers"
- ],
- "operationId": "Containers_Migrate",
- "description": "Starts a container migration job to migrate containers to the specified destination share.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ShareNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MigrationParameterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Container has been migrated",
- "schema": {
- "$ref": "#/definitions/MigrationResult"
- }
- },
- "202": {
- "description": "ACCEPTED -- Operation accepted and will be performed asynchronously",
- "schema": {
- "$ref": "#/definitions/MigrationResult"
- }
- }
- },
- "x-ms-long-running-operation": true
- }
- }
- },
- "definitions": {
- "Container": {
- "description": "Container properties.",
- "type": "object",
- "properties": {
- "sharename": {
- "description": "The name of the share where the container locates.",
- "type": "string",
- "readOnly": true
- },
- "accountname": {
- "description": "The name of storage account where the container locates.",
- "type": "string",
- "readOnly": true
- },
- "containername": {
- "description": "Container name.",
- "type": "string",
- "readOnly": true
- },
- "containerid": {
- "description": "The container ID.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "accountid": {
- "description": "The ID of the storage account.",
- "type": "string",
- "readOnly": true
- },
- "usedBytesInPrimaryVolume": {
- "description": "The used space, in bytes, of the container in the primary volume.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "containerState": {
- "description": "The current state of the container.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ContainerList": {
- "description": "List of containers.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Container"
- }
- },
- "MigrationResult": {
- "description": "The result of the container migration.",
- "type": "object",
- "properties": {
- "jobId": {
- "description": "The migration job ID.",
- "type": "string",
- "readOnly": true
- },
- "sourceShareName": {
- "description": "The name of the source storage share.",
- "type": "string",
- "readOnly": true
- },
- "storageAccountName": {
- "description": "The storage account name.",
- "type": "string",
- "readOnly": true
- },
- "containerName": {
- "description": "The name of the container to be migrated.",
- "type": "string",
- "readOnly": true
- },
- "destinationShareName": {
- "description": "The name of the destination storage share.",
- "type": "string",
- "readOnly": true
- },
- "migrationStatus": {
- "description": "The migration status.",
- "$ref": "#/definitions/MigrationState",
- "readOnly": true
- },
- "subEntitiesCompleted": {
- "description": "The number of entities which have been migrated.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "subEntitiesFailed": {
- "description": "The number of entities which failed in migration.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "failureReason": {
- "description": "The migration failure reason.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "MigrationState": {
- "type": "string",
- "enum": [
- "Active",
- "Paused",
- "Deleted",
- "Rollback",
- "Complete",
- "Canceled",
- "Failed",
- "All"
- ],
- "x-ms-enum": {
- "name": "MigrationState",
- "modelAsString": true
- }
- },
- "MigrationParameters": {
- "description": "Parameters of container migration job.",
- "type": "object",
- "properties": {
- "storageAccountName": {
- "type": "string",
- "description": "The name of the storage account where the container locates."
- },
- "containerName": {
- "type": "string",
- "description": "The name of the container to be migrated."
- },
- "destinationShareUncPath": {
- "type": "string",
- "description": "The UNC path of the destination share for migration."
- }
- },
- "required": [
- "storageAccountName",
- "containerName",
- "destinationShareUncPath"
- ]
- }
- },
- "parameters": {
- "MigrationIntentParameter": {
- "description": "The container migration intent.",
- "name": "Intent",
- "in": "query",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "MaxCountParameter": {
- "description": "The maximum number of containers.",
- "name": "MaxCount",
- "in": "query",
- "type": "integer",
- "format": "int32",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "StartIndexParameter": {
- "description": "The starting index the resource provider uses.",
- "name": "StartIndex",
- "in": "query",
- "type": "integer",
- "format": "int32",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "MigrationParameterParameter": {
- "description": "The parameters of container migration job.",
- "name": "migrationParameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/MigrationParameters"
- },
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Acquisitions/List.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Acquisitions/List.json
deleted file mode 100644
index 7c6d91a23a52..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Acquisitions/List.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": []
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/Get.json
deleted file mode 100644
index aff66c3516b5..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/Get.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/blobservices/default",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af/default",
- "type": "Microsoft.Storage.Admin/farms/blobservices",
- "location": "local",
- "properties": {
- "settings": {
- "frontEndHttpListenPort": 11000,
- "frontEndHttpsListenPort": 11100,
- "frontEndCallbackThreadsCount": 1600,
- "frontEndCpuBasedKeepAliveThrottlingEnabled": true,
- "frontEndCpuBasedKeepAliveThrottlingPercentCpuThreshold": 90.0,
- "frontEndCpuBasedKeepAliveThrottlingPercentRequestsToThrottle": 2.0,
- "frontEndCpuBasedKeepAliveThrottlingCpuMonitorIntervalInSeconds": 5,
- "frontEndMemoryThrottlingEnabled": true,
- "frontEndMaxMillisecondsBetweenMemorySamples": 10000,
- "frontEndMemoryThrottleThresholdSettings": "5,100,0;7,50,0;10,25,0;15,0,25;",
- "frontEndMinThreadPoolThreads": 1850,
- "frontEndThreadPoolBasedKeepAliveIOCompletionThreshold": 1500,
- "frontEndThreadPoolBasedKeepAliveWorkerThreadThreshold": 1500,
- "frontEndThreadPoolBasedKeepAliveMonitorIntervalInSeconds": 30,
- "frontEndThreadPoolBasedKeepAlivePercentage": 10.0,
- "frontEndUseSlaTimeInAvailability": true,
- "blobSvcContainerGcInterval": 3600000,
- "blobSvcShallowGcInterval": 3600000,
- "blobSvcStreamMapMinContainerOccupancyPercent": 80
- },
- "version": "1.0"
- }
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/ListMetricDefinitions.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/ListMetricDefinitions.json
deleted file mode 100644
index 9f0a7bc3caa6..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/ListMetricDefinitions.json
+++ /dev/null
@@ -1,348 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (BlobService)",
- "value": "E2ELatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (BlobService)",
- "value": "ServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Availability (BlobService)",
- "value": "Availability"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Total successful requests (BlobService)",
- "value": "SuccessfulRequests"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Total requests (BlobService)",
- "value": "TotalRequests"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Ingress (BlobService)",
- "value": "Ingress"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Egress (BlobService)",
- "value": "Egress"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Requests per second (BlobFrontEnd)",
- "value": "BlobFrontEndRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (BlobFrontEnd)",
- "value": "BlobFrontEndE2ELatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (BlobFrontEnd)",
- "value": "BlobFrontEndServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Concurrent requests (BlobFrontEnd)",
- "value": "BlobFrontEndConcurrentRequests"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "The count of pending requests in the request queue (BlobFrontEnd)",
- "value": "BlobFrontEndRequestQueueLength"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Processor time percentage (BlobFrontEnd)",
- "value": "BlobFrontEndProcessorTime"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Requests per second (BlobServer)",
- "value": "BlobServerRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (BlobServer)",
- "value": "BlobServerServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/ListMetrics.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/ListMetrics.json
deleted file mode 100644
index 294e21053efb..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/BlobService/ListMetrics.json
+++ /dev/null
@@ -1,386 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Requests per second (BlobFrontEnd)",
- "value": "BlobFrontEndRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "End-to-end latency (BlobFrontEnd)",
- "value": "BlobFrontEndE2ELatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Server latency (BlobFrontEnd)",
- "value": "BlobFrontEndServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Concurrent requests (BlobFrontEnd)",
- "value": "BlobFrontEndConcurrentRequests"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "The count of pending requests in the request queue (BlobFrontEnd)",
- "value": "BlobFrontEndRequestQueueLength"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Processor time percentage (BlobFrontEnd)",
- "value": "BlobFrontEndProcessorTime"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Requests per second (BlobServer)",
- "value": "BlobServerRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Server latency (BlobServer)",
- "value": "BlobServerServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 3.37839472205425,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 3.23720755548253,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 3.23283110690318,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 3.24997418164272,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 3.25500401782453,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 3.24891968824928,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 3.23743272199632,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (BlobService)",
- "value": "E2ELatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 3.00302941330881,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 2.88515644890154,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 2.8953629314371,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 2.90971362786012,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 2.9197896120973,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 2.90887585146789,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 2.89673016247954,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Server latency (BlobService)",
- "value": "ServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 100.0,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Availability (BlobService)",
- "value": "Availability"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 514291.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 553823.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 550283.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 590665.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 602316.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 592653.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 592690.0
- }
- ],
- "name": {
- "localizedValue": "Total successful requests (BlobService)",
- "value": "SuccessfulRequests"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 525915.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 565447.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 561886.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 602269.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 613916.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 604253.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 604290.0
- }
- ],
- "name": {
- "localizedValue": "Total requests (BlobService)",
- "value": "TotalRequests"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 1368310311.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 1404079959.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 1400057193.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 1445879884.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 1475166639.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 1463924092.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 1468371175.0
- }
- ],
- "name": {
- "localizedValue": "Ingress (BlobService)",
- "value": "Ingress"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:02.3087124Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 1042768756.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 1140164863.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 902184482.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 1173363120.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 1184912696.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 1175637645.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 1175858765.0
- }
- ],
- "name": {
- "localizedValue": "Egress (BlobService)",
- "value": "Egress"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/CancelMigration.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/CancelMigration.json
deleted file mode 100644
index 17f7173515c8..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/CancelMigration.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "share": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "operationId": "3ada6328-89ae-4263-8bfd-b76504a2bf66",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "3ada6328-89ae-4263-8bfd-b76504a2bf66",
- "sourceShareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "storageAccountName": "StorageAccountName1",
- "containerName": "ContainerName1",
- "destinationShareName": "\\\\192.168.1.1\\DestinationShare",
- "migrationStatus": "Canceled",
- "subEntitiesCompleted": 165,
- "subEntitiesFailed": 5,
- "failureReason": ""
- }
- },
- "202": {
- "body": {
- "jobId": "3ada6328-89ae-4263-8bfd-b76504a2bf66",
- "sourceShareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "storageAccountName": "StorageAccountName1",
- "containerName": "ContainerName1",
- "destinationShareName": "\\\\192.168.1.1\\DestinationShare",
- "migrationStatus": "Rollback",
- "subEntitiesCompleted": 165,
- "subEntitiesFailed": 5,
- "failureReason": ""
- }
- }
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/List.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/List.json
deleted file mode 100644
index 1cd17ea41735..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/List.json
+++ /dev/null
@@ -1,109 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "shareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "Intent": "Migration",
- "StartIndex": 0,
- "MaxCount": 1000,
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": [
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "srphealthaccount",
- "containername": "azurestackhealthrestrequestprocessed",
- "containerid": 22,
- "accountid": "3fe86317cc0d40e0a0d4833641a64fdb",
- "usedBytesInPrimaryVolume": 2551603200,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "srphealthaccount",
- "containername": "azurestackhealthrestrequestaccept",
- "containerid": 23,
- "accountid": "3fe86317cc0d40e0a0d4833641a64fdb",
- "usedBytesInPrimaryVolume": 2282553344,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "frphealthaccount",
- "containername": "azurestackhealthazssecurity",
- "containerid": 6,
- "accountid": "0a6b4f6b1de14cc08aa1fefadcc481eb",
- "usedBytesInPrimaryVolume": 880074752,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "srphealthaccount",
- "containername": "azurestackhealthtsqueueresponse",
- "containerid": 30,
- "accountid": "3fe86317cc0d40e0a0d4833641a64fdb",
- "usedBytesInPrimaryVolume": 560037888,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "srphealthaccount",
- "containername": "azurestackhealthtsqueuerequest",
- "containerid": 26,
- "accountid": "3fe86317cc0d40e0a0d4833641a64fdb",
- "usedBytesInPrimaryVolume": 541351936,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "hrphealthaccount",
- "containername": "azurestackhealthcentralmaeventtable",
- "containerid": 37,
- "accountid": "c2a6bdd19e404154afe27e2637e64ee1",
- "usedBytesInPrimaryVolume": 456925184,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "srphealthaccount",
- "containername": "azurestackhealthblobsvcrpcverbose",
- "containerid": 17,
- "accountid": "3fe86317cc0d40e0a0d4833641a64fdb",
- "usedBytesInPrimaryVolume": 343273472,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "frphealthaccount",
- "containername": "azurestackhealthsystemperfcounter60s",
- "containerid": 7,
- "accountid": "0a6b4f6b1de14cc08aa1fefadcc481eb",
- "usedBytesInPrimaryVolume": 208580608,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "srphealthaccount",
- "containername": "azurestackhealthtstableresponse",
- "containerid": 31,
- "accountid": "3fe86317cc0d40e0a0d4833641a64fdb",
- "usedBytesInPrimaryVolume": 86974464,
- "containerState": "Active"
- },
- {
- "sharename": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "accountname": "srphealthaccount",
- "containername": "azurestackhealthtstablerequest",
- "containerid": 28,
- "accountid": "3fe86317cc0d40e0a0d4833641a64fdb",
- "usedBytesInPrimaryVolume": 85082112,
- "containerState": "Active"
- }
- ]
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/ListDestinationShares.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/ListDestinationShares.json
deleted file mode 100644
index 3aad9bdbd061..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/ListDestinationShares.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "shareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": []
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/Migrate.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/Migrate.json
deleted file mode 100644
index d342940f86e3..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/Migrate.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "shareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "api-version": "2015-12-01-preview",
- "migrationParameters": {
- "storageAccountName": "StorageAccountName1",
- "containerName": "ContainerName1",
- "destinationShareUncPath": "\\\\192.168.1.1\\DestinationShare"
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "3ada6328-89ae-4263-8bfd-b76504a2bf66",
- "sourceShareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "storageAccountName": "StorageAccountName1",
- "containerName": "ContainerName1",
- "destinationShareName": "\\\\192.168.1.1\\DestinationShare",
- "migrationStatus": "Complete",
- "subEntitiesCompleted": 165,
- "subEntitiesFailed": 5,
- "failureReason": ""
- }
- },
- "202": {
- "body": {
- "jobId": "3ada6328-89ae-4263-8bfd-b76504a2bf66",
- "sourceShareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "storageAccountName": "StorageAccountName1",
- "containerName": "ContainerName1",
- "destinationShareName": "\\\\192.168.1.1\\DestinationShare",
- "migrationStatus": "Active",
- "subEntitiesCompleted": 165,
- "subEntitiesFailed": 5,
- "failureReason": ""
- }
- }
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/MigrationStatus.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/MigrationStatus.json
deleted file mode 100644
index d69c1287ff83..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Containers/MigrationStatus.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "share": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "operationId": "3ada6328-89ae-4263-8bfd-b76504a2bf66",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "3ada6328-89ae-4263-8bfd-b76504a2bf66",
- "sourceShareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "storageAccountName": "StorageAccountName1",
- "containerName": "ContainerName1",
- "destinationShareName": "\\192.168.1.1",
- "migrationStatus": "Active",
- "subEntitiesCompleted": 165,
- "subEntitiesFailed": 5,
- "failureReason": ""
- }
- }
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Create.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Create.json
deleted file mode 100644
index 841aa8f70f35..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Create.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview",
- "farmObject": {
- "properties": {
- "settingAccessString": "local"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "type": "Microsoft.Storage.Admin/farms",
- "location": "local",
- "properties": {
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "version": "2015-12-01-preview",
- "settingsStore": "AzS-ACS01.azurestack.local:19000",
- "settings": {
- "settingsPollingIntervalInSecond": 60,
- "retentionPeriodForDeletedStorageAccountsInDays": 0,
- "hostStyleHttpPort": 0,
- "hostStyleHttpsPort": 0,
- "corsAllowedOriginsList": "https://adminportal.local.azurestack.external/;https://adminportal.local.azurestack.external:12649/;https://portal.local.azurestack.external/;https://portal.local.azurestack.external:12649/",
- "dataCenterUriHostSuffixes": "local.azurestack.external",
- "bandwidthThrottleIsEnabled": false,
- "usageCollectionIntervalInSeconds": 10,
- "feedbackRefreshIntervalInSeconds": 10,
- "numberOfAccountsToSync": 20,
- "defaultThrottleProbabilityDecayIntervalInSeconds": 240,
- "gracePeriodForFullThrottlingInRefreshIntervals": 3,
- "gracePeriodMaxThrottleProbability": 0.9,
- "overallRequestThresholdInTps": 10000.0,
- "defaultRequestThresholdInTps": 200.0,
- "minimumRequestThresholdInTps": 1.0,
- "toleranceFactorForTps": 2.0,
- "overallIngressThresholdInGbps": 25.0,
- "defaultIngressThresholdInGbps": 2.0,
- "minimumIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIngress": 2.0,
- "overallIntranetIngressThresholdInGbps": 25.0,
- "defaultIntranetIngressThresholdInGbps": 2.0,
- "minimumIntranetIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetIngress": 2.0,
- "overallEgressThresholdInGbps": 30.0,
- "defaultEgressThresholdInGbps": 3.0,
- "minimumEgressThresholdInGbps": 0.0008,
- "toleranceFactorForEgress": 2.0,
- "overallIntranetEgressThresholdInGbps": 30.0,
- "defaultIntranetEgressThresholdInGbps": 3.0,
- "minimumIntranetEgressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetEgress": 2.0,
- "overallTotalIngressThresholdInGbps": 50.0,
- "defaultTotalIngressThresholdInGbps": 5.0,
- "minimumTotalIngressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalIngress": 2.0,
- "overallTotalEgressThresholdInGbps": 50.0,
- "defaultTotalEgressThresholdInGbps": 5.0,
- "minimumTotalEgressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalEgress": 2.0
- }
- }
- }
- }
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Get.json
deleted file mode 100644
index 6816ce27792f..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Get.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "type": "Microsoft.Storage.Admin/farms",
- "location": "local",
- "properties": {
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "version": "2015-12-01-preview",
- "settingsStore": "AzS-ACS01.azurestack.local:19000",
- "settings": {
- "settingsPollingIntervalInSecond": 60,
- "retentionPeriodForDeletedStorageAccountsInDays": 0,
- "hostStyleHttpPort": 0,
- "hostStyleHttpsPort": 0,
- "corsAllowedOriginsList": "https://adminportal.local.azurestack.external/;https://adminportal.local.azurestack.external:12649/;https://portal.local.azurestack.external/;https://portal.local.azurestack.external:12649/",
- "dataCenterUriHostSuffixes": "local.azurestack.external",
- "bandwidthThrottleIsEnabled": false,
- "usageCollectionIntervalInSeconds": 10,
- "feedbackRefreshIntervalInSeconds": 10,
- "numberOfAccountsToSync": 20,
- "defaultThrottleProbabilityDecayIntervalInSeconds": 240,
- "gracePeriodForFullThrottlingInRefreshIntervals": 3,
- "gracePeriodMaxThrottleProbability": 0.9,
- "overallRequestThresholdInTps": 10000.0,
- "defaultRequestThresholdInTps": 200.0,
- "minimumRequestThresholdInTps": 1.0,
- "toleranceFactorForTps": 2.0,
- "overallIngressThresholdInGbps": 25.0,
- "defaultIngressThresholdInGbps": 2.0,
- "minimumIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIngress": 2.0,
- "overallIntranetIngressThresholdInGbps": 25.0,
- "defaultIntranetIngressThresholdInGbps": 2.0,
- "minimumIntranetIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetIngress": 2.0,
- "overallEgressThresholdInGbps": 30.0,
- "defaultEgressThresholdInGbps": 3.0,
- "minimumEgressThresholdInGbps": 0.0008,
- "toleranceFactorForEgress": 2.0,
- "overallIntranetEgressThresholdInGbps": 30.0,
- "defaultIntranetEgressThresholdInGbps": 3.0,
- "minimumIntranetEgressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetEgress": 2.0,
- "overallTotalIngressThresholdInGbps": 50.0,
- "defaultTotalIngressThresholdInGbps": 5.0,
- "minimumTotalIngressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalIngress": 2.0,
- "overallTotalEgressThresholdInGbps": 50.0,
- "defaultTotalEgressThresholdInGbps": 5.0,
- "minimumTotalEgressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalEgress": 2.0
- }
- }
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/GetGarbageCollectionState.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/GetGarbageCollectionState.json
deleted file mode 100644
index 21fb040c2211..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/GetGarbageCollectionState.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "operationId": "5ad334a7-4f51-141a-b52f-39a7df8d7033",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": "Failed?"
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/List.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/List.json
deleted file mode 100644
index 4eb058df2035..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/List.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "type": "Microsoft.Storage.Admin/farms",
- "location": "local",
- "properties": {
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "version": "2015-12-01-preview",
- "settingsStore": "AzS-ACS01.azurestack.local:19000",
- "settings": {
- "settingsPollingIntervalInSecond": 60,
- "retentionPeriodForDeletedStorageAccountsInDays": 0,
- "hostStyleHttpPort": 0,
- "hostStyleHttpsPort": 0,
- "corsAllowedOriginsList": "https://adminportal.local.azurestack.external/;https://adminportal.local.azurestack.external:12649/;https://portal.local.azurestack.external/;https://portal.local.azurestack.external:12649/",
- "dataCenterUriHostSuffixes": "local.azurestack.external",
- "bandwidthThrottleIsEnabled": false,
- "usageCollectionIntervalInSeconds": 10,
- "feedbackRefreshIntervalInSeconds": 10,
- "numberOfAccountsToSync": 20,
- "defaultThrottleProbabilityDecayIntervalInSeconds": 240,
- "gracePeriodForFullThrottlingInRefreshIntervals": 3,
- "gracePeriodMaxThrottleProbability": 0.9,
- "overallRequestThresholdInTps": 10000.0,
- "defaultRequestThresholdInTps": 200.0,
- "minimumRequestThresholdInTps": 1.0,
- "toleranceFactorForTps": 2.0,
- "overallIngressThresholdInGbps": 25.0,
- "defaultIngressThresholdInGbps": 2.0,
- "minimumIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIngress": 2.0,
- "overallIntranetIngressThresholdInGbps": 25.0,
- "defaultIntranetIngressThresholdInGbps": 2.0,
- "minimumIntranetIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetIngress": 2.0,
- "overallEgressThresholdInGbps": 30.0,
- "defaultEgressThresholdInGbps": 3.0,
- "minimumEgressThresholdInGbps": 0.0008,
- "toleranceFactorForEgress": 2.0,
- "overallIntranetEgressThresholdInGbps": 30.0,
- "defaultIntranetEgressThresholdInGbps": 3.0,
- "minimumIntranetEgressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetEgress": 2.0,
- "overallTotalIngressThresholdInGbps": 50.0,
- "defaultTotalIngressThresholdInGbps": 5.0,
- "minimumTotalIngressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalIngress": 2.0,
- "overallTotalEgressThresholdInGbps": 50.0,
- "defaultTotalEgressThresholdInGbps": 5.0,
- "minimumTotalEgressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalEgress": 2.0
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/ListMetricDefinitions.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/ListMetricDefinitions.json
deleted file mode 100644
index b6074badfafd..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/ListMetricDefinitions.json
+++ /dev/null
@@ -1,151 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Processor time percentage",
- "value": "ProcessorTime"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Available memory",
- "value": "AvailableMemory"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Total Capacity",
- "value": "TotalCapacity"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Used Capacity",
- "value": "UsedCapacity"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Free Space",
- "value": "FreeSpace"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Used Capacity Percentage",
- "value": "UsedCapacityPercentage "
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Free Space Percentage",
- "value": "FreeSpacePercentage "
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/ListMetrics.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/ListMetrics.json
deleted file mode 100644
index 0196e9d4b8ae..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/ListMetrics.json
+++ /dev/null
@@ -1,239 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "endTime": "2018-01-30T19:31:03.1837713Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Processor time percentage",
- "value": "ProcessorTime"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:03.1837713Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Available memory",
- "value": "AvailableMemory"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:03.1837713Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Total Capacity",
- "value": "TotalCapacity"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:03.1837713Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 389873692672.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 379637998762.66669,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 369550244352.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 359099803818.66669,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 348343386965.33331,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 338910678186.66669,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 330334962346.66669,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Used Capacity",
- "value": "UsedCapacity"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:03.1837713Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 2338302955520.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 2348538649429.3335,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 2358626403840.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 2369076844373.3335,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 2379833261226.6665,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 2389265970005.3335,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 2397841685845.3335,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Free Space",
- "value": "FreeSpace"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:03.1837713Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 0.14290632277436091,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 0.139154478510128,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 0.13545686075603133,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 0.13162630215189586,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 0.12768358940253569,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 0.12422607546738861,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 0.12108268816302059,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Used Capacity Percentage",
- "value": "UsedCapacityPercentage "
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:03.1837713Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 0.857093677225639,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 0.86084552148987215,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 0.86454313924396864,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 0.86837369784810392,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 0.87231641059746445,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 0.8757739245326116,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 0.87891731183697941,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Free Space Percentage",
- "value": "FreeSpacePercentage "
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/StartGarbageCollection.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/StartGarbageCollection.json
deleted file mode 100644
index b6d7923bdb15..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/StartGarbageCollection.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {},
- "202": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Update.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Update.json
deleted file mode 100644
index 7e548541c6f9..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Farms/Update.json
+++ /dev/null
@@ -1,120 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview",
- "farmObject": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "type": "Microsoft.Storage.Admin/farms",
- "location": "local",
- "properties": {
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "version": "2015-12-01-preview",
- "settingsStore": "AzS-ACS01.azurestack.local:19000",
- "settings": {
- "settingsPollingIntervalInSecond": 60,
- "retentionPeriodForDeletedStorageAccountsInDays": 0,
- "hostStyleHttpPort": 0,
- "hostStyleHttpsPort": 0,
- "corsAllowedOriginsList": "https://adminportal.local.azurestack.external/;https://adminportal.local.azurestack.external:12649/;https://portal.local.azurestack.external/;https://portal.local.azurestack.external:12649/",
- "dataCenterUriHostSuffixes": "local.azurestack.external",
- "bandwidthThrottleIsEnabled": false,
- "usageCollectionIntervalInSeconds": 10,
- "feedbackRefreshIntervalInSeconds": 10,
- "numberOfAccountsToSync": 20,
- "defaultThrottleProbabilityDecayIntervalInSeconds": 240,
- "gracePeriodForFullThrottlingInRefreshIntervals": 3,
- "gracePeriodMaxThrottleProbability": 0.9,
- "overallRequestThresholdInTps": 10000.0,
- "defaultRequestThresholdInTps": 200.0,
- "minimumRequestThresholdInTps": 1.0,
- "toleranceFactorForTps": 2.0,
- "overallIngressThresholdInGbps": 25.0,
- "defaultIngressThresholdInGbps": 2.0,
- "minimumIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIngress": 2.0,
- "overallIntranetIngressThresholdInGbps": 25.0,
- "defaultIntranetIngressThresholdInGbps": 2.0,
- "minimumIntranetIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetIngress": 2.0,
- "overallEgressThresholdInGbps": 30.0,
- "defaultEgressThresholdInGbps": 3.0,
- "minimumEgressThresholdInGbps": 0.0008,
- "toleranceFactorForEgress": 2.0,
- "overallIntranetEgressThresholdInGbps": 30.0,
- "defaultIntranetEgressThresholdInGbps": 3.0,
- "minimumIntranetEgressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetEgress": 2.0,
- "overallTotalIngressThresholdInGbps": 50.0,
- "defaultTotalIngressThresholdInGbps": 5.0,
- "minimumTotalIngressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalIngress": 2.0,
- "overallTotalEgressThresholdInGbps": 50.0,
- "defaultTotalEgressThresholdInGbps": 5.0,
- "minimumTotalEgressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalEgress": 2.0
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "type": "Microsoft.Storage.Admin/farms",
- "location": "local",
- "properties": {
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "version": "2015-12-01-preview",
- "settingsStore": "AzS-ACS01.azurestack.local:19000",
- "settings": {
- "settingsPollingIntervalInSecond": 60,
- "retentionPeriodForDeletedStorageAccountsInDays": 0,
- "hostStyleHttpPort": 0,
- "hostStyleHttpsPort": 0,
- "corsAllowedOriginsList": "https://adminportal.local.azurestack.external/;https://adminportal.local.azurestack.external:12649/;https://portal.local.azurestack.external/;https://portal.local.azurestack.external:12649/",
- "dataCenterUriHostSuffixes": "local.azurestack.external",
- "bandwidthThrottleIsEnabled": false,
- "usageCollectionIntervalInSeconds": 10,
- "feedbackRefreshIntervalInSeconds": 10,
- "numberOfAccountsToSync": 20,
- "defaultThrottleProbabilityDecayIntervalInSeconds": 240,
- "gracePeriodForFullThrottlingInRefreshIntervals": 3,
- "gracePeriodMaxThrottleProbability": 0.9,
- "overallRequestThresholdInTps": 10000.0,
- "defaultRequestThresholdInTps": 200.0,
- "minimumRequestThresholdInTps": 1.0,
- "toleranceFactorForTps": 2.0,
- "overallIngressThresholdInGbps": 25.0,
- "defaultIngressThresholdInGbps": 2.0,
- "minimumIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIngress": 2.0,
- "overallIntranetIngressThresholdInGbps": 25.0,
- "defaultIntranetIngressThresholdInGbps": 2.0,
- "minimumIntranetIngressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetIngress": 2.0,
- "overallEgressThresholdInGbps": 30.0,
- "defaultEgressThresholdInGbps": 3.0,
- "minimumEgressThresholdInGbps": 0.0008,
- "toleranceFactorForEgress": 2.0,
- "overallIntranetEgressThresholdInGbps": 30.0,
- "defaultIntranetEgressThresholdInGbps": 3.0,
- "minimumIntranetEgressThresholdInGbps": 0.0008,
- "toleranceFactorForIntranetEgress": 2.0,
- "overallTotalIngressThresholdInGbps": 50.0,
- "defaultTotalIngressThresholdInGbps": 5.0,
- "minimumTotalIngressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalIngress": 2.0,
- "overallTotalEgressThresholdInGbps": 50.0,
- "defaultTotalEgressThresholdInGbps": 5.0,
- "minimumTotalEgressThresholdInGbps": 0.0008,
- "toleranceFactorForTotalEgress": 2.0
- }
- }
- }
- }
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Operations/List.json
deleted file mode 100644
index 66abbd5596b3..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Operations/List.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "parameters": {
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": []
- }
- }
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/Get.json
deleted file mode 100644
index c2feb10ed55e..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/Get.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/queueservices/default",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af/default",
- "type": "Microsoft.Storage.Admin/farms/queueservices",
- "location": "local",
- "properties": {
- "settings": {
- "frontEndHttpListenPort": 11001,
- "frontEndHttpsListenPort": 11101,
- "frontEndCallbackThreadsCount": 1600,
- "frontEndCpuBasedKeepAliveThrottlingEnabled": true,
- "frontEndCpuBasedKeepAliveThrottlingPercentCpuThreshold": 90.0,
- "frontEndCpuBasedKeepAliveThrottlingPercentRequestsToThrottle": 2.0,
- "frontEndCpuBasedKeepAliveThrottlingCpuMonitorIntervalInSeconds": 5,
- "frontEndMemoryThrottlingEnabled": true,
- "frontEndMaxMillisecondsBetweenMemorySamples": 10000,
- "frontEndMemoryThrottleThresholdSettings": "5,100,0;7,50,0;10,25,0;15,0,25;",
- "frontEndMinThreadPoolThreads": 1850,
- "frontEndThreadPoolBasedKeepAliveIOCompletionThreshold": 1500,
- "frontEndThreadPoolBasedKeepAliveWorkerThreadThreshold": 1500,
- "frontEndThreadPoolBasedKeepAliveMonitorIntervalInSeconds": 30,
- "frontEndThreadPoolBasedKeepAlivePercentage": 10.0,
- "frontEndUseSlaTimeInAvailability": true
- },
- "version": "1.0"
- }
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/ListMetricDefinitions.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/ListMetricDefinitions.json
deleted file mode 100644
index 27b3fa0a8ad8..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/ListMetricDefinitions.json
+++ /dev/null
@@ -1,282 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (QueueService)",
- "value": "E2ELatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (QueueService)",
- "value": "ServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Availability (QueueService)",
- "value": "Availability"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Total requests (QueueService)",
- "value": "TotalRequests"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Ingress (QueueService)",
- "value": "Ingress"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Egress (QueueService)",
- "value": "Egress"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Requests per second (QueueFrontEnd)",
- "value": "QueueFrontEndRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (QueueFrontEnd)",
- "value": "QueueFrontEndE2ELatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (QueueFrontEnd)",
- "value": "QueueFrontEndServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Concurrent requests (QueueFrontEnd)",
- "value": "QueueFrontEndConcurrentRequests"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "The count of pending requests in the request queue (QueueFrontEnd)",
- "value": "QueueFrontEndRequestQueueLength"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Processor time percentage (QueueFrontEnd)",
- "value": "QueueFrontEndProcessorTime"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/ListMetrics.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/ListMetrics.json
deleted file mode 100644
index fc52b57ae9c6..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/QueueService/ListMetrics.json
+++ /dev/null
@@ -1,324 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Requests per second (QueueFrontEnd)",
- "value": "QueueFrontEndRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "End-to-end latency (QueueFrontEnd)",
- "value": "QueueFrontEndE2ELatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Server latency (QueueFrontEnd)",
- "value": "QueueFrontEndServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Concurrent requests (QueueFrontEnd)",
- "value": "QueueFrontEndConcurrentRequests"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "The count of pending requests in the request queue (QueueFrontEnd)",
- "value": "QueueFrontEndRequestQueueLength"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Processor time percentage (QueueFrontEnd)",
- "value": "QueueFrontEndProcessorTime"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 1.88592776264484,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 1.85851217466339,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 1.87040051806059,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 1.90624102793048,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 1.93359342860519,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 1.91756062246845,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 1.90350660188966,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (QueueService)",
- "value": "E2ELatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 1.81003101711863,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 1.78567652998375,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 1.79746391271282,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 1.83270876455636,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 1.85885443391132,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 1.84392369316924,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 1.82936276116956,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Server latency (QueueService)",
- "value": "ServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 100.0,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Availability (QueueService)",
- "value": "Availability"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 709694.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 706686.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 706644.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 707869.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 711097.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 711197.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 713652.0
- }
- ],
- "name": {
- "localizedValue": "Total requests (QueueService)",
- "value": "TotalRequests"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 330187754.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 328237824.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 328220543.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 328897291.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 330626016.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 330693320.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 332315876.0
- }
- ],
- "name": {
- "localizedValue": "Ingress (QueueService)",
- "value": "Ingress"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:24.5345914Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 179169105.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 178217533.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 178211569.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 178640382.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 179836179.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 179870886.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 180647853.0
- }
- ],
- "name": {
- "localizedValue": "Egress (QueueService)",
- "value": "Egress"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/CreateOrUpdate.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/CreateOrUpdate.json
deleted file mode 100644
index 28b75fe77346..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/CreateOrUpdate.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "location": "local",
- "quotaName": "TestCreateQuota",
- "api-version": "2015-12-01-preview",
- "quotaObject": {
- "properties": {
- "numberOfStorageAccounts": 10000,
- "capacityInGb": 1000
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/providers/Microsoft.Storage.Admin/locations/local/quotas/TestCreateQuota",
- "name": "local/TestCreateQuota",
- "type": "Microsoft.Storage.Admin/locations/quotas",
- "location": "local",
- "properties": {
- "numberOfStorageAccounts": 10000,
- "capacityInGb": 1000
- }
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/Delete.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/Delete.json
deleted file mode 100644
index 63701114cbee..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/Delete.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "location": "local",
- "quotaName": "TestCreateQuota",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {},
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/Get.json
deleted file mode 100644
index 6e845afce0db..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/Get.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "location": "local",
- "quotaName": "TestCreateQuota",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/providers/Microsoft.Storage.Admin/locations/local/quotas/TestCreateQuota",
- "name": "local/TestCreateQuota",
- "type": "Microsoft.Storage.Admin/locations/quotas",
- "location": "local",
- "properties": {
- "numberOfStorageAccounts": 20,
- "capacityInGb": 2048
- }
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/List.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/List.json
deleted file mode 100644
index d88b9eb963c7..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Quotas/List.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "location": "local",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/providers/Microsoft.Storage.Admin/locations/local/quotas/TestCreateQuota",
- "name": "local/TestCreateQuota",
- "type": "Microsoft.Storage.Admin/locations/quotas",
- "location": "local",
- "properties": {
- "numberOfStorageAccounts": 20,
- "capacityInGb": 2048
- }
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/Get.json
deleted file mode 100644
index 21044b068cb5..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/Get.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "shareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/shares/||SU1FileServer.azurestack.local|SU1_ObjStore",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af/||SU1FileServer.azurestack.local|SU1_ObjStore",
- "type": "Microsoft.Storage.Admin/farms/shares",
- "location": "local",
- "properties": {
- "shareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "uncPath": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "totalCapacity": 2728176648192,
- "usedCapacity": 400509059072,
- "freeCapacity": 2327667589120,
- "healthStatus": "Healthy"
- }
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/List.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/List.json
deleted file mode 100644
index e21e6a426129..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/List.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": [
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/shares/||SU1FileServer.azurestack.local|SU1_ObjStore",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af/||SU1FileServer.azurestack.local|SU1_ObjStore",
- "type": "Microsoft.Storage.Admin/farms/shares",
- "location": "local",
- "properties": {
- "shareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "uncPath": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore",
- "totalCapacity": 2728176648192,
- "usedCapacity": 400509059072,
- "freeCapacity": 2327667589120,
- "healthStatus": "Healthy"
- }
- }
- ]
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/ListMetricDefinitions.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/ListMetricDefinitions.json
deleted file mode 100644
index 8edc56a3e5bd..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/ListMetricDefinitions.json
+++ /dev/null
@@ -1,108 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "shareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Total Capacity",
- "value": "TotalCapacity"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Used Capacity",
- "value": "UsedCapacity"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Free Space",
- "value": "FreeSpace"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Used Capacity Percentage",
- "value": "UsedCapacityPercentage "
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Free Space Percentage",
- "value": "FreeSpacePercentage "
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/ListMetrics.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/ListMetrics.json
deleted file mode 100644
index 6a97f4850111..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/Shares/ListMetrics.json
+++ /dev/null
@@ -1,218 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "shareName": "||SU1FileServer.azurestack.local|SU1_ObjStore",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "endTime": "2018-01-30T19:31:25.5502828Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 2728176648192.0,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Total Capacity",
- "value": "TotalCapacity"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:25.5502828Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 389873692672.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 379637998762.66669,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 369550244352.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 359099803818.66669,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 348343386965.33331,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 338910678186.66669,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 330334962346.66669,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Used Capacity",
- "value": "UsedCapacity"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:25.5502828Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 2338302955520.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 2348538649429.3335,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 2358626403840.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 2369076844373.3335,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 2379833261226.6665,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 2389265970005.3335,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 2397841685845.3335,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Free Space",
- "value": "FreeSpace"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:25.5502828Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 0.14290632277436091,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 0.139154478510128,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 0.13545686075603133,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 0.13162630215189586,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 0.12768358940253569,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 0.12422607546738861,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 0.12108268816302059,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Used Capacity Percentage",
- "value": "UsedCapacityPercentage "
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:25.5502828Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 0.857093677225639,
- "timeStamp": "2018-01-29T00:00:00Z"
- },
- {
- "average": 0.86084552148987215,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 0.86454313924396864,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 0.86837369784810392,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 0.87231641059746445,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 0.8757739245326116,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 0.87891731183697941,
- "timeStamp": "2018-01-23T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Free Space Percentage",
- "value": "FreeSpacePercentage "
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Get.json
deleted file mode 100644
index 0cad5ac1196e..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Get.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "accountId": "f93c9df9e7af487fbda484a9201d9c18",
- "api-version": "2015-12-01-preview",
- "summary": "false"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/f93c9df9e7af487fbda484a9201d9c18",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "f93c9df9e7af487fbda484a9201d9c18",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://authprod.blob.local.azurestack.external/",
- "queue": "https://authprod.queue.local.azurestack.external/",
- "table": "https://authprod.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local/providers/Microsoft.Storage/storageaccounts/authprod",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "authprod",
- "tenantResourceGroupName": "system.local",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "f93c9df9e7af487fbda484a9201d9c18",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T01:56:30.983"
- }
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/List.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/List.json
deleted file mode 100644
index cf1c7933e60a..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/List.json
+++ /dev/null
@@ -1,242 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "api-version": "2015-12-01-preview",
- "summary": "false"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/0180624c67694706a4066782d83057a5",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "0180624c67694706a4066782d83057a5",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://adminkvlclproddata004.blob.local.azurestack.external/",
- "queue": "https://adminkvlclproddata004.queue.local.azurestack.external/",
- "table": "https://adminkvlclproddata004.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local.adminkeyvault/providers/Microsoft.Storage/storageaccounts/adminkvlclproddata004",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "adminkvlclproddata004",
- "tenantResourceGroupName": "system.local.adminkeyvault",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "0180624c67694706a4066782d83057a5",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:27.41"
- }
- },
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/04106a84393f4a12ab8efdbc0a69bb65",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "04106a84393f4a12ab8efdbc0a69bb65",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://adminkvlclproddata005.blob.local.azurestack.external/",
- "queue": "https://adminkvlclproddata005.queue.local.azurestack.external/",
- "table": "https://adminkvlclproddata005.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local.adminkeyvault/providers/Microsoft.Storage/storageaccounts/adminkvlclproddata005",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "adminkvlclproddata005",
- "tenantResourceGroupName": "system.local.adminkeyvault",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "04106a84393f4a12ab8efdbc0a69bb65",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:27.847"
- }
- },
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/06e296e00b284f5cb5708dfabd6ad74c",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "06e296e00b284f5cb5708dfabd6ad74c",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://wasphealthaccount.blob.local.azurestack.external/",
- "queue": "https://wasphealthaccount.queue.local.azurestack.external/",
- "table": "https://wasphealthaccount.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local/providers/Microsoft.Storage/storageaccounts/wasphealthaccount",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "wasphealthaccount",
- "tenantResourceGroupName": "system.local",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "06e296e00b284f5cb5708dfabd6ad74c",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:12.47"
- }
- },
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/0a6b4f6b1de14cc08aa1fefadcc481eb",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "0a6b4f6b1de14cc08aa1fefadcc481eb",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://frphealthaccount.blob.local.azurestack.external/",
- "queue": "https://frphealthaccount.queue.local.azurestack.external/",
- "table": "https://frphealthaccount.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local/providers/Microsoft.Storage/storageaccounts/frphealthaccount",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "frphealthaccount",
- "tenantResourceGroupName": "system.local",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "0a6b4f6b1de14cc08aa1fefadcc481eb",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:02.527"
- }
- },
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/0d724e3f75004e48948c1bfa0b4a964a",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "0d724e3f75004e48948c1bfa0b4a964a",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://systemgallery.blob.local.azurestack.external/",
- "queue": "https://systemgallery.queue.local.azurestack.external/",
- "table": "https://systemgallery.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local/providers/Microsoft.Storage/storageaccounts/systemgallery",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "systemgallery",
- "tenantResourceGroupName": "system.local",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "0d724e3f75004e48948c1bfa0b4a964a",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T01:56:29.467"
- }
- },
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/0dda0879146341178603ba151d7da010",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "0dda0879146341178603ba151d7da010",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://nrpeventsaccount.blob.local.azurestack.external/",
- "queue": "https://nrpeventsaccount.queue.local.azurestack.external/",
- "table": "https://nrpeventsaccount.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local/providers/Microsoft.Storage/storageaccounts/nrpeventsaccount",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "nrpeventsaccount",
- "tenantResourceGroupName": "system.local",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "0dda0879146341178603ba151d7da010",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:23.84"
- }
- },
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/15612011f6094654abcb6031a4394ef5",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "15612011f6094654abcb6031a4394ef5",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://kvrphealthaccount.blob.local.azurestack.external/",
- "queue": "https://kvrphealthaccount.queue.local.azurestack.external/",
- "table": "https://kvrphealthaccount.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local/providers/Microsoft.Storage/storageaccounts/kvrphealthaccount",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "kvrphealthaccount",
- "tenantResourceGroupName": "system.local",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "15612011f6094654abcb6031a4394ef5",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:36.193"
- }
- },
- {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/storageaccounts/17829fa81c154239ad8a6fae05f44793",
- "type": "Microsoft.Storage.Admin/storageaccounts",
- "name": "17829fa81c154239ad8a6fae05f44793",
- "location": "local",
- "properties": {
- "provisioningState": "Succeeded",
- "primaryEndpoints": {
- "blob": "https://srpusageaccount.blob.local.azurestack.external/",
- "queue": "https://srpusageaccount.queue.local.azurestack.external/",
- "table": "https://srpusageaccount.table.local.azurestack.external/"
- },
- "primaryLocation": "local",
- "statusOfPrimary": "Available",
- "tenantViewId": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourcegroups/system.local/providers/Microsoft.Storage/storageaccounts/srpusageaccount",
- "tenantSubscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "tenantStorageAccountName": "srpusageaccount",
- "tenantResourceGroupName": "system.local",
- "currentOperation": "None",
- "acquisitionOperationCount": 0,
- "accountStatus": "Active",
- "permissions": "Full",
- "accountId": "17829fa81c154239ad8a6fae05f44793",
- "wacInternalState": "Active",
- "accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:15.38"
- }
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Synchronize.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Synchronize.json
deleted file mode 100644
index d77de1a2e26f..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Synchronize.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "parameters": {},
- "responses": {
- "200": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/SynchronizeAll.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/SynchronizeAll.json
deleted file mode 100644
index d77de1a2e26f..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/SynchronizeAll.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "parameters": {},
- "responses": {
- "200": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Undelete.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Undelete.json
deleted file mode 100644
index b8ac3474da2c..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/StorageAccounts/Undelete.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "accountId": "f93c9df9e7af487fbda484a9201d9c18",
- "api-version": "2015-12-01-preview",
- "summary": "false"
- },
- "responses": {
- "200": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/Get.json
deleted file mode 100644
index 779bc9f7fe55..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/Get.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/resourceGroups/System.local/providers/Microsoft.Storage.Admin/farms/3cf03497-c44a-4e51-a56f-3987d88c70af/tableservices/default",
- "name": "3cf03497-c44a-4e51-a56f-3987d88c70af/default",
- "type": "Microsoft.Storage.Admin/farms/tableservices",
- "location": "local",
- "properties": {
- "settings": {
- "frontEndHttpListenPort": 11002,
- "frontEndHttpsListenPort": 11102,
- "frontEndCallbackThreadsCount": 1600,
- "frontEndCpuBasedKeepAliveThrottlingEnabled": true,
- "frontEndCpuBasedKeepAliveThrottlingPercentCpuThreshold": 90.0,
- "frontEndCpuBasedKeepAliveThrottlingPercentRequestsToThrottle": 2.0,
- "frontEndCpuBasedKeepAliveThrottlingCpuMonitorIntervalInSeconds": 5,
- "frontEndMemoryThrottlingEnabled": true,
- "frontEndMaxMillisecondsBetweenMemorySamples": 10000,
- "frontEndMemoryThrottleThresholdSettings": "5,100,0;7,50,0;10,25,0;15,0,25;",
- "frontEndMinThreadPoolThreads": 1850,
- "frontEndThreadPoolBasedKeepAliveIOCompletionThreshold": 1500,
- "frontEndThreadPoolBasedKeepAliveWorkerThreadThreshold": 1500,
- "frontEndThreadPoolBasedKeepAliveMonitorIntervalInSeconds": 30,
- "frontEndThreadPoolBasedKeepAlivePercentage": 10.0,
- "frontEndUseSlaTimeInAvailability": true
- },
- "version": "1.0"
- }
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/ListMetricDefinitions.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/ListMetricDefinitions.json
deleted file mode 100644
index a9833dd670be..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/ListMetricDefinitions.json
+++ /dev/null
@@ -1,502 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (TableService)",
- "value": "E2ELatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (TableService)",
- "value": "ServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Availability (TableService)",
- "value": "Availability"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Total requests (TableService)",
- "value": "TotalRequests"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Ingress (TableService)",
- "value": "Ingress"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P1D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P10D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Egress (TableService)",
- "value": "Egress"
- },
- "primaryAggregationType": "Total",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Requests per second (TableFrontEnd)",
- "value": "TableFrontEndRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (TableFrontEnd)",
- "value": "TableFrontEndE2ELatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (TableFrontEnd)",
- "value": "TableFrontEndServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Concurrent requests (TableFrontEnd)",
- "value": "TableFrontEndConcurrentRequests"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "The count of pending requests in the request queue (TableFrontEnd)",
- "value": "TableFrontEndRequestQueueLength"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Processor time percentage (TableFrontEnd)",
- "value": "TableFrontEndProcessorTime"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Requests per second (TableMaster)",
- "value": "TableMasterRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Successful requests per second (TableMaster)",
- "value": "TableMasterSuccessfulRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Failed requests per second (TableMaster)",
- "value": "TableMasterFailedRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (TableMaster)",
- "value": "TableMasterServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Processor time percentage (TableMaster)",
- "value": "TableMasterProcessorTime"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Requests per second (TableServer)",
- "value": "TableServerRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Successful requests per second (TableServer)",
- "value": "TableServerSuccessfulRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Failed requests per second (TableServer)",
- "value": "TableServerFailedRequestsPerSecond"
- },
- "primaryAggregationType": "Average",
- "unit": "CountPerSecond"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Server latency (TableServer)",
- "value": "TableServerServerLatency"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- },
- {
- "metricAvailabilities": [
- {
- "retention": "P10D",
- "timeGrain": "PT1M"
- },
- {
- "retention": "P30D",
- "timeGrain": "PT1H"
- },
- {
- "retention": "P60D",
- "timeGrain": "P1D"
- }
- ],
- "name": {
- "localizedValue": "Processor time percentage (TableServer)",
- "value": "TableServerProcessorTime"
- },
- "primaryAggregationType": "Average",
- "unit": "Count"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/ListMetrics.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/ListMetrics.json
deleted file mode 100644
index eef9e85e1666..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/examples/TableService/ListMetrics.json
+++ /dev/null
@@ -1,434 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
- "resourceGroupName": "System.local",
- "farmId": "3cf03497-c44a-4e51-a56f-3987d88c70af",
- "serviceType": "default",
- "api-version": "2015-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Requests per second (TableFrontEnd)",
- "value": "TableFrontEndRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "End-to-end latency (TableFrontEnd)",
- "value": "TableFrontEndE2ELatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Server latency (TableFrontEnd)",
- "value": "TableFrontEndServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Concurrent requests (TableFrontEnd)",
- "value": "TableFrontEndConcurrentRequests"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "The count of pending requests in the request queue (TableFrontEnd)",
- "value": "TableFrontEndRequestQueueLength"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Processor time percentage (TableFrontEnd)",
- "value": "TableFrontEndProcessorTime"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Requests per second (TableMaster)",
- "value": "TableMasterRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Successful requests per second (TableMaster)",
- "value": "TableMasterSuccessfulRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Failed requests per second (TableMaster)",
- "value": "TableMasterFailedRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Server latency (TableMaster)",
- "value": "TableMasterServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Processor time percentage (TableMaster)",
- "value": "TableMasterProcessorTime"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Requests per second (TableServer)",
- "value": "TableServerRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Successful requests per second (TableServer)",
- "value": "TableServerSuccessfulRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "CountPerSecond",
- "metricValues": [],
- "name": {
- "localizedValue": "Failed requests per second (TableServer)",
- "value": "TableServerFailedRequestsPerSecond"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Server latency (TableServer)",
- "value": "TableServerServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [],
- "name": {
- "localizedValue": "Processor time percentage (TableServer)",
- "value": "TableServerProcessorTime"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 7.29314082130133,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 7.29242044505202,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 7.45627809068669,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 7.30089294071398,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 7.72399956185191,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 7.60159978218237,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 7.47610318708534,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "End-to-end latency (TableService)",
- "value": "E2ELatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 6.35217701106319,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 6.33429027113238,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 6.48739451176727,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 6.32658791815646,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 6.7042208266394,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 6.63925794831982,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 6.49650197949997,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Server latency (TableService)",
- "value": "ServerLatency"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "average": 100.0,
- "timeStamp": "2018-01-23T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-24T00:00:00Z"
- },
- {
- "average": 99.9981206752038,
- "timeStamp": "2018-01-25T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-26T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-27T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-28T00:00:00Z"
- },
- {
- "average": 100.0,
- "timeStamp": "2018-01-29T00:00:00Z"
- }
- ],
- "name": {
- "localizedValue": "Availability (TableService)",
- "value": "Availability"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 269054.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 265771.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 266053.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 269687.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 276294.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 274176.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 279001.0
- }
- ],
- "name": {
- "localizedValue": "Total requests (TableService)",
- "value": "TotalRequests"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 511130540.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 503169523.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 507168827.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 568486028.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 700065592.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 690837578.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 695035903.0
- }
- ],
- "name": {
- "localizedValue": "Ingress (TableService)",
- "value": "Ingress"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- },
- {
- "endTime": "2018-01-30T19:31:22.8313413Z",
- "metricUnit": "Count",
- "metricValues": [
- {
- "timeStamp": "2018-01-23T00:00:00Z",
- "total": 6755876285.0
- },
- {
- "timeStamp": "2018-01-24T00:00:00Z",
- "total": 6754791566.0
- },
- {
- "timeStamp": "2018-01-25T00:00:00Z",
- "total": 6756295607.0
- },
- {
- "timeStamp": "2018-01-26T00:00:00Z",
- "total": 6762121121.0
- },
- {
- "timeStamp": "2018-01-27T00:00:00Z",
- "total": 6787273660.0
- },
- {
- "timeStamp": "2018-01-28T00:00:00Z",
- "total": 6749797687.0
- },
- {
- "timeStamp": "2018-01-29T00:00:00Z",
- "total": 6790505524.0
- }
- ],
- "name": {
- "localizedValue": "Egress (TableService)",
- "value": "Egress"
- },
- "startTime": "2018-01-23T00:00:00Z",
- "timeGrain": "P1D"
- }
- ]
- }
- },
- "404": {}
- }
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/farms.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/farms.json
deleted file mode 100644
index 587563b84a40..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/farms.json
+++ /dev/null
@@ -1,656 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}": {
- "put": {
- "x-ms-examples": {
- "Create a new storage farm.": {
- "$ref": "./examples/Farms/Create.json"
- }
- },
- "tags": [
- "Farms"
- ],
- "description": "Create a new storage farm.",
- "operationId": "Farms_Create",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "description": "Parameters used to create a farm",
- "name": "farmObject",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/FarmCreationProperties"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The new storage farm has been created.",
- "schema": {
- "$ref": "#/definitions/Farm"
- }
- }
- }
- },
- "get": {
- "x-ms-examples": {
- "Returns the Storage properties and settings for a specified storage farm.": {
- "$ref": "./examples/Farms/Get.json"
- }
- },
- "tags": [
- "Farms"
- ],
- "description": "Returns the Storage properties and settings for a specified storage farm.",
- "operationId": "Farms_Get",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The farm has been returned.",
- "schema": {
- "$ref": "#/definitions/Farm"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Update an existing storage farm.": {
- "$ref": "./examples/Farms/Update.json"
- }
- },
- "tags": [
- "Farms"
- ],
- "description": "Update an existing storage farm.",
- "operationId": "Farms_Update",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "description": "Farm to update.",
- "name": "farmObject",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Farm"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The properties and settings of storage farm have been updated.",
- "schema": {
- "$ref": "#/definitions/Farm"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/metricdefinitions": {
- "get": {
- "x-ms-examples": {
- "Returns a list of metric definitions for a storage farm.": {
- "$ref": "./examples/Farms/ListMetricDefinitions.json"
- }
- },
- "tags": [
- "Farms"
- ],
- "description": "Returns a list of metric definitions for a storage farm.",
- "operationId": "Farms_ListMetricDefinitions",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metric definitions has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricDefinitionList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/metrics": {
- "get": {
- "x-ms-examples": {
- "Returns a list of storage farm metrics.": {
- "$ref": "./examples/Farms/ListMetrics.json"
- }
- },
- "tags": [
- "Farms"
- ],
- "description": "Returns a list of storage farm metrics.",
- "operationId": "Farms_ListMetrics",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metrics has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms": {
- "get": {
- "x-ms-examples": {
- "Returns a list of all storage farms.": {
- "$ref": "./examples/Farms/List.json"
- }
- },
- "tags": [
- "Farms"
- ],
- "description": "Returns a list of all storage farms.",
- "operationId": "Farms_List",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of storage farms has been returned.",
- "schema": {
- "$ref": "#/definitions/FarmList"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/ondemandgc": {
- "post": {
- "x-ms-examples": {
- "Start garbage collection on deleted storage objects.": {
- "$ref": "./examples/Farms/StartGarbageCollection.json"
- }
- },
- "tags": [
- "Farms"
- ],
- "operationId": "Farms_StartGarbageCollection",
- "description": "Start garbage collection on deleted storage objects.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Garbage collection has completed."
- },
- "202": {
- "description": "ACCEPTED -- Garbage collection has started."
- }
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/operationresults/{operationId}": {
- "get": {
- "x-ms-examples": {
- "Returns the state of the garbage collection job.": {
- "$ref": "./examples/Farms/GetGarbageCollectionState.json"
- }
- },
- "tags": [
- "GC"
- ],
- "operationId": "Farms_GetGarbageCollectionState",
- "description": "Returns the state of the garbage collection job.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "storage.json#/parameters/OperationIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The state of garbage collection has been returned.",
- "schema": {
- "type": "string"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm or garbage collection job can not be found."
- }
- }
- }
- }
- },
- "definitions": {
- "FarmList": {
- "description": "Pageable list of storage farms.",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of storage farms.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Farm"
- }
- },
- "nextLink": {
- "description": "URI to the next page.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "FarmCreationProperties": {
- "description": "Storage farm properties.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Storage farm properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SettingAccessString"
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- },
- "Farm": {
- "description": "Storage farm.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Storage farm properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/FarmProperties"
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- },
- "FarmSettings": {
- "description": "Storage farm settings.",
- "type": "object",
- "properties": {
- "settingsPollingIntervalInSecond": {
- "description": "The polling interval (in second).",
- "type": "integer",
- "format": "int32"
- },
- "retentionPeriodForDeletedStorageAccountsInDays": {
- "description": "The retention period (in days) for deleted storage account.",
- "type": "integer",
- "format": "int32"
- },
- "hostStyleHttpPort": {
- "description": "Host style HTTP port.",
- "type": "integer",
- "format": "int32"
- },
- "hostStyleHttpsPort": {
- "description": "Host style HTTPs port.",
- "type": "integer",
- "format": "int32"
- },
- "corsAllowedOriginsList": {
- "description": "The list of allowed origins.",
- "type": "string"
- },
- "dataCenterUriHostSuffixes": {
- "description": "The suffixes of URI of hosts in data center.",
- "type": "string"
- },
- "bandwidthThrottleIsEnabled": {
- "description": "Switch of bandwidth throttle enablement.",
- "type": "boolean"
- },
- "usageCollectionIntervalInSeconds": {
- "description": "Interval (in seconds) of storage usage collection.",
- "type": "integer",
- "format": "int32"
- },
- "feedbackRefreshIntervalInSeconds": {
- "description": "Interval (in seconds) of feedback refresh.",
- "type": "integer",
- "format": "int32"
- },
- "numberOfAccountsToSync": {
- "description": "Number of accounts to sync.",
- "type": "integer",
- "format": "int32"
- },
- "defaultThrottleProbabilityDecayIntervalInSeconds": {
- "description": "Interval (in seconds) of default throttle probability decay.",
- "type": "integer",
- "format": "int32"
- },
- "gracePeriodForFullThrottlingInRefreshIntervals": {
- "description": "Grace period for full throttling in refresh intervals.",
- "type": "integer",
- "format": "int32"
- },
- "gracePeriodMaxThrottleProbability": {
- "description": "Maximum probability of throttle in grace period.",
- "type": "number",
- "format": "float"
- },
- "overallRequestThresholdInTps": {
- "description": "Overall request threshold (in TPS).",
- "type": "number",
- "format": "float"
- },
- "defaultRequestThresholdInTps": {
- "description": "Default request threshold (in TPS).",
- "type": "number",
- "format": "float"
- },
- "minimumRequestThresholdInTps": {
- "description": "Minimum request threshold (in TPS).",
- "type": "number",
- "format": "float"
- },
- "toleranceFactorForTps": {
- "description": "Tolerance factor for TPS.",
- "type": "number",
- "format": "float"
- },
- "overallIngressThresholdInGbps": {
- "description": "Overall ingress threshold (in Gbps)",
- "type": "number",
- "format": "float"
- },
- "defaultIngressThresholdInGbps": {
- "description": "Default ingress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "minimumIngressThresholdInGbps": {
- "description": "Minimum ingress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "toleranceFactorForIngress": {
- "description": "Tolerance factor for ingress.",
- "type": "number",
- "format": "float"
- },
- "overallIntranetIngressThresholdInGbps": {
- "description": "Overall Intranet ingress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "defaultIntranetIngressThresholdInGbps": {
- "description": "Default Intranet ingress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "minimumIntranetIngressThresholdInGbps": {
- "description": "Minimum Intranet ingress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "toleranceFactorForIntranetIngress": {
- "description": "Tolerance factor for Intranet ingress.",
- "type": "number",
- "format": "float"
- },
- "overallEgressThresholdInGbps": {
- "description": "Overall egress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "defaultEgressThresholdInGbps": {
- "description": "Default egress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "minimumEgressThresholdInGbps": {
- "description": "Minimum egress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "toleranceFactorForEgress": {
- "description": "Tolerance factor for egress.",
- "type": "number",
- "format": "float"
- },
- "overallIntranetEgressThresholdInGbps": {
- "description": "Overall Intranet egress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "defaultIntranetEgressThresholdInGbps": {
- "description": "Default Intranet egress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "minimumIntranetEgressThresholdInGbps": {
- "description": "Minimum Intranet egress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "toleranceFactorForIntranetEgress": {
- "description": "Tolerance factor for Intranet egress.",
- "type": "number",
- "format": "float"
- },
- "overallTotalIngressThresholdInGbps": {
- "description": "Overall total ingress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "defaultTotalIngressThresholdInGbps": {
- "description": "Default total ingress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "minimumTotalIngressThresholdInGbps": {
- "description": "Minimum total ingress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "toleranceFactorForTotalIngress": {
- "description": "Tolerance factor for total ingress.",
- "type": "number",
- "format": "float"
- },
- "overallTotalEgressThresholdInGbps": {
- "description": "Overall total egress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "defaultTotalEgressThresholdInGbps": {
- "description": "Default total egress threshold (in Gbps).",
- "type": "number",
- "format": "float"
- },
- "minimumTotalEgressThresholdInGbps": {
- "description": "Minimum total egress threshold (in Gbp",
- "type": "number",
- "format": "float"
- },
- "toleranceFactorForTotalEgress": {
- "description": "Tolerance factor for total egress.",
- "type": "number",
- "format": "float"
- }
- }
- },
- "FarmProperties": {
- "description": "The properties of storage farm.",
- "type": "object",
- "properties": {
- "farmId": {
- "description": "Farm identifier.",
- "type": "string"
- },
- "version": {
- "description": "Resource version.",
- "type": "string"
- },
- "settingsStore": {
- "description": "The settings of storage farm.",
- "type": "string"
- },
- "settings": {
- "description": "The properties of storage farm.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/FarmSettings"
- }
- }
- },
- "SettingAccessString": {
- "description": "Setting access string.",
- "type": "object",
- "properties": {
- "settingAccessString": {
- "description": "Setting access string.",
- "type": "string"
- }
- }
- }
- },
- "parameters": {},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/queueServices.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/queueServices.json
deleted file mode 100644
index a8c68ca4c60f..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/queueServices.json
+++ /dev/null
@@ -1,207 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/queueservices/{serviceType}": {
- "get": {
- "x-ms-examples": {
- "Returns the queue service.": {
- "$ref": "./examples/QueueService/Get.json"
- }
- },
- "tags": [
- "QueueServices"
- ],
- "description": "Returns the queue service.",
- "operationId": "QueueServices_Get",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Queue service has been returned.",
- "schema": {
- "$ref": "#/definitions/QueueService"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/queueservices/{serviceType}/metricdefinitions": {
- "get": {
- "x-ms-examples": {
- "Returns a list of metric definitions for queue service.": {
- "$ref": "./examples/QueueService/ListMetricDefinitions.json"
- }
- },
- "tags": [
- "QueueServices"
- ],
- "description": "Returns a list of metric definitions for queue service.",
- "operationId": "QueueServices_ListMetricDefinitions",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metric definitions has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricDefinitionList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/queueservices/{serviceType}/metrics": {
- "get": {
- "x-ms-examples": {
- "Returns a list of metrics for the queue service.": {
- "$ref": "./examples/QueueService/ListMetrics.json"
- }
- },
- "tags": [
- "QueueServices"
- ],
- "description": "Returns a list of metrics for the queue service.",
- "operationId": "QueueServices_ListMetrics",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metrics has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "QueueServiceProperties": {
- "description": "Queue service properties.",
- "type": "object",
- "properties": {
- "settings": {
- "description": "Queue service settings.",
- "x-ms-client-flatten": true,
- "$ref": "storage.json#/definitions/WritableServiceSettings",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Service"
- }
- ]
- },
- "QueueService": {
- "description": "Queue service.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Queue service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/QueueServiceProperties",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- }
- },
- "parameters": {},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/quotas.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/quotas.json
deleted file mode 100644
index f047fdcf2d4d..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/quotas.json
+++ /dev/null
@@ -1,263 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/quotas/{quotaName}": {
- "put": {
- "x-ms-examples": {
- "Create or update an existing storage quota.": {
- "$ref": "./examples/Quotas/CreateOrUpdate.json"
- }
- },
- "tags": [
- "StorageQuotas"
- ],
- "description": "Create or update an existing storage quota.",
- "operationId": "StorageQuotas_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/LocationParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/QuotaNameParameter"
- },
- {
- "$ref": "#/parameters/StorgeQuotaParameters"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The storage quota has been created or updated.",
- "schema": {
- "$ref": "#/definitions/StorageQuota"
- }
- },
- "404": {
- "description": "NOT FOUND -- The location or quota was not found."
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete an existing storage quota.": {
- "$ref": "./examples/Quotas/Delete.json"
- }
- },
- "tags": [
- "StorageQuotas"
- ],
- "description": "Delete an existing quota",
- "operationId": "StorageQuotas_Delete",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "storage.json#/parameters/LocationParameter"
- },
- {
- "$ref": "#/parameters/QuotaNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The storage quota has been deleted."
- },
- "404": {
- "description": "NOT FOUND -- The location or storage quota cannot be found."
- }
- }
- },
- "get": {
- "x-ms-examples": {
- "Returns the specified storage quota.": {
- "$ref": "./examples/Quotas/Get.json"
- }
- },
- "tags": [
- "StorageQuotas"
- ],
- "description": "Returns the specified storage quota.",
- "operationId": "StorageQuotas_Get",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "storage.json#/parameters/LocationParameter"
- },
- {
- "$ref": "#/parameters/QuotaNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The storage quota has been returned.",
- "schema": {
- "$ref": "#/definitions/StorageQuota"
- }
- },
- "404": {
- "description": "NOT FOUND -- The location or storage quota cannot be found."
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/quotas": {
- "get": {
- "x-ms-examples": {
- "Returns a list of storage quotas at the given location.": {
- "$ref": "./examples/Quotas/List.json"
- }
- },
- "tags": [
- "StorageQuotas"
- ],
- "description": "Returns a list of storage quotas at the given location.",
- "operationId": "StorageQuotas_List",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/LocationParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of storage quotas has been returned.",
- "schema": {
- "$ref": "#/definitions/StorageQuotaList"
- }
- },
- "404": {
- "description": "OK -- The location does not exist."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "StorageQuota": {
- "description": "Storage quota.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Storage quota properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/StorageQuotaProperties"
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- },
- "StorageQuotaProperties": {
- "description": "Storage quota properties.",
- "type": "object",
- "properties": {
- "numberOfStorageAccounts": {
- "description": "Total number of storage accounts.",
- "type": "integer",
- "format": "int32",
- "default": 20
- },
- "capacityInGb": {
- "description": "Maximum capacity (GB).",
- "type": "integer",
- "format": "int32",
- "default": 500
- }
- }
- },
- "StorageQuotaList": {
- "description": "Pageable list of storage quotas.",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of storage quotas.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/StorageQuota"
- }
- },
- "nextLink": {
- "description": "URI to the next page.",
- "type": "string"
- }
- }
- }
- },
- "parameters": {
- "QuotaNameParameter": {
- "description": "The name of the storage quota.",
- "name": "quotaName",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "StorgeQuotaParameters": {
- "description": "The properties of quota being created or updated.",
- "name": "quotaObject",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/StorageQuota"
- },
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/shares.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/shares.json
deleted file mode 100644
index 4d978bc695cd..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/shares.json
+++ /dev/null
@@ -1,278 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/shares": {
- "get": {
- "x-ms-examples": {
- "Returns a list of storage shares.": {
- "$ref": "./examples/Shares/List.json"
- }
- },
- "tags": [
- "Shares"
- ],
- "description": "Returns a list of storage shares.",
- "operationId": "Shares_List",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of storage shares has been returned.",
- "schema": {
- "$ref": "#/definitions/ShareList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The farm cannot be found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/shares/{shareName}/metrics": {
- "get": {
- "x-ms-examples": {
- "Returns a list of metrics for a storage share.": {
- "$ref": "./examples/Shares/ListMetrics.json"
- }
- },
- "tags": [
- "Shares"
- ],
- "description": "Returns a list of metrics for a storage share.",
- "operationId": "Shares_ListMetrics",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ShareNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metrics has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The farm or share cannot be found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/shares/{shareName}/metricdefinitions": {
- "get": {
- "x-ms-examples": {
- "Returns a list of metric definitions for a storage share.": {
- "$ref": "./examples/Shares/ListMetricDefinitions.json"
- }
- },
- "tags": [
- "Shares"
- ],
- "description": "Returns a list of metric definitions for a storage share.",
- "operationId": "Shares_ListMetricDefinitions",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ShareNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metric definitions has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricDefinitionList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The farm cannot be found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/shares/{shareName}": {
- "get": {
- "x-ms-examples": {
- "Returns a storage share.": {
- "$ref": "./examples/Shares/Get.json"
- }
- },
- "tags": [
- "Shares"
- ],
- "description": "Returns a storage share.",
- "operationId": "Shares_Get",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ShareNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The storage share has been returned.",
- "schema": {
- "$ref": "#/definitions/Share"
- }
- },
- "404": {
- "description": "NOT FOUND -- The farm or storage share cannot be found."
- }
- }
- }
- }
- },
- "definitions": {
- "Share": {
- "description": "Storage share.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Storage share properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ShareProperties",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- },
- "ShareList": {
- "description": "List of storage shares.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Share"
- }
- },
- "ShareProperties": {
- "description": "Storage share properties.",
- "type": "object",
- "properties": {
- "shareName": {
- "description": "The name of the storage share.",
- "type": "string",
- "readOnly": true
- },
- "uncPath": {
- "description": "The UNC path to the storage share.",
- "type": "string",
- "readOnly": true
- },
- "totalCapacity": {
- "description": "The total capacity of the storage share in bytes.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "usedCapacity": {
- "description": "The used capacity of the storage share in bytes.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "freeCapacity": {
- "description": "The free space of the storage share in bytes.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "healthStatus": {
- "description": "The health status of the storage share.",
- "$ref": "storage.json#/definitions/HealthStatus",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/storage.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/storage.json
deleted file mode 100644
index 087898639205..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/storage.json
+++ /dev/null
@@ -1,570 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/providers/Microsoft.Storage.Admin/operations": {
- "get": {
- "x-ms-examples": {
- "Get the list of support rest operations.": {
- "$ref": "./examples/Operations/List.json"
- }
- },
- "description": "Get the list of support rest operations.",
- "tags": [
- "Commerce"
- ],
- "operationId": "Operations_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of operations has been returned.",
- "schema": {
- "$ref": "#/definitions/OperationList"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "WritableSettings": {
- "description": "Storage service settings.",
- "type": "object",
- "properties": {
- "frontEndCallbackThreadsCount": {
- "description": "Front end callback threads count.",
- "type": "integer",
- "format": "int32"
- },
- "frontEndCpuBasedKeepAliveThrottlingEnabled": {
- "description": "Switch of front end CPU based keep-alive throttling.",
- "type": "boolean"
- },
- "frontEndCpuBasedKeepAliveThrottlingPercentCpuThreshold": {
- "description": "Threshold (% percentage) of front end CPU based keep-alive throttling.",
- "type": "number",
- "format": "float"
- },
- "frontEndCpuBasedKeepAliveThrottlingPercentRequestsToThrottle": {
- "description": "Threshold (% percentage) of requests to throttle in front end CPU based keep-alive throttling.",
- "type": "number",
- "format": "float"
- },
- "frontEndCpuBasedKeepAliveThrottlingCpuMonitorIntervalInSeconds": {
- "description": "Interval (in second) of CPU monitor for front end CPU based keep-alive throttling.",
- "type": "integer",
- "format": "int32"
- },
- "frontEndMemoryThrottlingEnabled": {
- "description": "Switch of front end memory throttling.",
- "type": "boolean"
- },
- "frontEndMaxMillisecondsBetweenMemorySamples": {
- "description": "Maximum interval (in millisecond) between memory samples of front end.",
- "type": "integer",
- "format": "int32"
- },
- "frontEndMemoryThrottleThresholdSettings": {
- "description": "Front end memory throttle threshold settings.",
- "type": "string"
- },
- "frontEndMinThreadPoolThreads": {
- "description": "Front end minimum number of threads in thread pool.",
- "type": "integer",
- "format": "int32"
- },
- "frontEndThreadPoolBasedKeepAliveIOCompletionThreshold": {
- "description": "Threshold of front end thread pool based keep-alive IO completion.",
- "type": "integer",
- "format": "int32"
- },
- "frontEndThreadPoolBasedKeepAliveWorkerThreadThreshold": {
- "description": "Threshold of front end thread pool based keep-alive worker thread.",
- "type": "integer",
- "format": "int32"
- },
- "frontEndThreadPoolBasedKeepAliveMonitorIntervalInSeconds": {
- "description": "Monitor interval (in seconds) of front end thread pool based keep-alive monitor.",
- "type": "integer",
- "format": "int32"
- },
- "frontEndThreadPoolBasedKeepAlivePercentage": {
- "description": "Percentage (%) of front end thread pool based keep-alive.",
- "type": "number",
- "format": "float"
- },
- "frontEndUseSlaTimeInAvailability": {
- "description": "Switch of whether front end uses SLA time in availability.",
- "type": "boolean"
- }
- }
- },
- "WritableServiceSettings": {
- "description": "Settings of storage services.",
- "type": "object",
- "properties": {
- "frontEndHttpsListenPort": {
- "description": "The HTTPs port of the storage service front end.",
- "type": "integer",
- "format": "int32"
- },
- "frontEndHttpListenPort": {
- "description": "The HTTP port of the storage service front end.",
- "type": "integer",
- "format": "int32"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/WritableSettings"
- }
- ]
- },
- "LocalizableString": {
- "description": "Localizable string.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Value of the string.",
- "type": "string"
- },
- "localizedValue": {
- "description": "Localized value of the string.",
- "type": "string"
- }
- }
- },
- "MetricAvailability": {
- "description": "Metric availability.",
- "type": "object",
- "properties": {
- "timeGrain": {
- "description": "Time grain.",
- "type": "string"
- },
- "retention": {
- "description": "Retention of metric.",
- "type": "string"
- }
- }
- },
- "AggregateType": {
- "description": "Aggregate type.",
- "readOnly": true,
- "type": "string",
- "enum": [
- "None",
- "Average",
- "Total",
- "Minimum",
- "Maximum",
- "Last"
- ],
- "x-ms-enum": {
- "name": "AggregateType",
- "modelAsString": true
- }
- },
- "MetricUnit": {
- "description": "Metric unit.",
- "type": "string",
- "enum": [
- "Count",
- "Bytes",
- "Seconds",
- "CountPerSecond",
- "BytesPerSecond"
- ],
- "x-ms-enum": {
- "name": "MetricUnit",
- "modelAsString": true
- }
- },
- "MetricDefinition": {
- "description": "Metric definition.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Metric name.",
- "$ref": "#/definitions/LocalizableString",
- "readOnly": true
- },
- "unit": {
- "description": "Metric unit.",
- "$ref": "#/definitions/MetricUnit",
- "readOnly": true
- },
- "primaryAggregationType": {
- "description": "Aggregation type of metric.",
- "$ref": "#/definitions/AggregateType",
- "readOnly": true
- },
- "metricAvailabilities": {
- "description": "Metric availabilities.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/MetricAvailability"
- },
- "readOnly": true
- }
- }
- },
- "Metric": {
- "description": "Metric information.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Metric Name.",
- "$ref": "#/definitions/LocalizableString",
- "readOnly": true
- },
- "metricUnit": {
- "description": "Metric Unit.",
- "$ref": "#/definitions/MetricUnit",
- "readOnly": true
- },
- "timeGrain": {
- "description": "Metric time grain.",
- "type": "string",
- "readOnly": true
- },
- "startTime": {
- "description": "Metric start time.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "endTime": {
- "description": "Metric end time.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "metricValues": {
- "description": "List of metric values.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/MetricValue"
- },
- "readOnly": true
- }
- }
- },
- "MetricDefinitionList": {
- "description": "Pageable list of metric definitions.",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of metric definitions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/MetricDefinition"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "URI to the next page.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "MetricList": {
- "description": "Pageable list of metrics.",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of metrics.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Metric"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "URI to the next page.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "MetricValue": {
- "description": "Metric value.",
- "properties": {
- "timeStamp": {
- "description": "Timestamp of metric value.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "average": {
- "description": "Average value of metric.",
- "type": "number",
- "format": "float",
- "readOnly": true
- },
- "minimum": {
- "description": "Minimum value of metric.",
- "type": "number",
- "format": "float",
- "readOnly": true
- },
- "maximum": {
- "description": "Maximum value of metric.",
- "type": "number",
- "format": "float",
- "readOnly": true
- },
- "total": {
- "description": "Total value of metric.",
- "type": "number",
- "format": "float",
- "readOnly": true
- },
- "count": {
- "description": "Count of metric values.",
- "type": "integer",
- "format": "int32",
- "readOnly": true
- },
- "properties": {
- "description": "Metric value properties.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "HealthStatus": {
- "readOnly": true,
- "description": "Current health status.",
- "type": "string",
- "enum": [
- "Unknown",
- "Healthy",
- "Warning",
- "Critical"
- ],
- "x-ms-enum": {
- "name": "HealthStatus",
- "modelAsString": true
- }
- },
- "Resource": {
- "description": "Base resource object.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Resource ID.",
- "type": "string"
- },
- "name": {
- "description": "Resource Name.",
- "type": "string"
- },
- "type": {
- "description": "Resource type.",
- "type": "string"
- },
- "location": {
- "description": "Resource location.",
- "type": "string"
- },
- "tags": {
- "description": "Resource tags.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- },
- "x-ms-azure-resource": true
- },
- "Service": {
- "description": "Storage service.",
- "properties": {
- "version": {
- "description": "Storage service version.",
- "type": "string"
- },
- "healthStatus": {
- "description": "Health status of storage service.",
- "$ref": "#/definitions/HealthStatus"
- }
- }
- },
- "Operation": {
- "description": "Describes the supported REST operation.",
- "properties": {
- "name": {
- "description": "The name of the operation being performed on this particular object. It should match the action name that appears in RBAC / the event service.",
- "type": "string",
- "readOnly": true
- },
- "display": {
- "description": "Contains the localized display information for this particular operation / action.",
- "$ref": "#/definitions/Display",
- "readOnly": true
- }
- }
- },
- "Display": {
- "description": "Contains the localized display information for this particular operation / action.",
- "properties": {
- "provider": {
- "description": "The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible. It should use Title Casing and begin with \"Microsoft\" for 1st party services. e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute.\"",
- "type": "string",
- "readOnly": true
- },
- "resource": {
- "description": "The localized friendly form of the resource type related to this action/operation – it should match the public documentation for the resource provider.",
- "type": "string",
- "readOnly": true
- },
- "operation": {
- "description": "The localized friendly name for the operation, as it should be shown to the user.",
- "type": "string",
- "readOnly": true
- },
- "description": {
- "description": "The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise – it will be used in tool tips and detailed views.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "OperationList": {
- "description": "Pageable list of supported operations.",
- "properties": {
- "value": {
- "description": "List of operations",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- }
- },
- "nextLink": {
- "description": "URI to the next page of operations.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "ServiceTypeParameter": {
- "description": "The service type.",
- "name": "serviceType",
- "type": "string",
- "in": "path",
- "required": true,
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "ServiceType",
- "modelAsString": true
- },
- "x-ms-parameter-location": "method"
- },
- "ShareNameParameter": {
- "description": "Share name.",
- "name": "shareName",
- "type": "string",
- "in": "path",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "FilterParameter": {
- "description": "Filter string",
- "name": "$filter",
- "type": "string",
- "in": "query",
- "x-ms-parameter-location": "method"
- },
- "LocationParameter": {
- "description": "Resource location.",
- "name": "location",
- "type": "string",
- "in": "path",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "SubscriptionIdParameter": {
- "description": "Subscription Id.",
- "name": "subscriptionId",
- "type": "string",
- "in": "path",
- "required": true
- },
- "FarmIdParameter": {
- "description": "Farm Id.",
- "type": "string",
- "name": "farmId",
- "in": "path",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "ApiVersionParameter": {
- "description": "REST Api Version.",
- "name": "api-version",
- "type": "string",
- "in": "query",
- "required": true
- },
- "ResourceGroupNameParameter": {
- "description": "Resource group name.",
- "name": "resourceGroupName",
- "type": "string",
- "in": "path",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "OperationIdParameter": {
- "description": "Operation Id.",
- "name": "operationId",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/storageaccounts.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/storageaccounts.json
deleted file mode 100644
index 7563995ee609..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/storageaccounts.json
+++ /dev/null
@@ -1,441 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/storageaccounts": {
- "get": {
- "x-ms-examples": {
- "Returns a list of storage accounts.": {
- "$ref": "./examples/StorageAccounts/List.json"
- }
- },
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_List",
- "description": "Returns a list of storage accounts.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SummaryParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of storage accounts has been returned.",
- "schema": {
- "$ref": "#/definitions/StorageAccountList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/storageaccounts/{accountId}": {
- "get": {
- "x-ms-examples": {
- "Returns the requested storage account.": {
- "$ref": "./examples/StorageAccounts/Get.json"
- }
- },
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_Get",
- "description": "Returns the requested storage account.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "#/parameters/AccountIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The storage account has been returned.",
- "schema": {
- "$ref": "#/definitions/StorageAccount"
- }
- },
- "404": {
- "description": "NOT FOUND -- The storage account or farm was not found."
- }
- }
- },
- "post": {
- "x-ms-examples": {
- "Undelete a deleted storage account.": {
- "$ref": "./examples/StorageAccounts/Undelete.json"
- }
- },
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_Undelete",
- "description": "Undelete a deleted storage account.",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "#/parameters/AccountIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Undelete either has been performed or account was not deleted."
- }
- }
- }
- }
- },
- "definitions": {
- "StorageAccountState": {
- "readOnly": true,
- "description": "Storage account state.",
- "type": "string",
- "enum": [
- "Creating",
- "Succeeded",
- "Suspended"
- ],
- "x-ms-enum": {
- "name": "StorageAccountState",
- "modelAsString": true
- }
- },
- "StorageAccountType": {
- "description": "Storage account type.",
- "type": "string",
- "enum": [
- "Standard_LRS",
- "Standard_GRS",
- "Standard_ZRS",
- "Standard_RAGRS",
- "Premium_LRS"
- ],
- "x-ms-enum": {
- "name": "StorageAccountType",
- "modelAsString": true
- }
- },
- "LocationStatus": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.",
- "enum": [
- "Available",
- "Unavailable"
- ],
- "x-ms-enum": {
- "name": "LocationStatus",
- "modelAsString": true
- }
- },
- "StorageAccountOperation": {
- "readOnly": true,
- "description": "The permissions of storage account in WAC.",
- "type": "string",
- "enum": [
- "None",
- "Create",
- "Update",
- "Suspend",
- "Delete",
- "Undelete"
- ],
- "x-ms-enum": {
- "name": "StorageAccountOperation",
- "modelAsString": true
- }
- },
- "StorageAccountStatus": {
- "description": "The state of storage account in WAC.",
- "type": "string",
- "enum": [
- "Active",
- "Deleted",
- "OutOfRetentionPeriod",
- "Recycled"
- ],
- "x-ms-enum": {
- "name": "StorageAccountStatus",
- "modelAsString": true
- }
- },
- "WacAccountPermissions": {
- "description": "Current operation being performed on Storage Account",
- "type": "string",
- "enum": [
- "Empty",
- "None",
- "Read",
- "Delete",
- "Write",
- "Full"
- ],
- "x-ms-enum": {
- "name": "WacAccountPermissions",
- "modelAsString": true
- }
- },
- "WacAccountStates": {
- "description": "Current operation being performed on Storage Account",
- "type": "string",
- "enum": [
- "None",
- "Active",
- "Deleted",
- "AboveQuota",
- "Suspended",
- "All"
- ],
- "x-ms-enum": {
- "name": "WacAccountStates",
- "modelAsString": true
- }
- },
- "StorageAccountProperties": {
- "description": "Properties of a storage account.",
- "type": "object",
- "properties": {
- "tenantViewId": {
- "description": "Resource URI of storage account from tenant view.",
- "type": "string",
- "readOnly": true
- },
- "accountType": {
- "description": "Storage account type.",
- "$ref": "#/definitions/StorageAccountType",
- "readOnly": true
- },
- "provisioningState": {
- "description": "The provisioning state of storage account.",
- "$ref": "#/definitions/StorageAccountState",
- "readOnly": true
- },
- "primaryEndpoints": {
- "description": "The URLs that are used to perform a retrieval of a public BLOB, queue, or table object.",
- "additionalProperties": {
- "type": "string"
- },
- "readOnly": true
- },
- "creationTime": {
- "description": "The creation date and time of storage account in UTC.",
- "type": "string",
- "readOnly": true
- },
- "alternateName": {
- "description": "Alternative storage account name being used during undelete operation.",
- "type": "string",
- "readOnly": true
- },
- "primaryLocation": {
- "description": "The primary location for the storage account.",
- "type": "string",
- "readOnly": true
- },
- "statusOfPrimary": {
- "description": "The status of primary location of storage account.",
- "$ref": "#/definitions/LocationStatus",
- "readOnly": true
- },
- "tenantSubscriptionId": {
- "description": "Subscription ID of the subscription under which the storage account locates.",
- "type": "string",
- "readOnly": true
- },
- "tenantStorageAccountName": {
- "description": "Storage account name from tenant view.",
- "type": "string",
- "readOnly": true
- },
- "tenantResourceGroupName": {
- "description": "The name of resource group under which the storage account locates.",
- "type": "string",
- "readOnly": true
- },
- "currentOperation": {
- "description": "Current operation being performed on Storage Account",
- "$ref": "#/definitions/StorageAccountOperation",
- "readOnly": true
- },
- "customDomain": {
- "description": "The custom domain the user assigned to this storage account.",
- "type": "string",
- "readOnly": true
- },
- "acquisitionOperationCount": {
- "description": "The count of acquisitions in the storage account.",
- "type": "integer",
- "format": "int32",
- "readOnly": true
- },
- "deletedTime": {
- "description": "The date-time when the storage account was deleted.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "accountStatus": {
- "$ref": "#/definitions/StorageAccountStatus",
- "description": "The status of storage account."
- },
- "recoveredTime": {
- "description": "The time when the storage account is undeleted.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "recycledTime": {
- "description": "The time when the storage account is physically deleted.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "permissions": {
- "description": "The permissions on the storage account.",
- "$ref": "#/definitions/WacAccountPermissions",
- "readOnly": true
- },
- "accountId": {
- "description": "Internal storage account ID, which is not visible to tenant.",
- "type": "string",
- "readOnly": true
- },
- "wacInternalState": {
- "description": "The internal state of storage account in WAC.",
- "$ref": "#/definitions/WacAccountStates",
- "readOnly": true
- },
- "resourceAdminApiVersion": {
- "description": "Storage admin REST API version.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "StorageAccount": {
- "description": "Properties of the storage account.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Properties of the storage account.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/StorageAccountProperties",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- },
- "StorageAccountList": {
- "description": "Pageable list of storage accounts.",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of storage accounts.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/StorageAccount"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "URI to the next page.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "AccountIdParameter": {
- "description": "Internal storage account ID, which is not visible to tenant.",
- "name": "accountId",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "SummaryParameter": {
- "description": "Switch for whether summary or detailed information is returned.",
- "name": "summary",
- "in": "query",
- "required": true,
- "type": "boolean",
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/tableServices.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/tableServices.json
deleted file mode 100644
index 044c0874eea1..000000000000
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/tableServices.json
+++ /dev/null
@@ -1,207 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-12-01-preview",
- "title": "StorageManagementClient",
- "description": "The Admin Storage Management Client."
- },
- "host": "adminmanagement.local.azurestack.external",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/tableservices/{serviceType}": {
- "get": {
- "x-ms-examples": {
- "Returns the table service.": {
- "$ref": "./examples/TableService/Get.json"
- }
- },
- "tags": [
- "TableServices"
- ],
- "description": "Returns the table service.",
- "operationId": "TableServices_Get",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Table service has been returned.",
- "schema": {
- "$ref": "#/definitions/TableService"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/tableservices/{serviceType}/metricdefinitions": {
- "get": {
- "x-ms-examples": {
- "Returns a list of metric definitions for table service.": {
- "$ref": "./examples/TableService/ListMetricDefinitions.json"
- }
- },
- "tags": [
- "TableServices"
- ],
- "description": "Returns a list of metric definitions for table service.",
- "operationId": "TableServices_ListMetricDefinitions",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metric definitions has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricDefinitionList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/tableservices/{serviceType}/metrics": {
- "get": {
- "x-ms-examples": {
- "Returns a list of metrics for table service.": {
- "$ref": "./examples/TableService/ListMetrics.json"
- }
- },
- "tags": [
- "TableServices"
- ],
- "description": "Returns a list of metrics for table service.",
- "operationId": "TableServices_ListMetrics",
- "parameters": [
- {
- "$ref": "storage.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "storage.json#/parameters/FarmIdParameter"
- },
- {
- "$ref": "storage.json#/parameters/ServiceTypeParameter"
- },
- {
- "$ref": "storage.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- The list of metrics has been returned.",
- "schema": {
- "$ref": "storage.json#/definitions/MetricList"
- }
- },
- "404": {
- "description": "NOT FOUND -- The specified farm was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "TableService": {
- "description": "Table service.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Table service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/TableServiceProperties",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Resource"
- }
- ]
- },
- "TableServiceProperties": {
- "description": "Table service properties.",
- "type": "object",
- "properties": {
- "settings": {
- "description": "Table service settings.",
- "x-ms-client-flatten": true,
- "$ref": "storage.json#/definitions/WritableServiceSettings",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "storage.json#/definitions/Service"
- }
- ]
- }
- },
- "parameters": {},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/AsyncOperations/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/AsyncOperations/Get.json
new file mode 100644
index 000000000000..5585f839670a
--- /dev/null
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/AsyncOperations/Get.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
+ "location": "local",
+ "asyncOperationId": "40cb64a9-e1b2-4915-b6af-30861fb3d01f",
+ "api-version": "2019-08-08-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/Get.json
new file mode 100644
index 000000000000..32602a1c222f
--- /dev/null
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/Get.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
+ "resourceGroup": "system.local",
+ "serviceName": "PageBlob",
+ "api-version": "2019-08-08-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "serviceName": "PageBlob"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/ListResourceGroup.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/ListResourceGroup.json
new file mode 100644
index 000000000000..7d0b86e2a57f
--- /dev/null
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/ListResourceGroup.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
+ "resourceGroup": "system.local",
+ "api-version": "2019-08-08-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "properties": {
+ "serviceName": "PageBlob"
+ }
+ },
+ {
+ "properties": {
+ "serviceName": "BlockBlob"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/ListSubscription.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/ListSubscription.json
new file mode 100644
index 000000000000..c5d5346a3f7d
--- /dev/null
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/ListSubscription.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
+ "api-version": "2019-08-08-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "properties": {
+ "serviceName": "PageBlob"
+ }
+ },
+ {
+ "properties": {
+ "serviceName": "BlockBlob"
+ }
+ },
+ {
+ "properties": {
+ "serviceName": "Table"
+ }
+ },
+ {
+ "properties": {
+ "serviceName": "Queue"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/Put.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/Put.json
new file mode 100644
index 000000000000..08379c802bae
--- /dev/null
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageServices/Put.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "9ad61516-995c-4873-a21f-7e44904f0ed2",
+ "resourceGroup": "system.local",
+ "serviceName": "PageBlob",
+ "api-version": "2019-08-08-preview",
+ "storageServiceObject": {
+ "properties": {
+ "serviceName": "PageBlob"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "serviceName": "PageBlob"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storage.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storage.json
index 00f6b00027b6..a8039c32be30 100644
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storage.json
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storage.json
@@ -48,6 +48,205 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/asyncOperations/{asyncOperationId}": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the async operation specified by asyncOperationId.": {
+ "$ref": "./examples/AsyncOperations/Get.json"
+ }
+ },
+ "tags": [
+ "AsyncOperations"
+ ],
+ "operationId": "AsyncOperations_Get",
+ "description": "Returns the async operation specified by asyncOperationId.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "#/parameters/AsyncOperationIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- The async operation has been returned.",
+ "schema": {
+ "$ref": "#/definitions/AsyncOperationModel"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.Storage.Admin/storageServices": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the storage services list under the specified resource group and subscription.": {
+ "$ref": "./examples/StorageServices/ListResourceGroup.json"
+ }
+ },
+ "tags": [
+ "StorageServices"
+ ],
+ "operationId": "StorageServices_ListRG",
+ "description": "Returns the storage services list under the specified resource group and subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- The list of storage services has been returned.",
+ "schema": {
+ "$ref": "#/definitions/StorageServiceList"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/storageServices": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the storage services list under the specified subscription.": {
+ "$ref": "./examples/StorageServices/ListSubscription.json"
+ }
+ },
+ "tags": [
+ "StorageServices"
+ ],
+ "operationId": "StorageServices_ListSub",
+ "description": "Returns the storage services list under the specified subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- The list of storage services has been returned.",
+ "schema": {
+ "$ref": "#/definitions/StorageServiceList"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.Storage.Admin/storageServices/{serviceName}": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the specified storage service.": {
+ "$ref": "./examples/StorageServices/Get.json"
+ }
+ },
+ "tags": [
+ "StorageServices"
+ ],
+ "operationId": "StorageServices_Get",
+ "description": "Returns the specified storage service.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- The specified storage service has been returned.",
+ "schema": {
+ "$ref": "#/definitions/StorageService"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Create the specified storage resource.": {
+ "$ref": "./examples/StorageServices/Put.json"
+ }
+ },
+ "tags": [
+ "StorageServices"
+ ],
+ "operationId": "StorageServices_Create",
+ "description": "Create the specified storage resource.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- The specified storage service has been created.",
+ "schema": {
+ "$ref": "#/definitions/StorageService"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -103,6 +302,141 @@
}
}
},
+ "ServiceNameProperties": {
+ "description": "The properties for service name.",
+ "type": "object",
+ "properties": {
+ "serviceName": {
+ "description": "Service Name for Storage Service.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "StorageService": {
+ "description": "MDM storage service resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Properties for service name.",
+ "$ref": "#/definitions/ServiceNameProperties",
+ "x-ms-client-flatten": true,
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "StorageServiceList": {
+ "description": "List for storage services.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageService"
+ }
+ },
+ "AsyncOperationModel": {
+ "description": "The async operation body for srp request.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The operation id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationStartTime": {
+ "description": "Operation start time.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationEndTime": {
+ "description": "Operation end time.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subscriptionId": {
+ "description": "Subscription id for async operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "locationHeader": {
+ "description": "Location header for async operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "httpStatus": {
+ "description": "Http status for the async operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "response": {
+ "description": "Response for the async operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "context": {
+ "description": "Operation context.",
+ "$ref": "#/definitions/OperationRequestContext",
+ "x-ms-client-flatten": true,
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Async operation content.",
+ "$ref": "#/definitions/AsyncOperation",
+ "x-ms-client-flatten": true,
+ "readOnly": true
+ }
+ }
+ },
+ "OperationRequestContext": {
+ "description": "Operation request context.",
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "description": "Operation api version.",
+ "type": "string",
+ "readOnly": true
+ },
+ "activityId": {
+ "description": "Activity id for the operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationName": {
+ "description": "Async operation name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorCode": {
+ "description": "Async operation error code if operation failed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "runtimeException": {
+ "description": "Runtime exception if operation failed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "startTime": {
+ "description": "Start time for the operation.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "AsyncOperation": {
+ "description": "Async operation content",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Async operation name",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"ErrorResponse": {
"description": "The error response for request which failed.",
"type": "object",
@@ -181,7 +515,32 @@
"name": "subscriptionId",
"type": "string",
"in": "path",
- "required": true
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "AsyncOperationIdParameter": {
+ "description": "Async Operation Id.",
+ "name": "asyncOperationId",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceGroupNameParameter": {
+ "description": "Resource group name.",
+ "name": "resourceGroup",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "StorageServiceNameParameter": {
+ "description": "Storage service name.",
+ "name": "serviceName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method"
}
},
"securityDefinitions": {
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
index c8e3acc5fd4a..58bf10a44dd3 100644
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
@@ -16,7 +16,7 @@
"application/json"
],
"paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageaccounts": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts": {
"get": {
"x-ms-examples": {
"Returns a list of storage accounts.": {
@@ -64,7 +64,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageaccounts/{accountId}": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId}": {
"get": {
"x-ms-examples": {
"Returns the requested storage account.": {
@@ -106,7 +106,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageaccounts/{accountId}/undelete": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/storageAccounts/{accountId}/undelete": {
"post": {
"x-ms-examples": {
"Undelete a deleted storage account.": {
diff --git a/specification/azsadmin/resource-manager/storage/readme.md b/specification/azsadmin/resource-manager/storage/readme.md
index ea224b5519a0..fece5a0a5986 100644
--- a/specification/azsadmin/resource-manager/storage/readme.md
+++ b/specification/azsadmin/resource-manager/storage/readme.md
@@ -39,23 +39,6 @@ input-file:
- "Microsoft.Storage.Admin/preview/2019-08-08/storage.json"
- "Microsoft.Storage.Admin/preview/2019-08-08/acquisitions.json"
```
-### Tag: package-2015-12-01
-
-These settings apply only when `--tag=package-2015-12-01` is specified on the command line.
-
-``` yaml $(tag) == 'package-2015-12-01'
-input-file:
- - "Microsoft.Storage.Admin/preview/2015-12-01/storageaccounts.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/quotas.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/storage.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/acquisitions.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/blobServices.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/containers.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/farms.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/queueServices.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/shares.json"
- - "Microsoft.Storage.Admin/preview/2015-12-01/tableServices.json"
-```
---
# Code Generation
@@ -92,16 +75,6 @@ input-file:
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/settings.json
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storage.json
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/acquisitions.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/storageaccounts.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/quotas.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/storage.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/acquisitions.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/blobServices.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/containers.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/farms.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/queueServices.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/shares.json
- - $(this-folder)/Microsoft.Storage.Admin/preview/2015-12-01/tableServices.json
```
From 8c16b5389045dbecce0a966d385e699330555370 Mon Sep 17 00:00:00 2001
From: Ishani Gupta
Date: Tue, 7 Jan 2020 18:02:37 -0800
Subject: [PATCH 179/469] Changes to make UserTags Patching Async (#8067)
---
.../Microsoft.Network/stable/2019-09-01/azureFirewall.json | 7 +++++++
.../2019-09-01/examples/AzureFirewallUpdateTags.json | 1 +
2 files changed, 8 insertions(+)
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
index fb075246fc96..c9d60cde52f1 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
@@ -258,6 +258,9 @@
}
],
"responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
"200": {
"description": "Update successful. The operation returns the resulting AzureFirewall resource.",
"schema": {
@@ -275,6 +278,10 @@
"Update Azure Firewall Tags": {
"$ref": "./examples/AzureFirewallUpdateTags.json"
}
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
}
}
},
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallUpdateTags.json
index 8d109e80ece8..0a0b1c451ddb 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallUpdateTags.json
@@ -12,6 +12,7 @@
}
},
"responses": {
+ "202": {},
"200": {
"body": {
"name": "fw1",
From 5a9e1dbaa54a34dfa7557bf9215da13b7b7df898 Mon Sep 17 00:00:00 2001
From: shahbj79
Date: Tue, 7 Jan 2020 19:04:07 -0800
Subject: [PATCH 180/469] Microsoft.Support RP: Swagger and examples for public
preview (#7912)
* support rp swagger for public preview
* fixing spelling error
* addressing review comments
* adding common resource properties
* fixing readme.csharp.md
* adding example that was missed
* fix syntax error in swagger spec
* fixing model validation error
* put support for communication resource and other updates based on comments
* updating communication to be async, fixing version on async and location headers
---
...labilityForSupportTicketCommunication.json | 20 +
...CheckNameAvailabilityWithSubscription.json | 19 +
...teBillingSupportTicketForSubscription.json | 70 +
...CreateCoresQuotaTicketForSubscription.json | 88 +
...teSubMgmtSupportTicketForSubscription.json | 70 +
.../CreateSupportTicketCommunication.json | 38 +
...TechnicalSupportTicketForSubscription.json | 76 +
...onDetailsForSubscriptionSupportTicket.json | 25 +
.../examples/GetProblemClassification.json | 19 +
.../examples/GetService.json | 18 +
.../GetSubscriptionSupportTicketDetails.json | 47 +
...nicationsForSubscriptionSupportTicket.json | 41 +
.../examples/ListOperations.json | 94 ++
.../examples/ListProblemClassifications.json | 46 +
.../examples/ListServices.json | 45 +
.../ListSupportTicketsBySubscription.json | 87 +
.../UpdateSupportTicketForSubscription.json | 64 +
.../preview/2019-05-01-preview/support.json | 1464 +++++++++++++++++
.../support/resource-manager/readme.csharp.md | 13 +
.../support/resource-manager/readme.go.md | 26 +
.../support/resource-manager/readme.java.md | 33 +
.../support/resource-manager/readme.md | 82 +
.../support/resource-manager/readme.python.md | 27 +
.../support/resource-manager/readme.ruby.md | 26 +
.../resource-manager/readme.typescript.md | 13 +
25 files changed, 2551 insertions(+)
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityWithSubscription.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBillingSupportTicketForSubscription.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateCoresQuotaTicketForSubscription.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSupportTicketCommunication.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetProblemClassification.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetService.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetSubscriptionSupportTicketDetails.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListOperations.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListProblemClassifications.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListServices.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsBySubscription.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/UpdateSupportTicketForSubscription.json
create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/support.json
create mode 100644 specification/support/resource-manager/readme.csharp.md
create mode 100644 specification/support/resource-manager/readme.go.md
create mode 100644 specification/support/resource-manager/readme.java.md
create mode 100644 specification/support/resource-manager/readme.md
create mode 100644 specification/support/resource-manager/readme.python.md
create mode 100644 specification/support/resource-manager/readme.ruby.md
create mode 100644 specification/support/resource-manager/readme.typescript.md
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json
new file mode 100644
index 000000000000..e4a8e69703d9
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "checkNameAvailabilityInput": {
+ "name": "sampleName",
+ "type": "Microsoft.Support/communications"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "Name is already in use",
+ "message": "Name not available"
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityWithSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityWithSubscription.json
new file mode 100644
index 000000000000..63878f518aa4
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityWithSubscription.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "api-version": "2019-05-01-preview",
+ "checkNameAvailabilityInput": {
+ "name": "sampleName",
+ "type": "Microsoft.Support/supportTickets"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "Name is already in use",
+ "message": "Name not available"
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBillingSupportTicketForSubscription.json
new file mode 100644
index 000000000000..3a5ce4fc4efc
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBillingSupportTicketForSubscription.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "createSupportTicketParameters": {
+ "properties": {
+ "serviceId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "title": "my title",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/a8d819ba-73bd-10c2-fcd5-7059fc386df3",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "name": "testticket",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "119120321001170",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/8b6c2e08-cd75-c2d1-7a12-e4daf1e16f2e",
+ "problemClassificationDisplayName": "Refund request",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "serviceDisplayName": "Billing",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateCoresQuotaTicketForSubscription.json
new file mode 100644
index 000000000000..8fdb17cc401b
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateCoresQuotaTicketForSubscription.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "createSupportTicketParameters": {
+ "properties": {
+ "serviceId": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89",
+ "title": "my title",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89/problemClassifications/e12e3d1d-7fa0-af33-c6d0-3c50df9658a3",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"SKU\":\"DSv3 Series\",\"NewLimit\":104}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "name": "testticket",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "119120321001170",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89/problemClassifications/e12e3d1d-7fa0-af33-c6d0-3c50df9658a3",
+ "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"VmFamily\":\"DSv3 Series\",\"NewLimit\":104}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json
new file mode 100644
index 000000000000..72a2cdaf5e59
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "createSupportTicketParameters": {
+ "properties": {
+ "serviceId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "title": "my title",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/eefb3e6a-0243-9fc2-9197-d2798d71a74c",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "name": "testticket",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "119120321001170",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/eefb3e6a-0243-9fc2-9197-d2798d71a74c",
+ "problemClassificationDisplayName": "Transfer ownership of my subscription",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceDisplayName": "Subscription management",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSupportTicketCommunication.json
new file mode 100644
index 000000000000..7d1ec519f556
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSupportTicketCommunication.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "supportTicketName": "testticket",
+ "communicationName": "testcommunication",
+ "api-version": "2019-05-01-preview",
+ "createCommunicationParameters": {
+ "properties": {
+ "subject": "This is a test message from a customer!",
+ "body": "This is a test message from a customer!"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication",
+ "name": "testcommunication",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "This is a test message from a customer!",
+ "body": "This is a test message from a customer!",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "createdDate": "2016-08-24T20:18:19Z",
+ "sender": "user@contoso.com"
+ }
+ }
+ }
+ }
+}
+
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json
new file mode 100644
index 000000000000..ad98ed2cb82c
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "createSupportTicketParameters": {
+ "properties": {
+ "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc",
+ "title": "my title",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc/problemClassifications/ef8b3865-0c5a-247b-dcaa-d70fd7611a3c",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "technicalTicketDetails": {
+ "resourceId": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "name": "testticket",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "119120321001170",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc/problemClassifications/ef8b3865-0c5a-247b-dcaa-d70fd7611a3c",
+ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "technicalTicketDetails": {
+ "resourceId": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc",
+ "serviceDisplayName": "Virtual Machine running Linux",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json
new file mode 100644
index 000000000000..eb5c713d1b3e
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "0154f7fe-df09-4981-bf82-7ad5c1f596eb",
+ "supportTicketName": "testticket",
+ "communicationName": "8e9cf824-616e-4478-92c4-10b03c677104",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/0154f7fe-df09-4981-bf82-7ad5c1f596eb/providers/Microsoft.Support/supportTickets/testticket/communications/8e9cf824-616e-4478-92c4-10b03c677104",
+ "name": "8e9cf824-616e-4478-92c4-10b03c677104",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "this is a test message",
+ "body": "this is a test message",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "sender": "user@contoso.com",
+ "createdDate": "2016-08-24T20:18:19Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetProblemClassification.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetProblemClassification.json
new file mode 100644
index 000000000000..3627dca9be1d
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetProblemClassification.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "serviceName": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "problemClassificationName": "057f6615-3650-5370-57b2-e1a64af3b03",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/057f6615-3650-5370-57b2-e1a64af3b037",
+ "name": "057f6615-3650-5370-57b2-e1a64af3b037",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "/Reservation Management/Exchanges and Refunds"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetService.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetService.json
new file mode 100644
index 000000000000..97881a9cc71f
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetService.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "serviceName": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "name": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Billing"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetSubscriptionSupportTicketDetails.json
new file mode 100644
index 000000000000..d1d9aaa65eef
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetSubscriptionSupportTicketDetails.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "name": "testticket",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "118032014183770",
+ "description": "This is a test - please ignore",
+ "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/6abdbef4-3c18-3ce7-4354-03018676ec14",
+ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
+ "severity": "minimal",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "USA",
+ "preferredSupportLanguage": "en-US"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "Test - please ignore",
+ "serviceId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceDisplayName": "Subscription management",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
+
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json
new file mode 100644
index 000000000000..664808cc79fe
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "0154f7fe-df09-4981-bf82-7ad5c1f596eb",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/0154f7fe-df09-4981-bf82-7ad5c1f596eb/providers/Microsoft.Support/supportTickets/testticket/communications/8e9cf824-616e-4478-92c4-10b03c677104",
+ "name": "8e9cf824-616e-4478-92c4-10b03c677104",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "this is a test message",
+ "body": "this is a test message",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "sender": "user@contoso.com",
+ "createdDate": "2016-08-24T20:18:19Z"
+ }
+ },
+ {
+ "id": "/subscriptions/0154f7fe-df09-4981-bf82-7ad5c1f596eb/providers/Microsoft.Support/supportTickets/testticket/communications/f21f8082-574c-43b4-ad62-92119a797030",
+ "name": "f21f8082-574c-43b4-ad62-92119a797030",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "test",
+ "body": "test",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "sender": "user@contoso.com",
+ "createdDate": "2016-08-29T10:53:19Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListOperations.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListOperations.json
new file mode 100644
index 000000000000..a77c60df40d3
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListOperations.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Support/services/read",
+ "display": {
+ "description": "Gets all the Azure services available for support",
+ "operation": "Reads Services",
+ "provider": "Microsoft Support",
+ "resource": "Service"
+ }
+ },
+ {
+ "name": "Microsoft.Support/problemClassifications/read",
+ "display": {
+ "description": "Gets all the problem classifications available for a specific Azure service",
+ "operation": "Reads Problem Classifications",
+ "provider": "Microsoft Support",
+ "resource": "Problem Classification"
+ }
+ },
+ {
+ "name": "Microsoft.Support/supportTickets/read",
+ "display": {
+ "description": "Gets all the support tickets",
+ "operation": "Reads Support Tickets",
+ "provider": "Microsoft Support",
+ "resource": "Support Ticket"
+ }
+ },
+ {
+ "name": "Microsoft.Support/supportTickets/write",
+ "display": {
+ "description": "Updates support ticket",
+ "operation": "Updates support ticket",
+ "provider": "Microsoft Support",
+ "resource": "Support Ticket"
+ }
+ },
+ {
+ "name": "Microsoft.Support/communications/read",
+ "display": {
+ "description": "Gets all the communications",
+ "operation": "Reads Communications",
+ "provider": "Microsoft Support",
+ "resource": "Communication"
+ }
+ },
+ {
+ "name": "Microsoft.Support/communications/write",
+ "display": {
+ "description": "Creates a communication",
+ "operation": "Creates a communication",
+ "provider": "Microsoft Support",
+ "resource": "Communication"
+ }
+ },
+ {
+ "name": "Microsoft.Support/register/action",
+ "display": {
+ "description": "Registers Support Resource Provider",
+ "operation": "Registers Support Resource Provider",
+ "provider": "Registers Support Resource Provider",
+ "resource": "Support Registration"
+ }
+ },
+ {
+ "name": "Microsoft.Support/createSupportTicket/action",
+ "display": {
+ "description": "Creates support ticket",
+ "operation": "Registers Support Resource Provider",
+ "provider": "Microsoft Support",
+ "resource": "SupportTicket"
+ }
+ },
+ {
+ "name": "Microsoft.Support/addCommunication/action",
+ "display": {
+ "description": "Add communication to support ticket",
+ "operation": "Registers Support Resource Provider",
+ "provider": "Microsoft Support",
+ "resource": "Communication"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListProblemClassifications.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListProblemClassifications.json
new file mode 100644
index 000000000000..8e3a0fa80ef7
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListProblemClassifications.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "serviceName": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/057f6615-3650-5370-57b2-e1a64af3b037",
+ "name": "057f6615-3650-5370-57b2-e1a64af3b037",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "/Reservation Management/Exchanges and Refunds"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/0b759e67-2619-49bf-441d-ed952a5f32c5",
+ "name": "0b759e67-2619-49bf-441d-ed952a5f32c5",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "/Reservation Management/Request Invoices"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/10ec0d5a-45cd-a195-1252-0dfcca25263d",
+ "name": "10ec0d5a-45cd-a195-1252-0dfcca25263d",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "/Reservation Management/Other Iissues or Requests"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/43cabb12-33e3-5f97-5b68-9e6ce6412adc",
+ "name": "43cabb12-33e3-5f97-5b68-9e6ce6412adc",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "/Other General Billing Questions"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListServices.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListServices.json
new file mode 100644
index 000000000000..f886ef4581cb
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListServices.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "name": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Billing"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89",
+ "name": "06bfd9d3-516b-d5c6-5802-169c800dec89",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Service and subscription limits (quotas)"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "name": "f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Subscription management"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/0d06686e-fac3-fde3-a8c1-6dfbc8bd3865",
+ "name": "0d06686e-fac3-fde3-a8c1-6dfbc8bd3865",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Data Explorer"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsBySubscription.json
new file mode 100644
index 000000000000..dbe8bea85246
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsBySubscription.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "subscriptionId": "0154f7fe-df09-4981-bf82-7ad5c1f596eb",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "name": "testticket",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "119120321001170",
+ "description": "my description",
+ "problemClassificationId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc/problemClassifications/ef8b3865-0c5a-247b-dcaa-d70fd7611a3c",
+ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "technicalTicketDetails": {
+ "resourceId": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc",
+ "serviceDisplayName": "Virtual Machine running Linux",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ },
+ {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket2",
+ "name": "testticket2",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "118032014183771",
+ "description": "This is a test - please ignore",
+ "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/6abdbef4-3c18-3ce7-4354-03018676ec14",
+ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
+ "severity": "minimal",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "USA",
+ "preferredSupportLanguage": "en-US"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "Test - please ignore",
+ "serviceId" : "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceDisplayName": "Subscription management",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/UpdateSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/UpdateSupportTicketForSubscription.json
new file mode 100644
index 000000000000..fc4ec20aaebe
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/UpdateSupportTicketForSubscription.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "updateSupportTicket": {
+ "severity": "critical",
+ "contactDetails": {
+ "firstName": "first name",
+ "lastName": "last name",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "test.name@contoso.com",
+ "additionalEmailAddresses": [
+ "tname@contoso.com",
+ "teamtest@contoso.com"
+ ],
+ "phoneNumber": "123-456-7890",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "USA",
+ "preferredSupportLanguage": "en-US"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "name": "testticket",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "118032014183770",
+ "description": "This is a test - please ignore",
+ "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/6abdbef4-3c18-3ce7-4354-03018676ec14",
+ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
+ "severity": "critical",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "USA",
+ "preferredSupportLanguage": "en-US"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "Test - please ignore",
+ "serviceId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceDisplayName": "Subscription management",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
+
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/support.json
new file mode 100644
index 000000000000..9359a4ea1afb
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/support.json
@@ -0,0 +1,1464 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-05-01-preview",
+ "title": "Microsoft.Support",
+ "description": "Microsoft Azure Support Resource Provider."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow"
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Support/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "Lists all the available operations",
+ "description": "This lists all the available Microsoft Support REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "ListOperations": {
+ "$ref": "./examples/ListOperations.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Support/services": {
+ "get": {
+ "tags": [
+ "Services"
+ ],
+ "summary": "List all the Azure services available for support.",
+ "description": "List all the Azure services available for support. This includes **Billing**, **Subscription Management**, **Service and subscription limits (quotas)** and all **technical** services. User must provide the id of the Azure service when creating a support ticket.
For Billing, the id is '/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc'.
For Subscription Management, the id is '/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6'.
For Quota, the id is '/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89' and rest of the ids are for technical services.",
+ "operationId": "Services_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved list of Azure services available for support.",
+ "schema": {
+ "$ref": "#/definitions/ServicesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "ListServices": {
+ "$ref": "./examples/ListServices.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Support/services/{serviceName}": {
+ "get": {
+ "tags": [
+ "Services"
+ ],
+ "description": "Gets a specific Azure service available for support.",
+ "operationId": "Services_Get",
+ "parameters": [
+ {
+ "name": "serviceName",
+ "in": "path",
+ "description": "Name of Azure service available for support",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved Azure service available for support.",
+ "schema": {
+ "$ref": "#/definitions/Service"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetService": {
+ "$ref": "./examples/GetService.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": {
+ "get": {
+ "tags": [
+ "ProblemClassifications"
+ ],
+ "description": "Lists all the problem classifications available for a specific Azure service.",
+ "operationId": "ProblemClassifications_List",
+ "parameters": [
+ {
+ "name": "serviceName",
+ "in": "path",
+ "description": "Name of Azure service available for support for which all the problem classifications will be retrieved.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved list of problem classifications for the specified Azure service.",
+ "schema": {
+ "$ref": "#/definitions/ProblemClassificationsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "ListProblemClassificationsForService": {
+ "$ref": "./examples/ListProblemClassifications.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": {
+ "get": {
+ "tags": [
+ "ProblemClassifications"
+ ],
+ "description": "Gets the details of a specific problem classification for a specific Azure service.",
+ "operationId": "ProblemClassifications_Get",
+ "parameters": [
+ {
+ "name": "serviceName",
+ "in": "path",
+ "description": "Name of Azure service available for support.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "problemClassificationName",
+ "in": "path",
+ "description": "Name of problem classification.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved problem classification details.",
+ "schema": {
+ "$ref": "#/definitions/ProblemClassification"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetIssueClassification": {
+ "$ref": "./examples/GetProblemClassification.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "CheckNameAvailabilityWithSubscription"
+ ],
+ "description": "Check the availability of a resource name.",
+ "operationId": "CheckNameAvailabilityWithSubscription",
+ "x-ms-examples": {
+ "CheckNameAvailabilityWithSubscription": {
+ "$ref": "./examples/CheckNameAvailabilityWithSubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "checkNameAvailabilityInput",
+ "in": "body",
+ "description": "Input to check.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityOutput"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": {
+ "get": {
+ "tags": [
+ "SupportTickets"
+ ],
+ "description": "Lists all the support tickets for an Azure subscription. Support tickets older than 6 months cannot be retrieved using this API.",
+ "operationId": "SupportTickets_ListBySubscription",
+ "parameters": [
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The number of values to return in the collection. Default is 25 and max is 100.",
+ "required": false,
+ "type": "integer"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved support tickets.",
+ "schema": {
+ "$ref": "#/definitions/SupportTicketsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ListSupportTicketsBySubscription": {
+ "$ref": "./examples/ListSupportTicketsBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": {
+ "get": {
+ "tags": [
+ "SupportTickets"
+ ],
+ "description": "Gets details of a specific support ticket in an Azure subscription.",
+ "operationId": "SupportTickets_GetBySubscription",
+ "parameters": [
+ {
+ "name": "supportTicketName",
+ "in": "path",
+ "description": "Support ticket name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved support ticket.",
+ "schema": {
+ "$ref": "#/definitions/SupportTicketDetails"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetSubscriptionSupportTicketDetails": {
+ "$ref": "./examples/GetSubscriptionSupportTicketDetails.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "SupportTickets"
+ ],
+ "description": "Updates the support ticket.",
+ "operationId": "SupportTicketSubscription_Update",
+ "parameters": [
+ {
+ "name": "supportTicketName",
+ "in": "path",
+ "description": "Support ticket name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "updateSupportTicket",
+ "in": "body",
+ "description": "UpdateSupportTicket object.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/UpdateSupportTicket"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated support ticket.",
+ "schema": {
+ "$ref": "#/definitions/SupportTicketDetails"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateSupportTicketForSubscription": {
+ "$ref": "./examples/UpdateSupportTicketForSubscription.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SupportTickets"
+ ],
+ "summary": "Creates a support ticket for a subscription.",
+ "description": "A paid support plan is required to use this API to create a support ticket. Users can create tickets for issues relating to Billing, Subscription Management, Quota or any of the supported Azure technical services as indicated by the 'serviceId' in the request.
**Billing tickets**
For billing issues, user must set *serviceId* to *'/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc'*.
**Subscription Management tickets**
For issues relating to subscription management, *serviceId* should be set to *'/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6'*.
**Technical tickets**
For technical support ticket, user must set *serviceId* to one of the technical service ids and must provide additional information in TechnicalScopingInformation.
Users must also provide problemClassificationId when creating a support ticket.
",
+ "operationId": "CreateSupportTicketForSubscription",
+ "parameters": [
+ {
+ "name": "supportTicketName",
+ "in": "path",
+ "description": "Support ticket name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "createSupportTicketParameters",
+ "in": "body",
+ "description": "Support ticket request payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SupportTicketDetails"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - SupportTicket created successfully",
+ "schema": {
+ "$ref": "#/definitions/SupportTicketDetails"
+ }
+ },
+ "202": {
+ "description": "Accepted, SupportTicket will be created asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create a ticket for Billing related issues": { "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" },
+ "Create a ticket for Subscription Management related issues": { "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" },
+ "Create a ticket for Technical issue related to a specific resource": { "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.json" },
+ "Create a ticket to request Quota increase for cores": { "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "CheckNameAvailabilityForSupportTicketCommunication"
+ ],
+ "description": "Check the availability of a resource name.",
+ "operationId": "CheckNameAvailabilityForSupportTicketCommunication",
+ "x-ms-examples": {
+ "CheckNameAvailabilityWithSubscription": {
+ "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "supportTicketName",
+ "in": "path",
+ "description": "Support ticket name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "checkNameAvailabilityInput",
+ "in": "body",
+ "description": "Input to check.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityOutput"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": {
+ "get": {
+ "tags": [
+ "Communications"
+ ],
+ "description": "Lists all communications for a support ticket.",
+ "operationId": "Communications_ListBySubscriptionTicket",
+ "parameters": [
+ {
+ "name": "supportTicketName",
+ "in": "path",
+ "description": "Support ticket name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The number of values to return in the collection. Default is 10 and max is 10.",
+ "required": false,
+ "type": "integer"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved communications for a support ticket.",
+ "schema": {
+ "$ref": "#/definitions/CommunicationsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ListCommunicationsForSubscriptionSupportTicket": {
+ "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": {
+ "get": {
+ "tags": [
+ "Communications"
+ ],
+ "description": "Gets details of a specific communication.",
+ "operationId": "Communications_GetBySubscriptionTicket",
+ "parameters": [
+ {
+ "name": "supportTicketName",
+ "in": "path",
+ "description": "Support ticket name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "communicationName",
+ "in": "path",
+ "description": "Communication name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved communication details.",
+ "schema": {
+ "$ref": "#/definitions/CommunicationDetails"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetCommunicationDetailsForSubscriptionSupportTicket": {
+ "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Communications"
+ ],
+ "description": "Creates a support ticket communication.",
+ "operationId": "CreateSupportTicketCommunication",
+ "parameters": [
+ {
+ "name": "supportTicketName",
+ "in": "path",
+ "description": "Support ticket name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "communicationName",
+ "in": "path",
+ "description": "Communication name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "createCommunicationParameters",
+ "in": "body",
+ "description": "Communication object.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CommunicationDetails"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Communication created successfully.",
+ "schema": {
+ "$ref": "#/definitions/CommunicationDetails"
+ }
+ },
+ "202": {
+ "description": "Accepted, Communication will be created asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "AddCommunicationToSubscriptionTicket": {
+ "$ref": "./examples/CreateSupportTicketCommunication.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationsListResult": {
+ "description": "The list of operations supported by Microsoft Support resource provider.",
+ "properties": {
+ "value": {
+ "description": "The list of operations supported by Microsoft Support resource provider.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ }
+ }
+ },
+ "Operation": {
+ "description": "The operation supported by Microsoft Support RP.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "description": "The object that describes the operation.",
+ "properties": {
+ "description": {
+ "description": "The description of the operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "The action that users can perform, based on their permission level.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provider": {
+ "description": "Service provider: Microsoft Support.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+ },
+ "ServicesListResult": {
+ "description": "Object that represents a collection of Service resources.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of Service resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Service"
+ }
+ }
+ }
+ },
+ "Service": {
+ "description": "Object that represents a Service resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Id of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of the resource 'Microsoft.Support/services'.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ServiceProperties",
+ "description": "Properties of the resource."
+ }
+ }
+ },
+ "ServiceProperties": {
+ "description": "Details about Azure service available for support.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "Localized name of Azure service.",
+ "type": "string"
+ }
+ }
+ },
+ "ProblemClassificationsListResult": {
+ "description": "Object that represents a collection of ProblemClassification resources.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of ProblemClassification resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProblemClassification"
+ }
+ }
+ }
+ },
+ "ProblemClassification": {
+ "description": "Object that represents a ProblemClassification resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Id of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of the resource 'Microsoft.Support/problemClassification'.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ProblemClassificationProperties",
+ "description": "Properties of the resource."
+ }
+ }
+ },
+ "ProblemClassificationProperties": {
+ "description": "Details about a problem classification available for an Azure service.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "Localized name of problem classification.",
+ "type": "string"
+ }
+ }
+ },
+ "CheckNameAvailabilityInput": {
+ "description": "Input of CheckNameAvailability API.",
+ "type": "object",
+ "required": [
+ "name",
+ "type"
+ ],
+ "properties": {
+ "name": {
+ "description": "The resource name to validate.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Support/supportTickets",
+ "Microsoft.Support/communications"
+ ],
+ "x-ms-enum": {
+ "name": "Type",
+ "modelAsString": false
+ },
+ "description": "The type of resource."
+ }
+ }
+ },
+ "CheckNameAvailabilityOutput": {
+ "description": "Output of check name availability API.",
+ "type": "object",
+ "properties": {
+ "nameAvailable": {
+ "description": "Indicates whether the name is available.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "The reason why the name is not available.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "The detailed error message describing why the name is not available.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "SupportTicketsListResult": {
+ "description": "Object that represents a collection of SupportTicket resources.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of SupportTicket resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SupportTicketDetails"
+ }
+ },
+ "nextLink": {
+ "description": "The URI to fetch the next page of SupportTicket resources.",
+ "type": "string"
+ }
+ }
+ },
+ "SupportTicketDetails": {
+ "x-ms-azure-resource": true,
+ "description": "Object that represents SupportTicketDetails resource",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Id of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of the resource 'Microsoft.Support/supportTickets",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SupportTicketDetailsProperties",
+ "description": "Properties of the resource"
+ }
+ }
+ },
+ "CommunicationsListResult": {
+ "description": "Object that represents a collection of Communication resources.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of Communication resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CommunicationDetails"
+ }
+ },
+ "nextLink": {
+ "description": "The URI to fetch the next page of Communication resources.",
+ "type": "string"
+ }
+ }
+ },
+ "CommunicationDetails": {
+ "x-ms-azure-resource": true,
+ "description": "Object that represents Communication resource",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Id of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of the resource 'Microsoft.Support/communications",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CommunicationDetailsProperties",
+ "description": "Properties of the resource"
+ }
+ }
+ },
+ "CommunicationDetailsProperties": {
+ "description": "Describes the properties of a communication resource.",
+ "required": [
+ "subject",
+ "body"
+ ],
+ "type": "object",
+ "properties": {
+ "communicationType": {
+ "description": "Communication type.",
+ "enum": [
+ "web",
+ "phone"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CommunicationType",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "communicationDirection": {
+ "description": "Direction of communication.",
+ "enum": [
+ "inbound",
+ "outbound"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CommunicationDirection",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "sender": {
+ "description": "Sender of the communication.",
+ "type": "string"
+ },
+ "subject": {
+ "description": "Subject of the communication.",
+ "type": "string"
+ },
+ "body": {
+ "description": "Body of the communication.",
+ "type": "string"
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "Time in UTC (ISO 8601 format) when the communication was created.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SupportTicketDetailsProperties": {
+ "description": "Describes the properties of a support ticket.",
+ "required": [
+ "serviceId",
+ "title",
+ "description",
+ "problemClassificationId",
+ "severity",
+ "contactDetails"
+ ],
+ "type": "object",
+ "properties": {
+ "supportTicketId": {
+ "description": "System generated support ticket name.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the support ticket.",
+ "type": "string"
+ },
+ "problemClassificationId": {
+ "description": "This is the resource id of ProblemClassification resource associated with the support ticket. This is the issue or the problem that the support ticket is opened for.",
+ "type": "string"
+ },
+ "problemClassificationDisplayName": {
+ "type": "string",
+ "description": "Localized name of problem classification.",
+ "readOnly": true
+ },
+ "severity": {
+ "description": "Severity of the support ticket.",
+ "enum": [
+ "minimal",
+ "moderate",
+ "critical"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SeverityLevel",
+ "modelAsString": true
+ }
+ },
+ "enrollmentId": {
+ "description": "Enrollment ID associated with the support ticket.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productionOutage": {
+ "description": "Indicates if this is a production outage.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "require24X7Response": {
+ "description": "Indicates if this is a 24x7 support ticket.",
+ "type": "boolean"
+ },
+ "contactDetails": {
+ "$ref": "#/definitions/ContactProfile",
+ "description": "User information associated with the support ticket."
+ },
+ "serviceLevelAgreement": {
+ "$ref": "#/definitions/ServiceLevelAgreement",
+ "description": "Service Level Agreement information for this support ticket."
+ },
+ "supportEngineer": {
+ "$ref": "#/definitions/SupportEngineer",
+ "description": "Information about support engineer working on this support ticket."
+ },
+ "supportPlanType": {
+ "description": "Support plan type associated with the support ticket.",
+ "type": "string",
+ "readOnly": true
+ },
+ "title": {
+ "description": "Title of the support ticket.",
+ "type": "string"
+ },
+ "problemStartTime": {
+ "format": "date-time",
+ "description": "Time in UTC (ISO 8601 format) when the problem started.",
+ "type": "string"
+ },
+ "serviceId": {
+ "description": "This is the resource id of Service resource associated with the support ticket. This is the Azure service for which the support ticket was opened.",
+ "type": "string"
+ },
+ "serviceDisplayName": {
+ "type": "string",
+ "description": "Localized name of Azure service.",
+ "readOnly": true
+ },
+ "status": {
+ "description": "Status of the support ticket.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "Time in UTC (ISO 8601 format) when support ticket was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "modifiedDate": {
+ "format": "date-time",
+ "description": "Time in UTC (ISO 8601 format) when support ticket was last modified.",
+ "type": "string",
+ "readOnly": true
+ },
+ "technicalTicketDetails": {
+ "$ref": "#/definitions/TechnicalTicketDetails",
+ "description": "Additional ticket details associated with a technical support ticket request. "
+ },
+ "quotaTicketDetails": {
+ "$ref": "#/definitions/QuotaTicketDetails",
+ "description": "Additional ticket details associated with a quota support ticket request. "
+ }
+ }
+ },
+ "ServiceLevelAgreement": {
+ "description": "Service Level Agreement details for a support ticket.",
+ "type": "object",
+ "properties": {
+ "startTime": {
+ "format": "date-time",
+ "description": "Time in UTC (ISO 8601 format) when SLA started.",
+ "type": "string",
+ "readOnly": true
+ },
+ "expirationTime": {
+ "format": "date-time",
+ "description": "Time in UTC (ISO 8601 format) when SLA expires.",
+ "type": "string",
+ "readOnly": true
+ },
+ "slaMinutes": {
+ "description": "Service Level Agreement in minutes",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "SupportEngineer": {
+ "description": "Support engineer information.",
+ "type": "object",
+ "properties": {
+ "emailAddress": {
+ "description": "Support engineer email address.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ExceptionResponse": {
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ServiceError",
+ "description": "The api error details."
+ }
+ },
+ "description": "The api error."
+ },
+ "ServiceError": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceErrorDetail"
+ },
+ "description": "The list of error details.",
+ "readOnly": true
+ }
+ },
+ "description": "The api error details."
+ },
+ "ServiceErrorDetail": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The error code."
+ },
+ "message": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error."
+ }
+ },
+ "description": "The error details."
+ },
+ "ContactProfile": {
+ "description": "Contact information associated with support ticket.",
+ "required": [
+ "firstName",
+ "lastName",
+ "preferredContactMethod",
+ "primaryEmailAddress",
+ "preferredTimeZone",
+ "country",
+ "preferredSupportLanguage"
+ ],
+ "type": "object",
+ "properties": {
+ "firstName": {
+ "description": "First name.",
+ "type": "string"
+ },
+ "lastName": {
+ "description": "Last name.",
+ "type": "string"
+ },
+ "preferredContactMethod": {
+ "description": "Preferred contact method.",
+ "enum": [
+ "email",
+ "phone"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PreferredContactMethod",
+ "modelAsString": true
+ }
+ },
+ "primaryEmailAddress": {
+ "description": "Primary email address.",
+ "type": "string"
+ },
+ "additionalEmailAddresses": {
+ "description": "Additional email addresses.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "phoneNumber": {
+ "description": "Phone number. This is required if preferred contact method is phone.",
+ "type": "string"
+ },
+ "preferredTimeZone": {
+ "description": "Time zone of the user. This is the System.TimeZoneInfo.Id value",
+ "type": "string"
+ },
+ "country": {
+ "description": "Country of the user. This is the ISO Alpha-3 code",
+ "type": "string"
+ },
+ "preferredSupportLanguage": {
+ "description": "Language of the user. This is the standard country-language code.",
+ "type": "string"
+ }
+ }
+ },
+ "UpdateContactProfile": {
+ "description": "Update to the contact information associated with support ticket.",
+ "type": "object",
+ "properties": {
+ "firstName": {
+ "description": "First name.",
+ "type": "string"
+ },
+ "lastName": {
+ "description": "Last name.",
+ "type": "string"
+ },
+ "preferredContactMethod": {
+ "description": "Preferred contact method.",
+ "enum": [
+ "email",
+ "phone"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PreferredContactMethod",
+ "modelAsString": true
+ }
+ },
+ "primaryEmailAddress": {
+ "description": "Primary email address.",
+ "type": "string"
+ },
+ "additionalEmailAddresses": {
+ "description": "Additional email addresses.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "phoneNumber": {
+ "description": "Phone number. This is required if preferred contact method is phone.",
+ "type": "string"
+ },
+ "preferredTimeZone": {
+ "description": "Time zone of the user. This is the System.TimeZoneInfo.Id value",
+ "type": "string"
+ },
+ "country": {
+ "description": "Country of the user. This is the ISO Alpha-3 code",
+ "type": "string"
+ },
+ "preferredSupportLanguage": {
+ "description": "Language of the user. This is the standard country-language code.",
+ "type": "string"
+ }
+ }
+ },
+ "TechnicalTicketDetails": {
+ "description": "Additional information for technical support ticket.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "This is the resource id of the technical resource for which the support ticket is being created.",
+ "type": "string"
+ }
+ }
+ },
+ "QuotaTicketDetails": {
+ "description": "Additional information for quota support ticket.",
+ "type": "object",
+ "properties": {
+ "quotaChangeRequestSubType": {
+ "description": "This is the quota sub type for which the quota request is being made and is optional for some quota types.",
+ "type": "string"
+ },
+ "quotaChangeRequestVersion": {
+ "description": "Quota change request version",
+ "type": "string"
+ },
+ "quotaChangeRequests": {
+ "description": "Quota change requests.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QuotaChangeRequest"
+ }
+ }
+ }
+ },
+ "QuotaChangeRequest": {
+ "description": "Quota change request information.",
+ "type": "object",
+ "properties": {
+ "region": {
+ "description": "Region for which the quota change request is being made.",
+ "type": "string"
+ },
+ "payload": {
+ "description": "The payload of the quota change request.",
+ "type": "string"
+ }
+ }
+
+ },
+ "UpdateSupportTicket": {
+ "description": "Updates support ticket.",
+ "type": "object",
+ "properties": {
+ "severity": {
+ "description": "Severity level",
+ "enum": [
+ "minimal",
+ "moderate",
+ "critical"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SeverityLevel",
+ "modelAsString": true
+ }
+ },
+ "contactDetails": {
+ "$ref": "#/definitions/UpdateContactProfile",
+ "description": "Contact details to be updated on the support ticket."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Azure subscription id."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Api version."
+ }
+ }
+}
+
diff --git a/specification/support/resource-manager/readme.csharp.md b/specification/support/resource-manager/readme.csharp.md
new file mode 100644
index 000000000000..18d6f423a6c3
--- /dev/null
+++ b/specification/support/resource-manager/readme.csharp.md
@@ -0,0 +1,13 @@
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+```yaml $(csharp)
+csharp:
+ azure-arm: true
+ namespace: Microsoft.Azure.Management.Support
+ license-header: MICROSOFT_MIT_NO_VERSION
+ output-folder: $(csharp-sdks-folder)/support/Microsoft.Azure.Management.Support/src/Generated
+ clear-output-folder: true
+```
diff --git a/specification/support/resource-manager/readme.go.md b/specification/support/resource-manager/readme.go.md
new file mode 100644
index 000000000000..b052656f1700
--- /dev/null
+++ b/specification/support/resource-manager/readme.go.md
@@ -0,0 +1,26 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ clear-output-folder: true
+ namespace: support
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-05-preview
+```
+
+### Tag: package-2019-05-preview and go
+
+These settings apply only when `--tag=package-2019-05-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2019-05-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/support/mgmt/2019-05-01-preview/support
+```
diff --git a/specification/support/resource-manager/readme.java.md b/specification/support/resource-manager/readme.java.md
new file mode 100644
index 000000000000..4975ccadad75
--- /dev/null
+++ b/specification/support/resource-manager/readme.java.md
@@ -0,0 +1,33 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+java:
+ azure-arm: true
+ fluent: true
+ namespace: com.microsoft.azure.management.support
+ license-header: MICROSOFT_MIT_NO_CODEGEN
+ payload-flattening-threshold: 1
+ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-support
+```
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2019-05-preview
+```
+
+### Tag: package-2019-05-preview and java
+
+These settings apply only when `--tag=package-2019-05-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2019-05-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.support.v2019_05_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/sdk/support/mgmt-v2019_05_01_preview
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md
new file mode 100644
index 000000000000..6d35da89ad90
--- /dev/null
+++ b/specification/support/resource-manager/readme.md
@@ -0,0 +1,82 @@
+# Support
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for Support.
+
+
+---
+## Getting Started
+To build the SDK for Support, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+### Basic Information
+These are the global settings for the Support API.
+
+``` yaml
+openapi-type: arm
+tag: package-2019-05-preview
+```
+
+### Tag: package-2019-05-preview
+
+These settings apply only when `--tag=package-2019-05-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-05-preview'
+input-file:
+ - Microsoft.Support/preview/2019-05-01-preview/support.json
+```
+
+---
+# Code Generation
+
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-java
+ - repo: azure-sdk-for-js
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-net
+ - repo: azure-sdk-for-ruby
+ after_scripts:
+ - bundle install && rake arm:regen_all_profiles['azure_mgmt_support']
+```
+
+## C#
+
+See configuration in [readme.csharp.md](./readme.csharp.md)
+
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Java
+
+See configuration in [readme.java.md](./readme.java.md)
+
+## TypeScript
+
+See configuration in [readme.typescript.md](./readme.typescript.md)
+
+## Ruby
+
+See configuration in [readme.ruby.md](./readme.ruby.md)
diff --git a/specification/support/resource-manager/readme.python.md b/specification/support/resource-manager/readme.python.md
new file mode 100644
index 000000000000..6166b3f9a265
--- /dev/null
+++ b/specification/support/resource-manager/readme.python.md
@@ -0,0 +1,27 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.support
+ package-name: azure-mgmt-support
+ package-version: 2.0.0
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-support/azure/mgmt/support
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-support
+```
diff --git a/specification/support/resource-manager/readme.ruby.md b/specification/support/resource-manager/readme.ruby.md
new file mode 100644
index 000000000000..ded8e14cfb93
--- /dev/null
+++ b/specification/support/resource-manager/readme.ruby.md
@@ -0,0 +1,26 @@
+## Ruby
+
+These settings apply only when `--ruby` is specified on the command line.
+
+``` yaml $(ruby)
+ruby:
+ package-name: azure_mgmt_support
+ package-version": "0.16.0"
+```
+
+### Ruby multi-api
+
+``` yaml $(ruby) && $(multiapi)
+batch:
+ - tag: package-2019-05-preview
+```
+
+### Tag: package-2019-05-preview and ruby
+
+These settings apply only when `--tag=package-2019-05-preview --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-05-preview' && $(ruby)
+namespace: "Azure::Support::Mgmt::V2019_05_01_preview"
+output-folder: $(ruby-sdks-folder)/management/azure_mgmt_support/lib/2019-05-01-preview
+```
diff --git a/specification/support/resource-manager/readme.typescript.md b/specification/support/resource-manager/readme.typescript.md
new file mode 100644
index 000000000000..099d5ba49723
--- /dev/null
+++ b/specification/support/resource-manager/readme.typescript.md
@@ -0,0 +1,13 @@
+## TypeScript
+
+These settings apply only when `--typescript` is specified on the command line.
+Please also specify `--typescript-sdks-folder=`.
+
+```yaml $(typescript)
+typescript:
+ azure-arm: true
+ package-name: "support"
+ output-folder: "$(typescript-sdks-folder)/packages/support"
+ payload-flattening-threshold: 1
+ generate-metadata: true
+```
\ No newline at end of file
From e6ae259223ebdc5f49d01e60555f5ec30b496aa0 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Wed, 8 Jan 2020 03:05:27 +0000
Subject: [PATCH 181/469] regenerated all-api-versions
---
.../support/resource-manager/readme.md | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md
index 6d35da89ad90..64d1a4e1b161 100644
--- a/specification/support/resource-manager/readme.md
+++ b/specification/support/resource-manager/readme.md
@@ -80,3 +80,28 @@ See configuration in [readme.typescript.md](./readme.typescript.md)
## Ruby
See configuration in [readme.ruby.md](./readme.ruby.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Support/preview/2019-05-01-preview/support.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
From aedb9b67403fe033e18f25443d6947166cc9ac6e Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Wed, 8 Jan 2020 11:20:02 +0800
Subject: [PATCH 182/469] Add go sdk for attestation (#8083)
---
.../attestation/resource-manager/readme.go.md | 26 +++++++++++++++++++
.../attestation/resource-manager/readme.md | 4 +++
2 files changed, 30 insertions(+)
create mode 100644 specification/attestation/resource-manager/readme.go.md
diff --git a/specification/attestation/resource-manager/readme.go.md b/specification/attestation/resource-manager/readme.go.md
new file mode 100644
index 000000000000..2e19399e1ee5
--- /dev/null
+++ b/specification/attestation/resource-manager/readme.go.md
@@ -0,0 +1,26 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: attestation
+ clear-output-folder: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2018-09-preview
+```
+
+### Tag: package-2018-09-preview and go
+
+These settings apply only when `--tag=package-2018-09-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2018-09-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-09-01-preview/$(namespace)
+```
\ No newline at end of file
diff --git a/specification/attestation/resource-manager/readme.md b/specification/attestation/resource-manager/readme.md
index 90db381404b1..f6640479ed02 100644
--- a/specification/attestation/resource-manager/readme.md
+++ b/specification/attestation/resource-manager/readme.md
@@ -50,6 +50,7 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
+ - repo: azure-sdk-for-go
```
## Python
@@ -71,6 +72,9 @@ csharp:
clear-output-folder: true
```
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
## Multi-API/Profile support for AutoRest v3 generators
From e61060918cf4873f9ca4ec8d97635da1dac700e7 Mon Sep 17 00:00:00 2001
From: Basil Hariri <8660137+basilhariri@users.noreply.github.com>
Date: Tue, 7 Jan 2020 19:23:19 -0800
Subject: [PATCH 183/469] Update EventHub.json (#7917)
---
.../Microsoft.EventHub/stable/2017-04-01/EventHub.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json
index ae46ad3a898e..ff360bf3d626 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json
@@ -1448,7 +1448,7 @@
"$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleCreate.json"
}
},
- "description": "Creates or updates an AuthorizationRule for the specified Event Hub.",
+ "description": "Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
From cd030278d173aa0c662d69b99400af509938a7ce Mon Sep 17 00:00:00 2001
From: Pratima Upadhyay
Date: Wed, 8 Jan 2020 10:50:17 +0530
Subject: [PATCH 184/469] Adding property targetDirectoryForFileRestore in
TargetRestoreInfo (#8069)
---
.../Microsoft.RecoveryServices/stable/2019-06-15/bms.json | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/bms.json
index bd6f75035561..6ff3c63b4322 100644
--- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/bms.json
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2019-06-15/bms.json
@@ -4903,6 +4903,10 @@
"databaseName": {
"description": "Database name InstanceName/DataBaseName for SQL or System/DbName for SAP Hana",
"type": "string"
+ },
+ "targetDirectoryForFileRestore": {
+ "description": "Target directory location for restore as files.",
+ "type": "string"
}
}
},
From 3e6f0b6e0615180d7dabe220f5e725dc3f220e9f Mon Sep 17 00:00:00 2001
From: Jared Erwin
Date: Tue, 7 Jan 2020 22:25:16 -0800
Subject: [PATCH 185/469] Add identity property to service resource (#8017)
---
.../stable/2019-09-16/healthcare-apis.json | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json
index 3c7ea1171836..9ed9c916676a 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json
@@ -681,6 +681,24 @@
"etag": {
"description": "An etag associated with the resource, used for optimistic concurrency when editing it.",
"type": "string"
+ },
+ "identity": {
+ "type": "object",
+ "description": "Setting indicating whether the service has a managed identity associated with it.",
+ "properties": {
+ "type":{
+ "description" : "Type of identity being specified, currently SystemAssigned and None are allowed.",
+ "type": "string",
+ "enum": [
+ "SystemAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ManagedServiceIdentityType",
+ "modelAsString": true
+ }
+ }
+ }
}
},
"x-ms-azure-resource": true,
From 44fe2e5cffa496d6cd0fe900f648e24623549b93 Mon Sep 17 00:00:00 2001
From: Jorge Cotillo
Date: Tue, 7 Jan 2020 23:39:43 -0800
Subject: [PATCH 186/469] Added support for excludedActions in Blueprint API
spec (#8078)
* Added support for excludedActions in Blueprint API spec
* Included default excluded actions per lock mode
---
.../preview/2018-11-01-preview/blueprintAssignment.json | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
index 48dd6aaf9cf7..39bcf17a36cd 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
@@ -345,6 +345,13 @@
"items": {
"type": "string"
}
+ },
+ "excludedActions": {
+ "type": "array",
+ "description": "List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.",
+ "items": {
+ "type": "string"
+ }
}
}
},
From 504d6226e2728fd034e8e7ee2a474c316f51eb1b Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Wed, 8 Jan 2020 20:21:19 +0800
Subject: [PATCH 187/469] multiapi databoxedge (#8085)
* multiapi databoxedge
* fix
---
.../databoxedge/resource-manager/readme.md | 29 ++---------
.../resource-manager/readme.python.md | 50 +++++++++++++++++++
2 files changed, 53 insertions(+), 26 deletions(-)
create mode 100644 specification/databoxedge/resource-manager/readme.python.md
diff --git a/specification/databoxedge/resource-manager/readme.md b/specification/databoxedge/resource-manager/readme.md
index 68c50f707151..18353b7dbfc2 100644
--- a/specification/databoxedge/resource-manager/readme.md
+++ b/specification/databoxedge/resource-manager/readme.md
@@ -68,6 +68,8 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
+ after_scripts:
+ - python ./scripts/multiapi_init_gen.py azure-mgmt-databoxedge
- repo: azure-sdk-for-js
- repo: azure-sdk-for-go
- repo: azure-sdk-for-java
@@ -93,32 +95,7 @@ csharp:
## 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: 0
- namespace: azure.mgmt.databoxedge
- package-name: azure-mgmt-databoxedge
- title: DataBoxEdgeManagementClient
- description: The DataBoxEdge Client.
- clear-output-folder: true
-```
-``` yaml $(python) && $(python-mode) == 'update'
-python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge
-```
-``` yaml $(python) && $(python-mode) == 'create'
-python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge
-```
+See configuration in [readme.python.md](./readme.python.md)
## Ruby
diff --git a/specification/databoxedge/resource-manager/readme.python.md b/specification/databoxedge/resource-manager/readme.python.md
new file mode 100644
index 000000000000..b7c6cd2ccae4
--- /dev/null
+++ b/specification/databoxedge/resource-manager/readme.python.md
@@ -0,0 +1,50 @@
+## 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:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 0
+ namespace: azure.mgmt.databoxedge
+ package-name: azure-mgmt-databoxedge
+ title: DataBoxEdgeManagementClient
+ description: The DataBoxEdge Client.
+ clear-output-folder: true
+ no-namespace-folders: true
+```
+
+### Python multi-api
+
+Generate all API versions currently shipped for this package
+
+```yaml $(python) && $(multiapi)
+batch:
+ - tag: package-2019-07
+ - tag: package-2019-03
+```
+
+### Tag: package-2019-07 and python
+
+These settings apply only when `--tag=package-2019-07 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-07' && $(python)
+python:
+ namespace: azure.mgmt.databoxedge.v2019_07_01
+ output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01
+```
+
+### Tag: package-2019-03 and python
+
+These settings apply only when `--tag=package-2019-03 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-03' && $(python)
+python:
+ namespace: azure.mgmt.databoxedge.v2019_03_01
+ output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01
+```
From 8179f85219cba709013ac46ca9a2d99644423da7 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Thu, 9 Jan 2020 05:35:44 +0800
Subject: [PATCH 188/469] iot hub to multiapi (#8087)
* iot hub to multiapi
* updated
---
.../iothub/resource-manager/readme.md | 2 +
.../iothub/resource-manager/readme.python.md | 96 +++++++++++++++++--
2 files changed, 91 insertions(+), 7 deletions(-)
diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md
index c0d44216337e..877cffa54cf0 100644
--- a/specification/iothub/resource-manager/readme.md
+++ b/specification/iothub/resource-manager/readme.md
@@ -132,6 +132,8 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
+ after_scripts:
+ - python ./scripts/multiapi_init_gen.py azure-mgmt-iothub
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
diff --git a/specification/iothub/resource-manager/readme.python.md b/specification/iothub/resource-manager/readme.python.md
index cd2cac601f4a..dffe7cf8001c 100644
--- a/specification/iothub/resource-manager/readme.python.md
+++ b/specification/iothub/resource-manager/readme.python.md
@@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-11' && $(python)
python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub
+ namespace: azure.mgmt.iothub.v2019_11_04
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2019_11_04
+```
+
+### Tag: package-2019-03 and python
+
+These settings apply only when `--tag=package-2019-03 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-03' && $(python)
+python:
+ namespace: azure.mgmt.iothub.v2019_03_22
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2019_03_22
+```
+
+### Tag: package-2018-04 and python
+
+These settings apply only when `--tag=package-2018-04 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-04' && $(python)
+python:
+ namespace: azure.mgmt.iothub.v2018_04_01
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2018_04_01
```
-``` yaml $(python) && $(python-mode) == 'create'
+
+### Tag: package-2018-01 and python
+
+These settings apply only when `--tag=package-2018-01 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-01' && $(python)
+python:
+ namespace: azure.mgmt.iothub.v2018_01_22
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2018_01_22
+```
+
+### Tag: package-2017-07 and python
+
+These settings apply only when `--tag=package-2017-07 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2017-07' && $(python)
+python:
+ namespace: azure.mgmt.iothub.v2017_07_01
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2017_07_01
+```
+
+### Tag: package-2017-01 and python
+
+These settings apply only when `--tag=package-2017-01 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2017-01' && $(python)
+python:
+ namespace: azure.mgmt.iothub.v2017_01_19
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2017_01_19
+```
+
+### Tag: package-2016-02 and python
+
+These settings apply only when `--tag=package-2016-02 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2016-02' && $(python)
python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub
+ namespace: azure.mgmt.iothub.v2016_02_03
+ output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2016_02_03
```
From ab39a9391daabde74622420b4cde8eda443f0084 Mon Sep 17 00:00:00 2001
From: Himanshu Chhabra
Date: Thu, 9 Jan 2020 10:47:20 +0530
Subject: [PATCH 189/469] Adding all files, examples (removed the readonly from
encryption services for table and queue) (#8035)
---
.../examples/StorageAccountCreate.json | 28 +++++++++++++++++++
.../examples/StorageAccountGetProperties.json | 15 ++++++++++
.../examples/StorageAccountList.json | 15 ++++++++++
.../examples/StorageAccountUpdate.json | 28 +++++++++++++++++++
.../stable/2019-06-01/storage.json | 15 ++++++++--
5 files changed, 99 insertions(+), 2 deletions(-)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json
index 830acfa41d1d..d33ee97093f9 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json
@@ -16,6 +16,19 @@
"routingChoice": "MicrosoftRouting",
"publishMicrosoftEndpoints": true,
"publishInternetEndpoints": true
+ },
+ "encryption": {
+ "services": {
+ "file": {
+ "keyType": "Account",
+ "enabled": true
+ },
+ "blob": {
+ "keyType": "Account",
+ "enabled": true
+ }
+ },
+ "keySource": "Microsoft.Storage"
}
},
"tags": {
@@ -63,6 +76,21 @@
"publishMicrosoftEndpoints": true,
"publishInternetEndpoints": true
},
+ "encryption": {
+ "services": {
+ "file": {
+ "keyType": "Account",
+ "enabled": true,
+ "lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
+ },
+ "blob": {
+ "keyType": "Account",
+ "enabled": true,
+ "lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
+ }
+ },
+ "keySource": "Microsoft.Storage"
+ },
"secondaryLocation": "centraluseuap",
"statusOfPrimary": "available",
"statusOfSecondary": "available",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetProperties.json
index bc0987aee262..e62be3f3256d 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetProperties.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetProperties.json
@@ -56,6 +56,21 @@
"publishMicrosoftEndpoints": true,
"publishInternetEndpoints": true
},
+ "encryption": {
+ "services": {
+ "file": {
+ "keyType": "Account",
+ "enabled": true,
+ "lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
+ },
+ "blob": {
+ "keyType": "Account",
+ "enabled": true,
+ "lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
+ }
+ },
+ "keySource": "Microsoft.Storage"
+ },
"secondaryLocation": "northcentralus(stage)",
"statusOfPrimary": "available",
"statusOfSecondary": "available",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountList.json
index 5205da3e4874..dd0211fb93b6 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountList.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountList.json
@@ -45,6 +45,21 @@
"publishMicrosoftEndpoints": true,
"publishInternetEndpoints": true
},
+ "encryption": {
+ "services": {
+ "file": {
+ "keyType": "Account",
+ "enabled": true,
+ "lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
+ },
+ "blob": {
+ "keyType": "Account",
+ "enabled": true,
+ "lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
+ }
+ },
+ "keySource": "Microsoft.Storage"
+ },
"secondaryLocation": "centraluseuap",
"statusOfPrimary": "available",
"statusOfSecondary": "available",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
index 5a09784b26cf..2a64ed59b064 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
@@ -14,6 +14,19 @@
"routingChoice": "MicrosoftRouting",
"publishMicrosoftEndpoints": true,
"publishInternetEndpoints": true
+ },
+ "encryption": {
+ "services": {
+ "file": {
+ "keyType": "Account",
+ "enabled": true
+ },
+ "blob": {
+ "keyType": "Account",
+ "enabled": true
+ }
+ },
+ "keySource": "Microsoft.Storage"
}
}
}
@@ -63,6 +76,21 @@
"publishMicrosoftEndpoints": true,
"publishInternetEndpoints": true
},
+ "encryption": {
+ "services": {
+ "file": {
+ "keyType": "Account",
+ "enabled": true,
+ "lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
+ },
+ "blob": {
+ "keyType": "Account",
+ "enabled": true,
+ "lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
+ }
+ },
+ "keySource": "Microsoft.Storage"
+ },
"secondaryLocation": "northcentralus(stage)",
"statusOfPrimary": "available",
"statusOfSecondary": "available",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index e457d4b98b7b..1dcbff2a61b0 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -1296,6 +1296,19 @@
"type": "string",
"format": "date-time",
"description": "Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate."
+ },
+ "keyType": {
+ "type": "string",
+ "description": "Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used.",
+ "enum": [
+ "Service",
+ "Account"
+ ],
+ "x-ms-enum": {
+ "name": "KeyType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": ["create","read"]
}
},
"description": "A service that allows server-side encryption to be used."
@@ -1312,12 +1325,10 @@
},
"table": {
"$ref": "#/definitions/EncryptionService",
- "readOnly": true,
"description": "The encryption function of the table storage service."
},
"queue": {
"$ref": "#/definitions/EncryptionService",
- "readOnly": true,
"description": "The encryption function of the queue storage service."
}
},
From 1af7b433df05a809adb77604b91c8c295b90909b Mon Sep 17 00:00:00 2001
From: Itye Richter
Date: Thu, 9 Jan 2020 08:01:06 +0200
Subject: [PATCH 190/469] Add Azure Search Track2 Autorest config fir Java
(#7923)
* initial version
* removed track2 files and track2 tags
* as per request removed index analyzer validation
* updated the output folder for java
* Add static Collection method to DataType and remove static enum
* updated specs
---
.../Microsoft.Azure.Search.Data/readme.md | 188 +++++++++++++++++-
.../Microsoft.Azure.Search.Service/readme.md | 92 ++++++++-
.../data-plane/autorest-custom-directives.md | 20 ++
3 files changed, 298 insertions(+), 2 deletions(-)
create mode 100644 specification/search/data-plane/autorest-custom-directives.md
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
index 2f6c6beae544..af6d3830fca2 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
@@ -114,9 +114,195 @@ input-file:
# Code Generation
!!! READ THIS !!!
-This swagger is not yet ready for languages other than C#.
+This swagger is ready for C# and Java
!!! READ THIS !!!
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--java-sdks-folder=`.
+
+``` yaml $(java)
+title: SearchIndexRestClient
+output-folder: $(java-sdks-folder)/search
+namespace: com.azure.search
+java: true
+sync-methods: none
+add-context-parameter: true
+generate-client-interfaces: false
+license-header: |-
+ Copyright (c) Microsoft Corporation. All rights reserved.
+ Licensed under the MIT License.
+ Code generated by Microsoft (R) AutoRest Code Generator.
+ Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+require: ../autorest-custom-directives.md
+
+vararg-properties: >-
+ AutocompleteOptions.searchFields,
+ SearchOptions.facets, SearchOptions.highlightFields, SearchOptions.orderBy, SearchOptions.scoringParameters, SearchOptions.searchFields, SearchOptions.select,
+ SuggestOptions.orderBy, SuggestOptions.searchFields, SuggestOptions.select
+```
+
+### Tweak generated code
+
+Use the below directives sparingly. Every modification we make in here, we potentially have to replicate for every target language.
+
+``` yaml $(java)
+directive:
+ # Rename IndexBatch to IndexBatchImpl when processing the API spec
+ - rename-model:
+ from: IndexBatch
+ to: IndexBatchImpl
+
+ # Use Document rather than Map
+ - from:
+ - DocumentsImpl.java
+ - SearchResult.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(package com.azure.search.models;)/g, "$1\nimport com.azure.search.Document;")
+ .replace(/(package com.azure.search.implementation;)/g, "$1\nimport com.azure.search.Document;")
+ .replace(/(Map)/g, "Document")
+ .replace(/(Object)/g, "Document")
+
+ # Use Document rather than Map
+ - from: SuggestResult.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(import java.util.Map;\n)/g, "import com.azure.search.Document;")
+ .replace(/(Map)/g, "Document")
+
+ # Enable configuration of RestProxy serializer
+ - from: DocumentsImpl.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(import com.azure.core.util.serializer.JacksonAdapter;)/g, "$1\nimport com.azure.core.util.serializer.SerializerAdapter;")
+ .replace(/(@param client the instance of the service client containing this operation class.)/g, "$1\n \* @param serializer the serializer to be used for service client requests.")
+ .replace(/(public DocumentsImpl\(SearchIndexRestClientImpl client\) {)/g, "public DocumentsImpl(SearchIndexRestClientImpl client, SerializerAdapter serializer) {")
+ .replace(/(this.service = RestProxy.create\(DocumentsService.class, client.getHttpPipeline\(\)\);)/g, "this.service = RestProxy.create(DocumentsService.class, client.getHttpPipeline(), serializer);")
+
+ # Enable public access to client setters
+ # Enable configuration of RestProxy serializer
+ - from: SearchIndexRestClientImpl.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(void setApiVersion)/g, "public void setApiVersion")
+ .replace(/(void setIndexName)/g, "public void setIndexName")
+ .replace(/(void setSearchDnsSuffix)/g, "public void setSearchDnsSuffix")
+ .replace(/(void setSearchServiceName)/g, "public void setSearchServiceName")
+ .replace(/(package com.azure.search.implementation;)/g, "$1\nimport com.azure.core.util.serializer.SerializerAdapter;")
+ .replace(/(this\(RestProxy.createDefaultPipeline\(\)\);)/g, "this(RestProxy.createDefaultPipeline(), JacksonAdapter.createDefaultSerializerAdapter());")
+ .replace(/(@param httpPipeline The HTTP pipeline to send requests through.)/g, "$1\n \* @param serializer the serializer to be used for service client requests.")
+ .replace(/(public SearchIndexRestClientImpl\(HttpPipeline httpPipeline\) {)/g, "public SearchIndexRestClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializer) {")
+ .replace(/(this.documents = new DocumentsImpl\(this\);)/g, "this.documents = new DocumentsImpl(this, serializer);")
+
+ # Enable IndexAction to be used as a generic type
+ # Enable serialization of both POJOs and Maps
+ - from: IndexAction.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(import com.fasterxml.jackson.annotation.JsonProperty;)/g, "import com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.jackson.annotation.JsonIgnore;\n$1\nimport com.fasterxml.jackson.annotation.JsonUnwrapped;\n")
+ .replace(/(class IndexAction)/g, "$1")
+ .replace(/(Unmatched properties from the message are deserialized this collection)/g, "The document on which the action will be performed.")
+ .replace(/(@JsonProperty\(value = ""\))/g, "@JsonUnwrapped")
+ .replace(/(private Map additionalProperties);/g, "private T document;\n\n @JsonIgnore\n private Map properties;\n\n @JsonAnyGetter\n private Map getParamMap() {\n return properties;\n }")
+ .replace(/(Get the additionalProperties property: Unmatched properties from the\n\s+\* message are deserialized this collection.)/g, "Get the document on which the action will be performed; Fields other than the key are ignored for delete actions.")
+ .replace(/(@return the additionalProperties value.)/g, "@return the document value.")
+ .replace(/(public Map getAdditionalProperties\(\) {\s+return this.additionalProperties;\s+})/g, "public T getDocument() {\n return this.document;\n }")
+ .replace(/(Set the additionalProperties property: Unmatched properties from the\s+\* message are deserialized this collection.)/g, "Get the document on which the action will be performed; Fields other than the key are ignored for delete actions.")
+ .replace(/(@param additionalProperties the additionalProperties value to set.)/g, "@param document the document value to set.")
+ .replace(/(public IndexAction setAdditionalProperties\(Map additionalProperties\) {\s+this.additionalProperties = additionalProperties;\s+return this;\s+})/g, "@SuppressWarnings(\"unchecked\")\n public IndexAction setDocument(T document) {\n if (document instanceof Map) {\n this.properties = (Map) document;\n this.document = null;\n } else {\n this.document = document;\n this.properties = null;\n }\n return this;\n }")
+ .replace(/(public IndexAction setActionType\(IndexActionType actionType\) {)/g, "public IndexAction setActionType(IndexActionType actionType) {")
+
+ # Enable configuration of RestProxy serializer
+ - from: SearchIndexRestClientBuilder.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(package com.azure.search.implementation;)/g, "$1\nimport com.azure.core.util.serializer.SerializerAdapter;")
+ .replace(/(\* The HTTP pipeline to send requests through)/g, "\* The serializer to use for requests\n \*\/\n private SerializerAdapter serializer;\n\n \/\*\*\n \* Sets The serializer to use for requests.\n \*\n \* @param serializer the serializer value.\n \* @return the SearchIndexRestClientBuilder.\n \*\/\n public SearchIndexRestClientBuilder serializer\(SerializerAdapter serializer\) {\n this.serializer = serializer;\n return this;\n }\n\n \/\*\n $1")
+ .replace(/(new SearchIndexRestClientImpl\(pipeline)/g, "$1, serializer")
+ .replace(/(this.pipeline = RestProxy.createDefaultPipeline\(\);\s+})/g, "$1\n if \(serializer == null\) {\n this.serializer = JacksonAdapter.createDefaultSerializerAdapter\(\);\n }")
+
+ # Enable IndexBatchImpl to be used as a generic type
+ - from: IndexBatchImpl.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(public final class IndexBatchImpl)/g, "public class IndexBatchImpl")
+ .replace(/(private List actions;)/g, "private List> actions;")
+ .replace(/(public List getActions\(\) {)/g, "public List> getActions() {")
+ .replace(/(public IndexBatchImpl setActions\(List actions\) {)/g, "protected IndexBatchImpl setActions(List> actions) {")
+
+ # Replace use of generated IndexBatchImpl with custom IndexBatch class
+ - from: DocumentsImpl.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(IndexBatchImpl)/g, "IndexBatch")
+ .replace(/(IndexBatch )/g, "IndexBatch ")
+ .replace(/(Mono indexAsync)/g, " $1")
+ .replace(/(Mono> index)/g, " $1")
+ .replace(/(import com.azure.search.implementation.models.IndexBatch)/g, "import com.azure.search.models.IndexBatch")
+
+ # Change get to is
+ - from: DocumentsImpl.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(get(IncludeTotalResultCount|UseFuzzyMatching))/g, "is$2")
+
+ # Mark IndexingResult as Serializable, for use in IndexBatchException
+ - from: IndexingResult.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(import com.fasterxml.jackson.annotation.JsonProperty;)/g, "$1\n\nimport java.io.Serializable;")
+ .replace(/(class IndexingResult {)/g, "class IndexingResult implements Serializable {\n private static final long serialVersionUID = -8604424005271188140L;")
+
+ - from:
+ - FacetResult.java
+ where: $
+ transform: >-
+ return $.replace(/(public FacetResult setAdditionalProperties)/g, "FacetResult setAdditionalProperties")
+
+ - from:
+ - SearchResult.java
+ where: $
+ transform: >-
+ return $.replace(/(public SearchResult setAdditionalProperties)/g, "SearchResult setAdditionalProperties")
+
+ - from:
+ - SuggestResult.java
+ where: $
+ transform: >-
+ return $.replace(/(public SuggestResult setAdditionalProperties)/g, "SuggestResult setAdditionalProperties")
+
+ - from:
+ - FacetResult.java
+ - SearchResult.java
+ - SuggestResult.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(getAdditionalProperties)/g, "getDocument")
+ .replace(/(setAdditionalProperties)/g, "setDocument")
+ reason: Provides a better description of the getter/setter for addtionalProperties
+
+ - from:
+ - SearchResult.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(package com.azure.search.models;)/g, "$1\nimport com.fasterxml.jackson.annotation.JsonIgnore;")
+ .replace(/(public Document getDocument())/g, "@JsonIgnore\n$1")
+```
## C#
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
index 7c402fb15b55..a4d48b6fbe1b 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
@@ -115,9 +115,99 @@ input-file:
# Code Generation
!!! READ THIS !!!
-This swagger is not yet ready for languages other than C#.
+This swagger is ready for C# and Java.
!!! READ THIS !!!
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--java-sdks-folder=`.
+
+``` yaml $(java)
+title: SearchServiceRestClient
+output-folder: $(java-sdks-folder)/search
+namespace: com.azure.search
+java: true
+sync-methods: none
+add-context-parameter: true
+generate-client-interfaces: false
+license-header: |-
+ Copyright (c) Microsoft Corporation. All rights reserved.
+ Licensed under the MIT License.
+ Code generated by Microsoft (R) AutoRest Code Generator.
+ Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+require: ../autorest-custom-directives.md
+
+vararg-properties: >-
+ CorsOptions.allowedOrigins
+
+directive:
+ # Add static Collection method to DataType
+ - from: DataType.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(public static final DataType EDM_COMPLEX_TYPE = fromString\("Edm.ComplexType"\);)/g, "$1\n\n /**\n * Returns a collection of a specific DataType\n * @param dataType the corresponding DataType\n * @return a Collection of the corresponding DataType\n */\n @JsonCreator\n public static DataType Collection(DataType dataType) {\n return fromString(String.format(\"Collection(%s)\", dataType.toString()));\n }")
+
+ # Workaround to fix bad host path parameters
+ - from:
+ - SkillsetsImpl.java
+ - DatasetsImpl.java
+ - DataSourcesImpl.java
+ - IndexersImpl.java
+ - IndexesImpl.java
+ - SynonymMapsImpl.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(this.getSearchServiceName)/g, "this.client.getSearchServiceName")
+ .replace(/(this.getSearchDnsSuffix)/g, "this.client.getSearchDnsSuffix")
+
+ # Replace VoidResponse with SimpleResponse
+ - from:
+ - SkillsetsImpl.java
+ - DatasetsImpl.java
+ - DataSourcesImpl.java
+ - IndexersImpl.java
+ - IndexesImpl.java
+ - SynonymMapsImpl.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(import com.azure.core.http.rest.VoidResponse;\n)/g, "")
+ .replace(/(VoidResponse)/g, "SimpleResponse")
+
+ # Change Field.analyzer/indexAnalyzer/searchAnalyzer's types from enum to string. Update setters and getters.
+ - change-object-ref-to-string:
+ path: "$.definitions.Field.properties.analyzer"
+ - change-object-ref-to-string:
+ path: "$.definitions.Field.properties.searchAnalyzer"
+ - change-object-ref-to-string:
+ path: "$.definitions.Field.properties.indexAnalyzer"
+
+ # Change CustomAnalyzer.tokenizer/tokenFilters/charFilters' types from enum to string. Update setters and getters.
+ - change-object-ref-to-string:
+ path: "$.definitions.CustomAnalyzer.properties.tokenizer"
+ - change-object-ref-to-string:
+ path: "$.definitions.CustomAnalyzer.properties.tokenFilters.items"
+ - change-object-ref-to-string:
+ path: "$.definitions.CustomAnalyzer.properties.charFilters.items"
+
+ - from:
+ - SearchServiceRestClientImpl.java
+ where: $
+ transform: >-
+ return $.replace(/(package com.azure.search.implementation;)/g, "$1\nimport com.azure.core.http.rest.RestProxy;")
+
+ - from:
+ - DataSourceType.java
+ where: $
+ transform: >-
+ return $
+ .replace(/(COSMOS_DB)/g, "COSMOS")
+```
+
## C#
These settings apply only when `--csharp` is specified on the command line.
diff --git a/specification/search/data-plane/autorest-custom-directives.md b/specification/search/data-plane/autorest-custom-directives.md
new file mode 100644
index 000000000000..fc7690a036e3
--- /dev/null
+++ b/specification/search/data-plane/autorest-custom-directives.md
@@ -0,0 +1,20 @@
+```yaml
+# Declare a directive that can be invoked in the pipeline
+declare-directive:
+
+ # Renames a property in the given path
+ rename-custom-property: >-
+ {
+ from: 'swagger-document',
+ where: $.path,
+ transform: `$.name = $.name === "${$.from}" ? "${$.to}" : $.name`
+ }
+
+ # Change from object reference to string
+ change-object-ref-to-string: >-
+ {
+ from: 'swagger-document',
+ where: $.path,
+ transform: `delete $['$ref']; $['type'] = "string"`
+ }
+```
From 980892a5cd18bebc85809011d106d61c63288727 Mon Sep 17 00:00:00 2001
From: Nava Vaisman Levy
Date: Thu, 9 Jan 2020 22:23:23 +0200
Subject: [PATCH 191/469] add custom types sub package (#8106)
---
.../search/data-plane/Microsoft.Azure.Search.Service/readme.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
index a4d48b6fbe1b..50f5c85f6f60 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
@@ -131,6 +131,8 @@ java: true
sync-methods: none
add-context-parameter: true
generate-client-interfaces: false
+custom-types-subpackage: implementation.models
+custom-types: AnalyzeResult
license-header: |-
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
From 9c19e847431ec046017385e6912082cadab6d699 Mon Sep 17 00:00:00 2001
From: Ramesh Grandhi
Date: Thu, 9 Jan 2020 15:20:32 -0800
Subject: [PATCH 192/469] EventGrid: New preview API version with support for
IPFiltering in Domains & Topics. (#8100)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* EventGrid: New preview API version with support for IPFiltering support in Domains & Topics.
EventGrid: New preview API version with support for IPFiltering support in Domains & Topics.
oTopicProperties: Following new properties are introduced:
allowTrafficFromAllIPs
inboundIpRules
o DomainProperties: Following new properties are introduced:
allowTrafficFromAllIPs
inboundIpRules
o Minor change in the description fields:
o InboundIpRule: Following new model with the following properties are introduced:
IpMask
Action
* Update Examples for Domain/Topics
Update Examples for Domain/Topics
* Correct the misspelled description
Correct the misspelled description
* Fix Prettier issue
Fix Prettier issue
* add the required property on inputschemamapping
---
.../preview/2020-04-01-preview/EventGrid.json | 3798 +++++++++++++++++
.../examples/DomainTopics_CreateOrUpdate.json | 21 +
.../examples/DomainTopics_Delete.json | 13 +
.../examples/DomainTopics_Get.json | 21 +
.../examples/DomainTopics_ListByDomain.json | 32 +
.../examples/Domains_CreateOrUpdate.json | 57 +
.../examples/Domains_Delete.json | 12 +
.../examples/Domains_Get.json | 26 +
.../examples/Domains_ListByResourceGroup.json | 43 +
.../examples/Domains_ListBySubscription.json | 42 +
.../Domains_ListSharedAccessKeys.json | 16 +
.../examples/Domains_RegenerateKey.json | 19 +
.../examples/Domains_Update.json | 32 +
...ateForCustomTopic_EventHubDestination.json | 61 +
...stomTopic_HybridConnectionDestination.json | 61 +
...orCustomTopic_StorageQueueDestination.json | 63 +
...dateForCustomTopic_WebhookDestination.json | 46 +
...bscriptions_CreateOrUpdateForResource.json | 46 +
...ptions_CreateOrUpdateForResourceGroup.json | 46 +
...iptions_CreateOrUpdateForSubscription.json | 44 +
...entSubscriptions_DeleteForCustomTopic.json | 12 +
.../EventSubscriptions_DeleteForResource.json | 12 +
...tSubscriptions_DeleteForResourceGroup.json | 12 +
...ntSubscriptions_DeleteForSubscription.json | 12 +
.../EventSubscriptions_GetForCustomTopic.json | 35 +
.../EventSubscriptions_GetForResource.json | 35 +
...ventSubscriptions_GetForResourceGroup.json | 35 +
...EventSubscriptions_GetForSubscription.json | 35 +
...ubscriptions_GetFullUrlForCustomTopic.json | 14 +
...ntSubscriptions_GetFullUrlForResource.json | 14 +
...scriptions_GetFullUrlForResourceGroup.json | 14 +
...bscriptions_GetFullUrlForSubscription.json | 14 +
.../EventSubscriptions_ListByDomainTopic.json | 78 +
.../EventSubscriptions_ListByResource.json | 79 +
...bscriptions_ListGlobalByResourceGroup.json | 55 +
...ListGlobalByResourceGroupForTopicType.json | 40 +
...ubscriptions_ListGlobalBySubscription.json | 54 +
..._ListGlobalBySubscriptionForTopicType.json | 39 +
...criptions_ListRegionalByResourceGroup.json | 64 +
...stRegionalByResourceGroupForTopicType.json | 65 +
...scriptions_ListRegionalBySubscription.json | 63 +
...istRegionalBySubscriptionForTopicType.json | 64 +
...entSubscriptions_UpdateForCustomTopic.json | 52 +
.../EventSubscriptions_UpdateForResource.json | 49 +
...tSubscriptions_UpdateForResourceGroup.json | 49 +
...ntSubscriptions_UpdateForSubscription.json | 49 +
.../examples/Operations_List.json | 83 +
.../examples/TopicTypes_Get.json | 22 +
.../examples/TopicTypes_List.json | 37 +
.../examples/TopicTypes_ListEventTypes.json | 34 +
.../examples/Topics_CreateOrUpdate.json | 57 +
.../examples/Topics_Delete.json | 12 +
.../examples/Topics_Get.json | 26 +
.../examples/Topics_ListByResourceGroup.json | 43 +
.../examples/Topics_ListBySubscription.json | 42 +
.../examples/Topics_ListEventTypes.json | 38 +
.../examples/Topics_ListSharedAccessKeys.json | 16 +
.../examples/Topics_RegenerateKey.json | 19 +
.../examples/Topics_Update.json | 32 +
.../eventgrid/resource-manager/readme.go.md | 10 +
.../eventgrid/resource-manager/readme.java.md | 15 +
.../eventgrid/resource-manager/readme.md | 12 +-
.../eventgrid/resource-manager/readme.ruby.md | 11 +
63 files changed, 6051 insertions(+), 1 deletion(-)
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_CreateOrUpdate.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Delete.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Get.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_ListByDomain.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_CreateOrUpdate.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Delete.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Get.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListByResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListBySubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListSharedAccessKeys.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_RegenerateKey.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Update.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForCustomTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListByDomainTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListByResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalBySubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Operations_List.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_Get.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_List.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_ListEventTypes.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_CreateOrUpdate.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Delete.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Get.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListByResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListBySubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListEventTypes.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListSharedAccessKeys.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_RegenerateKey.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Update.json
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json
new file mode 100644
index 000000000000..9278b810fb27
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json
@@ -0,0 +1,3798 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2020-04-01-preview",
+ "title": "EventGridManagementClient",
+ "description": "Azure EventGrid Management Client"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}": {
+ "get": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Get a domain.",
+ "description": "Get properties of a domain.",
+ "operationId": "Domains_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_Get": {
+ "$ref": "./examples/Domains_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Create or update a domain.",
+ "description": "Asynchronously creates or updates a new domain with the specified parameters.",
+ "operationId": "Domains_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainInfo",
+ "in": "body",
+ "description": "Domain information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_CreateOrUpdate": {
+ "$ref": "./examples/Domains_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Delete a domain.",
+ "description": "Delete existing domain.",
+ "operationId": "Domains_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_Delete": {
+ "$ref": "./examples/Domains_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Update a domain.",
+ "description": "Asynchronously updates a domain with the specified parameters.",
+ "operationId": "Domains_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainUpdateParameters",
+ "in": "body",
+ "description": "Domain update information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DomainUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Domain update request accepted.",
+ "schema": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_Update": {
+ "$ref": "./examples/Domains_Update.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/domains": {
+ "get": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "List domains under an Azure subscription.",
+ "description": "List all the domains under an Azure subscription.",
+ "operationId": "Domains_ListBySubscription",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_ListBySubscription": {
+ "$ref": "./examples/Domains_ListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains": {
+ "get": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "List domains under a resource group.",
+ "description": "List all the domains under a resource group.",
+ "operationId": "Domains_ListByResourceGroup",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_ListByResourceGroup": {
+ "$ref": "./examples/Domains_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/listKeys": {
+ "post": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "List keys for a domain.",
+ "description": "List the two keys used to publish to a domain.",
+ "operationId": "Domains_ListSharedAccessKeys",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainSharedAccessKeys"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_ListSharedAccessKeys": {
+ "$ref": "./examples/Domains_ListSharedAccessKeys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/regenerateKey": {
+ "post": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Regenerate key for a domain.",
+ "description": "Regenerate a shared access key for a domain.",
+ "operationId": "Domains_RegenerateKey",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "regenerateKeyRequest",
+ "in": "body",
+ "description": "Request body to regenerate key.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DomainRegenerateKeyRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainSharedAccessKeys"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_RegenerateKey": {
+ "$ref": "./examples/Domains_RegenerateKey.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}": {
+ "get": {
+ "tags": [
+ "DomainTopics"
+ ],
+ "summary": "Get a domain topic.",
+ "description": "Get properties of a domain topic.",
+ "operationId": "DomainTopics_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainTopicName",
+ "in": "path",
+ "description": "Name of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainTopic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "DomainTopics_Get": {
+ "$ref": "./examples/DomainTopics_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DomainTopics"
+ ],
+ "summary": "Create or update a domain topic.",
+ "description": "Asynchronously creates or updates a new domain topic with the specified parameters.",
+ "operationId": "DomainTopics_CreateOrUpdate",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainTopicName",
+ "in": "path",
+ "description": "Name of the domain topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DomainTopic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "DomainTopics_CreateOrUpdate": {
+ "$ref": "./examples/DomainTopics_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "DomainTopics"
+ ],
+ "summary": "Delete a domain topic.",
+ "description": "Delete existing domain topic.",
+ "operationId": "DomainTopics_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainTopicName",
+ "in": "path",
+ "description": "Name of the domain topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "DomainTopics_Delete": {
+ "$ref": "./examples/DomainTopics_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics": {
+ "get": {
+ "tags": [
+ "DomainTopics"
+ ],
+ "summary": "List domain topics.",
+ "description": "List all the topics in a domain.",
+ "operationId": "DomainTopics_ListByDomain",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Domain name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainTopicsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "DomainTopics_ListByDomain": {
+ "$ref": "./examples/DomainTopics_ListByDomain.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Get an event subscription.",
+ "description": "Get properties of an event subscription.",
+ "operationId": "EventSubscriptions_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_GetForSubscription": {
+ "$ref": "./examples/EventSubscriptions_GetForSubscription.json"
+ },
+ "EventSubscriptions_GetForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_GetForResourceGroup.json"
+ },
+ "EventSubscriptions_GetForResource": {
+ "$ref": "./examples/EventSubscriptions_GetForResource.json"
+ },
+ "EventSubscriptions_GetForCustomTopic": {
+ "$ref": "./examples/EventSubscriptions_GetForCustomTopic.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Create or update an event subscription.",
+ "description": "Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.",
+ "operationId": "EventSubscriptions_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "eventSubscriptionInfo",
+ "in": "body",
+ "description": "Event subscription properties containing the destination and filter information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "EventSubscription CreateOrUpdate request accepted.",
+ "schema": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_CreateOrUpdateForSubscription": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForSubscription.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForResource": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForResource.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Delete an event subscription.",
+ "description": "Delete an existing event subscription.",
+ "operationId": "EventSubscriptions_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_DeleteForSubscription": {
+ "$ref": "./examples/EventSubscriptions_DeleteForSubscription.json"
+ },
+ "EventSubscriptions_DeleteForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_DeleteForResourceGroup.json"
+ },
+ "EventSubscriptions_DeleteForResource": {
+ "$ref": "./examples/EventSubscriptions_DeleteForResource.json"
+ },
+ "EventSubscriptions_DeleteForCustomTopic": {
+ "$ref": "./examples/EventSubscriptions_DeleteForCustomTopic.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Update an event subscription.",
+ "description": "Asynchronously updates an existing event subscription.",
+ "operationId": "EventSubscriptions_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The scope of existing event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription to be updated.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "eventSubscriptionUpdateParameters",
+ "in": "body",
+ "description": "Updated event subscription information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "EventSubscription update request accepted.",
+ "schema": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_UpdateForSubscription": {
+ "$ref": "./examples/EventSubscriptions_UpdateForSubscription.json"
+ },
+ "EventSubscriptions_UpdateForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_UpdateForResourceGroup.json"
+ },
+ "EventSubscriptions_UpdateForResource": {
+ "$ref": "./examples/EventSubscriptions_UpdateForResource.json"
+ },
+ "EventSubscriptions_UpdateForCustomTopic": {
+ "$ref": "./examples/EventSubscriptions_UpdateForCustomTopic.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl": {
+ "post": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Get full URL of an event subscription.",
+ "description": "Get the full endpoint URL for an event subscription.",
+ "operationId": "EventSubscriptions_GetFullUrl",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionFullUrl"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_GetFullUrlForSubscription": {
+ "$ref": "./examples/EventSubscriptions_GetFullUrlForSubscription.json"
+ },
+ "EventSubscriptions_GetFullUrlForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_GetFullUrlForResourceGroup.json"
+ },
+ "EventSubscriptions_GetFullUrlForResource": {
+ "$ref": "./examples/EventSubscriptions_GetFullUrlForResource.json"
+ },
+ "EventSubscriptions_GetFullUrlForCustomTopic": {
+ "$ref": "./examples/EventSubscriptions_GetFullUrlForCustomTopic.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Get an aggregated list of all global event subscriptions under an Azure subscription.",
+ "description": "List all aggregated global event subscriptions under a specific Azure subscription.",
+ "operationId": "EventSubscriptions_ListGlobalBySubscription",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListGlobalBySubscription": {
+ "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all global event subscriptions for a topic type.",
+ "description": "List all global event subscriptions under an Azure subscription for a topic type.",
+ "operationId": "EventSubscriptions_ListGlobalBySubscriptionForTopicType",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListGlobalBySubscriptionForTopicType": {
+ "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all global event subscriptions under an Azure subscription and resource group.",
+ "description": "List all global event subscriptions under a specific Azure subscription and resource group.",
+ "operationId": "EventSubscriptions_ListGlobalByResourceGroup",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListGlobalByResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all global event subscriptions under a resource group for a topic type.",
+ "description": "List all global event subscriptions under a resource group for a specific topic type.",
+ "operationId": "EventSubscriptions_ListGlobalByResourceGroupForTopicType",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListGlobalByResourceGroupForTopicType": {
+ "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all regional event subscriptions under an Azure subscription.",
+ "description": "List all event subscriptions from the given location under a specific Azure subscription.",
+ "operationId": "EventSubscriptions_ListRegionalBySubscription",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Name of the location.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListRegionalBySubscription": {
+ "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all regional event subscriptions under an Azure subscription and resource group.",
+ "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group.",
+ "operationId": "EventSubscriptions_ListRegionalByResourceGroup",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Name of the location.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListRegionalByResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all regional event subscriptions under an Azure subscription for a topic type.",
+ "description": "List all event subscriptions from the given location under a specific Azure subscription and topic type.",
+ "operationId": "EventSubscriptions_ListRegionalBySubscriptionForTopicType",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Name of the location.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListRegionalBySubscriptionForTopicType": {
+ "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all regional event subscriptions under an Azure subscription and resource group for a topic type.",
+ "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type.",
+ "operationId": "EventSubscriptions_ListRegionalByResourceGroupForTopicType",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Name of the location.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListRegionalByResourceGroupForTopicType": {
+ "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all event subscriptions for a specific topic.",
+ "description": "List all event subscriptions that have been created for a specific topic.",
+ "operationId": "EventSubscriptions_ListByResource",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerNamespace",
+ "in": "path",
+ "description": "Namespace of the provider of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resourceTypeName",
+ "in": "path",
+ "description": "Name of the resource type.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resourceName",
+ "in": "path",
+ "description": "Name of the resource.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListByResource": {
+ "$ref": "./examples/EventSubscriptions_ListByResource.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all event subscriptions for a specific domain topic.",
+ "description": "List all event subscriptions that have been created for a specific domain topic.",
+ "operationId": "EventSubscriptions_ListByDomainTopic",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the top level domain.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the domain topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListByDomainTopic": {
+ "$ref": "./examples/EventSubscriptions_ListByDomainTopic.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.EventGrid/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "List available operations.",
+ "description": "List the available operations supported by the Microsoft.EventGrid resource provider.",
+ "operationId": "Operations_List",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}": {
+ "get": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Get a topic.",
+ "description": "Get properties of a topic.",
+ "operationId": "Topics_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_Get": {
+ "$ref": "./examples/Topics_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Create a topic.",
+ "description": "Asynchronously creates a new topic with the specified parameters.",
+ "operationId": "Topics_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicInfo",
+ "in": "body",
+ "description": "Topic information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_CreateOrUpdate": {
+ "$ref": "./examples/Topics_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Delete a topic.",
+ "description": "Delete existing topic.",
+ "operationId": "Topics_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_Delete": {
+ "$ref": "./examples/Topics_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Update a topic.",
+ "description": "Asynchronously updates a topic with the specified parameters.",
+ "operationId": "Topics_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicUpdateParameters",
+ "in": "body",
+ "description": "Topic update information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TopicUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Topic update request accepted.",
+ "schema": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_Update": {
+ "$ref": "./examples/Topics_Update.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topics": {
+ "get": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "List topics under an Azure subscription.",
+ "description": "List all the topics under an Azure subscription.",
+ "operationId": "Topics_ListBySubscription",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_ListBySubscription": {
+ "$ref": "./examples/Topics_ListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics": {
+ "get": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "List topics under a resource group.",
+ "description": "List all the topics under a resource group.",
+ "operationId": "Topics_ListByResourceGroup",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_ListByResourceGroup": {
+ "$ref": "./examples/Topics_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys": {
+ "post": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "List keys for a topic.",
+ "description": "List the two keys used to publish to a topic.",
+ "operationId": "Topics_ListSharedAccessKeys",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicSharedAccessKeys"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_ListSharedAccessKeys": {
+ "$ref": "./examples/Topics_ListSharedAccessKeys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/regenerateKey": {
+ "post": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Regenerate key for a topic.",
+ "description": "Regenerate a shared access key for a topic.",
+ "operationId": "Topics_RegenerateKey",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "regenerateKeyRequest",
+ "in": "body",
+ "description": "Request body to regenerate key.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TopicRegenerateKeyRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicSharedAccessKeys"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_RegenerateKey": {
+ "$ref": "./examples/Topics_RegenerateKey.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventTypes": {
+ "get": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "List topic event types.",
+ "description": "List event types for a topic.",
+ "operationId": "Topics_ListEventTypes",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerNamespace",
+ "in": "path",
+ "description": "Namespace of the provider of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resourceTypeName",
+ "in": "path",
+ "description": "Name of the topic type.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resourceName",
+ "in": "path",
+ "description": "Name of the topic.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventTypesListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_ListEventTypes": {
+ "$ref": "./examples/Topics_ListEventTypes.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.EventGrid/topicTypes": {
+ "get": {
+ "tags": [
+ "TopicTypes"
+ ],
+ "summary": "List topic types.",
+ "description": "List all registered topic types.",
+ "operationId": "TopicTypes_List",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicTypesListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "TopicTypes_List": {
+ "$ref": "./examples/TopicTypes_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}": {
+ "get": {
+ "tags": [
+ "TopicTypes"
+ ],
+ "summary": "Get a topic type.",
+ "description": "Get information about a topic type.",
+ "operationId": "TopicTypes_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicTypeInfo"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "TopicTypes_Get": {
+ "$ref": "./examples/TopicTypes_Get.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventTypes": {
+ "get": {
+ "tags": [
+ "TopicTypes"
+ ],
+ "summary": "List event types",
+ "description": "List event types for a topic type",
+ "operationId": "TopicTypes_ListEventTypes",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventTypesListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "TopicTypes_ListEventTypes": {
+ "$ref": "./examples/TopicTypes_ListEventTypes.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DomainProperties": {
+ "description": "Properties of the Domain.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the domain.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "DomainProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "endpoint": {
+ "description": "Endpoint for the domain.",
+ "type": "string",
+ "readOnly": true
+ },
+ "inputSchema": {
+ "description": "This determines the format that Event Grid should expect for incoming events published to the domain.",
+ "enum": [
+ "EventGridSchema",
+ "CustomEventSchema",
+ "CloudEventSchemaV1_0"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InputSchema",
+ "modelAsString": true
+ },
+ "default": "EventGridSchema"
+ },
+ "inputSchemaMapping": {
+ "$ref": "#/definitions/InputSchemaMapping",
+ "description": "Information about the InputSchemaMapping which specified the info about mapping event payload."
+ },
+ "metricResourceId": {
+ "description": "Metric resource id for the domain.",
+ "type": "string"
+ },
+ "allowTrafficFromAllIPs": {
+ "description": "This determines if IP filtering rules ought to be evaluated or not. By default it will not evaluate and will allow traffic from all IPs.",
+ "type": "boolean"
+ },
+ "inboundIpRules": {
+ "description": "This determines the IP filtering rules that ought be applied when events are received on this domain.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundIpRule"
+ }
+ }
+ }
+ },
+ "InboundIpRule": {
+ "type": "object",
+ "properties": {
+ "ipMask": {
+ "description": "IP Address in CIDR notation e.g., 10.0.0.0/8.",
+ "type": "string"
+ },
+ "action": {
+ "description": "Action to perform based on the match or no match of the IpMask.",
+ "enum": [
+ "Allow"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IpActionType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "Resource": {
+ "description": "Definition of a Resource",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Fully qualified identifier of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of the resource",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "JsonInputSchemaMappingProperties": {
+ "description": "This can be used to map properties of a source schema (or default values, for certain supported properties) to properties of the EventGridEvent schema.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "$ref": "#/definitions/JsonField",
+ "description": "The mapping information for the Id property of the Event Grid Event."
+ },
+ "topic": {
+ "$ref": "#/definitions/JsonField",
+ "description": "The mapping information for the Topic property of the Event Grid Event."
+ },
+ "eventTime": {
+ "$ref": "#/definitions/JsonField",
+ "description": "The mapping information for the EventTime property of the Event Grid Event."
+ },
+ "eventType": {
+ "$ref": "#/definitions/JsonFieldWithDefault",
+ "description": "The mapping information for the EventType property of the Event Grid Event."
+ },
+ "subject": {
+ "$ref": "#/definitions/JsonFieldWithDefault",
+ "description": "The mapping information for the Subject property of the Event Grid Event."
+ },
+ "dataVersion": {
+ "$ref": "#/definitions/JsonFieldWithDefault",
+ "description": "The mapping information for the DataVersion property of the Event Grid Event."
+ }
+ }
+ },
+ "JsonField": {
+ "description": "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema.",
+ "type": "object",
+ "properties": {
+ "sourceField": {
+ "description": "Name of a field in the input event schema that's to be used as the source of a mapping.",
+ "type": "string"
+ }
+ }
+ },
+ "JsonFieldWithDefault": {
+ "description": "This is used to express the source of an input schema mapping for a single target field\r\nin the Event Grid Event schema. This is currently used in the mappings for the 'subject',\r\n'eventtype' and 'dataversion' properties. This represents a field in the input event schema\r\nalong with a default value to be used, and at least one of these two properties should be provided.",
+ "type": "object",
+ "properties": {
+ "sourceField": {
+ "description": "Name of a field in the input event schema that's to be used as the source of a mapping.",
+ "type": "string"
+ },
+ "defaultValue": {
+ "description": "The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.",
+ "type": "string"
+ }
+ }
+ },
+ "JsonInputSchemaMapping": {
+ "description": "This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/InputSchemaMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/JsonInputSchemaMappingProperties",
+ "description": "JSON Properties of the input schema mapping",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Json"
+ },
+ "InputSchemaMapping": {
+ "description": "By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.",
+ "type": "object",
+ "required": [
+ "inputSchemaMappingType"
+ ],
+ "properties": {
+ "inputSchemaMappingType": {
+ "description": "Type of the custom mapping",
+ "enum": [
+ "Json"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InputSchemaMappingType",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "inputSchemaMappingType"
+ },
+ "TrackedResource": {
+ "description": "Definition of a Tracked Resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "description": "Location of the resource.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "Tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Domain": {
+ "description": "EventGrid Domain.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DomainProperties",
+ "description": "Properties of the domain.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DomainUpdateParameters": {
+ "description": "Properties of the Domain update",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Tags of the domains resource",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DomainsListResult": {
+ "description": "Result of the List Domains operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of Domains",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ "nextLink": {
+ "description": "A link for the next page of domains",
+ "type": "string"
+ }
+ }
+ },
+ "DomainSharedAccessKeys": {
+ "description": "Shared access keys of the Domain.",
+ "type": "object",
+ "properties": {
+ "key1": {
+ "description": "Shared access key1 for the domain.",
+ "type": "string"
+ },
+ "key2": {
+ "description": "Shared access key2 for the domain.",
+ "type": "string"
+ }
+ }
+ },
+ "DomainRegenerateKeyRequest": {
+ "description": "Domain regenerate share access key request.",
+ "required": [
+ "keyName"
+ ],
+ "type": "object",
+ "properties": {
+ "keyName": {
+ "description": "Key name to regenerate key1 or key2.",
+ "type": "string"
+ }
+ }
+ },
+ "DomainTopicProperties": {
+ "description": "Properties of the Domain Topic.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the domain topic.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DomainTopicProvisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "DomainTopic": {
+ "description": "Domain Topic.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DomainTopicProperties",
+ "description": "Properties of the Domain Topic.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DomainTopicsListResult": {
+ "description": "Result of the List Domain Topics operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of Domain Topics",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DomainTopic"
+ }
+ },
+ "nextLink": {
+ "description": "A link for the next page of domain topics",
+ "type": "string"
+ }
+ }
+ },
+ "EventSubscriptionProperties": {
+ "description": "Properties of the Event Subscription.",
+ "type": "object",
+ "properties": {
+ "topic": {
+ "description": "Name of the topic of the event subscription.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the event subscription.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed",
+ "AwaitingManualAction"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "EventSubscriptionProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "destination": {
+ "$ref": "#/definitions/EventSubscriptionDestination",
+ "description": "Information about the destination where events have to be delivered for the event subscription."
+ },
+ "filter": {
+ "$ref": "#/definitions/EventSubscriptionFilter",
+ "description": "Information about the filter for the event subscription."
+ },
+ "labels": {
+ "description": "List of user defined labels.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "expirationTimeUtc": {
+ "format": "date-time",
+ "description": "Expiration time of the event subscription.",
+ "type": "string"
+ },
+ "eventDeliverySchema": {
+ "description": "The event delivery schema for the event subscription.",
+ "enum": [
+ "EventGridSchema",
+ "CustomInputSchema",
+ "CloudEventSchemaV1_0"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EventDeliverySchema",
+ "modelAsString": true
+ }
+ },
+ "retryPolicy": {
+ "$ref": "#/definitions/RetryPolicy",
+ "description": "The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events."
+ },
+ "deadLetterDestination": {
+ "$ref": "#/definitions/DeadLetterDestination",
+ "description": "The DeadLetter destination of the event subscription."
+ }
+ }
+ },
+ "EventSubscriptionFilter": {
+ "description": "Filter for the Event Subscription.",
+ "type": "object",
+ "properties": {
+ "subjectBeginsWith": {
+ "description": "An optional string to filter events for an event subscription based on a resource path prefix.\r\nThe format of this depends on the publisher of the events.\r\nWildcard characters are not supported in this path.",
+ "type": "string"
+ },
+ "subjectEndsWith": {
+ "description": "An optional string to filter events for an event subscription based on a resource path suffix.\r\nWildcard characters are not supported in this path.",
+ "type": "string"
+ },
+ "includedEventTypes": {
+ "description": "A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "isSubjectCaseSensitive": {
+ "description": "Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter\r\nshould be compared in a case sensitive manner.",
+ "default": false,
+ "type": "boolean"
+ },
+ "advancedFilters": {
+ "description": "An array of advanced filters that are used for filtering event subscriptions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ }
+ }
+ },
+ "RetryPolicy": {
+ "description": "Information about the retry policy for an event subscription.",
+ "type": "object",
+ "properties": {
+ "maxDeliveryAttempts": {
+ "format": "int32",
+ "description": "Maximum number of delivery retry attempts for events.",
+ "type": "integer"
+ },
+ "eventTimeToLiveInMinutes": {
+ "format": "int32",
+ "description": "Time To Live (in minutes) for events.",
+ "type": "integer"
+ }
+ }
+ },
+ "WebHookEventSubscriptionDestinationProperties": {
+ "description": "Information about the webhook destination properties for an event subscription.",
+ "type": "object",
+ "properties": {
+ "endpointUrl": {
+ "description": "The URL that represents the endpoint of the destination of an event subscription.",
+ "type": "string"
+ },
+ "endpointBaseUrl": {
+ "description": "The base URL that represents the endpoint of the destination of an event subscription.",
+ "type": "string",
+ "readOnly": true
+ },
+ "maxEventsPerBatch": {
+ "format": "int32",
+ "description": "Maximum number of events per batch.",
+ "type": "integer"
+ },
+ "preferredBatchSizeInKilobytes": {
+ "format": "int32",
+ "description": "Preferred batch size in Kilobytes.",
+ "type": "integer"
+ },
+ "azureActiveDirectoryTenantId": {
+ "description": "The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.",
+ "type": "string"
+ },
+ "azureActiveDirectoryApplicationIdOrUri": {
+ "description": "The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.",
+ "type": "string"
+ }
+ }
+ },
+ "StorageBlobDeadLetterDestinationProperties": {
+ "description": "Properties of the storage blob based dead letter destination.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource ID of the storage account that is the destination of the deadletter events",
+ "type": "string"
+ },
+ "blobContainerName": {
+ "description": "The name of the Storage blob container that is the destination of the deadletter events",
+ "type": "string"
+ }
+ }
+ },
+ "NumberInAdvancedFilter": {
+ "description": "NumberIn Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "format": "double",
+ "type": "number"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "NumberIn"
+ },
+ "StorageBlobDeadLetterDestination": {
+ "description": "Information about the storage blob based dead letter destination.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeadLetterDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StorageBlobDeadLetterDestinationProperties",
+ "description": "The properties of the Storage Blob based deadletter destination",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "StorageBlob"
+ },
+ "NumberNotInAdvancedFilter": {
+ "description": "NumberNotIn Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "format": "double",
+ "type": "number"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "NumberNotIn"
+ },
+ "NumberLessThanAdvancedFilter": {
+ "description": "NumberLessThan Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "The filter value.",
+ "type": "number"
+ }
+ },
+ "x-ms-discriminator-value": "NumberLessThan"
+ },
+ "NumberGreaterThanAdvancedFilter": {
+ "description": "NumberGreaterThan Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "The filter value.",
+ "type": "number"
+ }
+ },
+ "x-ms-discriminator-value": "NumberGreaterThan"
+ },
+ "NumberLessThanOrEqualsAdvancedFilter": {
+ "description": "NumberLessThanOrEquals Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "The filter value.",
+ "type": "number"
+ }
+ },
+ "x-ms-discriminator-value": "NumberLessThanOrEquals"
+ },
+ "NumberGreaterThanOrEqualsAdvancedFilter": {
+ "description": "NumberGreaterThanOrEquals Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "The filter value.",
+ "type": "number"
+ }
+ },
+ "x-ms-discriminator-value": "NumberGreaterThanOrEquals"
+ },
+ "BoolEqualsAdvancedFilter": {
+ "description": "BoolEquals Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "description": "The boolean filter value.",
+ "type": "boolean"
+ }
+ },
+ "x-ms-discriminator-value": "BoolEquals"
+ },
+ "StringInAdvancedFilter": {
+ "description": "StringIn Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringIn"
+ },
+ "StringNotInAdvancedFilter": {
+ "description": "StringNotIn Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringNotIn"
+ },
+ "StringBeginsWithAdvancedFilter": {
+ "description": "StringBeginsWith Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringBeginsWith"
+ },
+ "StringEndsWithAdvancedFilter": {
+ "description": "StringEndsWith Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringEndsWith"
+ },
+ "StringContainsAdvancedFilter": {
+ "description": "StringContains Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringContains"
+ },
+ "AdvancedFilter": {
+ "description": "This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.",
+ "required": [
+ "operatorType"
+ ],
+ "type": "object",
+ "properties": {
+ "operatorType": {
+ "description": "The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.",
+ "enum": [
+ "NumberIn",
+ "NumberNotIn",
+ "NumberLessThan",
+ "NumberGreaterThan",
+ "NumberLessThanOrEquals",
+ "NumberGreaterThanOrEquals",
+ "BoolEquals",
+ "StringIn",
+ "StringNotIn",
+ "StringBeginsWith",
+ "StringEndsWith",
+ "StringContains"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AdvancedFilterOperatorType",
+ "modelAsString": true
+ }
+ },
+ "key": {
+ "description": "The field/property in the event based on which you want to filter.",
+ "type": "string"
+ }
+ },
+ "discriminator": "operatorType"
+ },
+ "WebHookEventSubscriptionDestination": {
+ "description": "Information about the webhook destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WebHookEventSubscriptionDestinationProperties",
+ "description": "WebHook Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "WebHook"
+ },
+ "DeadLetterDestination": {
+ "description": "Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class.",
+ "required": [
+ "endpointType"
+ ],
+ "type": "object",
+ "properties": {
+ "endpointType": {
+ "description": "Type of the endpoint for the dead letter destination",
+ "enum": [
+ "StorageBlob"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DeadLetterEndPointType",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "endpointType"
+ },
+ "EventHubEventSubscriptionDestinationProperties": {
+ "description": "The properties for a event hub destination.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "EventHubEventSubscriptionDestination": {
+ "description": "Information about the event hub destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EventHubEventSubscriptionDestinationProperties",
+ "description": "Event Hub Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "EventHub"
+ },
+ "StorageQueueEventSubscriptionDestinationProperties": {
+ "description": "The properties for a storage queue destination.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.",
+ "type": "string"
+ },
+ "queueName": {
+ "description": "The name of the Storage queue under a storage account that is the destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "StorageQueueEventSubscriptionDestination": {
+ "description": "Information about the storage queue destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StorageQueueEventSubscriptionDestinationProperties",
+ "description": "Storage Queue Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "StorageQueue"
+ },
+ "HybridConnectionEventSubscriptionDestinationProperties": {
+ "description": "The properties for a hybrid connection destination.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "HybridConnectionEventSubscriptionDestination": {
+ "description": "Information about the HybridConnection destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/HybridConnectionEventSubscriptionDestinationProperties",
+ "description": "Hybrid connection Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "HybridConnection"
+ },
+ "ServiceBusQueueEventSubscriptionDestinationProperties": {
+ "description": "The properties that represent the Service Bus destination of an event subscription.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "ServiceBusQueueEventSubscriptionDestination": {
+ "description": "Information about the service bus destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServiceBusQueueEventSubscriptionDestinationProperties",
+ "description": "Service Bus Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ServiceBusQueue"
+ },
+ "ServiceBusTopicEventSubscriptionDestinationProperties": {
+ "description": "The properties that represent the Service Bus Topic destination of an event subscription.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "ServiceBusTopicEventSubscriptionDestination": {
+ "description": "Information about the service bus topic destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestinationProperties",
+ "description": "Service Bus Topic Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ServiceBusTopic"
+ },
+ "AzureFunctionEventSubscriptionDestinationProperties": {
+ "description": "The properties that represent the Azure Function destination of an event subscription.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.",
+ "type": "string"
+ },
+ "maxEventsPerBatch": {
+ "format": "int32",
+ "description": "Maximum number of events per batch.",
+ "type": "integer"
+ },
+ "preferredBatchSizeInKilobytes": {
+ "format": "int32",
+ "description": "Preferred batch size in Kilobytes.",
+ "type": "integer"
+ }
+ }
+ },
+ "AzureFunctionEventSubscriptionDestination": {
+ "description": "Information about the azure function destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AzureFunctionEventSubscriptionDestinationProperties",
+ "description": "Azure Function Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AzureFunction"
+ },
+ "EventSubscriptionDestination": {
+ "description": "Information about the destination for an event subscription",
+ "required": [
+ "endpointType"
+ ],
+ "type": "object",
+ "properties": {
+ "endpointType": {
+ "description": "Type of the endpoint for the event subscription destination",
+ "enum": [
+ "WebHook",
+ "EventHub",
+ "StorageQueue",
+ "HybridConnection",
+ "ServiceBusQueue",
+ "ServiceBusTopic",
+ "AzureFunction"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EndpointType",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "endpointType"
+ },
+ "EventSubscription": {
+ "description": "Event Subscription",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EventSubscriptionProperties",
+ "description": "Properties of the event subscription.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "EventSubscriptionUpdateParameters": {
+ "description": "Properties of the Event Subscription update.",
+ "type": "object",
+ "properties": {
+ "destination": {
+ "$ref": "#/definitions/EventSubscriptionDestination",
+ "description": "Information about the destination where events have to be delivered for the event subscription."
+ },
+ "filter": {
+ "$ref": "#/definitions/EventSubscriptionFilter",
+ "description": "Information about the filter for the event subscription."
+ },
+ "labels": {
+ "description": "List of user defined labels.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "expirationTimeUtc": {
+ "format": "date-time",
+ "description": "Information about the expiration time for the event subscription.",
+ "type": "string"
+ },
+ "eventDeliverySchema": {
+ "description": "The event delivery schema for the event subscription.",
+ "enum": [
+ "EventGridSchema",
+ "CustomInputSchema",
+ "CloudEventSchemaV1_0"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EventDeliverySchema",
+ "modelAsString": true
+ }
+ },
+ "retryPolicy": {
+ "$ref": "#/definitions/RetryPolicy",
+ "description": "The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events."
+ },
+ "deadLetterDestination": {
+ "$ref": "#/definitions/DeadLetterDestination",
+ "description": "The DeadLetter destination of the event subscription."
+ }
+ }
+ },
+ "EventSubscriptionFullUrl": {
+ "description": "Full endpoint url of an event subscription",
+ "type": "object",
+ "properties": {
+ "endpointUrl": {
+ "description": "The URL that represents the endpoint of the destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "EventSubscriptionsListResult": {
+ "description": "Result of the List EventSubscriptions operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of EventSubscriptions",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ "nextLink": {
+ "description": "A link for the next page of event subscriptions",
+ "type": "string"
+ }
+ }
+ },
+ "OperationsListResult": {
+ "description": "Result of the List Operations operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of operations",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ }
+ }
+ },
+ "Operation": {
+ "description": "Represents an operation returned by the GetOperations request",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the operation",
+ "type": "string"
+ },
+ "display": {
+ "$ref": "#/definitions/OperationInfo",
+ "description": "Display name of the operation"
+ },
+ "origin": {
+ "description": "Origin of the operation",
+ "type": "string"
+ },
+ "properties": {
+ "description": "Properties of the operation",
+ "type": "object",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationInfo": {
+ "description": "Information about an operation",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Name of the provider",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name of the resource type",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Name of the operation",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the operation",
+ "type": "string"
+ }
+ }
+ },
+ "TopicProperties": {
+ "description": "Properties of the Topic",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the topic.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "TopicProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "endpoint": {
+ "description": "Endpoint for the topic.",
+ "type": "string",
+ "readOnly": true
+ },
+ "inputSchema": {
+ "description": "This determines the format that Event Grid should expect for incoming events published to the topic.",
+ "enum": [
+ "EventGridSchema",
+ "CustomEventSchema",
+ "CloudEventSchemaV1_0"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InputSchema",
+ "modelAsString": true
+ },
+ "default": "EventGridSchema"
+ },
+ "inputSchemaMapping": {
+ "$ref": "#/definitions/InputSchemaMapping",
+ "description": "This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema."
+ },
+ "metricResourceId": {
+ "description": "Metric resource id for the topic.",
+ "type": "string"
+ },
+ "allowTrafficFromAllIPs": {
+ "description": "This determines if IP filtering rules ought to be evaluated or not. By default it will not evaluate and will allow traffic from all IPs.",
+ "type": "boolean"
+ },
+ "inboundIpRules": {
+ "description": "This determines the IP filtering rules that ought to be applied when events are received on this topic.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundIpRule"
+ }
+ }
+ }
+ },
+ "Topic": {
+ "description": "EventGrid Topic",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TopicProperties",
+ "description": "Properties of the topic",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "TopicUpdateParameters": {
+ "description": "Properties of the Topic update",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "TopicsListResult": {
+ "description": "Result of the List Topics operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of Topics",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ "nextLink": {
+ "description": "A link for the next page of topics",
+ "type": "string"
+ }
+ }
+ },
+ "TopicSharedAccessKeys": {
+ "description": "Shared access keys of the Topic",
+ "type": "object",
+ "properties": {
+ "key1": {
+ "description": "Shared access key1 for the topic.",
+ "type": "string"
+ },
+ "key2": {
+ "description": "Shared access key2 for the topic.",
+ "type": "string"
+ }
+ }
+ },
+ "TopicRegenerateKeyRequest": {
+ "description": "Topic regenerate share access key request",
+ "required": [
+ "keyName"
+ ],
+ "type": "object",
+ "properties": {
+ "keyName": {
+ "description": "Key name to regenerate key1 or key2",
+ "type": "string"
+ }
+ }
+ },
+ "EventTypesListResult": {
+ "description": "Result of the List Event Types operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of event types",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EventType"
+ }
+ }
+ }
+ },
+ "EventTypeProperties": {
+ "description": "Properties of the event type",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "Display name of the event type.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the event type.",
+ "type": "string"
+ },
+ "schemaUrl": {
+ "description": "Url of the schema for this event type.",
+ "type": "string"
+ },
+ "isInDefaultSet": {
+ "description": "IsInDefaultSet flag of the event type.",
+ "type": "boolean"
+ }
+ }
+ },
+ "EventType": {
+ "description": "Event Type for a subject under a topic",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EventTypeProperties",
+ "description": "Properties of the event type.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "TopicTypesListResult": {
+ "description": "Result of the List Topic Types operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of topic types",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TopicTypeInfo"
+ }
+ }
+ }
+ },
+ "TopicTypeProperties": {
+ "description": "Properties of a topic type.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Namespace of the provider of the topic type.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Display Name for the topic type.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the topic type.",
+ "type": "string"
+ },
+ "resourceRegionType": {
+ "description": "Region type of the resource.",
+ "enum": [
+ "RegionalResource",
+ "GlobalResource"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ResourceRegionType",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the topic type",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TopicTypeProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "supportedLocations": {
+ "description": "List of locations supported by this topic type.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "sourceResourceFormat": {
+ "description": "Source resource format.",
+ "type": "string"
+ }
+ }
+ },
+ "TopicTypeInfo": {
+ "description": "Properties of a topic type info.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TopicTypeProperties",
+ "description": "Properties of the topic type info",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "required": true,
+ "type": "string"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Version of the API to be used with the client request.",
+ "required": true,
+ "type": "string"
+ },
+ "FilterParameter": {
+ "name": "$filter",
+ "in": "query",
+ "description": "The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "TopParameter": {
+ "name": "$top",
+ "in": "query",
+ "description": "The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.",
+ "required": false,
+ "type": "integer",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_CreateOrUpdate.json
new file mode 100644
index 000000000000..ede0597d632c
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_CreateOrUpdate.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "domainTopicName": "exampledomaintopic1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1/topics/exampledomaintopic1",
+ "name": "exampledomaintopic1",
+ "type": "Microsoft.EventGrid/domains/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Delete.json
new file mode 100644
index 000000000000..2f7779e09554
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "domainTopicName": "exampledomaintopic1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Get.json
new file mode 100644
index 000000000000..71d3a4e79f5b
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "domainTopicName": "topic1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2/topics/topic1",
+ "name": "topic1",
+ "properties": {
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.EventGrid/domains/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_ListByDomain.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_ListByDomain.json
new file mode 100644
index 000000000000..e2b8d873c8a1
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_ListByDomain.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/devexprg/providers/Microsoft.EventGrid/domains/domainCli100/topics/domainCli100topic1",
+ "name": "domainCli100topic1",
+ "properties": {
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.EventGrid/domains/topics"
+ },
+ {
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/devexprg/providers/Microsoft.EventGrid/domains/domainCli100/topics/domainCli100topic2",
+ "name": "domainCli100topic2",
+ "properties": {
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.EventGrid/domains/topics"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_CreateOrUpdate.json
new file mode 100644
index 000000000000..6b5e3fb62810
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_CreateOrUpdate.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "api-version": "2020-04-01-preview",
+ "domainInfo": {
+ "location": "westus2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "allowTrafficFromAllIPs": false,
+ "inboundIpRules": [
+ {
+ "ipMask": "12.18.30.15",
+ "action": "Allow"
+ },
+ {
+ "ipMask": "12.18.176.1",
+ "action": "Allow"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded",
+ "allowTrafficFromAllIPs": false,
+ "inboundIpRules": [
+ {
+ "ipMask": "12.18.30.15",
+ "action": "Allow"
+ },
+ {
+ "ipMask": "12.18.176.1",
+ "action": "Allow"
+ }
+ ]
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
+ "location": "westus2",
+ "name": "exampledomain1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Delete.json
new file mode 100644
index 000000000000..a963710c69a0
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Get.json
new file mode 100644
index 000000000000..958fd7e429fe
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
+ "location": "westcentralus",
+ "name": "exampledomain2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListByResourceGroup.json
new file mode 100644
index 000000000000..a5615d47e6f4
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListByResourceGroup.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
+ "location": "westus2",
+ "name": "exampledomain1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ },
+ {
+ "properties": {
+ "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
+ "location": "westcentralus",
+ "name": "exampledomain2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListBySubscription.json
new file mode 100644
index 000000000000..065fd4370397
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListBySubscription.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
+ "location": "westus2",
+ "name": "exampledomain1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ },
+ {
+ "properties": {
+ "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
+ "location": "westcentralus",
+ "name": "exampledomain2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListSharedAccessKeys.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListSharedAccessKeys.json
new file mode 100644
index 000000000000..bb783cf243eb
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_ListSharedAccessKeys.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key1": "Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=",
+ "key2": "sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_RegenerateKey.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_RegenerateKey.json
new file mode 100644
index 000000000000..4183eca19edb
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_RegenerateKey.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "api-version": "2020-04-01-preview",
+ "regenerateKeyRequest": {
+ "keyName": "key1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key1": "Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=",
+ "key2": "sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Update.json
new file mode 100644
index 000000000000..2b946735f493
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Update.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "api-version": "2020-04-01-preview",
+ "domainUpdateParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
+ "location": "westus2",
+ "name": "exampledomain1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
new file mode 100644
index 000000000000..10b5ef006c40
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2020-04-01-preview",
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "EventHub",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ },
+ "endpointType": "EventHub"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "provisioningState": "Creating",
+ "labels": null,
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
new file mode 100644
index 000000000000..85f8874c8544
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2020-04-01-preview",
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "HybridConnection",
+ "properties": {
+ "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1"
+ },
+ "endpointType": "HybridConnection"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "provisioningState": "Creating",
+ "labels": null,
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
new file mode 100644
index 000000000000..9a43e885730f
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2020-04-01-preview",
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "StorageQueue",
+ "properties": {
+ "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "queueName": "queue1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "queueName": "queue1"
+ },
+ "endpointType": "StorageQueue"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "provisioningState": "Creating",
+ "labels": null,
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
new file mode 100644
index 000000000000..2fbdb457220b
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2020-04-01-preview",
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "EventHub",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
new file mode 100644
index 000000000000..c59f022421cf
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription10",
+ "api-version": "2020-04-01-preview",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
new file mode 100644
index 000000000000..04328d84faca
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-04-01-preview",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
new file mode 100644
index 000000000000..21ec84b751b7
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-04-01-preview",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json
new file mode 100644
index 000000000000..cb910cec146b
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForResource.json
new file mode 100644
index 000000000000..a36dd4a32c41
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForResource.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription10",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json
new file mode 100644
index 000000000000..bbb6787b1c16
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForSubscription.json
new file mode 100644
index 000000000000..c49193c06193
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_DeleteForSubscription.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForCustomTopic.json
new file mode 100644
index 000000000000..86bf95ba4550
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForCustomTopic.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForResource.json
new file mode 100644
index 000000000000..a7e3c1d00558
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForResource.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ },
+ "endpointType": "EventHub"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForResourceGroup.json
new file mode 100644
index 000000000000..0bd3f3bf5d49
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForResourceGroup.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForSubscription.json
new file mode 100644
index 000000000000..fc62fa15469d
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetForSubscription.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
new file mode 100644
index 000000000000..29de0d132965
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json
new file mode 100644
index 000000000000..6946be90eca8
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
new file mode 100644
index 000000000000..e5fe18fe955b
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
new file mode 100644
index 000000000000..d93adff17991
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListByDomainTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListByDomainTopic.json
new file mode 100644
index 000000000000..27c0593c0f98
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListByDomainTopic.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "domain1",
+ "topicName": "topic1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListByResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListByResource.json
new file mode 100644
index 000000000000..3db6b0fd2706
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListByResource.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "providerNamespace": "Microsoft.EventGrid",
+ "resourceTypeName": "topics",
+ "resourceName": "exampletopic2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json
new file mode 100644
index 000000000000..2dc73fcc99eb
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription4",
+ "name": "examplesubscription4",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
new file mode 100644
index 000000000000..b736f9c55616
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicTypeName": "Microsoft.Resources.ResourceGroups",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json
new file mode 100644
index 000000000000..d36d2cfc0344
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription4",
+ "name": "examplesubscription4",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
new file mode 100644
index 000000000000..ccb726cbbdff
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "topicTypeName": "Microsoft.Resources.Subscriptions",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json
new file mode 100644
index 000000000000..156d635fa0fc
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "location": "westus2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11",
+ "name": "examplesubscription11",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
new file mode 100644
index 000000000000..217df915989d
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "location": "westus2",
+ "topicTypeName": "Microsoft.EventHub.namespaces",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11",
+ "name": "examplesubscription11",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalBySubscription.json
new file mode 100644
index 000000000000..704a5fb25abd
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalBySubscription.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "location": "westus2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ },
+ "endpointType": "EventHub"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11",
+ "name": "examplesubscription11",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
new file mode 100644
index 000000000000..15c67841ca99
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "location": "westus2",
+ "topicTypeName": "Microsoft.EventHub.namespaces",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11",
+ "name": "examplesubscription11",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json
new file mode 100644
index 000000000000..f90c2732c92c
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-04-01-preview",
+ "eventSubscriptionUpdateParameters": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForResource.json
new file mode 100644
index 000000000000..bce346c335c4
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForResource.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-04-01-preview",
+ "eventSubscriptionUpdateParameters": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json
new file mode 100644
index 000000000000..59f8b6db5756
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-04-01-preview",
+ "eventSubscriptionUpdateParameters": {
+ "destination": {
+ "endpointType": "EventHub",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForSubscription.json
new file mode 100644
index 000000000000..673dc543afef
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/EventSubscriptions_UpdateForSubscription.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-04-01-preview",
+ "eventSubscriptionUpdateParameters": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Operations_List.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..e0bc0bbee3dd
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Operations_List.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.EventGrid/register/action",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "EventGrid Resource Provider",
+ "operation": "Registers the EventGrid Resource Provider",
+ "description": "Registers the eventSubscription for the EventGrid resource provider and enables the creation of Event Grid subscriptions."
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/eventSubscriptions/write",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "eventSubscriptions",
+ "operation": "Write EventSubscription",
+ "description": "Create or update a eventSubscription"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/eventSubscriptions/read",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "eventSubscriptions",
+ "operation": "Read EventSubscription",
+ "description": "Read a eventSubscription"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/eventSubscriptions/delete",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "eventSubscriptions",
+ "operation": "Delete EventSubscription",
+ "description": "Delete a eventSubscription"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/topics/write",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "topics",
+ "operation": "Write Topic",
+ "description": "Create or update a topic"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/topics/read",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "topics",
+ "operation": "Read Topic",
+ "description": "Read a topic"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/topics/delete",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "topics",
+ "operation": "Delete Topic",
+ "description": "Delete a topic"
+ },
+ "origin": "UserAndSystem"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_Get.json
new file mode 100644
index 000000000000..8a5b5b95dc18
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_Get.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "topicTypeName": "Microsoft.Storage.StorageAccounts",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Microsoft Storage service events.",
+ "displayName": "Storage Accounts",
+ "provider": "Microsoft.Storage",
+ "provisioningState": "Succeeded",
+ "resourceRegionType": "RegionalResource"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts",
+ "name": "Microsoft.Storage.StorageAccounts",
+ "type": "Microsoft.EventGrid/topicTypes"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_List.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_List.json
new file mode 100644
index 000000000000..06bb41c66f85
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_List.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Microsoft EventHubs service events.",
+ "displayName": "EventHubs Namespace",
+ "provider": "Microsoft.Eventhub",
+ "provisioningState": "Succeeded",
+ "resourceRegionType": "RegionalResource"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces",
+ "name": "Microsoft.Eventhub.Namespaces",
+ "type": "Microsoft.EventGrid/topicTypes"
+ },
+ {
+ "properties": {
+ "description": "Microsoft Storage service events.",
+ "displayName": "Storage Accounts",
+ "provider": "Microsoft.Storage",
+ "provisioningState": "Succeeded",
+ "resourceRegionType": "RegionalResource"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts",
+ "name": "Microsoft.Storage.StorageAccounts",
+ "type": "Microsoft.EventGrid/topicTypes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_ListEventTypes.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_ListEventTypes.json
new file mode 100644
index 000000000000..98e62df5aa9e
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/TopicTypes_ListEventTypes.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "topicTypeName": "Microsoft.Storage.StorageAccounts",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "displayName": "Blob Created",
+ "description": "Raised when a blob is created.",
+ "schemaUrl": "tbd"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated",
+ "name": "Microsoft.Storage.BlobCreated",
+ "type": "Microsoft.EventGrid/topicTypes/eventTypes"
+ },
+ {
+ "properties": {
+ "description": "Raised when a blob is deleted.",
+ "schemaUrl": "tbd",
+ "displayName": "Blob Deleted"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted",
+ "name": "Microsoft.Storage.BlobDeleted",
+ "type": "Microsoft.EventGrid/topicTypes/eventTypes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_CreateOrUpdate.json
new file mode 100644
index 000000000000..33f427d107a0
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_CreateOrUpdate.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic1",
+ "api-version": "2020-04-01-preview",
+ "topicInfo": {
+ "location": "westus2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "allowTrafficFromAllIPs": false,
+ "inboundIpRules": [
+ {
+ "ipMask": "12.18.30.15",
+ "action": "Allow"
+ },
+ {
+ "ipMask": "12.18.176.1",
+ "action": "Allow"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded",
+ "allowTrafficFromAllIPs": false,
+ "inboundIpRules": [
+ {
+ "ipMask": "12.18.30.15",
+ "action": "Allow"
+ },
+ {
+ "ipMask": "12.18.176.1",
+ "action": "Allow"
+ }
+ ]
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "location": "westus2",
+ "name": "exampletopic1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Delete.json
new file mode 100644
index 000000000000..8ad5954e6073
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic1",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Get.json
new file mode 100644
index 000000000000..5a447d1cbf5a
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "location": "westcentralus",
+ "name": "exampletopic2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListByResourceGroup.json
new file mode 100644
index 000000000000..26462c27abda
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListByResourceGroup.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "location": "westus2",
+ "name": "exampletopic1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ },
+ {
+ "properties": {
+ "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "location": "westcentralus",
+ "name": "exampletopic2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListBySubscription.json
new file mode 100644
index 000000000000..12aef1a81833
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListBySubscription.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "location": "westus2",
+ "name": "exampletopic1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ },
+ {
+ "properties": {
+ "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "location": "westcentralus",
+ "name": "exampletopic2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListEventTypes.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListEventTypes.json
new file mode 100644
index 000000000000..5e5180b28c06
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListEventTypes.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "providerNamespace": "Microsoft.Storage",
+ "resourceTypeName": "storageAccounts",
+ "resourceName": "ExampleStorageAccount",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Raised when a blob is created.",
+ "schemaUrl": "tbd",
+ "displayName": "Blob Created"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated",
+ "name": "Microsoft.Storage.BlobCreated",
+ "type": "Microsoft.EventGrid/topicTypes/eventTypes"
+ },
+ {
+ "properties": {
+ "description": "Raised when a blob is deleted.",
+ "schemaUrl": "tbd",
+ "displayName": "Blob Deleted"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted",
+ "name": "Microsoft.Storage.BlobDeleted",
+ "type": "Microsoft.EventGrid/topicTypes/eventTypes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListSharedAccessKeys.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListSharedAccessKeys.json
new file mode 100644
index 000000000000..069d13770226
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_ListSharedAccessKeys.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic2",
+ "api-version": "2020-04-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key1": "Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=",
+ "key2": "sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_RegenerateKey.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_RegenerateKey.json
new file mode 100644
index 000000000000..a60093e80029
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_RegenerateKey.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic2",
+ "api-version": "2020-04-01-preview",
+ "regenerateKeyRequest": {
+ "keyName": "key1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key1": "Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=",
+ "key2": "sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Update.json
new file mode 100644
index 000000000000..9157576d137f
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Update.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic1",
+ "api-version": "2020-04-01-preview",
+ "topicUpdateParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "location": "westus2",
+ "name": "exampletopic1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/readme.go.md b/specification/eventgrid/resource-manager/readme.go.md
index cac7917ef2e1..f1cac68b146f 100644
--- a/specification/eventgrid/resource-manager/readme.go.md
+++ b/specification/eventgrid/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2020-04-preview
- tag: package-2020-01-preview
- tag: package-2019-06
- tag: package-2019-02-preview
@@ -24,6 +25,15 @@ batch:
- tag: package-2017-06-preview
```
+### Tag: package-2020-04-preview and go
+
+These settings apply only when `--tag=package-2020-04-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2020-04-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-04-01-preview/$(namespace)
+```
+
### Tag: package-2020-01-preview and go
These settings apply only when `--tag=package-2020-01-preview --go` is specified on the command line.
diff --git a/specification/eventgrid/resource-manager/readme.java.md b/specification/eventgrid/resource-manager/readme.java.md
index 5ac4db5eadec..7f0e1b379b95 100644
--- a/specification/eventgrid/resource-manager/readme.java.md
+++ b/specification/eventgrid/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventgrid
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2020-04-preview
- tag: package-2020-01-preview
- tag: package-2019-06
- tag: package-2019-02-preview
@@ -27,6 +28,20 @@ batch:
### Tag: package-2020-01-preview and java
+These settings apply only when `--tag=package-2020-04-preview --java` is specified on the command line.
+
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2020-04-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.eventgrid.v2020_04_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/sdk/eventgrid/mgmt-v2020_04_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2020-01-preview and java
+
These settings apply only when `--tag=package-2020-01-preview --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=`.
diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md
index 916298f4a7eb..e6f25e877148 100644
--- a/specification/eventgrid/resource-manager/readme.md
+++ b/specification/eventgrid/resource-manager/readme.md
@@ -26,7 +26,16 @@ These are the global settings for the Azure EventGrid API.
``` yaml
openapi-type: arm
-tag: package-2020-01-preview
+tag: package-2020-04-preview
+```
+
+### Tag: package-2020-04-preview
+
+These settings apply only when `--tag=package-2020-04-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2020-04-preview'
+input-file:
+- Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json
```
### Tag: package-2020-01-preview
@@ -193,6 +202,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json
- $(this-folder)/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
- $(this-folder)/Microsoft.EventGrid/stable/2019-06-01/EventGrid.json
- $(this-folder)/Microsoft.EventGrid/preview/2019-02-01-preview/EventGrid.json
diff --git a/specification/eventgrid/resource-manager/readme.ruby.md b/specification/eventgrid/resource-manager/readme.ruby.md
index 039c28ca3a6f..0d2823e2c8a9 100644
--- a/specification/eventgrid/resource-manager/readme.ruby.md
+++ b/specification/eventgrid/resource-manager/readme.ruby.md
@@ -12,6 +12,7 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
+ - tag: package-2020-04-preview
- tag: package-2020-01-preview
- tag: package-2019-06
- tag: package-2019-02-preview
@@ -23,6 +24,16 @@ batch:
- tag: package-2017-06-preview
```
+### Tag: package-2020-01-preview and ruby
+These settings apply only when `--tag=package-2020-04-preview --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2020-04-preview' && $(ruby)
+
+namespace: "Azure::EventGrid::Mgmt::V2020_04_01_preview"
+output-folder: $(ruby-sdks-folder)/management/azure_mgmt_event_grid/lib
+```
+
### Tag: package-2020-01-preview and ruby
These settings apply only when `--tag=package-2020-01-preview --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=`.
From b1f69ec9c64330873e1ceb3fa041d033d241c0e0 Mon Sep 17 00:00:00 2001
From: Bruce Johnston
Date: Thu, 9 Jan 2020 15:21:58 -0800
Subject: [PATCH 193/469] Change CODEOWNERS for Azure Cognitive Search (#8116)
* Change CODEOWNERS for Azure Cognitive Search
* Add bleroy as Search data plane owner
---
CODEOWNERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CODEOWNERS b/CODEOWNERS
index 9033be8145a9..3e7e5eaee173 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -58,7 +58,8 @@
/specification/relay/ @sethmanheim @v-ajnava
/specification/resources/ @Tiano2017 @rajshah11 @vivsriaus
/specification/scheduler/ @pinwang81
-/specification/search/ @brjohnstmsft
+/specification/search/data-plane/ @brjohnstmsft @arv100kri @bleroy
+/specification/search/resource-manager/ @abhi1509 @miwelsh @tjacobhi
/specification/serialconsole/ @amitchat @craigw @asinn826
/specification/service-map/ @daveirwin1
/specification/servicebus/ @sazeesha @v-ajnava
From 92fe2688002a403cda267abe8f427c31a4cd73e4 Mon Sep 17 00:00:00 2001
From: huangbolun
Date: Thu, 9 Jan 2020 18:11:35 -0800
Subject: [PATCH 194/469] Fit and finish on the rest docs of Azure Cognitive
Search [2019-10-01-Preview] (#8084)
---
.../examples/SearchCreateOrUpdateService.json | 6 +--
...archCreateOrUpdateServiceWithIdentity.json | 6 +--
.../examples/SearchGetService.json | 3 +-
.../SearchListServicesByResourceGroup.json | 6 +--
.../SearchListServicesBySubscription.json | 6 +--
.../examples/SearchUpdateService.json | 3 +-
...ateServiceToAllowAccessFromCustomIPs.json} | 6 +--
...viceToAllowAccessFromPrivateEndpoints.json | 8 +--
.../SearchUpdateServiceToRemoveIdentity.json | 3 +-
.../preview/2019-10-01-preview/search.json | 54 +++++++------------
10 files changed, 35 insertions(+), 66 deletions(-)
rename specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/{SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json => SearchUpdateServiceToAllowAccessFromCustomIPs.json} (93%)
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateService.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateService.json
index 997e77fc6f21..59c8a03031b2 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateService.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateService.json
@@ -41,8 +41,7 @@
"provisioningState": "provisioning",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
}
@@ -69,8 +68,7 @@
"provisioningState": "provisioning",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json
index 569f56a88779..879b5741afc0 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json
@@ -44,8 +44,7 @@
"provisioningState": "provisioning",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
},
@@ -77,8 +76,7 @@
"provisioningState": "provisioning",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
},
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetService.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetService.json
index c1c82356efc4..1e56e251f98b 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetService.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchGetService.json
@@ -27,8 +27,7 @@
"provisioningState": "succeeded",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesByResourceGroup.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesByResourceGroup.json
index 4ac72f3d8fd0..4745a7e47ae3 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesByResourceGroup.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesByResourceGroup.json
@@ -28,8 +28,7 @@
"provisioningState": "succeeded",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
}
@@ -54,8 +53,7 @@
"provisioningState": "succeeded",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesBySubscription.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesBySubscription.json
index 10b73095334f..9b8b4d6b9ab5 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesBySubscription.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchListServicesBySubscription.json
@@ -27,8 +27,7 @@
"provisioningState": "succeeded",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
}
@@ -53,8 +52,7 @@
"provisioningState": "succeeded",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateService.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateService.json
index 9dc47db685fa..3af307242c6d 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateService.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateService.json
@@ -37,8 +37,7 @@
"provisioningState": "provisioning",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
},
"privateEndpointConnections": []
}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPs.json
similarity index 93%
rename from specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json
rename to specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPs.json
index 883b2aeb5bcc..75012045c018 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromCustomIPs.json
@@ -14,8 +14,7 @@
{
"value": "10.2.3.4"
}
- ],
- "bypass": "AzurePortal"
+ ]
}
}
}
@@ -47,8 +46,7 @@
{
"value": "10.2.3.4"
}
- ],
- "bypass": "AzurePortal"
+ ]
},
"privateEndpointConnections": []
}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json
index c70483352eff..f5976ef7516d 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json
@@ -9,9 +9,7 @@
"replicaCount": 1,
"partitionCount": 1,
"networkRuleSet": {
- "endpointAccess": "Private",
- "ipRules": [],
- "bypass": "None"
+ "endpointAccess": "Private"
}
}
}
@@ -38,9 +36,7 @@
"hostingMode": "default",
"provisioningState": "succeeded",
"networkRuleSet": {
- "endpointAccess": "Private",
- "ipRules": [],
- "bypass": "None"
+ "endpointAccess": "Private"
},
"privateEndpointConnections": []
}
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json
index 7e850534d128..ed629af8d9d1 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json
@@ -33,8 +33,7 @@
"provisioningState": "succeeded",
"networkRuleSet": {
"endpointAccess": "Public",
- "ipRules": [],
- "bypass": "None"
+ "ipRules": []
}
},
"identity": {
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
index fb3c9cb1c6ca..2373c89c780d 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
@@ -416,8 +416,8 @@
"SearchUpdateServiceToRemoveIdentity": {
"$ref": "./examples/SearchUpdateServiceToRemoveIdentity.json"
},
- "searchUpdateServiceToAllowAccessFromCustomIPsAndPortal": {
- "$ref": "./examples/SearchUpdateServiceToAllowAccessFromCustomIPsAndPortal.json"
+ "searchUpdateServiceToAllowAccessFromCustomIPs": {
+ "$ref": "./examples/SearchUpdateServiceToAllowAccessFromCustomIPs.json"
},
"searchUpdateServiceToAllowAccessFromPrivateEndpoints": {
"$ref": "./examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json"
@@ -1023,9 +1023,11 @@
"description": "The resource type."
},
"properties": {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "description": "Describes the current state of an existing Private Endpoint connection to the Azure Cognitive Search service."
}
- }
+ },
+ "description": "Describes an existing Private Endpoint connection to the Azure Cognitive Search service."
},
"NetworkRuleSet": {
"properties": {
@@ -1044,33 +1046,13 @@
},
"ipRules": {
"type": "array",
- "description": "A list of rules that define inbound network access to the search service endpoint. By default, the search service endpoint is reachable from the internet.",
+ "description": "A list of IP restriction rules that defines the inbound network access to the search service endpoint. These restriction rules are applied only when the EndpointAccess of the search service is Public.",
"items": {
"$ref": "#/definitions/IpRule"
}
- },
- "bypass": {
- "type": "string",
- "default": "None",
- "description": "Allows bypassing any IP rules or endpoint access definition, if the traffic originates from well-known source. By default, no bypass is allowed.",
- "enum": [
- "None",
- "AzurePortal"
- ],
- "x-ms-enum": {
- "name": "ByPass",
- "modelAsString": true,
- "values": [
- {
- "value": "None"
- },
- {
- "value": "AzurePortal"
- }
- ]
- }
}
- }
+ },
+ "description": "Network specific rules that determine how the Azure Cognitive Search service may be reached."
},
"IpRule": {
"properties": {
@@ -1078,7 +1060,8 @@
"type": "string",
"description": "Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed."
}
- }
+ },
+ "description": "The IP restriction rule of the Azure Cognitive Search service."
},
"PrivateEndpointConnectionProperties": {
"properties": {
@@ -1086,9 +1069,10 @@
"properties": {
"id": {
"type": "string",
- "description": "Resource id for the private endpoint from Network resource."
+ "description": "The resource id of the private endpoint resource from Microsoft.Network provider."
}
- }
+ },
+ "description": "The private endpoint resource from Microsoft.Network provider."
},
"privateLinkServiceConnectionState": {
"type": "object",
@@ -1116,9 +1100,11 @@
"description": "A description of any extra actions that may be required.",
"default": "None"
}
- }
+ },
+ "description": "Describes the current state of an existing Private Endpoint connection to the Azure Cognitive Search service."
}
- }
+ },
+ "description": "Describes an existing Private Endpoint connection to the Azure Cognitive Search service."
},
"SearchService": {
"properties": {
@@ -1211,7 +1197,7 @@
},
"networkRuleSet": {
"$ref": "#/definitions/NetworkRuleSet",
- "description": "Network specific rules that specify how the search service may be reached."
+ "description": "Network specific rules that determine how the Azure Cognitive Search service may be reached."
},
"privateEndpointConnections": {
"readOnly": true,
@@ -1461,7 +1447,7 @@
"in": "query",
"required": true,
"type": "string",
- "description": "The API version to use for each request. The current version is 2015-08-19."
+ "description": "The API version to use for each request. The current version is 2019-10-01-Preview."
}
}
}
From b426c4088b0037967c9e3cba9b48a5148e1dbd97 Mon Sep 17 00:00:00 2001
From: navysingla <47647464+navysingla@users.noreply.github.com>
Date: Thu, 9 Jan 2020 18:50:54 -0800
Subject: [PATCH 195/469] [DoNotMerge]Nasingla/newversion (#7418)
* New Version for subscription RP
* Update readme.md
* Adding create subscription APIs
* Update readme.md
* Update subscriptions.json
* Updated examples
---
.../examples/cancelSubscription.json | 13 +
.../examples/createCspSubscription.json | 24 +
.../examples/createLegacySubscription.json | 37 +
.../examples/createSubscription.json | 30 +
.../examples/enableSubscription.json | 13 +
.../examples/getOperations.json | 21 +
.../examples/getSubscriptionOperation.json | 19 +
.../examples/renameSubscription.json | 16 +
.../2019-10-01-preview/subscriptions.json | 667 ++++++++++++++++++
.../subscription/resource-manager/readme.md | 11 +
10 files changed, 851 insertions(+)
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/cancelSubscription.json
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createCspSubscription.json
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createLegacySubscription.json
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createSubscription.json
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/enableSubscription.json
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/getOperations.json
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/getSubscriptionOperation.json
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/renameSubscription.json
create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/cancelSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/cancelSubscription.json
new file mode 100644
index 000000000000..367a5d2157b3
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/cancelSubscription.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad",
+ "api-version": "2019-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createCspSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createCspSubscription.json
new file mode 100644
index 000000000000..cddd146bd79e
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createCspSubscription.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "billingAccountName": "2bc54a6f-8d8a-5be1-5bff-bb4f285f512b:11a72812-d9a4-446e-9a1e-70c8bcadf5c0_2019-05-31",
+ "customerName": "e33ba30d-3718-4b15-bfaa-5627a57cda6f",
+ "api-version": "2019-10-01-preview",
+ "body": {
+ "displayName": "Contoso MCA subscription",
+ "skuId": "0001"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/providers/Microsoft.Subscription/subscriptionOperations/MzcwYzI3MDItNjA1MC00NTZkLTgyMTgtZjM0NDcyMjkwMTY0?api-version=2019-10-01-preview",
+ "Retry-After": 8
+ }
+ },
+ "200": {
+ "body": {
+ "subscriptionLink": "/subscriptions/d0d6ee57-6530-4fca-93a6-b755a070be35"
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createLegacySubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createLegacySubscription.json
new file mode 100644
index 000000000000..e0e193269f79
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createLegacySubscription.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "enrollmentAccountName": "73f8ab6e-cfa0-42be-b886-be6e77c2980c",
+ "api-version": "2019-10-01-preview",
+ "body": {
+ "offerType": "MS-AZR-0017P",
+ "displayName": "Test Ea Azure Sub",
+ "owners": [
+ {
+ "objectId": "973034ff-acb7-409c-b731-e789672c7b31"
+ },
+ {
+ "objectId": "67439a9e-8519-4016-a630-f5f805eba567"
+ }
+ ],
+ "additionalParameters": {
+ "customData": {
+ "key1": "value1",
+ "key2": true
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "/providers/Microsoft.Subscription/subscriptionOperations/aeb76128-ebde-4f5a-a9ed-e7bbf2dbc994?api-version=2019-10-01-preview",
+ "Retry-After": "60"
+ }
+ },
+ "200": {
+ "body": {
+ "subscriptionLink": "/subscriptions/c03acf6e-5295-44c2-92d3-cb1daa4c701c"
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createSubscription.json
new file mode 100644
index 000000000000..366082444c31
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/createSubscription.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "billingAccountName": "0aa27f2b-ec7f-5a65-71f6-a5ff0897bd55:ae0dae1e-de9a-41f6-8257-76b055d98372_2019-05-31",
+ "billingProfileName": "27VR-HDWX-BG7-TGB",
+ "invoiceSectionName": "JGF7-NSBG-PJA-TGB",
+ "api-version": "2019-10-01-preview",
+ "body": {
+ "displayName": "Contoso MCA subscription",
+ "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/0aa27f2b-ec7f-5a65-71f6-a5ff0897bd55:ae0dae1e-de9a-41f6-8257-76b055d98372_2019-05-31/billingProfiles/27VR-HDWX-BG7-TGB",
+ "skuId": "0001",
+ "costCenter": "135366376",
+ "owner": {
+ "objectId": "973034ff-acb7-409c-b731-e789672c7b32"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/providers/Microsoft.Subscription/subscriptionOperations/ODdmYTU0MDktODc5YS00ZTEzLTg2MWItNTQ4ZjYxNzBlOTQw?api-version=2019-10-01-preview",
+ "Retry-After": 8
+ }
+ },
+ "200": {
+ "body": {
+ "subscriptionLink": "/subscriptions/d0d6ee57-6530-4fca-93a6-b755a070be35"
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/enableSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/enableSubscription.json
new file mode 100644
index 000000000000..ce28f7dde170
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/enableSubscription.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "7948bcee-488c-47ce-941c-38e20ede803d",
+ "api-version": "2019-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": "7948bcee-488c-47ce-941c-38e20ede803d"
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/getOperations.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/getOperations.json
new file mode 100644
index 000000000000..9dea2e0f8069
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/getOperations.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Subscription/createOperation/action",
+ "display": {
+ "provider": "Microsoft Subscription",
+ "resource": "Resources",
+ "operation": "Create a subscription"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/getSubscriptionOperation.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/getSubscriptionOperation.json
new file mode 100644
index 000000000000..e02979d7545a
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/getSubscriptionOperation.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "operationId": "e4b8d068-f574-462a-a76f-6fa0afc613c9",
+ "api-version": "2019-10-01-preview"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "/providers/Microsoft.Subscription/subscriptionOperations/e4b8d068-f574-462a-a76f-6fa0afc613c9?api-version=2019-10-01-preview",
+ "Retry-After": 8
+ }
+ },
+ "200": {
+ "body": {
+ "subscriptionLink": "/subscriptions/4df8d5c2-1b7e-4dd5-bc61-640704bde633"
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/renameSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/renameSubscription.json
new file mode 100644
index 000000000000..c673259dde23
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/examples/renameSubscription.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad",
+ "api-version": "2019-10-01-preview",
+ "body": {
+ "SubscriptionName": "Test Sub"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json
new file mode 100644
index 000000000000..7d9d0a2b8f94
--- /dev/null
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json
@@ -0,0 +1,667 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-10-01-preview",
+ "title": "SubscriptionClient",
+ "description": "Subscription client provides an interface to create and manage Azure subscriptions programmatically."
+ },
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountName}/providers/Microsoft.Subscription/createSubscription": {
+ "post": {
+ "description": "Creates an Azure subscription",
+ "operationId": "Subscription_CreateSubscriptionInEnrollmentAccount",
+ "x-ms-examples": {
+ "createSubscription": {
+ "$ref": "./examples/createLegacySubscription.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "responses": {
+ "200": {
+ "description": "Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionCreationResult"
+ }
+ },
+ "202": {
+ "description": "Accepted. Subscription creation is in progress.",
+ "headers": {
+ "Location": {
+ "description": "GET this URL to retrieve the status of the asynchronous operation.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "enrollmentAccountName",
+ "in": "path",
+ "description": "The name of the enrollment account to which the subscription will be billed.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "The subscription creation parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SubscriptionCreationParameters"
+ }
+ }
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel": {
+ "post": {
+ "operationId": "Subscription_Cancel",
+ "x-ms-examples": {
+ "cancelSubscription": {
+ "$ref": "./examples/cancelSubscription.json"
+ }
+ },
+ "description": "The operation to cancel a subscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CanceledSubscriptionId"
+ }
+ },
+ "default": {
+ "description": "Describes the error if the operation is not successful.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename": {
+ "post": {
+ "operationId": "Subscription_Rename",
+ "x-ms-examples": {
+ "renameSubscription": {
+ "$ref": "./examples/renameSubscription.json"
+ }
+ },
+ "description": "The operation to rename a subscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/RenamedSubscriptionId"
+ }
+ },
+ "default": {
+ "description": "Describes the error if the operation is not successful.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable": {
+ "post": {
+ "operationId": "Subscription_Enable",
+ "x-ms-examples": {
+ "enableSubscription": {
+ "$ref": "./examples/enableSubscription.json"
+ }
+ },
+ "description": "The operation to enable a subscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/EnabledSubscriptionId"
+ }
+ },
+ "default": {
+ "description": "Describes the error if the operation is not successful.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Subscription/subscriptionOperations/{operationId}": {
+ "get": {
+ "description": "Get the status of the pending Microsoft.Subscription API operations.",
+ "operationId": "SubscriptionOperation_Get",
+ "x-ms-examples": {
+ "getPendingSubscriptionOperations": {
+ "$ref": "./examples/getSubscriptionOperation.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successful completion of the asynchronous operation",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionCreationResult"
+ }
+ },
+ "202": {
+ "description": "Accepted. Subscription update is in progress.",
+ "headers": {
+ "Location": {
+ "description": "The URL where the status of the asynchronous operation can be checked.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "operationId",
+ "in": "path",
+ "description": "The operation ID, which can be found from the Location field in the generate recommendation response header.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ]
+ }
+ },
+ "/providers/Microsoft.Subscription/operations": {
+ "get": {
+ "description": "Lists all of the available Microsoft.Subscription API operations.",
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "getOperations": {
+ "$ref": "./examples/getOperations.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Subscription/createSubscription": {
+ "post": {
+ "description": "The operation to create a new WebDirect or EA Azure subscription.",
+ "operationId": "Subscription_CreateSubscription",
+ "x-ms-examples": {
+ "createSubscription": {
+ "$ref": "./examples/createSubscription.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "responses": {
+ "200": {
+ "description": "Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionCreationResult"
+ }
+ },
+ "202": {
+ "description": "Accepted. Subscription creation is in progress.",
+ "headers": {
+ "Location": {
+ "description": "GET this URL to retrieve the status of the asynchronous operation.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
+ "type": "integer"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "billingAccountName",
+ "in": "path",
+ "description": "The name of the Microsoft Customer Agreement billing account for which you want to create the subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "billingProfileName",
+ "in": "path",
+ "description": "The name of the billing profile in the billing account for which you want to create the subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invoiceSectionName",
+ "in": "path",
+ "description": "The name of the invoice section in the billing account for which you want to create the subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "The subscription creation parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ModernSubscriptionCreationParameters"
+ }
+ }
+ ]
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/providers/Microsoft.Subscription/createSubscription": {
+ "post": {
+ "description": "The operation to create a new CSP subscription.",
+ "operationId": "Subscription_CreateCspSubscription",
+ "x-ms-examples": {
+ "createSubscription": {
+ "$ref": "./examples/createCspSubscription.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "responses": {
+ "200": {
+ "description": "Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionCreationResult"
+ }
+ },
+ "202": {
+ "description": "Accepted. Subscription creation is in progress.",
+ "headers": {
+ "Location": {
+ "description": "GET this URL to retrieve the status of the asynchronous operation.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
+ "type": "integer"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "billingAccountName",
+ "in": "path",
+ "description": "The name of the Microsoft Customer Agreement billing account for which you want to create the subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customerName",
+ "in": "path",
+ "description": "The name of the customer.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "The subscription creation parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ModernCspSubscriptionCreationParameters"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "CanceledSubscriptionId": {
+ "description": "The ID of the canceled subscription",
+ "properties": {
+ "value": {
+ "description": "The ID of the canceled subscription",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RenamedSubscriptionId": {
+ "description": "The ID of the subscriptions that is being renamed",
+ "properties": {
+ "value": {
+ "description": "The ID of the subscriptions that is being renamed",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "EnabledSubscriptionId": {
+ "description": "The ID of the subscriptions that is being enabled",
+ "properties": {
+ "value": {
+ "description": "The ID of the subscriptions that is being enabled",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SubscriptionName": {
+ "type": "object",
+ "description": "The new name of the subscription.",
+ "properties": {
+ "subscriptionName": {
+ "type": "string",
+ "description": "New subscription name"
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of the request to list operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of operations."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "Operation": {
+ "description": "REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.Subscription",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Profile, endpoint, etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "AdPrincipal": {
+ "description": "Active Directory Principal who’ll get owner access on the new subscription.",
+ "properties": {
+ "objectId": {
+ "description": "Object id of the Principal",
+ "type": "string"
+ }
+ },
+ "required": [
+ "objectId"
+ ]
+ },
+ "SubscriptionCreationResult": {
+ "description": "The created subscription object.",
+ "properties": {
+ "subscriptionLink": {
+ "description": "The link to the new subscription. Use this link to check the status of subscription creation operation.",
+ "type": "string"
+ }
+ }
+ },
+ "SubscriptionCreationParameters": {
+ "description": "Subscription Creation Parameters required to create a new Azure subscription.",
+ "properties": {
+ "displayName": {
+ "description": "The display name of the subscription.",
+ "type": "string"
+ },
+ "managementGroupId": {
+ "description": "The Management Group Id.",
+ "type": "string"
+ },
+ "owners": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AdPrincipal"
+ },
+ "description": "The list of principals that should be granted Owner access on the subscription. Principals should be of type User, Service Principal or Security Group."
+ },
+ "offerType": {
+ "description": "The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available. Only valid when creating a subscription in a enrollment account scope.",
+ "type": "string",
+ "x-ms-enum": {
+ "name": "offerType",
+ "modelAsString": true
+ },
+ "enum": [
+ "MS-AZR-0017P",
+ "MS-AZR-0148P"
+ ]
+ },
+ "additionalParameters": {
+ "description": "Additional, untyped parameters to support custom subscription creation scenarios.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ }
+ },
+ "ModernSubscriptionCreationParameters": {
+ "description": "The parameters required to create a new subscription.",
+ "required": [
+ "displayName",
+ "billingProfileId",
+ "skuId"
+ ],
+ "properties": {
+ "displayName": {
+ "description": "The friendly name of the subscription.",
+ "type": "string"
+ },
+ "billingProfileId": {
+ "description": "The ARM ID of the billing profile for which you want to create the subscription.",
+ "type": "string"
+ },
+ "skuId": {
+ "description": "The SKU ID of the Azure plan. Azure plan determines the pricing and service-level agreement of the subscription. Use 001 for Microsoft Azure Plan and 002 for Microsoft Azure Plan for DevTest.",
+ "type": "string"
+ },
+ "costCenter": {
+ "description": "If set, the cost center will show up on the Azure usage and charges file.",
+ "type": "string"
+ },
+ "owner": {
+ "description": "If specified, the AD principal will get owner access to the subscription, along with the user who is performing the create subscription operation",
+ "$ref": "#/definitions/AdPrincipal"
+ },
+ "managementGroupId": {
+ "description": "The identifier of the management group to which this subscription will be associated.",
+ "type": "string"
+ },
+ "additionalParameters": {
+ "description": "Additional, untyped parameters to support custom subscription creation scenarios.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ }
+ },
+ "ModernCspSubscriptionCreationParameters": {
+ "description": "The parameters required to create a new CSP subscription.",
+ "required": [
+ "displayName",
+ "skuId"
+ ],
+ "properties": {
+ "displayName": {
+ "description": "The friendly name of the subscription.",
+ "type": "string"
+ },
+ "skuId": {
+ "description": "The SKU ID of the Azure plan. Azure plan determines the pricing and service-level agreement of the subscription. Use 001 for Microsoft Azure Plan and 002 for Microsoft Azure Plan for DevTest.",
+ "type": "string"
+ },
+ "resellerId": {
+ "description": "Reseller ID, basically MPN Id.",
+ "type": "string"
+ },
+ "serviceProviderId": {
+ "description": "Service provider ID, basically MPN Id.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. Current version is 2019-10-01-preview"
+ },
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "x-ms-parameter-location": "method",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription Id."
+ },
+ "subscriptionNameParameter": {
+ "name": "body",
+ "x-ms-parameter-location": "method",
+ "in": "body",
+ "required": true,
+ "description": "Subscription Name",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionName"
+ }
+ }
+ },
+ "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"
+ }
+ }
+ }
+}
diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md
index 8f3abce9469e..93dc7ab02798 100644
--- a/specification/subscription/resource-manager/readme.md
+++ b/specification/subscription/resource-manager/readme.md
@@ -33,6 +33,17 @@ These are the global settings for the Subscription API.
openapi-type: arm
tag: package-2019-03-preview
```
+### Tag: package-2019-10-preview
+
+These settings apply only when `--tag=package-2019-10-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-10-preview'
+input-file:
+- Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json
+title: SubscriptionClient
+description: The subscription client
+```
+
### Tag: package-2019-03-preview
These settings apply only when `--tag=package-2019-03-preview` is specified on the command line.
From 333c6b2d89f7bf9c468b17c54bab785c4144a8eb Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Fri, 10 Jan 2020 02:52:17 +0000
Subject: [PATCH 196/469] regenerated all-api-versions
---
specification/subscription/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md
index 93dc7ab02798..8cf9e046ffb1 100644
--- a/specification/subscription/resource-manager/readme.md
+++ b/specification/subscription/resource-manager/readme.md
@@ -173,6 +173,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json
- $(this-folder)/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json
- $(this-folder)/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
- $(this-folder)/Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json
From b98c1c669eabc03e54a4d49927ec4a7de5c31049 Mon Sep 17 00:00:00 2001
From: Lei Ni <7233663+leni-msft@users.noreply.github.com>
Date: Fri, 10 Jan 2020 13:00:36 +0800
Subject: [PATCH 197/469] fix missing required paths property (#8105)
---
.../preview/2019-12-02-preview/common.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/common.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/common.json
index 34573e350c6a..c9f8e8069220 100644
--- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/common.json
+++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/common.json
@@ -5,6 +5,7 @@
"description": "Mixed Reality Resource Provider API",
"version": "2019-12-02-preview"
},
+ "paths": {},
"definitions": {
"AccountKeys": {
"description": "Developer Keys of account",
From f579d9f4740500cee33f3aefc6257c5977f34c0e Mon Sep 17 00:00:00 2001
From: ArcturusZhang
Date: Fri, 10 Jan 2020 15:23:04 +0800
Subject: [PATCH 198/469] Add new api-versions for frontdoor
---
.../frontdoor/resource-manager/readme.go.md | 22 ++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/specification/frontdoor/resource-manager/readme.go.md b/specification/frontdoor/resource-manager/readme.go.md
index 504a56169d65..b61c0b33bdd5 100644
--- a/specification/frontdoor/resource-manager/readme.go.md
+++ b/specification/frontdoor/resource-manager/readme.go.md
@@ -13,11 +13,31 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-11
+ - tag: package-2019-10
- tag: package-2018-08-preview
- tag: package-2019-04
- tag: package-2019-05
-
```
+
+### Tag: package-2019-11 and go
+
+These settings apply only when `--tag=package-2019-11 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-11' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-11-01/$(namespace)
+```
+
+### Tag: package-2019-10 and go
+
+These settings apply only when `--tag=package-2019-10 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-10' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-10-01/$(namespace)
+```
+
### Tag: package-2019-05 and go
These settings apply only when `--tag=package-2019-05 --go` is specified on the command line.
From f82a9be5d539eb762a0f3f69cbdc7ba4097d4dd7 Mon Sep 17 00:00:00 2001
From: Arik Olsh <47111029+arolshan@users.noreply.github.com>
Date: Fri, 10 Jan 2020 16:00:38 +0200
Subject: [PATCH 199/469] Add support for private endpoints and Async
Operations (#8089)
* add privatelink groups
* add private endpoints
* fix static validation
* prettier
* add /
* run prettier
* add operation status
* Update OperationalInsights.json
* async operations
* Update OperationalInsights.json
* Update OperationalInsights.json
* Update OperationalInsights.json
* change to operationStatus
* Update OperationalInsights.json
* add nextlink
* ran prettier
Co-authored-by: arikolsh
---
.../OperationalInsights.json | 522 ++++++++++++++++++
.../PrivateEndpointConnectionDelete.json | 14 +
.../PrivateEndpointConnectionGet.json | 29 +
.../PrivateEndpointConnectionList.json | 48 ++
.../PrivateEndpointConnectionUpdate.json | 38 ++
.../WorkspacePrivateLinkResourceGet.json | 26 +
.../WorkspacePrivateLinkResourceListGet.json | 30 +
.../examples/operationStatuses.json | 20 +
8 files changed, 727 insertions(+)
create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionDelete.json
create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionGet.json
create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionList.json
create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionUpdate.json
create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacePrivateLinkResourceGet.json
create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacePrivateLinkResourceListGet.json
create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/operationStatuses.json
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/OperationalInsights.json
index 8e81711548dc..6f189cd3152e 100644
--- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/OperationalInsights.json
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/OperationalInsights.json
@@ -990,6 +990,332 @@
"nextLinkName": "nextLink"
}
}
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateLinkResources": {
+ "get": {
+ "tags": [
+ "PrivateLinkResources"
+ ],
+ "description": "Gets the private link resources that need to be created for a Log Analytics Workspace.",
+ "operationId": "PrivateLinkResources_ListByWorkspace",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "workspaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the Log Analytics Workspace that will contain the datasource"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResourceListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets private endpoint connection.": {
+ "$ref": "./examples/WorkspacePrivateLinkResourceListGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateLinkResources/{groupName}": {
+ "get": {
+ "tags": [
+ "PrivateLinkResources"
+ ],
+ "description": "Gets the private link resources that need to be created for a Log Analytics Workspace.",
+ "operationId": "PrivateLinkResources_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "workspaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the Log Analytics Workspace that will contain the datasource"
+ },
+ {
+ "$ref": "#/parameters/GroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved a specified private link resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets private endpoint connection.": {
+ "$ref": "./examples/WorkspacePrivateLinkResourceGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets a private endpoint connection.",
+ "operationId": "PrivateEndpointConnections_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "workspaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the Log Analytics Workspace that will contain the datasource"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "description": "The name of the private endpoint connection.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved a specified private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets private endpoint connection.": {
+ "$ref": "./examples/PrivateEndpointConnectionGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Approve or reject a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "workspaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the Log Analytics Workspace that will contain the datasource"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "description": "The name of the private endpoint connection.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully approved or rejected private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Approve or reject a private endpoint connection with a given name.": {
+ "$ref": "./examples/PrivateEndpointConnectionUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Deletes a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "workspaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the Log Analytics Workspace that will contain the datasource"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "description": "The name of the private endpoint connection.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted private endpoint connection."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Private endpoint connection does not exist."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Deletes a private endpoint connection with a given name.": {
+ "$ref": "./examples/PrivateEndpointConnectionDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateEndpointConnections": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets all private endpoint connections on a workspace.",
+ "operationId": "PrivateEndpointConnections_ListByWorkspace",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "workspaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the Log Analytics Workspace that will contain the datasource"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private endpoint connections.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets list of private endpoint connections on a workspace.": {
+ "$ref": "./examples/PrivateEndpointConnectionList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}": {
+ "get": {
+ "x-ms-examples": {
+ "Get specific operation status": {
+ "$ref": "./examples/operationStatuses.json"
+ }
+ },
+ "tags": [
+ "asyncOperations"
+ ],
+ "operationId": "GetAsyncOperationsStatus",
+ "description": "Get the status of an azure asynchronous operation.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The region name of operation."
+ },
+ {
+ "name": "asyncOperationId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The operation Id."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Operation status.",
+ "schema": {
+ "$ref": "#/definitions/OperationStatus"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -1469,6 +1795,194 @@
}
},
"description": "Common properties of proxy resource."
+ },
+ "PrivateLinkResourceListResult": {
+ "description": "A list of private link resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateLinkResource": {
+ "description": "A private link resource",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateLinkResourceProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "PrivateLinkResourceProperties": {
+ "description": "Properties of a private link resource.",
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "description": "The private link resource group id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requiredMembers": {
+ "description": "The private link resource required member names.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateEndpointConnectionProperties": {
+ "description": "Properties of a private endpoint connection.",
+ "type": "object",
+ "properties": {
+ "privateEndpoint": {
+ "$ref": "#/definitions/PrivateEndpointProperty",
+ "description": "Private endpoint which the connection belongs to."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty",
+ "description": "Connection state of the private endpoint connection."
+ },
+ "provisioningState": {
+ "description": "State of the private endpoint connection.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateEndpointProperty": {
+ "description": "Private endpoint which the connection belongs to.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource id of the private endpoint.",
+ "type": "string"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "PrivateLinkServiceConnectionStateProperty": {
+ "description": "State of the private endpoint connection.",
+ "type": "object",
+ "required": [
+ "status",
+ "description"
+ ],
+ "properties": {
+ "status": {
+ "description": "The private link service connection status.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The private link service connection description.",
+ "type": "string"
+ },
+ "actionsRequired": {
+ "description": "The actions required for private link service connection.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateEndpointConnection": {
+ "description": "A private endpoint connection",
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "PrivateEndpointConnectionListResult": {
+ "description": "A list of private endpoint connections.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationStatus": {
+ "description": "The status of operation.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The operation Id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The operation name."
+ },
+ "startTime": {
+ "type": "string",
+ "description": "The start time of the operation."
+ },
+ "endTime": {
+ "type": "string",
+ "description": "The end time of the operation."
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation."
+ },
+ "error": {
+ "type": "object",
+ "description": "The error detail of the operation if any.",
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
},
"parameters": {
@@ -1496,6 +2010,14 @@
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
+ },
+ "GroupNameParameter": {
+ "name": "groupName",
+ "in": "path",
+ "description": "The name of the private link resource.",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string"
}
}
}
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionDelete.json
new file mode 100644
index 000000000000..c1056b274ca4
--- /dev/null
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "MyResourceGroup",
+ "workspaceName": "MyWorkspace",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2015-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionGet.json
new file mode 100644
index 000000000000..5f47b5967dd9
--- /dev/null
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "MyResourceGroup",
+ "workspaceName": "MyWorkspace",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2015-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.OperationalInsights/workspaces/MyWorkspace/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.OperationalInsights/workspaces/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionList.json
new file mode 100644
index 000000000000..7eb0f56d6d96
--- /dev/null
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionList.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "MyResourceGroup",
+ "workspaceName": "MyWorkspace",
+ "api-version": "2015-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.OperationalInsights/workspaces/MyWorkspace/privateEndpointConnections/private-endpoint-connection-name-2",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.OperationalInsights/workspaces/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.OperationalInsights/workspaces/MyWorkspace/privateEndpointConnections/private-endpoint-connection-name-2",
+ "name": "private-endpoint-connection-name-2",
+ "type": "Microsoft.OperationalInsights/workspaces/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Please approve my connection.",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionUpdate.json
new file mode 100644
index 000000000000..cb0dcdc32e4a
--- /dev/null
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/PrivateEndpointConnectionUpdate.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "MyResourceGroup",
+ "workspaceName": "MyWorkspace",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2015-11-01-preview",
+ "parameters": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.OperationalInsights/workspaces/MyWorkspace/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.OperationalInsights/workspaces/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacePrivateLinkResourceGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacePrivateLinkResourceGet.json
new file mode 100644
index 000000000000..b9448d3f6e99
--- /dev/null
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacePrivateLinkResourceGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "MyResourceGroup",
+ "workspaceName": "MyWorkspace",
+ "api-version": "2015-11-01-preview",
+ "groupName": "workspace"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.OperationalInsights/workspaces/MyWorkspace/privateLinkResources/workspace",
+ "name": "workspace",
+ "type": "Microsoft.OperationalInsights/workspaces/privateLinkResources",
+ "properties": {
+ "groupId": "workspace",
+ "requiredMembers": [
+ "oms",
+ "agent",
+ "ods"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacePrivateLinkResourceListGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacePrivateLinkResourceListGet.json
new file mode 100644
index 000000000000..fa14310f3ad7
--- /dev/null
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacePrivateLinkResourceListGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "MyResourceGroup",
+ "workspaceName": "MyWorkspace",
+ "api-version": "2015-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.OperationalInsights/workspaces/MyWorkspace/privateLinkResources/workspace",
+ "name": "workspace",
+ "type": "Microsoft.OperationalInsights/workspaces/privateLinkResources",
+ "properties": {
+ "groupId": "workspace",
+ "requiredMembers": [
+ "oms",
+ "agent",
+ "ods"
+ ]
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/operationStatuses.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/operationStatuses.json
new file mode 100644
index 000000000000..b3d949aa9cc3
--- /dev/null
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/operationStatuses.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
+ "location": "West US",
+ "asyncOperationId": "713192d7-503f-477a-9cfe-4efc3ee2bd11",
+ "api-version": "2015-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/locations/westus/operationStatuses/713192d7-503f-477a-9cfe-4efc3ee2bd11",
+ "name": "713192d7-503f-477a-9cfe-4efc3ee2bd11",
+ "startTime": "2017-01-01T13:13:13.933Z",
+ "endTime": "2017-01-01T16:13:13.933Z",
+ "status": "Succeeded"
+ }
+ }
+ }
+}
From 97b6c583b3d3697f92a1ebb4a9a6e4b4e13287bb Mon Sep 17 00:00:00 2001
From: Avinash
Date: Fri, 10 Jan 2020 19:41:03 -0800
Subject: [PATCH 200/469] Updating Create VM documentation for availabilitySet
property. (#8057)
* Updating Create VM documentation for availabilitySet property.
* Review comment addresed.
* Minor change.
---
.../Microsoft.Compute/stable/2019-07-01/compute.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index bac149808aee..eeb80123a696 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -7902,7 +7902,7 @@
},
"availabilitySet": {
"$ref": "#/definitions/SubResource",
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference."
+ "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference."
},
"virtualMachineScaleSet": {
"$ref": "#/definitions/SubResource",
From 09091871a8bdd36309e6beb9cb6ffcf74222eb96 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Sun, 12 Jan 2020 19:37:21 +0800
Subject: [PATCH 201/469] Add a new api-version for storage sync (#8120)
---
.../storagesync/resource-manager/readme.go.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/specification/storagesync/resource-manager/readme.go.md b/specification/storagesync/resource-manager/readme.go.md
index 9ec1e5598360..bb2e6da35f00 100644
--- a/specification/storagesync/resource-manager/readme.go.md
+++ b/specification/storagesync/resource-manager/readme.go.md
@@ -13,12 +13,22 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-06-01
- tag: package-2019-02-01
- tag: package-2018-10-01
- tag: package-2018-07-01
- tag: package-2018-04-02
```
+### Tag: package-2019-06-01 and go
+
+These settings apply only when `--tag=package-2019-06-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace)
+```
+
### Tag: package-2019-02-01 and go
These settings apply only when `--tag=package-2019-02-01 --go` is specified on the command line.
From 05ebdd41d07af2d14329c8c175f5e63e4485e809 Mon Sep 17 00:00:00 2001
From: huangbolun
Date: Sun, 12 Jan 2020 17:51:36 -0800
Subject: [PATCH 202/469] Change verbosity of PrivateEndpointConnection,
PrivateEndpointConnectionProperties and PrivateLinkServiceConnectionState
(#8126)
* change verbosity of PrivateEndpointConnection and PrivateEndpointConnectionProperties
* change verbosity of privateLinkServiceConnectionState
---
.../preview/2019-10-01-preview/search.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
index 2373c89c780d..1335dec6988a 100644
--- a/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
+++ b/specification/search/resource-manager/Microsoft.Search/preview/2019-10-01-preview/search.json
@@ -1024,7 +1024,7 @@
},
"properties": {
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
- "description": "Describes the current state of an existing Private Endpoint connection to the Azure Cognitive Search service."
+ "description": "Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service."
}
},
"description": "Describes an existing Private Endpoint connection to the Azure Cognitive Search service."
@@ -1101,10 +1101,10 @@
"default": "None"
}
},
- "description": "Describes the current state of an existing Private Endpoint connection to the Azure Cognitive Search service."
+ "description": "Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint."
}
},
- "description": "Describes an existing Private Endpoint connection to the Azure Cognitive Search service."
+ "description": "Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service."
},
"SearchService": {
"properties": {
@@ -1205,7 +1205,7 @@
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
},
- "description": "The list of private endpoint connections to the Search service."
+ "description": "The list of private endpoint connections to the Azure Cognitive Search service."
}
},
"description": "Properties of the Search service."
From d960c6cfad5edcd47d7573d935ff0bd7f6bdfe04 Mon Sep 17 00:00:00 2001
From: Chris Eggert
Date: Sun, 12 Jan 2020 18:45:11 -0800
Subject: [PATCH 203/469] Add support for listing assignments at MG scope
(#8124)
---
...stPolicyAssignmentsForManagementGroup.json | 54 ++++++++++++++++++
.../stable/2019-09-01/policyAssignments.json | 56 +++++++++++++++++++
.../resources/resource-manager/readme.md | 4 ++
3 files changed, 114 insertions(+)
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json
new file mode 100644
index 000000000000..2b2d934144fa
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "managementGroupId": "TestManagementGroup",
+ "api-version": "2019-09-01",
+ "$filter": "atScope()"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/TestManagementGroup/providers/Microsoft.Authorization/policyAssignments/TestCostManagement",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "TestCostManagement",
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a",
+ "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135"
+ },
+ "properties": {
+ "displayName": "Storage Cost Management",
+ "description": "Minimize the risk of accidental cost overruns",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/TestManagementGroup/providers/Microsoft.Authorization/policyDefinitions/storageSkus",
+ "parameters": {
+ "allowedSkus": {
+ "value": "Standard_A1"
+ }
+ },
+ "scope": "/providers/Microsoft.Management/managementGroups/TestManagementGroup",
+ "notScopes": []
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/TestManagementGroup/providers/Microsoft.Authorization/policyAssignments/TestTagEnforcement",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "TestTagEnforcement",
+ "properties": {
+ "displayName": "Enforces a tag key and value",
+ "description": "Ensure a given tag key and value are present on all resources",
+ "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/TestManagementGroup/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue",
+ "scope": "/providers/Microsoft.Management/managementGroups/TestManagementGroup",
+ "notScopes": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
index b0e1d4779f08..ef2f5065a841 100644
--- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
@@ -345,6 +345,54 @@
"x-ms-odata": "#/definitions/PolicyAssignment"
}
},
+ "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments": {
+ "get": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_ListForManagementGroup",
+ "summary": "Retrieves all policy assignments that apply to a management group.",
+ "description": "This operation retrieves the list of all policy assignments applicable to the management group that match the given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all policy assignments that are assigned to the management group or the management group's ancestors. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the management group.",
+ "x-ms-examples": {
+ "List policy assignments that apply to a management group": {
+ "$ref": "./examples/listPolicyAssignmentsForManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. A filter is required when listing policy assignments at management group scope.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of policy assignments.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignmentListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments": {
"get": {
"tags": [
@@ -740,6 +788,14 @@
"required": true,
"type": "string",
"description": "The API version to use for the operation."
+ },
+ "ManagementGroupIdParameter": {
+ "name": "managementGroupId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the management group.",
+ "x-ms-parameter-location": "method"
}
}
}
diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md
index b56763be8888..467809e0faa9 100644
--- a/specification/resources/resource-manager/readme.md
+++ b/specification/resources/resource-manager/readme.md
@@ -451,6 +451,10 @@ directive:
from: policyDefinitions.json
where: $.paths
reason: policy definition under an extension resource with Microsoft.Management
+ - suppress: UniqueResourcePaths
+ from: policyAssignments.json
+ where: $.paths
+ reason: policy assignment under an extension resource with Microsoft.Management
- suppress: OperationsAPIImplementation
from: policyAssignments.json
where: $.paths
From 3245f640b9c7908ca0918171c3560a2b54f5adc2 Mon Sep 17 00:00:00 2001
From: Bin Xia
Date: Tue, 14 Jan 2020 12:57:33 +0800
Subject: [PATCH 204/469] add AKS listClusterMonitoringUserCredential API for
2019-11-01 and 2020-01-01 (#8103)
---
.../stable/2019-10-01/managedClusters.json | 2 +-
.../stable/2019-11-01/managedClusters.json | 43 +++++++++++++++++++
.../stable/2020-01-01/managedClusters.json | 43 +++++++++++++++++++
3 files changed, 87 insertions(+), 1 deletion(-)
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
index fccbf6d866da..b8e3358738bf 100644
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
@@ -333,7 +333,7 @@
"ManagedClusters"
],
"operationId": "ManagedClusters_ListClusterMonitoringUserCredentials",
- "summary": "Gets cluster user credential of a managed cluster.",
+ "summary": "Gets cluster monitoring user credential of a managed cluster.",
"description": "Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.",
"parameters": [
{
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
index 12b27f956763..3a873962adcd 100644
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
@@ -327,6 +327,49 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListClusterMonitoringUserCredentials",
+ "summary": "Gets cluster monitoring user credential of a managed cluster.",
+ "description": "Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CredentialResults"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": {
"get": {
"tags": [
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
index 530f1fb0dfa8..4e21f399e3b1 100644
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
@@ -327,6 +327,49 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListClusterMonitoringUserCredentials",
+ "summary": "Gets cluster monitoring user credential of a managed cluster.",
+ "description": "Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CredentialResults"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": {
"get": {
"tags": [
From 536782b8b8eef28f2261db2f90bc5751a1095478 Mon Sep 17 00:00:00 2001
From: DeMale <58793555+DeMale@users.noreply.github.com>
Date: Mon, 13 Jan 2020 22:41:41 -0800
Subject: [PATCH 205/469] Ready to merge : Workspace: Swagger updates for CMK
(#7967)
* Workspace: Swagger updates for CMK
* PR comments
* PR comments fixes
PR comments fixes
* marked as required
* marked as required
* added KeyVault armId to encryption.keyVaultProperties
* made encryption.status as required property
Co-authored-by: vrushg-ms <54859794+vrushg-ms@users.noreply.github.com>
---
.../2020-01-01/examples/createWorkspace.json | 33 ++++++++++-
.../2020-01-01/examples/getWorkspace.json | 11 +++-
.../2020-01-01/machineLearningServices.json | 55 +++++++++++++++++++
3 files changed, 95 insertions(+), 4 deletions(-)
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json
index bce63cc088ef..dc3e25f56c28 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json
@@ -16,7 +16,16 @@
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "encryption": {
+ "status": "Enabled",
+ "keyVaultProperties": {
+ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb",
+ "identityClientId": ""
+ }
+ },
+ "hbiWorkspace": false
}
}
},
@@ -39,7 +48,16 @@
"discoveryUrl": "http://example.com",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"friendlyName": "HelloName",
- "description": "test description"
+ "description": "test description",
+ "encryption": {
+ "status": "Enabled",
+ "keyVaultProperties": {
+ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb",
+ "identityClientId": ""
+ }
+ },
+ "hbiWorkspace": false
}
}
},
@@ -61,7 +79,16 @@
"discoveryUrl": "http://example.com",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"friendlyName": "HelloName",
- "description": "test description"
+ "description": "test description",
+ "encryption": {
+ "status": "Enabled",
+ "keyVaultProperties": {
+ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb",
+ "identityClientId": ""
+ }
+ },
+ "hbiWorkspace": false
}
}
}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspace.json
index e0ac1ae81768..6cb4b63cac77 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/getWorkspace.json
@@ -24,7 +24,16 @@
"discoveryUrl": "http://example.com",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"friendlyName": "HelloName",
- "description": "test description"
+ "description": "test description",
+ "encryption": {
+ "status": "Enabled",
+ "keyVaultProperties": {
+ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb",
+ "identityClientId": ""
+ }
+ },
+ "hbiWorkspace": false
}
}
}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json
index a418da411ec0..b4ab6015b709 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/machineLearningServices.json
@@ -1452,6 +1452,15 @@
},
"readOnly": true,
"description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning."
+ },
+ "encryption": {
+ "$ref": "#/definitions/EncryptionProperty",
+ "description": "The encryption settings of Azure ML workspace."
+ },
+ "hbiWorkspace": {
+ "type": "boolean",
+ "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service",
+ "default": false
}
}
},
@@ -3182,6 +3191,52 @@
}
},
"description": "Properties of a private link resource."
+ },
+ "EncryptionProperty": {
+ "properties": {
+ "status": {
+ "description": "Indicates whether or not the encryption is enabled for the workspace.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EncryptionStatus",
+ "modelAsString": true
+ }
+ },
+ "keyVaultProperties": {
+ "$ref": "#/definitions/KeyVaultProperties",
+ "description": "Customer Key vault properties."
+ }
+ },
+ "required": [
+ "status",
+ "keyVaultProperties"
+ ],
+ "type": "object"
+ },
+ "KeyVaultProperties": {
+ "properties": {
+ "keyVaultArmId": {
+ "description": "The ArmId of the keyVault where the customer owned encryption key is present.",
+ "type": "string"
+ },
+ "keyIdentifier": {
+ "description": "Key vault uri to access the encryption key.",
+ "type": "string"
+ },
+ "identityClientId": {
+ "description": "For future use - The client id of the identity which will be used to access key vault.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "keyIdentifier",
+ "keyVaultArmId"
+ ],
+ "type": "object"
}
}
}
From 0d193a3262738a825ec10f16db4d8d21c28d1a29 Mon Sep 17 00:00:00 2001
From: Yunge Zhu <37337818+yungezz@users.noreply.github.com>
Date: Tue, 14 Jan 2020 15:48:59 +0800
Subject: [PATCH 206/469] update next steps in readme.md (#8049)
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b7eca6bedcdc..0e513616f68c 100644
--- a/README.md
+++ b/README.md
@@ -82,7 +82,7 @@ The structure should appear like so:
Currently, the specifications are expected to be in Swagger JSON format
## Next steps
-The next step in the process after a spec is completed is to generate SDKs and API reference documentation. Go to the [Azure Developer Experience guide](https://github.com/Azure/adx-documentation-pr) for more information.
+The next step in the process after a spec is completed is to generate SDKs and API reference documentation. If you're Microsoft employee, go to the [Azure Developer Experience guide](https://github.com/Azure/adx-documentation-pr) for more information.
---
_This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments._
From e0c093cbb06b84c18b42001a5f4fa184e5f39c75 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Wed, 15 Jan 2020 09:31:04 +0800
Subject: [PATCH 207/469] python generation (#8148)
---
.../resource-manager/readme.md | 4 +++
.../resource-manager/readme.python.md | 28 +++++++++++++++++++
2 files changed, 32 insertions(+)
create mode 100644 specification/timeseriesinsights/resource-manager/readme.python.md
diff --git a/specification/timeseriesinsights/resource-manager/readme.md b/specification/timeseriesinsights/resource-manager/readme.md
index 6a1cbfe16940..b80e6e9b71a5 100644
--- a/specification/timeseriesinsights/resource-manager/readme.md
+++ b/specification/timeseriesinsights/resource-manager/readme.md
@@ -112,6 +112,10 @@ payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-timeseriesinsights
```
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
### Java multi-api
``` yaml $(java) && $(multiapi)
diff --git a/specification/timeseriesinsights/resource-manager/readme.python.md b/specification/timeseriesinsights/resource-manager/readme.python.md
new file mode 100644
index 000000000000..919bc97ca600
--- /dev/null
+++ b/specification/timeseriesinsights/resource-manager/readme.python.md
@@ -0,0 +1,28 @@
+## 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.timeseriesinsights
+ package-name: azure-mgmt-timeseriesinsights
+ package-version: 0.1.0
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/timeseriesinsights/azure-mgmt-timeseriesinsights/azure/mgmt/timeseriesinsights
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/timeseriesinsights/azure-mgmt-timeseriesinsights
+```
+
\ No newline at end of file
From baa58cda55cf01432cd21d79fff41f57a58156ed Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Wed, 15 Jan 2020 09:57:30 +0800
Subject: [PATCH 208/469] cli generation for subscriptions (#8154)
---
.../subscription/resource-manager/readme.cli.md | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 specification/subscription/resource-manager/readme.cli.md
diff --git a/specification/subscription/resource-manager/readme.cli.md b/specification/subscription/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..44b0463ce090
--- /dev/null
+++ b/specification/subscription/resource-manager/readme.cli.md
@@ -0,0 +1,10 @@
+## CLI
+
+These settings apply only when `--cli` is specified on the command line.
+
+``` yaml $(cli)
+cli:
+ cli-name: account
+ package-name: azure-mgmt-subscription
+ namespace: azure.mgmt.subscription
+```
From 7a237c5321db7072cdf17bb2d99a5c3a69bb8858 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 14 Jan 2020 23:04:32 +0800
Subject: [PATCH 209/469] python generation
---
.../azurestack/resource-manager/readme.md | 3 ++
.../resource-manager/readme.python.md | 28 +++++++++++++++++++
2 files changed, 31 insertions(+)
create mode 100644 specification/azurestack/resource-manager/readme.python.md
diff --git a/specification/azurestack/resource-manager/readme.md b/specification/azurestack/resource-manager/readme.md
index 183fba95be23..d31ec1ce03e3 100644
--- a/specification/azurestack/resource-manager/readme.md
+++ b/specification/azurestack/resource-manager/readme.md
@@ -131,6 +131,9 @@ regenerate-manager: true
generate-interface: true
```
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
## Multi-API/Profile support for AutoRest v3 generators
diff --git a/specification/azurestack/resource-manager/readme.python.md b/specification/azurestack/resource-manager/readme.python.md
new file mode 100644
index 000000000000..fbd25c650111
--- /dev/null
+++ b/specification/azurestack/resource-manager/readme.python.md
@@ -0,0 +1,28 @@
+## 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.attestation
+ package-name: azure-mgmt-attestation
+ package-version: 0.1.0
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/azurestack/azure-mgmt-azurestack/azure/mgmt/azurestack
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/azurestack/azure-mgmt-azurestack
+```
+
\ No newline at end of file
From 500c4240c409763da1c613875728293b235795a6 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski